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 are th control break events in abap?
Explain different types of locks?
wht is the diff. b/n initialization and lotus of event
Can we create an abap program without using y or z?
What is a bsp application? : sap abap hr
GUYS any one please can u post questions in sap a bap webdynpro questions.. please i need to know some technical questions regarding webdynpro and ADOBE forms ?
What is the difference of update types in call transaction method ? : abap bdc
In which time constraint does the infotype records depend on the subtype ? : abap hr
Search help exit details.
What is an abap dictionary? : abap data dictionary
Explain the difference between tables and structures?
What is the disadvantage of using exec sql statement in abap?
while implementing badi what are the tables u find??
Can a domain, assigned to a data element be changed? : abap data dictionary
How to handle errors in call transaction bdc method without using bdcmsgcoll internal table? : abap bdc