2008 Mar 31 1:43 PM
hi mates
im have recorded the transaction for XK01 and im using batch input session. when i process the session my transactions are failing
can any body help me
regards
mano
hi mates
im have recorded the transaction for XK01 and im using batch input session. when i process the session my transactions are failing
can any body help me
regards
mano
2008 Mar 31 2:15 PM
Hi,
Just make sure that all the data fields are replaced with the value fields i.e. internal table fields. and check whether u have placed the code for save.
PERFORM F_9000_APPEND_BT USING:
'SAPLCJWB' '0901' 'X',
'BDC_OKCODE' '=BU' ' '. "SAVE
FORM F_9000_APPEND_BT USING IV_FNAM LIKE GT_BT-FNAM
IV_FVAL TYPE ANY
IV_DYNBEGIN LIKE GT_BT-DYNBEGIN.
CLEAR GT_BT. "Clear the field string...
IF IV_DYNBEGIN = 'X'.
GT_BT-PROGRAM = IV_FNAM.
GT_BT-DYNPRO = IV_FVAL.
GT_BT-DYNBEGIN = 'X'.
ELSE.
GT_BT-FNAM = IV_FNAM.
GT_BT-FVAL = IV_FVAL.
ENDIF.
APPEND GT_BT.
ENDFORM. "End Of f_9000_append_bt
2008 Mar 31 2:20 PM
Hi!
Make sure some empty fields are not being filled with values such as '0000'... I had once to make a batch-input program for this transaction, and that was the point it was failing.
Also, if you're filling some of the table controls, double-check if your code is fitting well.
If that does not work, can you post your code for us to take a look? I think it may help a lot!
It would help a lot too posting the messages you're getting from the execution log from SM35 analysis.
Tks!
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |