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

Create PO using BAPI(urgent)

Former Member
0 Likes
453

Hi,

while iam creating PO using BAPI_PO_CREATE1, Iam passing PO number in the header table when i execuate the code it is automatically generating new po number.

for example iam passing PO number 4500000021(not yet created) but in the output it is generating new PO Number 450000453. but i want 4500000021 this po to be created.

Thanks

Vikranth Khimavath

3 REPLIES 3
Read only

Former Member
0 Likes
420

Looks like your PO is confgured to have internal number range, so the system automatically generates the number.

That is why even if you are sending a number the system is neglecting the number you are passing.

If you want your number to be used, you will have configure the system to accept the external number.

Regards,

Ravi

note - Please mark all the helpful answers

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
420

If the PO number is configured for internal number assignment, you can not create po with your own number, it will be generated automatically.

Regards,

Rich Heilman

Read only

Former Member
0 Likes
420

Hi,

If you want to change it to external numbering..Check the following..

Go to the transaction SNRO..Give the object EINKBELEG..

Then for the the number range interval check the check box that says External numbering..

Thanks,

Naren