Skip to Content
0

how to clear buffer in WS_DELIVERY_UPDATE_2

Apr 27 at 07:27 AM

10

avatar image

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.

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

0 Answers