Application Development 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: 

BAPI_PR_CREATE giving an error

Former Member
0 Kudos

Hei Experts!

'm using BAPI_PR_CREATE to crate PRs....in the input file, if account assignment caegory is 'K'....'m getting the following error:

No instance of object type PurchaseRequisition has been created. External reference: # 1

Requisition date is in the past

Enter Cost Center

Enter Cost Center

....though I've entered the cost center.

And... if account assignment caegory is BLANK...PR is being created successfully....

Please suggest...

Regards,

Rudresh

TCS Mumbai

5 REPLIES 5

messier31
Active Contributor
0 Kudos

Hi,

Can you just check in system if the cost center you are entering do exist in SAP?

Enjoy SAP.

Pankaj Singh.

Former Member
0 Kudos

Thnx for d reply Pankaj....

Cost center which I've entered is the valid one and when I'm creating PR manually using ME51N using the same cost center, PR is successfully created....

Former Member
0 Kudos

Thnx Pankaj...I've solved my problem..........

Former Member
0 Kudos

Solved by my-self

0 Kudos

Hi Rudresh.

I got a similar problem. What was the solution?

Thanks for your reply.