on 05-02-2019 6:14 AM
HI Experts,
I have a issue for Production order confirmation when Batch is entered in screen.
I'm getting below message
Goods movements: 0, failed 1
I'm using the following bapis to confirm production order
BAPI_PRODORDCONF_GET_HDR_PROP after that I'm using the L_PPIM_BATCH_DETERMIN_INIT_INT to clear the buffer for batch and then for posting I'm using BAPI_PRODORDCONF_CREATE_HDR
call function 'BAPI_PRODORDCONF_CREATE_HDR'
exporting
post_wrong_entries = '0'
importing
return = es_return
tables
athdrlevels = lt_athdrlevels
goodsmovements = lt_gm
link_conf_goodsmov = lt_lcg(1,1 and 1)
detail_return = et_detail_return
LINK_GM_CHAR_BATCH = lt_gcb (I have only one record so I'm passing INDEX_GOODSMVT = 1 and INDEX_CHAR_BATCH = 1).
if it is success then
call function 'BAPI_TRANSACTION_COMMIT'
exporting
wait = '2'
importing
return = ls_return
.
Please let me know if I miss anything.
Thanks,
Ashok.
User | Count |
---|---|
77 | |
9 | |
8 | |
6 | |
6 | |
6 | |
6 | |
6 | |
5 | |
5 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.