Understanding BDCDATA in SAP BDC Programs

What is use of BDCDATA ? While writing a BDC program, standard structure ‘BDCDATA’ is used to collect this information. The BDCDATA structure includes the following fields: PROGRAM DYNPRO DYNBEGIN FNAM FVAL BDCDATA structure is used to create an internal table in the BDC program which collect the above information for an entire transaction. Syntax … Continue reading Understanding BDCDATA in SAP BDC Programs

Using BDC for Multi-Line Item Recording

Table controls in BDCwhen we want to insert multiple line itemsSince the BDC programs can be used on different systems with different look and feel so the layout may vary from one system to another.So while doing the recording there we have an option to select the default option as it will keep the recording … Continue reading Using BDC for Multi-Line Item Recording

Understanding Session Method in BDC: SAP ABAP

BDC basically checks and validates eac field screen by screen and that’s why it takes timeBDC basically checks and validates eac field screen by screen and that’s why it takes timeEven though 60% of the BAPI’s use BDC in their backend CALL METHODSynchronous processing – until the data is successfully processed it won’t process the … Continue reading Understanding Session Method in BDC: SAP ABAP

BDC : Batch Data Communication in SAP

Let's talk about BDC and how it can be created in the system. Before you start with a BDC program you need to create a recording in transaction SHDB, as you can see from the below screen you need to provide a recording name and a transaction code for which you want to create the … Continue reading BDC : Batch Data Communication in SAP

ABAP ALV: Customizing User Commands with Callback Functions

It will be same as ALV EVENTS mentioned above only the call back program parameter will change while calling the FM REUSE_ALV_GRID_DISPLAY. we will pass the user command and perform the action accordingly. Please see the highlighted part which is different from the program mentioned for ALV EVENTS Example **&---------------------------------------------------------------------* **& Report ZALV_TEST_1 **& **&---------------------------------------------------------------------* … Continue reading ABAP ALV: Customizing User Commands with Callback Functions

Displaying multiple ALV on the same and Dynamic ALV’s

BLOCK LIST ALV is is used to display multiple ALV`s on the same screen with blocks. List of Function Modules used for blocked list ALV REUSE_ALV_BLOCK_LIST_INIT: is used to initialize blocked list ALV. REUSE_ALV_BLOCK_LIST_APPEND: is used to add blocked list ALV’s(we can add multiple). REUSE_ALV_BLOCK_LIST_DISPLAY: is used to display blocked list ALV. Dynamic ALV's *&---------------------------------------------------------------------* *& Report ZALV_DYNAMIC_TABLE *& *&---------------------------------------------------------------------* … Continue reading Displaying multiple ALV on the same and Dynamic ALV’s

Important points ALV and ALV events

FM's to remember REUSE_ALV_GRID_DISPLAY. “Display ALV grid format REUSE_ALV_LIST_DISPLAY. “Display ALV List format REUSE_ALV_COMMENTARY_WRITE. “Display Top of page, logo, etc. REUSE_ALV_FIELDCATELOGUE_MERGE. “Used to generate field catalogue REUSE_ALV_EVENTS_GET. “Use events in ALV REUSE_ALV_HEIRARCHY_LIST_DISPLAY. “Display ALV Hierarchy Field Catalog Field catalog is an internal table which is used to pass a list of fields to display in … Continue reading Important points ALV and ALV events

Interactive reports in ABAP

Events in a interactive Report At Line-Selection This event will trigger whenever the user double click on any list line. At User Command This event will trigger whenever user clicks on any custom buttons of the GUI. At PF Status This event will trigger whenever user clicks on any function buttons. Top Of Page During line … Continue reading Interactive reports in ABAP