Creating Update Function Modules-BDC

To create a function module, you first need to start the Function Builder. Choose Tools ® ABAP Workbench, Function Builder. For more information about creating function modules, refer to the ABAP Workbench Tools documentation. To be able to call a function module in an update work process, you must flag it in the Function Builder. … Read more

Error Handling for Bundled Updates

Runtime errors can occur during execution of bundled updates. How are they handled? In general, COMMIT WORK processing occurs in the following order: … 1. All dialog-task FORM routines logged with PERFORM ON COMMIT are executed. 2. All high-priority (V1) update-task function modules are executed. The end of V1-update processing marks the end of the … Read more

The R/3 Lock Concept

Reasons for Setting LocksSuppose a travel agent want to book a flight. The customer wants to fly to a particular city with a certain airline on a certain day. The booking must only be possible if there are still free places on the flight. To avoid the possibility of overbooking, the database entry corresponding to … Read more

How to Get Error Message from BDC?

While doing call transaction, if an error occurs in updation, we declare bdcmsgcoll and store our messages in it, but how to retreive error message from it Using function module ‘FORMAT_MESSAGE’ you can capture the messages. Here is a sample of the program code for that: LOOP AT it_messtab.CALL FUNCTION ‘FORMAT_MESSAGE’EXPORTINGid = it_messtab-msgidlang = it_messtab-msgsprano … Read more

BDC Sample Program

*&———————————————————————**& Report ZPROG65_11 **& **&———————————————————————*REPORT zprog65_11 .TABLES : lfa1. TYPES : BEGIN OF ven , lifnr LIKE rf02k-lifnr, bukrs LIKE rf02k-bukrs , ekorg LIKE rf02k-ekorg, ktokk LIKE rf02k-ktokk, name1 LIKE lfa1-name1, sortl LIKE lfa1-sortl, land1 LIKE lfa1-land1, spars LIKE lfa1-spras, akont LIKE lfb1-akont, fdgrv LIKE lfb1-fdgrv, waers LIKE lfm1-waers, anred LIKE lfa1-anred , END OF … Read more

What is BDC and How you use it?

BC Basis Components- -ABAP workbench–BC Basis Programming interfaces–Data transfer During data transfer, data is transferred from an external system into the SAPR/3 System. •Transfer data from an external system into an R/3 System as it isinstalled. •Transfer data regularly from an external system into an R/3 System. Example: If data for some departments in your … Read more

What is BDC and How you use it?

BC Basis Components- -ABAP workbench–BC Basis Programming interfaces–Data transfer During data transfer, data is transferred from an external system into the SAPR/3 System. •Transfer data from an external system into an R/3 System as it isinstalled. •Transfer data regularly from an external system into an R/3 System. Example: If data for some departments in your … Read more

BDC & LSMW

Topic Covered in this PDF are : (1) What is BDC or batch Input.(2) BDC Function(3)BDC method(4) BDC technique used in programs(5) Exercise -(i) Call Transaction Method (ii) Call by session Method(6)LSMW SAP data migration with LSMW Exercise Define Source Structure Define target Strucutre Field mapping Specify File : Loaction of Source File Download Pdf