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 ...
SAP EWM Help Latest Questions
Internal tables are a core concept for storing structured data. You can create them dynamically at runtime using RTTS (Runtime Type Services). DATA: lo_descr TYPE REF TO cl_abap_structdescr, lo_table TYPE REF TO cl_abap_tabledescr, lr_data TYPE REF TO data, lr_line TYPE REF ...
1. Primary Index Created automatically when you create a table in SE11. Based on the primary key fields of the table. Always unique. Cannot be deleted. Used whenever you do a SELECT ... WHERE on the primary key. Example:For table MARA, the primary index is ...
*&———————————————————————* *& 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.
GET CURSOR → to capture the position of the cursor in a list/report. HIDE → to store values “hidden” behind a line for later retrieval. USER COMMAND (AT USER-COMMAND) → to react to user actions (e.g., double-clicks, buttons, PF keys). 1. GET CURSOR This ...
SAP R/3 is based on a 3-tier client-server architecture, which separates presentation, application, and database layers. This design provides scalability, flexibility, and better performance. Three-Tier Architecture: 1. Presentation Layer (Client Tier) Interface between the user and SAP system Usually a SAP ...
*&———————————————————————* *& 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,
RFC (Remote Function Call) Definition: A communication method that allows one SAP system (or external system) to call a function module in another SAP system. Nature: Technical interface (low-level). Can be synchronous (sRFC), asynchronous (aRFC), transactional (tRFC), or queued (qRFC). Usage: Purely for function/module execution between ...
Imagine a business requirement in Sales & Distribution (SD): The sales team needs a printable Sales Order Form that shows both header details (from VBAK: order number, date, sold-to party, order type) and line item details (from VBAP: material, description, quantity, ...
A segment in IDocs (Intermediate Documents) is a structure that groups related data fields. Each segment has: A unique name (e.g., E1KNA1M for customer master data). Defined fields with fixed length and data types. A hierarchy (segments can have child segments). Create a segment. (WE31) Create ...