SAP Function SAMPLE_INTERFACE_00501001 - Schnittstellenbeschreibung zum Event 00501001

Parameter Reference Type Length Default Optional Text
ORDER_ADD ORDER_ADD_CM u 4
ORDER_BUSINESS VBKDVB u 623
ORDER_HEADER VBAK u 888
ORDER_ITEM VBAPVB u 2048
ORDER_PARTNER MCPARTNER u 112
RELEASE 0 SPACE X
SECURITY_TYPE T691K u 13
STATUS_LC VBUP-CMPPI C 1

Parameter Reference Type Length Text
CONTRACT_CREDIT_STATUS VBUP-CMPPJ C 1

Parameter Reference Length Optional Text
ORDER_OPEN_VALUES BEZS132 200 Belegzeilen


DEFINE &TEXT& = 'Sales document, check contract'
DEFINE &EVENT& = '00501001'
DEFINE &TYPE& = 'INTERFACE'
INCLUDE FI_OPEN_FI_DOCUMENTATION_1 OBJECT DOKU ID TX LANGUAGE EN

EVENT
This Event is reached prior to the credit check on the document,following the Event 00501000 (Determine contract). It checks thecontract and sets the status of the sales document item.
Related Events

  • Determine contract.
  • INTERFACE
    The field ABGES must be set in table ORDER_OPEN_VALUES, if the lineitem is hedged:

    • Fully hedged: CON_ABGES_TRUE LIKE LIPS-ABGES VALUE '1E-00'

    • Not hedged...: CON_ABGES_FALSE LIKE LIPS-ABGES VALUE '0E-00'

    • Part-hedged....: between 0E-00 and 1E-00.

    • Use the include RVKMPKON!