Ansicht
Dokumentation

BAPI_REQUISITION_CREATE - Create Purchase Requisition

BAPI_REQUISITION_CREATE - Create Purchase Requisition

CL_GUI_FRONTEND_SERVICES - Frontend Services   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This method enables you to create purchase requisitions.

Example

Notes

The following authorization objects are checked with activity 01 (Create):

  • M_BANF_EKO,,Purchasing organization in requisition

The data of the purchase requisition items is passed on to the table RequisitionItems. The data that has to be passed on is listed in the parameter documentation.

Account assignments

If the account assignment category is set in the item, account assignment data can be passed on for each purchase requisition item in the transfer table RequirementAccountAs. The account assignment category determines which costing-relevant objects must be passed on in the account assignment data. If the account assignment is K, for example, a cost center must be passed on.
The account assignment can also be a multiple account assignment, i.e. the account assignment table can contain more than one entry. In this case, the following indicators must be set in the item data:

  • Distribution indicator (DISTRIB)
  • "Partial" invoice indicator (PART_INV)

If the account assignment category is not set, a stock item is generated.

Texts

Texts for purchase requisition item can be passed on in the table RequirementItemText.

Limits

Limit data pertaining to the requisition item can be passed on in the tables RequisitionLimits and RequisitionContractLimits.

Services

Service data pertaining to the requisition item can be passed on in the tables RequisitionServices and RequisitionSrvAccAssValues.

Number assignment

If an entry is made in the field PREQ_NO in the item data, the system checks whether the number is an allowed external requisition number. If no entry is made in this field, the number is assigned internally and returned in the parameter Number.

Messages returned

INCLUDE BAPI_RET

Further information





Parameters

AUTOMATIC_SOURCE
EXTENSIONIN
NUMBER
REQUISITION_ACCOUNT_ASSIGNMENT
REQUISITION_ADDRDELIVERY
REQUISITION_AFS_DATA
REQUISITION_CONTRACT_LIMITS
REQUISITION_ITEMS
REQUISITION_ITEM_TEXT
REQUISITION_LIMITS
REQUISITION_SERVICES
REQUISITION_SERVICES_TEXT
REQUISITION_SRV_ACCASS_VALUES
RETURN
SKIP_ITEMS_WITH_ERROR

Exceptions

Function Group

MEWQ

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.

Length: 4519 Date: 20240523 Time: 172837     sap01-206 ( 55 ms )