Ansicht
Dokumentation

BS01_REQUISITION_CREATE - Create purchase requisition

BS01_REQUISITION_CREATE - Create purchase requisition

rdisp/max_wprun_time - Maximum work process run time   rdisp/max_wprun_time - Maximum work process run time  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

You can create purchase requisitions with this method.

Example

Notes

Data for the purchase requisition items are transferred in table REQUISITION_ITEMS. You can find data that has to be transferred in the parameter documentation.

Account Assignments

If the account assignment category is set in the item, account assignment data can be transferred per purchase requisition item in the transfer table REQUISITION_ACCOUNT_ASSIGNMENT. The account assignment category determines which objects that are relevant to cost accounting have to be transferred in the account assignemnt data. If the account assignemnt ctaegory is K, for example, a cost center has to be transferred.
The account assignment can also be a multiple account assignment, i.e.: the account assignemnt table can contain more than one entry per item. In this case, the following indicators have to 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 created.

Texts

You can transfer texts for the purchase requisition item in table REQUISITION_ITEM_TEXT.

Limits

You can transfer limit data for the purchase requisition item in tables REQUISITION_LIMITS and REQUISITION_CONTRACT_LIMITS.

Services

You can transfer service data for the purchase requisition item in tables REQUISITION_SERVICES, REQUISITION_SRV_ACCASS_VALUES, REQUISITION_SERVICES_TEXT and EXTENSIONIN.

Number Assignment

If field PREQ_NO is set in the item data, the system checks whether you are dealing with an allowed external purchase requisition number. If this field is not set, the number is assigned internally and returned in parameter Number.

Return messages

Messages are returned in the Return parameter. The parameter documentation shows the return codes and their meanings.

Further information





Parameters

EXTENSIONIN
NUMBER
REQUISITION_ACCOUNT_ASSIGNMENT
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

BOS04

Addresses (Business Address Services)   BAL Application Log Documentation  
This documentation is copyright by SAP AG.

Length: 4147 Date: 20240523 Time: 172648     sap01-206 ( 57 ms )