on 2022 Nov 02 12:07 PM
Hi Team,
I'am using BAPI_PO_CREATE1 to create PO , i'm passing NET_PRICE in POITEM-NET_PRICE as 0.01
But once the PO is created i could see 30 in NETPR field.
Note : I'm not passing any conditions(POCOND) to BAPI.
Still i want my passed 0.01 to be reflected in PO netpr.
Analysis did : When we pass Conditions POCOND to BAPI its picking 0.01 in NETWR .
I need to 0.01 to be reflected without passing conditions to BAPI.
Request clarification before answering.
Could you provide more information (or perform some tests using the questions as hints)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
raymond.giuseppi : Thanks for your reply.
Great details i have got from you 🙂
Replying to your questions :
But requirement here is we should not give any conditions and also we need to bypass the Inforecords and the NETWR in new PO should be coming from BAPI_PO_CREATE1--> POITEM-NET_PRICE Value.
Can you suggest any points here.
Thanks,
Priya Ramani.
Try first with PO_PRICE = '2' and don't pass any data in POCOND[X] as this would override the effect of this parameter.
(Your current program pass initial value, so your net price would only be used for records where system is unable to fill conditions)
As I wrote in my first answer not using conditions is not an option when info records exist, conditions are required : I found this note 2115641 - BAPI_PO_CREATE1: price overwritten from info record that confirms it.
Of course, you can change the price and conditions in a BAdI such as ME_PROCESS_PO_CUST or ME_PO_PRICING_CUST or with the customer exits of the SAPL2012 enhancement
But this will probably require more effort than modifying the BAPI call (unless you have many calls to this BAPI from different systems)
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.