SAP Function SAMPLE_INTERFACE_00501011 - Schnittstellenbeschreibung zum Event 00501011

Parameter Reference Type Length Default Optional Text
INVOICE_ITEM_NUMBER VBRP-POSNR N 6 Fakturapositionsnummer
INVOICE_NUMBER VBRK-VBELN C 10 Fakturanummer
STATUS MCVBRPB-SUPKZ C 1 1=alter Zustand, 2=neuer Zustand

Parameter Reference Type Length Default Optional Text
CONTRACT_INVOICE_DATA MCVBRPUSR u 302 Fakturabelegpositions-Vertragsdaten


DEFINE &TEXT& = 'Billing document, update Sales Information System
DEFINE &EVENT& = '00501011'
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 billing document and setup of statistical data). Thepurpose of the function module is to make the separate billing documentitem-contract data that exists in the memory of the function group oron the database available to the Sales Information System (where itserves as source data for contract-specific statistics).

INTERFACE
The entry in the STATUS field determines whether the old or the newstatus of the document is processed:

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

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