Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Movement Type in VL09

Former Member
0 Kudos

Hi Everybody,

I've been working with User Exit V50PSTAT for the Transaction Codes VL02N and VL09. Based on the Movement Types in both the Transaction Codes, I need to update a Custom Table. When Posting Goods Issue in VL02N, I need to check the Movement Type, if it is 601, I need add the Quantity to the existing Quantity in Custom Table and update. When Reversal in VL09, I need to check the Movement Type, if it is 602, I need to subtract the Quantity from the existing Quantity in Custom Table and update. But when I debug both the Transaction Codes, in VL02 I get all the line items with Movement Type 601, which is good. But in the Transaction Code VL09, I didn't get any line item with Movement Type 602, which should be the Reversal Movement Type. Can anybody tell me what is the way to identify the Reversal Movement Type in VL09.

2 REPLIES 2

former_member188827
Active Contributor
0 Kudos

what movement type are you getting when using 'VL09'. Also check if you can make use of debit/credit indicator field(SHKZG) in order to add or subtract quantity.

Regards

eduardo_hinojosa
Active Contributor
0 Kudos

Hi

Check tcode OMJJ (customizing) and for mov 601 go to reversal movs. as in this screenshot

In OMJJ you can see the allowed transactions for this movement.

This data is saved in table T156N (see with SE16) In report linked to VL09 you can see the function module WS_REVERSE_GOODS_ISSUE is called. In this function module is read the data from table T156N.

I hope this helps you

Regards

Eduardo

PD: I forgot to mention it. There is a badi available. Check badi LE_SHP_DLV_GI_IBS

Message was edited by: Eduardo Hinojosa