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 the types of windows in sap script?
How to create a check box/option button in a list?
What is modularization and its benefits?
Explain about sap fico testing and the tools used? : abap bdc
Can we call reports and transactions from interactive reporting lists?
What is abap?
Explain the Types of Select statements?
Explain the difference between cluster tables and pool table?
What is a help view? : abap data dictionary
What are the other modules integrated with om? : sap abap hr
The commands through which an abap/4 module can “branch to “ or “call” the next screen are?
Where the payroll results are stored
How do I find the output type of a table or a program?
How to write a code in tab control? : abap bdc
What is difference between float and packed data type?