on 2016 Apr 14 8:22 PM
HI,
Please help. I am using bapi BAPI_PRODORDCONF_CREATE_HDR but facing some problem.
When confirm production order using transaction CO15, Its successfully confirmed. And when checking material document number in Transaction CO02 each material has one MATERIAL DOCUMENT NUMBER and ITEM is very to each material.
Confirmation of production order in transaction CO15
Checking in transaction CO02 (path: Goto-Documented Goods Movements)
But when confirm from using BAPI (BAPI_PRODORDCONF_CREATE_HDR), Its successfully confirmed but material document number going to changed and item number is same for each material.
Checking in transaction CO02 (path: Goto-Documented Goods Movements)
Passing parameter value to the BAPI
Importing : post_wrong_entries = 2
Table:
Athdrlevels: ordered = order no
Yield = production qty
pers_no = employee id
postg_date = current date
ex_created_by = user name
goodsmovements: material = material no
plant = plant
stge_loc = storage location
Hi,
Check:
|
Dimas Faria
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello
When posting a confirmation using a BAPI, the goods movements are always posted in the update process (background). In this case, system always use a different material document for goods receipts and goods issues. Please take a look on question 4 of the FAQ note 1586230:
Question: Is it possible to have the goods movements 101 and 261 in a material document when posting using a BAPI?
Answer: No, this is not possible in the BAPI. For technical reasons, goods receipts and goods issues must be transferred in separate packages of inventory management during the posting in a BAPI. This leads to the different material documents.
See also question 11 of the FAQ note 540392.
BR
Caetano
Hello
If I understood the description of the issue correctly, you are observing exactly what is described on the note on your system: there are different material documents for the goods receipt and for the goods issue. This is according to the system standard design and it cannot be changed.
Best regards
Caetano Almeida
User | Count |
---|---|
96 | |
8 | |
6 | |
6 | |
5 | |
5 | |
5 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.