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

Problem in PO creation using BAPI_PO_CREATE1

Former Member
0 Likes
694

Hi Experts,

I am creating the PO by using the BAPI_PO_CREATE1.

I am giving the net price for the material in POITEM-NET_PRICE and also 'X' in POITEMX-NET_PRICE.

For some material, BAPI is working fine and for some material BAPI is giving the error like 'Net price must be greater than zero'.

When i tried to create the PO manually for material for which the BAPI is giving the error, the PO was created successfully.

I am working on R/3 Release 4.6C.

Anybody have the suggestion how to resolve this problem?

Thanks in Advance,

Abhishek Ingole

Hi Experts,

I am creating the PO by using the BAPI_PO_CREATE1.

I am giving the net price for the material in POITEM-NET_PRICE and also 'X' in POITEMX-NET_PRICE.

For some material, BAPI is working fine and for some material BAPI is giving the error like 'Net price must be greater than zero'.

When i tried to create the PO manually for material for which the BAPI is giving the error, the PO was created successfully.

I am working on R/3 Release 4.6C.

Anybody have the suggestion how to resolve this problem?

Thanks in Advance,

Abhishek Ingole

3 REPLIES 3
Read only

Former Member
0 Likes
562

Sounds like you have a zero value in your input.

Read only

Former Member
0 Likes
562

Abhishek,

It's not your BAPI. That is how your customizing settings are deffined for the PO creation.

"If you want to create a purchase order without a value, you must set the

IR indicator to " ". "

contact your functional person to check the settings and find out if you need to skip the records with 0 net price.......

Also you should get this error when you create a PO online. Please try it again with 0 net price.

Thanks,

Alchemist.

Read only

Former Member
0 Likes
562

Hi Abhishek,

You need to set the field PO_PRICE = '2' and the respective X field.

Regards,

Gilberto Li