BAPI Function Module Documentation 

FU BAPI_REQUISITION_CREATE

Short text

Create purchase requisition

Functionality

This method enables you to create purchase requisitions.

Example

Notes

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

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 category 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:

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

Texts

Texts for the 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.

Return messages

Messages are returned in the parameter Return. The parameter documentation shows the return modes and their meaning.

Further information