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.
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.