on 2018 Jul 17 10:02 AM
Hello,
I am facing issues while creating Purchase Order Response(POR) document.
We are using custom Fiori app to create a POR document.
Below are the steps that we are following:
1. Create a Purchase Order with quantity=10 and order it.
2. Create a POR document for this PO. 1st POR document has correct quantity(i.e 10).
3.Now change the quantity in PO to 20 and re-order it and create a POR document for the new version of the PO.
The issue that we are facing is that the quantity in 2nd POR is 10 instead of 20. We are passing the active header guid which has quantity=20 but still the POR created is having quantity=10.
Backend logic -
While creating a POR document through custom Fiori application, we are using below method:
CALL METHOD /sapsrm/cl_pdo_bo_por=>create_new_instance
Could you please help us out with this issue.
Regards,
Rahul
Request clarification before answering.
Dear Summer,
Thanks for the response. I am passing the current active GUID of the PO but still it is taking the old quantity. The quantity in active version of the PO is correct but somehow in POR it's incorrect.
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.