Application Development 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: 

SY-SUBRC for Call Transaction

Former Member
0 Kudos

Dear All,

I need one small help from u.

I have written CALL TRANSACTION. SY-SUBRC for this comes 1001; but, in Message Tab there is only a success Message.

So, what is the meaning of SY-SUBRC 1001 for Call Transaction.

Thanks a lot in advance.

Best Regards,

Prasad

7 REPLIES 7

Former Member
0 Kudos

It has some error.

It is not successful.

If it's 0 then only it is successful.

U checkout once ur code.

Former Member
0 Kudos

Hi

Probably there's an error in the sequence screen transfered by BDC table, try to check if there's a message indicating a certain field doesn't exist in a certain screen.

Max

Former Member
0 Kudos

yes, it is fine as SY-SUBRC NE 0, there is some Error.

But, in Message Tab there is not any Error Message. So, how can we came to know the reason for Error/ Error Message.

Please could anyone explain?

Thanks a lot.

Best Regards,

Prasad

0 Kudos

Hi

Run the transaction in MODE E, it should be stopped to the error:

CALL TRANSACTION <TCODE> AND SKIP FIRST SCREEN 
         USING <BDC TABLE> 
         MODE 'E' 

Max

0 Kudos

Hi Sir,

Same Problem is getting for this statement i.e, it showing sy-subrc 1001 and data is not updating

am writing the code

CALL TRANSACTION 'PP01'

USING GT_BDCDATA

MODE I_MODE

UPDATE 'L'

MESSAGES INTO GT_MESSTAB.

for this statement sy-subrc = 1001. if we write the below syntax it will work successfull i need u r help sir please give me replay.

CALL TRANSACTION <TCODE> AND SKIP FIRST SCREEN

USING <BDC TABLE>

MODE 'E'

Thanks and Regards

Syed

Former Member
0 Kudos

Hi Prasad,

I was also faced the same problem.Even in message it dispalys success message while running BDC there might be the screen which is in dispaly mode.I think in message tab u also get the message like particular field is not an input field.if it is the case while updateing the data in a transaction screen in side some locking is going for particulat record for particular table.you just observe these things how it is going ?.I hope you will get the solution.

regards,

kishore.

Former Member
0 Kudos

Dear All,

Yes, there is problem with one screen field which gets shown in Message table as success Message; even though there is no error message, Call transaction ends with SY-SUBRC EQ 1001.

Thanks a lot for your help.

Best Regards,

Prasad