Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

BAPI_PR_CREATE

Former Member
0 Likes
1,247

Hi,

I have a problem with BAPI_PR_CREATE.

I'm passing:

PRITEM

PRITEMX

PRACCOUNT

PRACCOUNTX

PRADDRDELIVERY

PRHEADER

PRHEADERX

I get information that PR was created but when I look into EBKN I can find some fields without values (ex. costcenter) which were passed into this BAPI

Can you help me?

Where can I find documentation for this BAPI?

4 REPLIES 4
Read only

Former Member
0 Likes
709

You should be able to find the documentation for all the BAPI's in the transaction BAPI. You will have to drill down to the specific module and then look at the documentation.

Regards,

Ravi

Note - Please mark all the helpful answers

Read only

Sandeep_Panghal
Product and Topic Expert
Product and Topic Expert
0 Likes
709

Hi,

Below is some infor on PR BAPI:

Purchase requisition

The business object Purchase requisition contains the request or instruction to Purchasing to procure a certain quantity of a material or a service so that it is available at a certain point in time.

Structure

A purchase requisition consists of a number of items, for each of which a certain procurement type is defined. The following procurement types exist:

o Standard

o Subcontracting

o Consignment

o Stock transfer

o Service

The item contains the quantity and delivery date of the material to be supplied or the quantity of the service to be performed.

With respect to items involving subcontracting work, the material components to be provided to the subcontractor can be specified for each delivery date.

An item of the procurement type "service" comprises a set of service specifications. The specifications are structured by means of outline levels and the quantity ordered and delivery date are set out in service lines. Value limits are stipulated in place of service lines for services that cannot be specified precisely.

If services are requested against contracts, the requisition item can contain a value limit relating to a certain contract.

The costs incurred as a result of the procurement can be apportioned among different Controlling objects through the account assignment.

Comment

A purchase requisition can be fulfilled by means of purchase orders or outline purchase agreements.

Hope this helps.

Read only

Former Member
0 Likes
709

Hello Zastawny,

For populating the cost center I hope u have also populated Acc assignment field in PRITEM.

Read only

Former Member
0 Likes
709

There are so many notes related to this..

Check in OSS.

Note 796712 - BAPI_REQUISITION_CREATE: Supplying plant not transferred

783272 - ME51N: Incorrect data transfer

may be they will give some hints.

Regards

Vijay