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

Error in Call Transaction

Former Member
0 Likes
654

For a BDC program, I am using CALL TRANSACTION method. But the program is unable to call transaction because getting error SY-SUBRC = 1001. (Error in input batch processing).

Any idea why the error is coming or how to avoid this error so that program will work fine.

For a BDC program, I am using CALL TRANSACTION method. But the program is unable to call transaction because getting error SY-SUBRC = 1001. (Error in input batch processing).

Any idea why the error is coming or how to avoid this error so that program will work fine.

4 REPLIES 4
Read only

h_senden2
Active Contributor
0 Likes
628

set a breakpoint on the CALL TRANSACTION statement and set the mode on A so you can run the bim/transaction in foreground. Maybe you will get a clue about the cause.

regards,

Hans

Read only

Former Member
0 Likes
628

Hi Reshma,

Refer to the link below:

With luck,

Pritam.

Read only

Former Member
0 Likes
628

Hi,

Do like that:

CALL TRANSACTION 'MM01' USING IT_BDCDATA MODE 'N' UPDATE 'S'
MESSAGES INTO IT_MESSAGES.

"check the it_messages, you will geth the error message in detail.

* Handles error messages
PERFORM ERROR_MESSAGES.

FORM ERROR_MESSAGES.
CALL FUNCTION 'FORMAT_MESSAGE'
EXPORTING
ID = SY-MSGID
LANG = '-D'
IMPORTING
MSG = V_MESG
EXCEPTIONS
NOT_FOUND = 1
OTHERS = 2.
LOOP AT IT_MESSAGES WHERE MSGTYP = 'E'.
WRITE : / 'Message :'(I06) ,V_MESG.
CLEAR IT_MESSAGES.
ENDLOOP.
ENDFORM. " ERROR_MESSAGES

Regards,

Chris Gu

Read only

Former Member
0 Likes
628

Hi ,

Check the recording once again because in call transaction method first it will prepare the input data to be putup in the respective screens of tcode and then call transaction will be triggered...if recording is correct then check with the debugging mode at call transaction syntax and do the process again..

Can you tell me the tcode for which your doing the BDC.

Regards,

Rohan.