BAPI / FM to update Production order batch field

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

Post Reply
stjacqd
Posts: 259
Joined: Tue Oct 22, 2002 9:10 am
Location: Montreal, Qc, Canada
Contact:

BAPI / FM to update Production order batch field

Post by stjacqd » Fri Oct 20, 2017 3:15 pm

Hello everyone

Some FM are available to update batch in the component level of a production order.
CO_XT_COMPONENT_CHANGE
CO_XT_ORDER_PREPARE_COMMIT

But none of the BAPI and FM seems to have the field "AFPO-CHARG" available to update at the item level.
CO_BI_AFPO_UPD doesn't work. It always returning sy-subrc = 1.
BAPI_PRODORD_CHANGE doesn't have the field "CHARG" in the structure.

Is anyone has an idea which FM or BAPI can be used to update the field AFPO-CHARG?

Regards
stjacqd

Post Reply