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
How many primary keys can be created for a table?
why particularly lock object name starts with EZ OR EY?
stock transfer from one plant to another plant ? i want the total description.
Explain the difference between domain and data element? What are aggregate object?
Difference between select option and ranges ?
What is meant by authorization? : sap abap hr
What are Tickets in Realtime ?
Can we include customizing include or an append structure with pooled or cluster tables?
What is a currency factoring technique?
How can a lock object be called in the transaction?
What is bdc programming? : abap bdc
How to create any functions?
How does the interection between the dynpro and the abap/4 modules takes place?
How can we achieve MVC ?
Program lines for the radio button selection and unabling some input variables in section screen