Fonction SAP BAPI_REQUEST_GETDETAIL - BAPI: Read Request

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
READARCHIVE BAPIREQUEST_ADMIN-READ_ARCHIVE C 1 SPACE X Also Read Data from Archive
REQUESTNUMBER BAPIREQUEST_KEY-REQUESTNUMBER C 12 Request Number

Paramètre Reférence Type Long. Description
REQUESTHEADOUT BAPIREQUEST_HEAD_OUT u 190 BAPI Export: Request Header Data

Paramètre Reférence Long. Facultatif Description
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
REQUESTDOCUMENT BAPIREQUEST_DOCUMENT 66 X BAPI Export: Documents Created from Request
REQUESTDUEDATAOUT BAPIREQUEST_DUE_OUT 29 X BAPI Export: Due Dates of Request
REQUESTITEMOUT BAPIREQUEST_ITEM_OUT 546 X BAPI Export: Request Items
REQUESTLOCKS BAPIREQUEST_LOCKS 28 X BAPI: Processing Locks in Request Items
RETURN BAPIRET2 548 Return Parameters

Functionality
This method delivers all data available on the selected request.
The Return parameter can deliver several message numberssimultaneously.

Notes
The BAPI uses the concept of customer enhancements with BAPITable Extensions. You can use the following structures for this:

  • BAPI_TE_DFKKORDER

  • BAPI_TE_DFKKORDERPOS

  • BAPI_TE_DFKKORDERDUE

  • Customer enhancement 9516 is called at the end of the method inorder to fill the output extension.
    For an overview of all customer enhancements, see the IMG of ContractAccounts Receivable and Payable, underProgram Enhancements -> Define Customer-Specific Function Modules.

    Description
    INCLUDE BAPI_REQUEST_HEAD_OUT
    INCLUDE BAPI_DATAELEMENT

    Description
    With this import parameter you can define whether the system shouldread the request to be displayed from the archive if it doesn't existin the database.

    Default
    The parameter is populated with 'Space' by default; in other wordsthe request is not read from the archive.

    Description
    In this import parameter you define the number of the request to bedisplayed.

    Description
    INCLUDE BAPI_EXTOUT

    Description
    This table contains all the numbers of documents generated from therequest displayed.

    Description
    INCLUDE BAPI_REQUEST_ITEM_OUT
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_REQUEST_ITEM_OUT
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_REQUEST_LOCKS
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_TABLE