how can u write in single program call transaction and
session method logic?
if u write logic in call transaction ,is there any errors ?
how can u see in session ?
Answer Posted / raghava reddy
SITUATION..........IF U HANDLE THE ERRORS IN CALL
TRANSACTION WE HAVE SEVERAL WAYS
1)USING FORMAT_MESSAGE
2)WHATEVER U GET THE ERRORS IN CALL TRANSACTION,SIMPLY PASS
THOSE ERRORS TO SESSION METHOD
................THIS IS THE SITUATION OF BOTH ARE USING IN
THE SAME PROGRAM...OK
WRITE THE LOGIC FOR CALL TRANSACTION
-------------
---------
---------
----------
CALL THE CALL TRANSACTION
IF SY-SUBRE < > 0.
......MEANS THE ABOVE STAT NOT EXECUTED
SUCCESSFULLY....MEANS WE GET THE ERRORS IN CALL TRANSACTION
METHOD...OK
SIMPLY PASS THOSE ERRORS TO SESSION METHOD
LIKE THIS...............
.............
CALL THE TRANSACTION BY USING
BDE_INSERT
......PROVIDE THE INPUT...........OK
Is This Answer Correct ? | 3 Yes | 0 No |
Post New Answer View All Answers
What is system-land-scape of your project?
How can we access the correction and transport system?
Why is pretty printer user in abap?
I am uploading 100 records out of which say 59th record has error so what will happen if I am using synchronous or asynchronous method of bdc? Can we update the database using local update mode how? : abap bdc
What is a collect statement?
Structures can contain data only during the runtime of a program (t/f) : abap data dictionary
Have you set up a back ground job ? How to create a background job without a variant ?
What is ole?
What are secondary indexes. How can we know which index is being used in a select query?
What are screen painter and menu painter? : abap hr
What are smart forms?
What is abap dictionary or data dictionary? What is the transaction to access abap dictionary? : abap data dictionary
State the differences between database view & projection view? : abap data dictionary
What is processing class, where we do them and why? : sap abap hr
What is alv programming in abap? When is this grid used in abap? : abap hr