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

Call Transaction method in BDC.

former_member463678
Participant
0 Likes
444

Hello all,

Call transaction TCODE using BDCDATA mode u2018Nu2019 update u2018Su2019 messages in BDCMSGCOLL.

The above statement doing two things: It calls TCODE and process database.

Here my question is, the above statement sets the SY-SUBRC value after calling the TCODE or after calling TCODE and process database.

Thanks .......

Zak.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
408

Hi,

SY-SUBRC is updated after tcode get's processed. If sy-subrc not equal to 0 then the transaction got processed with errors.

Hello all,

Call transaction TCODE using BDCDATA mode u2018Nu2019 update u2018Su2019 messages in BDCMSGCOLL.

The above statement doing two things: It calls TCODE and process database.

Here my question is, the above statement sets the SY-SUBRC value after calling the TCODE or after calling TCODE and process database.

Thanks .......

Zak.

1 REPLY 1
Read only

Former Member
0 Likes
409

Hi,

SY-SUBRC is updated after tcode get's processed. If sy-subrc not equal to 0 then the transaction got processed with errors.