*&---------------------------------------------------------------------* *& Report YCLASSICAL_JOINING *& *&---------------------------------------------------------------------* *& *& *&---------------------------------------------------------------------* REPORT yclassical_joining NO STANDARD PAGE HEADING LINE - SIZE 110 LINE - COUNT 255 MESSAGE - ID zsan. ** T Y P E D E C L A R A T I O N ** TYPES : BEGIN OF ty_mara, matnr TYPE matnr, ernam TYPE ernam, pstat TYPE pstat_d, END OF ty_mara, BEGIN OF ty_makt, matnr TYPE matnr, spras TYPE spras, maktx TYPE maktx, END OF ty_makt, BEGIN OF ty_final, matnr TYPE matnr, ernam TYPE ernam, pstat TYPE pstat_d, maktx TY
BDC Recording in SAP ABAP
Here ,I explained The Steps to record any Transaction(Example: VA01) to create BDC(Batch Data Communication) Program.Step 1
Execute transaction SHDB .
Step 2
Enter name for recording
Step 3
Enter transaction to be executed
Step 4
The transaction will now be executed, simply enter the values in the screen fields which you want to record.
Step 5
Once you have finished the recording and selected the save button or exit the transaction you
Creating an ABAP program Using a BDC recording
Go to SHDB Transaction Code and Click on New Recording.
Give the Record name and Transaction code and click on Start New Recording Button.
Now enter the Bank country and Key
Now enter the Bank name ,City ,country and street.
Now Save the Recording .
Now select the created record and click on Program.
Now give the program title and select radio button transfer from recording.
Now give the program title and click on source code button.
Now save it as Local object.
Now BDC program will be created automatically and you can find the structures and dynpro and dynfield subroutines in Include BDCRECX1 main program.Copy them and paste in your source code.
Now ,you can see the whole code in the below BDCRECX1 Program.
Comments
Post a Comment