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 sales order confirmation and how can do design it in webdynpro. what is Tcode for the same?
What is a size category?
Select up to 1 row and select single difference ?
Can we set page headers to details lists?
Which bdc you prefer? : abap bdc
What are the types of records that are transferred to sap r/3 and used by interfaces? : abap bdc
Define database layer? : abap data dictionary
What is the difference between commit-work and rollback-work tasks?
Define alv programming in abap?
Is it possible to pass data to and from include programs explicitly? : abap modularization
Explain the Importance of pa20? : abap hr
How to create any functions?
How can we determine a vendor is Bloc/Unblock from the table LFA1?
What is the difference between the function module and a normal abap/4 subroutine?
How many types of data classes are there in sap abap? : abap data dictionary