on 05-31-2017 4:25 PM
After a system update EWAWA01 no longer posts data in Background.
Sy-Subrc code 1001 occurs when run in background.
I need to identify the part of the transaction code that triggers this.
Based on some digging around the Internet it seems that a software update changed some screen design elements. Since the program was probably partially made using SHDB to record screen interactions, the change in screen design has rendered the elements made from this recording unusable.
Suspected problematic code is below.
CALL TRANSACTION 'EWAWA01' WITHOUT AUTHORITY-CHECK
using bdcdata_tab OPTIONS FROM opt MESSAGES INTO lt_return.
loop at lt_return into ls_return.
if ls_return-type NE 'E'
and ls_return-type NE 'A'.
else.
if SY-subrc ne '0' .
Write: / 'Fehler:',
/ sy-subrc,
sy-MSGID(5),
sy-MSGTY,
sy-MSGNO,
sy-MSGV1,
ls_return-type,
/ file_cont.
else.
Write: file_cont.
endif.
if SY-Batch eq space.
DELETE DATASET p_path .
endif.
To answer my own question:
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
15 | |
4 | |
3 | |
2 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.