Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

sy-subrc

Former Member
0 Likes
660

can we use sy-subrc in both call transaction and session method?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
640

Hi,

If you want to edit the output of the call transaction method and in that case use sy-subrc events to check some codings.

But in session method you cant able to edit the output so there you can debug and check sy-subrc at various points of time in session method.

it depends on the requirement and usage of sy-subrc in the coding.

Thanks.

Sakthi C

can we use sy-subrc in both call transaction and session method?

3 REPLIES 3
Read only

Former Member
0 Likes
641

Hi,

If you want to edit the output of the call transaction method and in that case use sy-subrc events to check some codings.

But in session method you cant able to edit the output so there you can debug and check sy-subrc at various points of time in session method.

it depends on the requirement and usage of sy-subrc in the coding.

Thanks.

Sakthi C

Read only

0 Likes
640

thank u very much...really helpful...

Read only

Former Member
0 Likes
640

CALL TRANSACTION:

Single transaction can be processed always.

Synchronous Processing - means Transfers data for a single transaction.

Asynchronous and Synchronous Database Update is possible.

No Session Log is created

Faster as it Asynchronous Update is possible.

Returns the SY-SUBRC value.

SESSION METHOD:

Multiple Transactions can be Processed through the same session.

Asynchronous processing - means Transfers data for multiple transactions.

Synchronous updates only possible - means no transaction is started until the previous transaction has been written to the database.

Session log is created.

Slower as it is Synchronous Update only.

Doesn't return the SY-SUBRC value.

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Feb 18, 2008 10:51 AM