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 a modification assistant?

1092


What is get cursor field?

1513


How will you link form with the event driven in sap scripts?

1030


What are two methods of modifying sap standard tables? : abap data dictionary

1364


Different types of locks?

1103


What are the different types of abap/4 programs?

1214


What is the purpose of at first and at last?

1179


What is dynamic action? : sap abap hr

1175


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 ?

1940


What is logical database? : abap hr

1109


Difference between stand alone CRM and back-end CRM

4331


What is img? : sap abap hr

1186


what is diff between ECC 5.0 AND ECC 6.0

3348


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

9049


What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization

1161