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 two statements would be used to exchange data between programs using abap memory?
Can a filed occur in several field groups? : abap modularization
Tell me a scenario where did you use secondary index?
In BDC, data transfer is done success in foreground mode but if we done the same in background mode it shows errors. What is the reason?
What is the syntax for ‘call transaction’?
While using extract datasets it is required to have a special workarea for interface. State true or false. : abap modularization
How do you populate data into a multiple line field? : abap bdc
What are the two methods for modifying sap standard tables?
What are data classes? What are the various data classes available for selection? : abap data dictionary
It is not possible to create an abap/4 program, which contains only subroutines. State true or false. : abap modularization
Which transaction code can I use to analyze the performance of abap program?
What are the differences between se01, se09 and se10?
What is the difference between tables and structures?
What is the use of f4if_shlp_exit_example function module ? : sap abap data dictionary
How can an internal table with header line and one without header line be distinguished when passed to a subroutine? : abap modularization