Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What is Buffering Concept? When should a Table be buffered?

12809


what is code to upload cost centers through call trans. and procedure

2568


What are spa/gpa parameters (sap memory)?

1191


Can we write the code both call transaction and session method in single program?

1034


What is the logo in sap script?

996


Can i know some of the Realtime tickets that anyone has been faced ?

2078


Mention the various databases integrities?

981


Why do we use abstract class

1428


When the top-of-page event does get triggered?

1086


What are different ABAP editors? What are the differences?

1051


Explain what are the events used for logical database?

923


how to use the xk01 in realtime.can it apply the others. how it it will goes to first page and next page.

2252


Explain the differences between se01, se09 and se10?

1028


How to convert the Unit for 'Distance' (The value from one Unit to another).

1915


What are the organizational related infotypes? : abap hr

1119