Ansicht
Dokumentation

BAPI_MOSRVAPS_PRODCHPPE - Method for Changing the Primary Product of an Order

BAPI_MOSRVAPS_PRODCHPPE - Method for Changing the Primary Product of an Order

ROGBILLS - Synchronize billing plans   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

Main products of iPPE-based APO orders can be changed using this method.

In order to change the product, the orders must be created using iPPE-based model and released. The information of the order is sent in the table parameter ORDER_HEAD.

Reporting points mapping information between original and resulting order can be provided in the table parameter RP_MAPPING.

Notes

Depending on the settings in the COMMIT_CONTROL parameter, the function may automatically execute a COMMIT or ROLLBACK WORK.

Default Assignments

Generally, the reporting point structure of the original and resulting orders are different. If there is no mapping available, an internal mapping will be added to the RP mapping table in the following manner:

  • For Hard and Soft UP product change, the mapping will be added between the first RP of the original order with non-zero WIP and the first RP in the resulting order.
  • For SoftDOWN merge, the mapping will be added between the last RP of the original order with non-zero WIP and the first RP in the resulting order.

If the mapping between the Goods Receipt (GR) reporting points of the original and resulting orders is not present, it will be added by the system automatically for correct GR postings.

Types of Product Changes

There are three ways the product can be changed of an order, distinguished by the field WIPMOVE in table /SAPAPO/FOTMOD:

  • Hard product change (default):
  • All reporting points that have some WIP in the original order, must have a mapping entry in the RP_MAPPING table. (Note: Use WIPMOVE = 'H' in table /SAPAPO/FOTMOD for CALLTYPE = 'B' (for BAPI).)

  • Soft UP product change
  • WIPs at original order reporting points without any mapping will be transferred with the earlier mapped reporting point (or the first reporting point in the resulting order if there is no earlier mapped reporting point). The WIP at the GR reporting point will always be transferred to the GR reporting point of the resulting order (Note: Use WIPMOVE = 'U' in table /SAPAPO/FOTMOD for CALLTYPE = 'B' (for BAPI).)

  • Soft DOWN product change
  • WIPs at original order reporting points without any mapping will be transferred with the next mapped reporting point (or the GR reporting point in the resulting order if there is no other mapped reporting point). The WIP at the GR reporting point will always be transferred to the GR reporting point of the resulting order (Note: Use WIPMOVE = 'D' in table /SAPAPO/FOTMOD for CALLTYPE = 'B' (for BAPI).)

Product Change Restrictions

  • The product change functionality is available only for non-configurable products.
  • The order must be in the active planning version.
  • The target product must be in the same location.
  • All reporting points in the original order which have some WIP, must have a mapping entry, except if a Soft UP or DOWN action type is used appropriately.





Parameters

COMMIT_CONTROL
GEN_SETTINGS_FOT
LOGICAL_SYSTEM
ORDER_HEAD
PLNG_VERSION
RETURN
RP_MAPPING
STRATEGY_PROFILE

Exceptions

Function Group

10503

CL_GUI_FRONTEND_SERVICES - Frontend Services   Vendor Master (General Section)  
This documentation is copyright by SAP AG.

Length: 4540 Date: 20240523 Time: 170023     sap01-206 ( 50 ms )