Skip to main content

YCLASSICAL_JOINING

*&---------------------------------------------------------------------* *& 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

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.


BDC Recording in SAP ABAP
Give the Record name and Transaction code and click on Start New Recording Button.
BDC Recording in SAP ABAP
Now enter the Bank country and Key
BDC Recording in SAP ABAP
Now enter the Bank name ,City ,country and street. 
BDC Recording in SAP ABAP
Now Save the Recording .
BDC Recording in SAP ABAP
Now select the created record and click on Program.
BDC Recording in SAP ABAP
Now give the program title and select radio button transfer from recording.

BDC Call Transaction Method Program in SAP ABAP
Now give the program title and click on source code button.

BDC Call Transaction Method Program in SAP ABAP
Now save it as Local object.
BDC Call Transaction Method Program in SAP ABAP
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.
BDC Call Transaction Method Program in SAP ABAP
Now ,you can see the whole code in the below BDCRECX1 Program.

Comments

Popular posts from this blog

ALV Field Catalog in SAP ABAP

ALV Field Catalog in SAP ABAP Field Catalog Field catalog is an internal table which is used to pass a list of fields to display in ALV report, we can set different properties to fields that will be display in ALV output. Type Group It is a data dictionary object which contains all the reusable user-defined types. Example for a type group is SLIS, which contains all the user-defined types for developing ALV reports. TYPE-POOLS is a keyword which is used to assign the type-group to a ALV report . Syntax : TYPE-POOLS SLIS . DATA : <IT_FCAT> TYPE SLIS_T_FIELDCAT_ALV . "INTERNAL TABLE FOR FIELD CATALOG DATA : <WA_FCAT> TYPE SLIS_FIELDCAT_ALV . " WORK AREA FOR FIELD CATLOG Field catalog types Field catalog: Field catalog is a format description of the display area. There are three procedures to build a FIELD CATALOG. 1. Automatic field catalog. 2. Semi-automatic field catalog. 3. Manual field catalog. Automatic field catalog. If the list structure has