hello everybody,
I am creating PO's using BAPI_PO_CREATE. I want to update the material document created for this PO during this BAPI. Is this possible and if yes how do I do it.
For reference - the material document no. is stored in EKBE as BELNR.
Note : I am creating the material document for this PO b4 creating the PO using MB1C. So now i need to update the PO with this created material documents.
Regards
Swanand
Hi Swanand,
if I remember correctly, it's possible to create POs automatically during goods receipt (by customizing...). If so, it's much better to change this PO later with BAPI_PO_CHANGE.
I don't recommend to 'manually' link these documents afterwards.
If you're already booking goods receipt by own program, switch order of these two steps. Then goods receipt with reference to PO is possible - if you run into performance problems, do both later offline (e.g. with storing info in Z-tables).
Regards,
Christian
Hi Swanand,
so your current process flow looks like this:
a) data is entered
b) calculation
c) goods receipt (GR) like MB1C
d) purchase order (PO)
e) link them
Do instead
a) data is entered
b) calculation
c) PO
d) GR with reference to PO like MB01
Then you will have a correct link between your documents.
Regards,
Christian
Add a comment