Fonction SAP BAPI_REQUEST_ADDPERIODS - BAPI: Add Execution Periods for Request

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
REQUESTDUEDATAIN BAPIREQUEST_DUE_IN 28 X BAPI Import: Due Dates of Request
REQUESTDUEDATAOUT BAPIREQUEST_DUE_OUT 29 X BAPI Export: Due Dates of Request
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 execution periods to existing requests.
All table parameters except REQUESTITEMIN areoptional and depend on the request class. The'Return' parameter can deliver several message numberssimultaneously.

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

  • BAPI_TE_DFKKORDER

  • BAPI_TE_DFKKORDERPOS

  • BAPI_TE_DFKKORDERDUE

  • Customer enhancement 9514 is called in order to check the datatransferred 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, underProgram Enhancements -> Define Cuustomer-Specific Function Modules.
    INCLUDE BAPI_REQUEST_CONTROL
    INCLUDE BAPI_DATAELEMENT

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

    Description
    INCLUDE BAPI_EXTIN

    Description
    INCLUDE BAPI_EXTOUT

    Description
    INCLUDE BAPI_REQUEST_DUADATA_IN
    INCLUDE BAPI_DATAELEMENT

    Description
    INCLUDE BAPI_REQUEST_DUEDATA_OUT
    INCLUDE BAPI_DATAELEMENT

    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