Ansicht
Dokumentation

FIP_EXT_RP_PROCESS_SUBST_GR - Process Substitution during Goods Receipt

FIP_EXT_RP_PROCESS_SUBST_GR - Process Substitution during Goods Receipt

CL_GUI_FRONTEND_SERVICES - Frontend Services   CL_GUI_FRONTEND_SERVICES - Frontend Services  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module carries out substitution process during goods receipt.

The following steps occur:

  • Check Customizing regarding the activation of the perishables procurement substitution process
  • Process every material document item
  • Provide/determine additional data (for example, EKKO or EKPO)

  • Determine the item type (for example, a zero GR item, additional item, or partially delivered item)

  • Determine missing items
  • Determine substitution assignments via the FIP_BADI_RP_SUBSTITUTION_PRODUCTS_I BAdI
  • Call the CHANGE_SUBST_PRODUCTSmethod from the FIP_BADI_RP_SUBSTITUTION_GR_E customer BAdI
  • Merge the result and build up the worklist
  • Save the worklist
  • Raise an alert
Note:You should only save worklists and raise alerts when there are some worklist entries (for example, only in the case of discrepancies during goods receipt).

Example

Item Types

Zero goods receipt item: GR quantity = 0; ELIKZ = 'X' or SPACE

Partially delivered item: GR quantity < ordered quantity

Additional item: Item was not ordered but GR posting (as additional position).

Missing item: Item was ordered but no GR posting

Notes

Further information





Parameters

CT_MESSAGES
IT_MKPF
IT_MSEG
IT_VM07M

Exceptions

PROCESS_ERROR
SUBST_NOT_ACTIVE
WRONG_PROCESS

Function Group

FIP_EXTENSION

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   ABAP Short Reference  
This documentation is copyright by SAP AG.

Length: 2246 Date: 20240604 Time: 104858     sap01-206 ( 30 ms )