‎2008 Jun 16 9:38 AM
Hi,
Session Method does not return Sy-subrc value,
cann anyone explain why?
regards
‎2008 Jun 16 9:53 AM
Hi,
In session method sy-subrc is not returned whereas in call transaction method sy-subrc is returned .
Reason:
While to transfer the data from the through if any errors occurs until the errors are the complete the data is not transfer to the SAP system.
the system compulsory shows the errors. that errors are stored into the error logs (Transaction is SM35).
so the session method should not return any value.
In call transaction method data is directly pass to the SAP system.
So its compulsory return the value.
Because of the call transaction is the function.
A function should return the value mandatory.
Regards,
Mahesh.
‎2008 Jun 16 9:53 AM
Hi,
In session method sy-subrc is not returned whereas in call transaction method sy-subrc is returned .
Reason:
While to transfer the data from the through if any errors occurs until the errors are the complete the data is not transfer to the SAP system.
the system compulsory shows the errors. that errors are stored into the error logs (Transaction is SM35).
so the session method should not return any value.
In call transaction method data is directly pass to the SAP system.
So its compulsory return the value.
Because of the call transaction is the function.
A function should return the value mandatory.
Regards,
Mahesh.