Skip to Content
0
Feb 11, 2015 at 09:47 PM

Question on transaction type in MIGO

258 Views

What is the meaning of the comment/code below (marked in red), written in LMIGOKS1? Because of this hardcoding, even if the transaction/movement type selected is for a Goods Receipt, the screen layout shown is for a Goods Issue.


CASE s_control-action.
WHEN 'A01'.
s_control-vgart = 'WE'.
IF 'R08' CS s_control-refdoc. s_control-vgart = 'WF'. ENDIF.
* (Yet, in case of a goods receipt/issue and transfer posing
* related to material documents, only material documents with no
* related docs are allowed -> set vgart to WA in this case)
IF 'R02' CS s_control-refdoc. s_control-vgart = 'WA'. ENDIF.
IF 'R09 R10' CS s_control-refdoc. s_control-vgart = 'WA'. ENDIF.

Thanks,

Juwin