Fonction SAP BAPI_DEBITMEMOREQ_GETDETAILBOS - Display Debit Memo Request with BOS (Service Entry Sheet)

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
INTERNALUSE BAPIFLAG-BAPIFLAG C 1 SPACE X Checkbox Field - Internal Line
SALESDOCUMENT BAPIVBELN-VBELN C 10 Sales and Distribution Document Number

Paramètre Reférence Type Long. Description
DEBITMEMOREQHEADER BAPISDHD u 817 Document Header Data

Paramètre Reférence Long. Facultatif Description
DEBITMEMOREQADDRESS BAPISDCOAD 629 X Address Data
DEBITMEMOREQBILLINGDATES BAPISDBPLD 424 X Billing Data
DEBITMEMOREQBILLINGPLANS BAPISDBPL 166 X Billing plan
DEBITMEMOREQBUSINESS BAPISDBUSI 672 X Business Data
DEBITMEMOREQCFGSCUBLBS BAPICUBLBM 269 X Configuration BLOB
DEBITMEMOREQCFGSCUCFGS BAPICUCFGM 410 X Configuration Data
DEBITMEMOREQCFGSCUINS BAPICUINSM 246 X Instance Data for Configuration
DEBITMEMOREQCFGSCUPRTS BAPICUPRTM 136 X Detail Data (Part_of Entries) for Configuration
DEBITMEMOREQCFGSCUREFS BAPICUREFM 33 X Instance in Configuration
DEBITMEMOREQCFGSCUVALS BAPICUVALM 289 X Characteristic Values for Configuration
DEBITMEMOREQCFGSCUVKS BAPICUVKM 68 X Variant Condition Key in Configuration
DEBITMEMOREQCONDHEAD BAPICONDHD 376 X Conditions Header Data
DEBITMEMOREQCONDITEM BAPICONDIT 518 X Conditions Item Data
DEBITMEMOREQCONDITIONS BAPISDCOND 464 X Conditions
DEBITMEMOREQCONDQTYSCALE BAPICONDQS 72 X Condition Scale Quantity
DEBITMEMOREQCONDVALSCALE BAPICONDVS 81 X Condition Scale Value
DEBITMEMOREQCONTRACTS BAPISDCNTR 158 X Contract data
DEBITMEMOREQCREDITCARDS BAPICCARDM 317 X Credit Card Data
DEBITMEMOREQFLOWS BAPISDFLOW 328 X Document Flow
DEBITMEMOREQITEMS BAPISDITBOS 1784 X Item Data
DEBITMEMOREQPARTNERS BAPISDPART 180 X Partner Data
DEBITMEMOREQSCHEDULELINES BAPISDHEDU 344 X Schedule Lines
DEBITMEMOREQSERVICES BAPISDESLLBOS 648 X Service Lines
DEBITMEMOREQSERVICESTEXT BAPIESLLTX 158 X Services Lines Text
DEBITMEMOREQSTATUSHEADERS BAPISDHDST 97 X Header Status
DEBITMEMOREQSTATUSITEMS BAPISDITST 55 X Item Status
DEBITMEMOREQTEXTHEADERS BAPISDTEHD 385 X Text Header Info.
DEBITMEMOREQTEXTLINES BAPITEXTLI 232 X Text Lines for Document
EXTENSIONOUT BAPIPAREX 990 X Customer Enhancements for Export
RETURN BAPIRET2 548 X Return Messages

Functionality
You can use this method to read detail data for service entry sheetsand return this data to the calling program. A service entry sheetcorresponds to a document item with BOS in a debit memeo request.

Notes
Transfer the SD document number in the import parameterSalesDocument as selection crierion. THe service entry sheetsare identified using this search criterion.
You can determine whether service lines of line type internal line
can also be displayed using parameter InternalUse.
Return
The data for the selected document are returned in the followingtables:

  • Document header data using table DebitMemoReqHeader

  • Partner data using table DebitMemoReqPartners

  • Schedule line data using table DebitMemoReqScheduleLines

  • Item data using table DebitMemoReqItems

  • The service data is trasnferred from the following tables:
    • Service data using table DebitMemoReqServices

    • Service long texts using table DebitMemoReqServicesText

    • Customer fields - tables VBAK, VBAP, VBEP andESLL can be read using parameter ExtensionOut.
      Handling Erorrs
      If errors occur during processing, they are returned in table parameterReturn. Information messages are also logged in this parameter.

      Description
      This paramter contains data for the sales document header.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.

      Description
      Indicator that specifies that sevrice lines of line type internalline are read by the system.

      Value range
      SPACE,,no long texts are displayed.
      X,,long texts are displayed.

      Default
      SPACE

      Description
      The SD document number serves as identification of a debit memo requestwith BOS (service entry sheet).

      Value range
      Dictionary data type CHAR (field length 10)

      Default
      The parameter must be entered (required field).

      Description
      This parameter contains the document address data.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.

      Description
      Tis parameter contains the billing data.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.

      Description
      This parameter contains the billing plan data.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.

      Description
      This parameter contains business data for the debit memo request.
      You can find further information on the meaning of the individualparameter fields in the appropraite data element documentation in theABAP dictionary.
      INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX
      INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX
      INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX
      INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX
      INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX
      INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX
      INCLUDE BOS_BAPI_KONFIGURATION OBJECT DOKU ID TX

      Description
      This parameter contains the condition data for the document header.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.

      Description
      This parameter contains condition data for the document items.
      You can find information on the meaining of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.

      Description
      This parameter contains condition data for the document.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.

      Description
      This parameter contains condition data for the condition scalequantity.
      You can find further information on the meaning of the individualparameter fields in the appropraite data element documentation in theABAP dictionary.

      Description
      This parameter contains condition data for the condition scale value.
      You can find further information on the meaning of the individualparameter fields in the appropraite data element documentation in theABAP dictionary.

      Description
      This parameter contains the contract data.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.
      INCLUDE BOS_BAPI_KREDITKARTENDATEN OBJECT DOKU ID TX

      Description
      This parameter contains information on the document flow.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.

      Description
      This parameter contains item data for the sales document.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.
      INCLUDE BOS_BAPI_PARTNERDATEN OBJECT DOKU ID TX
      INCLUDE BOS_BAPI_EINTEILUNGSZEILEN OBJECT DOKU ID TX

      Description
      The transfer parameter contains the service lines of the service entrysheets.

      Description
      The long texts for the service lines are transferred in this parameter.

      Value range
      For field TEXT_ID:
      LTXT,,line long text
      LLTX,,service long text

      Description
      This parameter contains status information for the selected document.
      You can find information on the meaning of the individual parameterfields in the appropriate data element documentation in the ABAPdictionary.

      Description
      This parameter contains status information for the document items inthe selected document.
      You can find further information on the meaning of the individualparameter fields in the appropraite data element documentation in theABAP dictionary.
      INCLUDE BOS_BAPI_EXTENSIONOUT OBJECT DOKU ID TX

      Description
      If errors occur during processing, they are returned in the tableparameter Return. In addition, informatory messages are saved inthe form of a log in this table parameter.

      Value range
      If no error occurs, the return parameter is initial. Otheriwse, theappropriate error messages are displayed with short text.