CALL TRANSACTION METHOD in SAP ABAP

CALL TRANSACTION : In this method we use one statement between loop & endloop after recording step.

Syntax :
Call transaction <’Transaction Name’> using BDCDATA Mode ‘<A/E/N>’ update
‘<S/A/L>’. 
The BDCDATA is the reference structure taken for moving the data into recording program.

Three modes available in call transaction method :
1).All screen mode (A).
2).Error screen mode (E).
3).No screen mode (N).

In all screen mode we can see all the screen in front of us with field filled in with value. In every screen we have to presenter. In Error screen mode we can see only error screen.Correct the error and press enter.In NO screen mode we cannot see any screen in front of us.

There are three update modes available in call transaction method:
1).Synchronous (S).
2).Asynchronous (A).
3).Local (L).

1).Synchronous : In this update mode for every the control will wait until all the main tables & child table are updated.Then only next start moving into database.

2).Asynchronous : In this mode the next record start moving into database after previous record is updated into some of the table.The control will not wait until all the main table and child table are updated for every record.

3).Local : In this data is stored in local work process & then it is later updated into database.

In call transaction method the user has to handle the error while uploading the data into database. 

Comments

Popular posts from this blog

EVENTS IN INTERACTIVE REPORTS OF SAP ABAP

MAIN DIFFERENCE BETWEEN EXECUTABLE PROGRAM AND MODULE POOL PROGRAM in SAP ABAP :

Differences Between Classic & New BAdIs :