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 a modification assistant?
What is get cursor field?
How will you link form with the event driven in sap scripts?
What are two methods of modifying sap standard tables? : abap data dictionary
Different types of locks?
What are the different types of abap/4 programs?
What is the purpose of at first and at last?
What is dynamic action? : sap abap hr
GUYS any one please can u post questions in sap a bap webdynpro questions.. please i need to know some technical questions regarding webdynpro and ADOBE forms ?
What is logical database? : abap hr
Difference between stand alone CRM and back-end CRM
What is img? : sap abap hr
what is diff between ECC 5.0 AND ECC 6.0
i have cleared my technical round and manager round in cts but they told me u will get a call with in couple of days now i dont know about my status
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization