cancel
Showing results for 
Search instead for 
Did you mean: 

how to clear buffer in WS_DELIVERY_UPDATE_2

Former Member
0 Kudos

Hi all,

I am calling 'WS_DELIVERY_UPDATE_2' FM to update PGR(Post Goods Receipt). I am doing partial PGR. Suppose say I have ordered quantity as '2'. First I will be doing it for '1 ' quantity.Then this is working fine and doing PGR successfully For the second time, when I was doing again for the remaining '1', then I am getting an error('Quantity to be posted exceeds the maximum quantity that can be posted') for the first time only( not all times but some times only). If I re-execute it again after the error then I am getting successful.


I tried passing if_no_buffer_refresh = 'X' parameter and also called 'HU_PACKING_REFRESH' and 'RV_DELIVERY_INT' Function modules before that function module. But not getting through. Can any one please help me. In the debug , I noticed the buffer( XVBFPA-QMENG = 2 for correct scenario and XVBFPA-QMENG = 1 for error scenario). This is the root cause for the error. I need to identify this and pass appropriate values in the function module. Can any one please help me.


Thanks,

Baasanthi.

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hello Baasanthi,

Did you manage to solve your problem ? I have the same kind of issue when doing PGRs using FM WS_DELIVERY_UPDATE_2.

Regards,Jean-Marc