In session method sy-subrc is not returned whereas in call transaction method sy-subrc is returned . what does it mean?

I dnt know

Showing Answers 1 - 9 of 9 Answers

Bandi Venkateswarlu

  • Oct 14th, 2005
 

in  

  Was this answer useful?  Yes

Bandi Venkateswarlu

  • Oct 14th, 2005
 

in the  

  Was this answer useful?  Yes

Bandi Venkateswarlu

  • Oct 14th, 2005
 

while to tranfer the data from the through if any errors occurs until the errors are the complete the data is not tranfer to the sap system.

the system compalsory shows the errors .that errors are stored into the error logs (Trasaction is SM35).

so the sesion method should not return any value.

in call trasaction method data is directly pass to the sap system.

so its compalsory return the value.

because of the call trasaction is the funtion.

a funtion should return the value madatory. 

  Was this answer useful?  Yes

Prashanth

  • Oct 20th, 2005
 

it mean that u can know in ur call transcation everything is successsful or not

  Was this answer useful?  Yes

Murali

  • Oct 21st, 2005
 

Hi Prasanth,

   Session method doesnt return sy-subrc means, the records that are uploaded are not saved in database, but are temporarily residing in Session. Once u process the session, then only, the data will be stored in database. Where as in Call Transaction, after the execution of Call Transactin method, the records will be update into database according to Synchronous/Asynchronous method.

  Hope u understood.

Regards

Murali

  Was this answer useful?  Yes

chand

  • Oct 27th, 2005
 

In session method by default we had log file so sy-Subrc is not returned where as in call transaction we have to explicitly use lock file concept by using structure bdcmsgcoll,so sy-subrc is returned

  Was this answer useful?  Yes

Bandi venkatesh

  • Nov 4th, 2005
 

in session method it should not a return value . because of the while u transfer the data from the legacy system to sap system it sholud not check the values.but in the call transaction method compalsory check the values mandatory.and also the in the call trasaction method its a function so compalsory sholud return the value

  Was this answer useful?  Yes

Kinjal Mehta

  • Nov 11th, 2005
 

This is because in session method u have got a session created not exactly a session executed so no return cod generated..

while in call transaction method actuall execution takes place as soon as u execute the program , which returns a code in sy-subrc

  Was this answer useful?  Yes

sreni

  • Jan 14th, 2006
 

 session method is going through screen wise validations

in call trans........ its going through coding wise.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions