AL11 is a standard SAP transaction used to display and manage application server directories. Think of it as the SAP file explorer for backend files. It lists logical file paths configured in transaction FILE. It shows the physical directories on the SAP application ...
SAP EWM Help Latest Questions
Create an Excel file called employees.xlsx containing employee data, where: Header row has bold white text on a blue background Data rows have standard black font Salary column is formatted as currency CLASS zcl_create_excel_xco DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. METHODS create_employee_excel. ENDCLASS. CLASS ...
SAP’s XCO Library provides APIs for working with Office documents, including Excel (XLSX) — via the xco_cp_xlsx package CLASS zcl_read_employee_excel DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. METHODS read_employee_excel. ENDCLASS. CLASS zcl_read_employee_excel IMPLEMENTATION. METHOD read_employee_excel. “————————————————— ” Step 1: Define employee structure and table “—————————————————
The XCO Library (ABAP Cloud) — part of SAP’s modern ABAP RESTful programming model — allows you to programmatically create and manipulate repository objects like CDS views, classes, and transformations (including XSLT). CLASS zcl_create_xsl_demo DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. METHODS ...
Use the same destination (DEMO_EHS_DEST) Fetch a CSRF token Serialize an ABAP structure into JSON Send it as the POST body to the demo OData endpoint Handle the response cleanly CLASS /iap/cl_intelligent_matching DEFINITION PUBLIC FINAL CREATE PUBLIC. PUBLIC SECTION. TYPES: BEGIN OF ty_rawmat_result, uuid TYPE string, material_id ...
This ABAP class is designed for SAP BTP ABAP Environment to connect securely to an external OData or REST API (for example, an EHS Raw Material service).It demonstrates: Secure HTTP communication via BTP destinations CSRF token handling JSON serialization/deserialization Clean separation between connection ...
User enters Sales Order → goes to item screen. User enters Material + Quantity. SAP validates item → calls USEREXIT_CHECK_VBAP. Your enhancement runs. If xvbap-kwmeng < 10, show error/warning. If OK → continue. User clicks Save. SAP calls USEREXIT_SAVE_DOCUMENT_PREPARE → do final checks. SAP calls USEREXIT_SAVE_DOCUMENT → write ...
*&———————————————————————* *& Report ZTEST_BDC_FI01_1 *& *&———————————————————————* *& *& *&———————————————————————* REPORT ztest_bdc_fi01_1. types: begin of ty_error, msg type string, lineno type i, end of ty_error. * Batchinputdata of single transaction DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE. PARAMETERS : p_data TYPE ibipparms–path. DATA : it_tab TYPE truxs_t_text_data, lv_filename TYPE rlgrap–filename, it_msg type table of bdcmsgcoll, lv_msg type string, lt_error type table of ty_error, ls_error type ty_error. TYPES: BEGIN OF record, * data element: BANKS banks(003), * data element: BANKK bankl(015), * data element: BANKA banka(060), * data element: REGIO provz(003), * data element: ORT01_GP ort01(035), * data element: BRNCH brnch(040), ** data element: BANKA * banka_007(060), ** data element: REGIO * provz_008(003), ** data element: ORT01_GP * ort01_009(035), ** data element: BRNCH * brnch_010(040), END OF record. DATA: lt_record TYPE STANDARD TABLE OF record, ls_record TYPE record. AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_data.
*&———————————————————————* *& Report ZTEST_BDC_FI01_1 *& *&———————————————————————* *& *& *&———————————————————————* REPORT ztest_bdc_fi01_1. types: begin of ty_error, msg type string, lineno type i, end of ty_error. * Batchinputdata of single transaction DATA: bdcdata LIKE bdcdata OCCURS 0 WITH HEADER LINE. PARAMETERS : p_data TYPE ibipparms-path. DATA : it_tab TYPE truxs_t_text_data, lv_filename TYPE rlgrap-filename, it_msg type table of bdcmsgcoll, lv_msg type string, lt_error type table of ty_error, ls_error type ty_error. TYPES: BEGIN OF record, * data element: BANKS banks(003), * data element: BANKK bankl(015), * data element: BANKA banka(060), * data element: REGIO provz(003), * data element: ORT01_GP ort01(035), * data element: BRNCH brnch(040), ** data element: BANKA * banka_007(060), ** data element: REGIO * provz_008(003), ** data element: ORT01_GP * ort01_009(035), ** data element: BRNCH * brnch_010(040), END OF record. DATA: lt_record TYPE STANDARD TABLE OF record,
What is AL11? AL11 is a SAP transaction code that displays directories and files on the SAP application server. From AL11, you can view file contents but not directly download them to your local server. Options to Read Data from AL11 and Store ...