SAP Note 1131899 - Order & scrap quantity set to 0 via BAPI_PLANNEDORDER_CHANGE

Component : Manufacturing - Industry-Specific Component Apparel and Footwear

Solution : https://service.sap.com/sap/support/notes/1131899 (SAP Service marketplace login required)

Summary :
When updating the planned order using BAPI_PLANNEDORDER_CHANGE, a programming error leads to the total planned order quantity and fixed scrap quantity resetting to zero for standard materials. This occurs if BAPI_PLANNEDORDER_CHANGE was previously used for an AFS planned order, affecting subsequent operations on standard materials due to uncleared global variables and tables specific to AFS. Users must have the AFS solution active and sequence their BAPI usage, changing AFS orders before standard ones.

Key words :
prerequisites reason program error, total planned order quantity, afs global variables, afs industry solution 2, existing sku information, afs planned order, standard planned order, planned order, fixed quantity, bapi_plannedorder_create reason

Related Notes :

1508714Fixing ind. not reset via BAPI_PLANNEDORDER_CHANGE for AFS
1486675Error 8J 843 in BAPI_PLANNEDORDER_CREATE for AFS materials
1471616Incorrect SKU / markers created via BAPI_PLANNEDORDER_CREATE
1466837Error 82 807 during plnd ord. creation for AFS matl via BAPI
1135411Header, component SKU and marker information not saved
1101029Issues with AFS BAPI for planned order create and change