Ansicht
Dokumentation

BAPI_REQUEST_CREATE - BAPI: Create Request

BAPI_REQUEST_CREATE - BAPI: Create Request

General Material Data   SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can use this method to create a request. All table parameters apart from REQUESTITEMIN are optional and depend on the request class.

The Return parameter can deliver several message numbers simultaneously.

Example

Notes

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

  • BAPI_TE_DFKKORDER
  • BAPI_TE_DFKKORDERPOS
  • BAPI_TE_DFKKORDERDUE

Customer enhancement 9510 is called so that you can check data transferred to the BAPI and determine additional data if necessary.

Customer enhancement 9511 is called at the end of the method in order to fill the output extension.

For an overview of all customer enhancements, see the IMG of Contract Accounts Receivable and Payable, under Program Enhancements -> Define Customer-Specific Function Modules.

Earmarked funds cannot be created automatically in the BAPI. First create an earmarked fund and then reference it when you create the request.

Using the parameter REQUESTCONTROL-NR_GROUP_DOC, you can ensure that the system selects the same number range for the dialog user during the entire process by specifying a fixed group value. By doing so, you ensure that parallel dialog processes do not lock each other out during document number assignment. Be aware that this parameter can only be used if the document or documents are created directly from the request (without approval or a mass run for document creation).

Further information





Parameters

EXTENSIONIN
EXTENSIONOUT
REQUESTCONTROL
REQUESTDOCUMENT
REQUESTDUEDATAIN
REQUESTDUEDATAOUT
REQUESTHEADIN
REQUESTHEADOUT
REQUESTITEMIN
REQUESTITEMOUT
REQUESTLOCKS
REQUESTNUMBER
REQUESTNUMBEREXT
RETURN

Exceptions

Function Group

FKK_REQUEST_BOR

BAL Application Log Documentation   General Data in Customer Master  
This documentation is copyright by SAP AG.

Length: 3664 Date: 20240523 Time: 182307     sap01-206 ( 47 ms )