04-26-2010 5:13 AM
Hello Experts,
Currently I am creating Purchase orders using BAPI_PO_CREATE1 . When I am passing Condition related records to the same BAPI , second line item onwards , it creates multiple records of same condition type .
I have also looked into threads in SDN for the same , and they have suggested to create PO using BAPI_PO_CREATE and later use BAPI_PO_CHANGE to pass condition records. I have tried the same , but still second line item onwards it creates multiple records. Please tell me how do I resolve this issue.
Thanks
Trishna
04-26-2010 5:23 AM
Hi,
Just follow some posts here.
http://www.sapfans.com/forums/viewtopic.php?t=64958&highlight=bapipocreate1customfield
regards and Best wishes.
04-26-2010 6:15 AM
Post the code which used to populate condition records. You dont need to use the combination of BAPI_PO_CREATE1 and BAPI_PO_CHANGE to create PO with condition recrods
Regards
Vinod
11-29-2011 7:05 AM
Hello All,
I am also facing the same issue. duplicate records are being created for the same condition type. Could you please tell me how you could resolve this.
11-29-2011 7:52 AM
Hello All,
This duplicate condition record creation may happen due to a setting in the MM configuration, where the system tries to pull in the history condition records ,based on the same set of condition record determination parameters.
Please contact the MM functional consultant in your team for settings change in detrmination of condition records under " MM-Purchasing " section.
Best Regards,
Kumaar.S
11-29-2011 8:22 AM
Hi Trinsha,
Just shown this to MM consultant he will check in price conditions.With a small configuration it will be controlled.
Regards,
Madhu.
11-29-2011 11:29 AM
Hi ,
BAPIMEPOHEADERX
POHEADERX-PO_NUMBER = 'X'. It will indicated Mode of oeration is Updating.
So data wont be repate
11-30-2011 6:30 AM
Helllo All,
Thanks for your response. Will get back to my MM consultant and try to resolve this. Thanks once again..;)