SAP Function SAMPLE_INTERFACE_00501004 - Schnittstellenbeschreibung zum Event 00501004

Parameter Reference Type Length Default Optional Text
ORDER_ITEM_NUMBER VBAP-POSNR N 6 Auftragspositionsnummer
ORDER_NUMBER VBAK-VBELN C 10 Auftragsnummer
STATUS MCVBAPB-SUPKZ C 1 1=alter Zustand, 2=neuer Zustand

Parameter Reference Type Length Default Optional Text
CONTRACT_ORDER_DATA MCVBAPUSR u 1 Verkaufsbelegpositions-Vertragsdaten


DEFINE &TEXT& = 'Sales document, update Sales Information System'
DEFINE &EVENT& = '00501004'
DEFINE &TYPE& = 'INTERFACE'
INCLUDE FI_OPEN_FI_DOCUMENTATION_1 OBJECT DOKU ID TX LANGUAGE EN

EVENT
This Event is reached when updating the Sales Information System(saving the sales document and setup of statistical data). The purposeof the function module is to make the separate sales document itemcontract data (as exists in the memory of the function group or on thedatabase) available to the Sales Information System where it serves assource data for contract-specific statistics.

INTERFACE
The STATUS field determines whether it is the old or the new status ofthe document that is processed.

  • '1' old status (database status prior to change)

  • '2' new status (database status following change)