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 ?
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / vrushali
You can set radio button in select options
call transation
call session method
if call transaction = 'X'.
call transaction.
else
call session method.
endif.
Is This Answer Correct ? | 1 Yes | 9 No |
I have 100 records and 75th record contains error,if i use call transaction how many records will update the data base and if i use session method how many will update?
Difference Between domain and data element?
What is primary index?
what is the variable to be used in sap scripts to find the total number of pages of the print job?
what is the transaction transaction for setting parameters rdisp/buffermode
what is EDI ,ALE , Debugging, Smart Forms ,IDOC'S & BDOC'S
2 Answers IBM, Yash Technologies,
How do you read files from the presentation server ? : abap bdc
what is itcsy structure? what is the importance of it? give me the detailed information of it ?
How will you know which BADI is being, if there are multiple implementations of BADI in the same project.
what is the usage of Enhancement category in tables?
Is sap xi intended to replace ale?
which method is suitable for call transaction asynchronous or synchronous