Posts from the ‘ABAP’ Category

Create and change SAP tables without coding or debugging

To create/change the content of a table (usually for test purposes), we typically use SE16 to write a report program or debug. But, with this tip, you can do it easily through a SAP standard technique without coding or debugging.Code: 1. Call transaction SE16N and enter the required table name to be edited(ex. KNA1). 2. [...]

Sales Order Changed History Display

You can execute the report by : 1.  Change Date 2.  User Name 3.  Sales Order Number REPORT ZSDCHANGE LINE-SIZE 132 NO STANDARD PAGE HEADING                  LINE-COUNT 065(001)                  MESSAGE-ID VR. TABLES: DD04T,         CDHDR,         CDPOS,         DD03L,         DD41V,         T685T,         VBPA,         TPART,         KONVC,         VBUK. DATA: BEGIN OF ICDHDR [...]

Deletion / Archiving of IDOCs

There is no special deletion program for IDocs. Use the archiving programs. IDoc is a separate archiving class. The following programs are available: 1. Archive RSEXARCA and RSEXARCB (as of Release 3.0C) 2. Delete RSEXARCD 3. Read archiveRSEXARCR 4. Restore RSEXARCL RSEXARCB is similar to RSEXARCA except for the selection screen. The selection options for [...]

Program To Generate IDoc

Report  ZZ_Program_To_Create_Idoc report  zz_program_to_create_idoc                     . tables: ekko,ekpo. selection-screen skip 3. selection-screen begin of block b1 with frame title titl. selection-screen skip. select-options s_ebeln for ekko-ebeln. selection-screen skip. selection-screen end of block b1. data: header_segment_name like edidd-segnam value ‘Z1EKKO’,       item_segment_name like edidd-segnam value ‘Z1EKPO’,       idoc_name like edidc-idoctp value ‘Z19838IDOC1′. data: header_segment_data like z1ekko,       [...]

IDOC / BAPIs

There are many differences between IDOCs and BAPIs. BAPIs in 3.1 are synchronous; in 4.+ they can be asynchronous (and I believe they then drive certain ALE/IDOCs). BAPIs are called from the outside-in.  That is, an external program invokes a BAPI that gets data from SAP to display or updates data in SAP.  The BAPI [...]

What is the different between ALE, IDOC and BAPI?

ALE (click here for documentation) ALE is SAP proprietary technology that enables data communications between two or more SAP R/3 systems and/or R/3 and external systems. When a new enterprise resource planning (ERP) solution such as R/3 is implemented, companies have to interface the ERP system with legacy systems or other ERP systems. ALE provides [...]