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 append search help? : sap abap data dictionary
What are user exits? What is involved in writing them? What precations are needed?
What is sap abap data dictionary?
1.If there is one receiver,then To send 10 materials at a time through BD10 tcode, How many Master Idoc create? 2.If there is one receiver,then To send 1 material at a time through BD10 tcode, how many Master Idoc generated? 3.Can I Send Multiple Messges through BD10 tcode?
What will you code in start-of-selection & end-of-selecton & why?
What is meant by authorization? : sap abap hr
In the `select' statement what is group by ?
What are the mandatory fields to be filled for BAPI_CUSTOMER_CREATEFROMDATA1
What are the difference between tables and structures? : abap data dictionary
What is the significance of hide?
Explain the components of selection table?
What are the different types of parameters? : abap modularization
What are two methods of modifying sap standard tables? : abap data dictionary
How do you work with semi colon se[arated files in BDC ?
What is the difference between call transaction and session method? : abap bdc