2010 Apr 26 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
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
2010 Apr 26 5:23 AM
Hi,
Just follow some posts here.
http://www.sapfans.com/forums/viewtopic.php?t=64958&highlight=bapipocreate1customfield
regards and Best wishes.
2010 Apr 26 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
2011 Nov 29 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.
2011 Nov 29 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
2011 Nov 29 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.
2011 Nov 29 11:29 AM
Hi ,
BAPIMEPOHEADERX
POHEADERX-PO_NUMBER = 'X'. It will indicated Mode of oeration is Updating.
So data wont be repate
2011 Nov 30 6:30 AM
Helllo All,
Thanks for your response. Will get back to my MM consultant and try to resolve this. Thanks once again..;)