This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CLASS zcl_equip_scan DEFINITION PUBLIC. | |
| PUBLIC SECTION. | |
| INTERFACES z2ui5_if_app. | |
| TYPES: | |
| BEGIN OF ty_s_issue, | |
| issue_id TYPE string, | |
| problem_text TYPE string, | |
| severity TYPE string, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| *&---------------------------------------------------------------------* | |
| *& Report YVB11_MAT_SUB_LOADER | |
| *&---------------------------------------------------------------------* | |
| *& Material determination (VB11) loader using RV_MAT_SUB_SAVE. | |
| *& | |
| *& What this does: | |
| *& - Allocates a fresh KNUMH from number range object KOND | |
| *& - Builds VAKEDB (variable key) for condition table KOTD001 | |
| *& - Builds KONDDVB (substitution material + reason) row | |
| *& - Builds KONDDPVB (additional substitution materials) — empty in |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # SAP ABAP Cloud Developer Trial 2023 — Docker Setup Guide | |
| **Image:** `sapse/abap-cloud-developer-trial:2023` | |
| **Add-on:** ABAP Accelerator MCP Server (AI-assisted development via Amazon Q Developer / Kiro) | |
| **Environment:** Mac Studio → Docker Desktop (macOS) + SAP GUI for Windows via Parallels | |
| **Last updated:** April 2026 | |
| --- | |
| ## Prerequisites |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| _schema-version: 3.3.0 | |
| ID: dbtest | |
| version: 1.0.0 | |
| description: "A simple CAP project." | |
| parameters: | |
| enable-parallel-deployments: true | |
| deploy_mode: html5-repo | |
| build-parameters: | |
| before-all: | |
| - builder: custom |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <edmx:Edmx xmlns:edmx="http://docs.oasis-open.org/odata/ns/edmx" Version="4.0"> | |
| <edmx:Reference Uri="https://sap.github.io/odata-vocabularies/vocabularies/UI.xml"> | |
| <edmx:Include Namespace="com.sap.vocabularies.UI.v1" Alias="UI" /> | |
| </edmx:Reference> | |
| <edmx:Reference Uri="/sap/opu/odata4/sap/zap_comm_ui_v4/srvd/sap/zap_comm_ui/0001/$metadata"> | |
| <edmx:Include Namespace="com.sap.gateway.srvd.zap_comm_ui.v0001" Alias="SAP__self" /> | |
| </edmx:Reference> | |
| <edmx:DataServices> | |
| <Schema xmlns="http://docs.oasis-open.org/odata/ns/edm" Namespace="local"> | |
| <Annotations Target="SAP__self.EmailType"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| CLASS zgoog_cl_qs_address_validation DEFINITION | |
| PUBLIC FINAL | |
| CREATE PUBLIC. | |
| PUBLIC SECTION. | |
| INTERFACES if_oo_adt_classrun. | |
| ENDCLASS. | |
| CLASS zgoog_cl_qs_address_validation IMPLEMENTATION. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import com.sap.gateway.ip.core.customdev.util.Message; | |
| import javax.crypto.Mac | |
| import javax.crypto.spec.SecretKeySpec | |
| import java.text.SimpleDateFormat | |
| import java.util.TimeZone; | |
| import org.apache.commons.codec.digest.DigestUtils; | |
| import com.sap.it.api.ITApiFactory; | |
| import com.sap.it.api.securestore.SecureStoreService | |
| import groovy.json.JsonBuilder | |
| import groovy.json.JsonSlurper |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // This script was created so that we can select web users for gym membership | |
| // only allow active plans to be selected | |
| // Once a plan is selected we default the values for price | |
| frappe.ui.form.on('Gym Membership', { | |
| plan: function(frm) { | |
| frm.set_value('length', 99); | |
| frm.set_value('price', 101.11); | |
| frm.set_value('status', "Awaiting Payment"); | |
| }, | |
| refresh: function(frm) { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import frappe | |
| // This code is called from a front end script and returns a SQL query with a dictionary list. | |
| @frappe.whitelist() | |
| def get_rental_articles(first_name): | |
| rentals = frappe.db.sql(f""" SELECT * from `tabLibrary Transaction` WHERE library_member = '{first_name}' """, as_dict=True) | |
| return rentals |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| frappe.ui.form.on('Library Member', { | |
| refresh(frm) { | |
| // Get the library memmbers first name from form JavaScript object | |
| let first_name = frm.doc.first_name; | |
| console.log(frm.doc); | |
| // Check we have a name value and call the backend using an AJAX like call | |
| // On completion call an Arrow function with results | |
| // Backend function is written in python in the api.py file | |
| if (first_name){ |
NewerOlder