2008 Nov 25 7:04 AM
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.
2008 Nov 25 7:13 AM
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
2008 Nov 25 7:19 AM
2008 Nov 25 7:40 AM
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_MESSAGESRegards,
Chris Gu
2008 Nov 25 9:13 AM
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.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |