cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Purchase Order Response(POR) document created with incorrect quantity

Former Member
0 Likes
2,439

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

View Entire Topic
Former Member
0 Likes

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