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 use of transparent table in abap? How it is different from pool tables?
while implementing badi what are the tables u find??
Why do we use FOR ALL ENTRIES and what is the pre-requisite
why to create a custom BAPI if the BAPI already exists? y to find BAPI again? frankly even i dint undstnd tne question properly. if any one come across this q please do anser me.
What are the domains and data elements?
foreign key enforcement?
What is the advantage of structures?
In ALV reporting when u execute your report which event gets triggered.
Does sap handle multiple languages?
How to write a code in tab control? : abap bdc
What do you do when the system crashes in the middle of a BDC batch session?
What is “call mode”?
How to debug rfc function module?
How can the standard tables of sap be modified?
What is the use of lock objects?