Fonction SAP BAPI_REQUEST_ADDLINEITEMS - BAPI: Add Request Items

Paramètre Reférence Type Long. Valeur par déf. Facultatif Description
REQUESTCONTROL BAPIREQUEST_CONTROL u 6 X BAPI Processing Control for Requests
REQUESTNUMBER BAPIREQUEST_KEY-REQUESTNUMBER C 12 Request Number

Paramètre Reférence Long. Facultatif Description
EXTENSIONIN BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
EXTENSIONOUT BAPIPAREX 990 X Reference Structure for BAPI Parameters ExtensionIn/ExtensionOut
REQUESTITEMIN BAPIREQUEST_ITEM_IN 392 X BAPI Import: Request Items
REQUESTITEMOUT BAPIREQUEST_ITEM_OUT 546 X BAPI Export: Request Items
REQUESTLOCKS BAPIREQUEST_LOCKS 28 X BAPI: Processing Locks in Request Items
RETURN BAPIRET2 548 X Return Parameters

Functionality
You use this method to add items to an existing request.
All table parameters except REQUESTITEMIN are optional and dependon the request class. The 'Return' parameter can deliver several messagenumbers simultaneously.

Notes
The BAPI uses the concept of customer enhancements with BAPI TableExtensions for which you can use the following structures:

  • BAPI_TE_DFKKORDER

  • BAPI_TE_DFKKORDERPOS

  • Customer enhancement 9514 is called so that you can check thedata transferred to the BAPI and determine additional data if necessary.
    Customer enhancement 9514 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, under Program Enhancements ->Define Customer-Specific Function Modules .
    INCLUDE BAPI_REQUEST_CONTROL
    INCLUDE BAPI_DATAELEMENT

    Description
    In this import parameteryou enter the number of the request for whichyou want to add execution periods.

    Description
    INCLUDE BAPI_EXTIN

    Description
    INCLUDE BAPI_EXTOUT

    Description
    INCLUDE BAPI_REQUEST_ITEM_IN
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_REQUEST_ITEM_OUT
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_REQUESTLOCKS
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_TABLE