on 07-11-2008 8:49 AM
Hi Frnds,
I am changing the PO thru BAPI_PO_CHANGE. I have ended up with an error which I am not able to resolve. The error is "Net price must be greater than 0 ". I am passing all the relevant values. Can anyone please let me know the mandatory values we need to change the PO and why is this error occuring. Please note that the Net price value iam passing from the program is not 0.
Assure points for all the replies.
Regards,
Madan..
hello,
Please reassure that the net value you are entering is not ZERO ...in any condition it shd be more that zero....
Regards,
Priyanka
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Madan,
Yes, please let me know if you had successful made the price change with fields to fill out.
FYI, i had test the same at my system and it was working. Incase, miss out anything( from my side)
in typing or you had any other symptom, please kindly add into the thread.
Thanks
Loke Foong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear,
Debug First..
At a break point..check for item(matcodes moving avg prize), if its zero..go in change mode and ammend net value of PO by minor amnt and save..
the main reason is moving avg prize of matcode(or item)..
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Madan,
If you want to change condition type, you have to use POCOND and POCONDX
but not just POITEM and POITEMX. Thye minimum data you had to filled as
example below:
Let say change PB00 for item 10 PO 4700000821 from 2 USD to 1 USD.
a price (condition type PB00) of 90 EUR for item 10. You want to change
the 90 EUR to 100 EUR. To do this, fill tables POCOND and POCONDX with
the following values:
PURCHASEORDER = 4700000821
POCOND-ITM_NUMBER = 000010
POCOND-COND_TYPE = PB00
POCOND-COND_VALUE = 1.000000000
POCOND-CURRENCY = USD
POCOND-CHANGE_ID = U
POCONDX-ITM_NUMBER = 000010
POCONDX-ITM_NUMBERX = X
POCONDX-COND_TYPE = X
POCONDX-COND_VALUE = X
POCONDX-CURRENCY = X
POCONDX-CHANGE_ID = X
You had to run BAPI_TRANSACTION_COMMIT after that to get it saved.
Hope this help and have a nice weekend.
Loke Foong
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Gyz,
Thanks for all ur suggestions. I'm done for today. Will try all ur suggestions on Monday... I have debugged the program to the bare minimum... I still cudnt get to the root cause...Will carry from monday and wil let you guyz know if i find a soln... thanks and a great week end ahead...
Regards,
Madan..
User | Count |
---|---|
91 | |
8 | |
7 | |
4 | |
4 | |
3 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.