Fonction SAP BAPI_ADMGMTBILLDOC_GETDETAIL - IS-M/AM: BAPI Read Billing Document

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
NUMBER BAPIBUSISM010_HEAD-BILLINGDOCNO C 10 Number of the Billing / Settlement Document
WITH_TEXTS BAPIBUSISM010_SEL-WITH_TEXTS C 1 'X' X Also Read Texts? (Yes: 'X', No: ' ')

Paramètre Reférence Type Long. Description
HEAD BAPIBUSISM010_HEAD u 829 Billing Document Header (AdMgmtBillingDoc BO)
HEADTEXTS BAPIBUSISM010_HEADTEXTS u 1450 Texts for Keys in the Billing Document Header (AdMgmtBillingDoc BO)

Paramètre Reférence Long. Facultatif Description
CONDITIONS BAPIBUSISM010_CONDITION 320 X Conditions for the Billing Document
EXTENSION_OUT BAPIPAREX 990 X Reference Structure for BAPI ExtensionIn/ExtensionOut Parameters
ITEMS BAPIBUSISM010_ITEM 900 X Items in the Billing Document
ITEMTEXTS BAPIBUSISM010_ITEMTEXTS 1506 X Texts for Keys in Billing Document Items
PARTNERS BAPIBUSISM010_PARTNER 152 X Partners for the Billing Document
PARTNERTEXTS BAPIBUSISM010_PARTNERTEXTS 128 X Texts for Keys for Billing Document Partners
RETURN BAPIRET2 548 X Return Parameters

Functionality
This method is used to read detailed data for a billing document fromthe Advertising Management component.

Notes
Authorizations
The caller must have authorization to display a billing document(authorization object J_FAKT).
Parameters

  • The billing document number must be specified in the Number

  • parameter.
    • The WITH_TEXTS parameter controls whether the system returns
    • texts for selected value fields.
      User-defined fields
      Use the ExtensionOut parameter and the ISM_AM_BILLDOC_BAPI
      to read your own fields in this BAPI.

      Further information
      Additional information on BAPI use is available in the CustomerEnhancement Concept for BAPIs in the BAPI Programming Guidelines
      .

      Description
      Data for the billing document header is returned in this parameter.

      Relations
      Texts for selected field values are available in theHEADTEXTS parameter.

      Description
      Texts for selected field values in the billing document header areprepared in this structure according to the following conventions:
      The HEADTEXTS [field name]_TEXT field contains the text for the HEAD[field name] field.

      Description
      Enter the key of the billing document to be read here (this ismandatory).

      Description
      Use this flag to control whether texts are to be prepared in the

      • HEADTEXTS

      • ITEMTEXTS

      • PARTNERTEXTS

      • return parameters.

        Default
        If you omit this parameter, the system will read texts automatically(unless you do not request any of the parameters specified above).

        Description
        Conditions for the billing document are returned in this parameter.

        Description
        This parameter is used to return any data to the calling program. To doso, you must implement the
        BAPI_GETDET_EXTENSION_OUT_FILL method in theISM_AM_BILLDOC_BAPI BusinessAddIn.

        Description
        Data for the billing items is returned in this parameter.

        Relations
        Texts for selected field values are available in theITEMTEXTS parameter.

        Description
        This table contains texts for selected field values for the billingitems (ITEMS table). These are displayed in lines with thecorresponding key (BILLINGDOCNO,ITEMNO) according to the following convention:
        The ITEMTEXTS [field name]_TEXT field contains the text for the ITEMS[field name] field.

        Description
        Data for billing partners is returned in this parameter.
        The ITEMNO key value = '000000' (= initial) forpartners who have been assigned to the document at header level.

        Relations
        Texts for selected field values are available in thePARTNERTEXTSparameter.

        Description
        This table contains texts for selected field values for the billingpartner (PARTNERS table). These are displayed in lines with thecorresponding keys (BILLINGDOCNO,ITEMNO, ROLE) according to thefollowing convention:
        The PARTNERTEXTS [field name]_TEXT field contains the text for thePARTNERS [field name] field.
        INCLUDE ISM_BAPI_RETURN