in session method sy-subrc is not returned whereas in call
transaction method sy-subrc is returned . what does it mean?
Answer Posted / mahender achhe
In both the case we can use "SY_SUBRC". It is system
defined object. "SY_SUBRC" is mainly used in BDC Call
Transaction and BDC Session. The "SY_SUBRC" object is used
whether the records are Successfully Inserted or not, for
that we can use "SY_SUBRC".
IF SY_SUBRC=0 -->Successfully Insert/Updated the records in
table.
IF SY_SUBRC=4 --->Not Inseterd.Updated the records in table.
In call transaction return the "SY_SUBRC",because records
are dump at a time. but where as Session not return.why,
because if any error occurs in the program it will not open
the first. i.e (BDC_OPEN_GROUP) so that it can't be read
the data from the table.
The main thing is initially it can't be open the table.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is Buffering Concept? When should a Table be buffered?
what is code to upload cost centers through call trans. and procedure
What are spa/gpa parameters (sap memory)?
Can we write the code both call transaction and session method in single program?
What is the logo in sap script?
Can i know some of the Realtime tickets that anyone has been faced ?
Mention the various databases integrities?
Why do we use abstract class
When the top-of-page event does get triggered?
What are different ABAP editors? What are the differences?
Explain what are the events used for logical database?
how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.
Explain the differences between se01, se09 and se10?
How to convert the Unit for 'Distance' (The value from one Unit to another).
What are the organizational related infotypes? : abap hr