Skip to Content

how to clear buffer in WS_DELIVERY_UPDATE_2

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.



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

0 Answers