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

Issue in BAPI_PO_CREATE1

Former Member
0 Likes
1,953

Hi all,

I am using BAPI_PO_CREATE1 to create Purchase orders. PO is getting created but the price of items is wrong.

In the output table IT_RETURN i get the messages

Message type Message
W                  Effective price is 1,000.10 INR, material price is 160.09 INR
I                     Net price for item 00010 adopted from last document

The price of the items in the file is 160.09 but the price is taken from the previous documents which is 1,000.10

Any any one faced this problem

Thanks

Hi all,

I am using BAPI_PO_CREATE1 to create Purchase orders. PO is getting created but the price of items is wrong.

In the output table IT_RETURN i get the messages

Message type Message
W                  Effective price is 1,000.10 INR, material price is 160.09 INR
I                     Net price for item 00010 adopted from last document

The price of the items in the file is 160.09 but the price is taken from the previous documents which is 1,000.10

Any any one faced this problem

Thanks

5 REPLIES 5
Read only

Former Member
0 Likes
1,208

Hello.

Conditions

Conditions are transferred in the table PoCond; header conditions in

the table PoCondHeader. Price determination is reinitiated via the

parameter CALCTYPE in the table PoItem.


 *-Parameter: POCOND
 ITM_NUMBER           =                    000001
 COND_ST_NO           =                    001
 COND_TYPE            =                    PB00
 COND_VALUE           =                    79.900000000
 CURRENCY             =                    EUR
 CURRENCY_ISO         =                    EUR
 COND_UNIT            =                    KG
 COND_P_UNT           =                    1
 CHANGE_ID            =                    U

 *-Parameter: POCONDX
 ITM_NUMBER           =                    000001
 COND_ST_NO           =                    000
 ITM_NUMBERX          =                    X
 COND_TYPE            =                    X
 COND_VALUE           =                    X
 CURRENCY             =                    X
 CHANGE_ID            =                    X

Read only

0 Likes
1,208

Hi Erik / Santosh,

Thanks you

Read only

Former Member
0 Likes
1,208

RV,

in your case price is getting overwritten from purchasing in fo record.


Net price for item 00010 taken from conditions
Message no. 06045

Diagnosis
You have entered a net price. However, a purchasing info record relating to the material to be ordered already exists.

System Response
The net price will be taken from the info record.

Procedure
If the message is a warning, you can continue your processing.

If it is an error message, you cannot do so.

If you want to enter a different price, you must maintain the price with the conditions of the item.

Read only

0 Likes
1,208

Hi Santosh,

You are right. I just found this out . Some info record number is being used automatically.

But i need to enter the price that is present in my input file

So can you explain how to do this

If you want to enter a different price, you must maintain the price with the conditions of the item.

@ Erik Hoven

Is this the method you just explained.

Thanks

Edited by: R V on Mar 16, 2009 1:35 PM

Read only

Former Member
0 Likes
1,208

To create /change condition records : use transaction codes VK11 / VK12

Mathews