<?xml version="1.0" encoding="utf-16"?>
<WDYN COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VERSION="A" TYPE="0" CMP_CONTROLLER="COMPONENTCONTROLLER" CMP_INTERFACE="COMPONENTINTERFACE" DISPLAY_NAME="ZMC_PRIJEM_K_VZ" AUTHOR="CZMICYP" CREATEDON="20131113" CHANGEDBY="CZMICYP" CHANGEDON="20140512" GENDATE="20140827" GENTIME="155521" CONFIG_EXPL_PROP="0" CONFIG_IMPL_PROP="0" P13N_EXPL_PROP="0" P13N_IMPL_PROP="0" ASSISTANCE_CLASS="ZCL_ZMC_TERMINAL">
 <wdy_componentt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" LANGU="C" DESCRIPTION="příjem k výrobní zakázce"/>
 <view_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" VERSION="A" TYPE="CL_WDY_MD_VIEW" VIEW_TYPE="00" LIFESPAN="0" VIEW_CONTROLLER="VIEW1" ROOT_UI_CONT="ROOTUIELEMENTCONTAINER" DISPLAY_NAME="VIEW1" AUTHOR="CZMICYP" CREATEDON="20131113" CHANGEDBY="CZMICYP" CHANGEDON="20140822" VISIBILITY="00">
  <wdy_viewt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" LANGU="C" DESCRIPTION="Pijem k výrobní zakázce."/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" PLUG_NAME="FROM_VIEW2" VERSION="I" PLUG_TYPE="CL_WDY_MD_INBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="FROM_VIEW2"/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" PLUG_NAME="FROM_VIEW3" VERSION="I" PLUG_TYPE="CL_WDY_MD_INBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="FROM_VIEW3"/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" PLUG_NAME="TO_VIEW2" VERSION="I" PLUG_TYPE="CL_WDY_MD_OUTBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="TO_VIEW2"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON" DISPLAY_NAME="BACK" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON" PARENT_NAME="BUTTONS1" AGGREGATION_NAME="BUTTONS"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1" VERSION="I" ELEMENT_POSITION="4 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON_ROW" DISPLAY_NAME="BUTTONS1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON_ROW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="BUTTONS1_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="BUTTONS1" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" VERSION="I" ELEMENT_POSITION="2 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="IF_AUFNR" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="IF_AUFNR_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="IF_AUFNR" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_AUFNR" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_AUFNR_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_AUFNR" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" ELEMENT_POSITION="2 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON" DISPLAY_NAME="NEXT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON" PARENT_NAME="BUTTONS1" AGGREGATION_NAME="BUTTONS"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" ELEMENT_POSITION="0 " UI_ELEMENT_TYPE="CL_WDY_MD_TRANSP_CONTAINER" DISPLAY_NAME="ROOTUIELEMENTCONTAINER" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TRANSPARENT_CONTAINER"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_LAYOUT" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_LAYOUT" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="LAYOUT"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER" VERSION="I" ELEMENT_POSITION="3 " UI_ELEMENT_TYPE="CL_WDY_MD_TIMED_TRIGGER" DISPLAY_NAME="TM_TIMER" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TIMED_TRIGGER" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="TM_TIMER_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="TM_TIMER" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="HOTKEY" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="5313D55104E13AFCE10000000A2A012F" PropText="Menu"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BUTTONS1_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="80%"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="IF_AUFNR"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="L_AUFNR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="HOTKEY" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52F52E9E3C9F34BFE10000000A2A012F" PropText="Dále"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="DEFAULT_BUTTON_ID" PROPERTY_VALUE="NEXT"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="IS_LAYOUT_CONTAINER" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLLING_MODE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="100%"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_PADDING" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_SPACING" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="COL_COUNT" PROPERTY_VALUE="2"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_HORIZONTALLY" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_VERTICALLY" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="DELAY" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="20%"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="AUFNR"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER" BINDING_NAME="DELAY" VERSION="I" UI_ELEM_PROPERTY="DELAY" BOUND_CTX_NODE="TIMER_CONF" BOUND_CTX_ATTRIB="REFRESH_RATE"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="BACK" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="ON_MENU"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="IF_AUFNR" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="USER_INTERACT"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="NEXT" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="BUTTON_PUSHED"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW1" ELEMENT_NAME="TM_TIMER" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="TIMER"/>
  <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" VERSION="A" CONTROLLER_TYPE="01" CONTEXT="CONTEXT" DISPLAY_NAME="VIEW1" AUTHOR="CZMICYP" CREATEDON="20131113" CHANGEDBY="CZMICYP" CHANGEDON="20140822">
   <wdy_controllert COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" LANGU="C" DESCRIPTION="Pijem k výrobní zakázce."/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="AUFNR_CHECK" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="AUFNR_CHECK" CODE_BODY="method AUFNR_CHECK .



   DATA ls_gl_app_data      TYPE wd_this-&gt;Element_gl_app_data.

   DATA lv_ga               TYPE wd_this-&gt;Element_gl_app_data-ga.



   DATA lo_nd_gl_app_data   TYPE REF TO if_wd_context_node.

   DATA lo_el_gl_app_data   TYPE REF TO if_wd_context_element.





*  navigate from &lt;CONTEXT&gt; to &lt;GL_APP_DATA&gt; via lead selection

   lo_nd_gl_app_data = wd_context-&gt;get_child_node( name =

wd_this-&gt;wdctx_gl_app_data ).

*  get element via lead selection

   lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).



*  get single attribute

   lo_el_gl_app_data-&gt;get_attribute(

     EXPORTING

       name =  `GA`

     IMPORTING

       value = lv_ga ).



   &quot;input param pass to global structure

   lv_ga-aufnr = aufnr.





  CALL FUNCTION &apos;ZMC_CHECK_AUFNR&apos;

       IMPORTING

            werks      = lv_ga-werks

            lgort      = lv_ga-lgort

            erfme      = lv_ga-erfme

            erfmg      = lv_ga-erfmg

            matnr      = lv_ga-matnr

            maktx      = lv_ga-maktx

            sobkz      = lv_ga-sobkz

            sonum      = lv_ga-sonum

            anzsn      = lv_ga-anzsn

            sern       = lv_ga-sern[]

       CHANGING

            aufnr      = lv_ga-aufnr

       EXCEPTIONS

            init_aufnr = 1

            header_err = 2

            item_err   = 3

            OTHERS     = 4.



  IF sy-subrc &lt;&gt; 0.

    WD_COMP_CONTROLLER-&gt;message( type = sy-msgty ).

    wd_comp_controller-&gt;set_timer_fast( ).

    IF sy-subrc EQ 1. EXIT. ENDIF.





  ELSE.

    &quot;save new aufnr to gs

    lo_el_gl_app_data-&gt;SET_ATTRIBUTE(

     NAME  = &apos;GA&apos;

     VALUE = lv_ga

    ).



    WD_COMP_CONTROLLER-&gt;mr_ga-&gt;* = lv_ga.



    &quot;change the view

    wd_this-&gt;fire_to_view2_plg( ).





  ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="BUTTON_PUSHED" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="BUTTON_PUSHED" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="HANDLEFROM_VIEW2" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW1" REF_PLUG_NAME="FROM_VIEW2" DISPLAY_NAME="HANDLEFROM_VIEW2" CODE_BODY="method HANDLEFROM_VIEW2 .

    wd_this-&gt;inplug_handle( CLEAR = &apos;&apos;).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="HANDLEFROM_VIEW3" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW1" REF_PLUG_NAME="FROM_VIEW3" DISPLAY_NAME="HANDLEFROM_VIEW3" CODE_BODY="method HANDLEFROM_VIEW3 .

      wd_this-&gt;inplug_handle( CLEAR = &apos;X&apos;).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="INPLUG_HANDLE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="INPLUG_HANDLE" CODE_BODY="method INPLUG_HANDLE .





  IF clear eq &apos;X&apos;.

*----------------CW SET(IN_DATA.AUFNR)----------------------

   DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

   DATA lo_el_in_data TYPE REF TO if_wd_context_element.

   DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

   DATA lv_aufnr TYPE wd_this-&gt;Element_in_data-aufnr.

   lo_nd_in_data = wd_context-&gt;get_child_node( name =

wd_this-&gt;wdctx_in_data ).

   lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

   lo_el_in_data-&gt;set_attribute(

     EXPORTING

       name =  `AUFNR`

       value = lv_aufnr ).

*----------------CW SET(IN_DATA.AUFNR)----------------------

  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ONACTIONBUTTON_PUSHED" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW1" REF_CMPNAME="BUTTON_PUSHED" DISPLAY_NAME="ONACTIONBUTTON_PUSHED" CODE_BODY="method ONACTIONBUTTON_PUSHED .

  wd_this-&gt;ONACTIONUSER_INTERACT( wdevent = wdevent ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ONACTIONON_MENU" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW1" REF_CMPNAME="ON_MENU" DISPLAY_NAME="ONACTIONON_MENU" CODE_BODY="method ONACTIONON_MENU .

  DATA lr_ref TYPE REF TO ig_ZMC_PRIJEM_K_VZ.

     lr_ref = wd_this-&gt;get_ZMC_PRIJEM_K_VZ_ctr( ).

     lr_ref-&gt;fire_to_menu_plg( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ONACTIONTIMER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW1" REF_CMPNAME="TIMER" DISPLAY_NAME="ONACTIONTIMER" CODE_BODY="method ONACTIONTIMER .

  wd_this-&gt;refresh_page( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ONACTIONUSER_INTERACT" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW1" REF_CMPNAME="USER_INTERACT" DISPLAY_NAME="ONACTIONUSER_INTERACT" CODE_BODY="method ONACTIONUSER_INTERACT .

  DATA lo_nd_in_data TYPE REF TO if_wd_context_node.



  DATA lo_el_in_data TYPE REF TO if_wd_context_element.

  DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

  DATA lv_aufnr TYPE wd_this-&gt;Element_in_data-aufnr.



* navigate from &lt;CONTEXT&gt; to &lt;IN_DATA&gt; via lead selection

  lo_nd_in_data = wd_context-&gt;get_child_node( name =

wd_this-&gt;wdctx_in_data ).

* get element via lead selection

  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

* @TODO handle not set lead selection

  IF lo_el_in_data IS INITIAL.

  ENDIF.



* get single attribute

  lo_el_in_data-&gt;get_attribute(

    EXPORTING

      name =  `AUFNR`

    IMPORTING

      value = lv_aufnr ).



wd_this-&gt;AUFNR_CHECK( aufnr = lv_aufnr ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ON_MENU" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="ON_MENU" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="PREFILL" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="PREFILL" CODE_BODY="method PREFILL .

**

DATA lo_nd_gl_app_data TYPE REF TO if_wd_context_node.

DATA lo_el_gl_app_data TYPE REF TO if_wd_context_element.

DATA ls_gl_app_data TYPE wd_this-&gt;Element_gl_app_data.

DATA lv_ga TYPE wd_this-&gt;Element_gl_app_data-ga.

lo_nd_gl_app_data = wd_context-&gt;get_child_node( name =

wd_this-&gt;wdctx_gl_app_data ).

lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).

**

DATA lv_werks TYPE werks.

DATA lv_lgort TYPE lgort_d.

DATA lv_lgnum TYPE lgnum.



&quot;nacitanie aktualnych hodnot

  lo_el_gl_app_data-&gt;get_attribute(

    EXPORTING

      name =  `GA`

    IMPORTING

      value = lv_ga ).



CALL FUNCTION &apos;ZMC_PREFILL_V2&apos;

 IMPORTING

   werks = lv_werks

   lgort = lv_lgort

   lgnum = lv_lgnum

 EXCEPTIONS

   WERKS_MISSING = 1

   LGORT_MISSING = 2

   LGNUM_MISSING = 3

   OTHER         = 4.



  IF sy-subrc NE 0 and

     sy-subrc NE 3.

   wd_comp_controller-&gt;mv_auth = &apos;X&apos;.

   wd_this-&gt;raise_error( ).

 ELSE.

   move:

    lv_werks to lv_ga-werks,

    lv_lgnum to lv_ga-lgnum,

    lv_lgort to lv_ga-lgort.



   lo_el_gl_app_data-&gt;set_attribute(

    name =  `GA`

    value = lv_ga ).

ENDIF.





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="RAISE_ERROR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="RAISE_ERROR" CODE_BODY="method RAISE_ERROR .

  IF auth eq &apos;X&apos;.

    wd_comp_controller-&gt;mv_auth = &apos;X&apos;.

  ENDIF.

     wd_comp_controller-&gt;message( ).

*     wd_comp_controller-&gt;mv_error = &apos;X&apos;.

     wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="REFRESH_PAGE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="REFRESH_PAGE" CODE_BODY="method REFRESH_PAGE .

  if wd_comp_controller-&gt;mv_auth eq &apos;X&apos;.

    clear wd_comp_controller-&gt;mv_auth.

    DATA lr_ref TYPE REF TO ig_ZMC_PRIJEM_K_VZ.

     lr_ref = wd_this-&gt;get_ZMC_PRIJEM_K_VZ_ctr( ).

     lr_ref-&gt;fire_to_menu_plg( ).

  endif.



  wd_comp_controller-&gt;refresh_page( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="TIMER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="TIMER" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="USER_INTERACT" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="USER_INTERACT" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOAFTERACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOAFTERACTION" CODE_BODY="method WDDOAFTERACTION .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOBEFOREACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOBEFOREACTION" CODE_BODY="method WDDOBEFOREACTION .

*  data lo_api_controller type ref to if_wd_view_controller.

*  data lo_action         type ref to if_wd_action.



*  lo_api_controller = wd_this-&gt;wd_get_api( ).

*  lo_action = lo_api_controller-&gt;get_current_action( ).



*  if lo_action is bound.

*    case lo_action-&gt;name.

*      when &apos;...&apos;.



*    endcase.

*  endif.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOEXIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOEXIT" CODE_BODY="method WDDOEXIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY="method WDDOINIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOMODIFYVIEW" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOMODIFYVIEW" CODE_BODY="method WDDOMODIFYVIEW .





    wd_this-&gt;prefill( ).

&quot;   initial focus set on input field IP1

    data itm type ref to cl_wd_input_field.

    itm ?= view-&gt;get_element( &apos;IF_AUFNR&apos; ).

    CHECK itm is NOT INITIAL.



     CALL METHOD VIEW-&gt;REQUEST_FOCUS_ON_VIEW_ELEM

      EXPORTING VIEW_ELEMENT    =  itm.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONCONTEXTMENU" CODE_BODY="method WDDOONCONTEXTMENU .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOAFTERACTION" LANGU="C" DESCRIPTION="Method for non-action specific operations before navigation"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOBEFOREACTION" LANGU="C" DESCRIPTION="Method for Validation of User Input"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOMODIFYVIEW" LANGU="C" DESCRIPTION="Method for Modifying the View Before Rendering"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" LANGU="C" DESCRIPTION="Method for Modifying the Context Menu"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="AUFNR_CHECK" PARAMETER_NAME="AUFNR" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="AUFNR" DISPLAY_NAME="AUFNR"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="INPLUG_HANDLE" PARAMETER_NAME="CLEAR" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="BOOL" DISPLAY_NAME="CLEAR"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="RAISE_ERROR" PARAMETER_NAME="AUTH" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="C" DISPLAY_NAME="AUTH" OPTIONAL="X"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="FIRST_TIME" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="WDY_BOOLEAN" DISPLAY_NAME="FIRST_TIME"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="VIEW" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_VIEW" DISPLAY_NAME="VIEW"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_EVENT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_EVENT" DISPLAY_NAME="CONTEXT_MENU_EVENT"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_MANAGER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_MANAGER" DISPLAY_NAME="CONTEXT_MENU_MANAGER"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="MENU" VERSION="I" PARAM_POSITION="3 " DECLARATION_TYPE="3" ABAP_TYPING="1" ABAP_TYPE="CL_WD_MENU" DISPLAY_NAME="MENU"/>
   <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4VUU5O5CZICBP5HMLTQWP42ZZ" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
   <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4WZ06GWSI3ZE9FNZTCOK2SPBJ" VERSION="I" USED_CONTROLLER="ZMC_PRIJEM_K_VZ"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="CONTEXT" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" NODE_POSITION="0 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="CONTEXT" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="GL_APP_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="3 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ZMC_G2" ABAP_TYPING="0" DISPLAY_NAME="GA" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="ZMC_G1" ABAP_TYPING="0" DISPLAY_NAME="GS" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GT" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="ZMC_G3" ABAP_TYPING="0" DISPLAY_NAME="GT" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="WM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="WM" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="AUFNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AUFNR" ABAP_TYPING="0" DISPLAY_NAME="AUFNR" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MAX_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " READ_ONLY="X" DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MAX_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MEDIUM_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " READ_ONLY="X" DEFAULT_VALUE="10" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MEDIUM_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="SLOW_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " READ_ONLY="X" DEFAULT_VALUE="100" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="SLOW_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4VUU5O5CZICBP5HMLTQWP42ZZ" CTX_MAPP_NAME="4VVM98V4R9AXMMHTN7NMBHZJJ" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="GL_APP_DATA" MAP_NODE_NAME="GL_APP_DATA"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4VUU5O5CZICBP5HMLTQWP42ZZ" CTX_MAPP_NAME="4VVM9CX2RIREGIRCQ2W3MJB5B" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="IN_DATA" MAP_NODE_NAME="IN_DATA"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4VUU5O5CZICBP5HMLTQWP42ZZ" CTX_MAPP_NAME="4WQASIAAP4VX43P7DP6L6ZBXR" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="TIMER_CONF" MAP_NODE_NAME="TIMER_CONF"/>
  </controller_definition>
 </view_definition>
 <view_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" VERSION="A" TYPE="CL_WDY_MD_VIEW" VIEW_TYPE="00" LIFESPAN="0" VIEW_CONTROLLER="VIEW2" ROOT_UI_CONT="ROOTUIELEMENTCONTAINER" DISPLAY_NAME="VIEW2" AUTHOR="CZMICYP" CREATEDON="20131115" CHANGEDBY="CZMICYP" CHANGEDON="20140825" VISIBILITY="00">
  <wdy_viewt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" LANGU="C" DESCRIPTION="Pijem k výrobní zakázce."/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" PLUG_NAME="FROM_VIEW1" VERSION="I" PLUG_TYPE="CL_WDY_MD_INBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="FROM_VIEW1"/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" PLUG_NAME="FROM_VIEW3" VERSION="I" PLUG_TYPE="CL_WDY_MD_INBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="FROM_VIEW3"/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" PLUG_NAME="TO_VIEW1" VERSION="I" PLUG_TYPE="CL_WDY_MD_OUTBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="TO_VIEW1"/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" PLUG_NAME="TO_VIEW3" VERSION="I" PLUG_TYPE="CL_WDY_MD_OUTBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="TO_VIEW3"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" ELEMENT_POSITION="2 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="AUFNR" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="AUFNR_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="AUFNR" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON" DISPLAY_NAME="BACK" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON" PARENT_NAME="BUTTONS1" AGGREGATION_NAME="BUTTONS"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1" VERSION="I" ELEMENT_POSITION="13 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON_ROW" DISPLAY_NAME="BUTTONS1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON_ROW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="BUTTONS1_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="BUTTONS1" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="CAPTION" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_CAPTION" DISPLAY_NAME="CAPTION" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="CAPTION" PARENT_NAME="GRP_1" AGGREGATION_NAME="HEADER"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="CAPTION_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_FLOW_DATA" DISPLAY_NAME="CAPTION_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="FLOW_DATA" PARENT_NAME="CAPTION" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" ELEMENT_POSITION="10 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="ERFME" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" ELEMENT_POSITION="6 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="ERFME13" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="GRP_1" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ERFME13_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ERFME13" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" ELEMENT_POSITION="9 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="ERFME23" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="GRP_1" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ERFME23_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ERFME23" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ERFME_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ERFME" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" VERSION="I" ELEMENT_POSITION="5 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="ERFMG12" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="GRP_1" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ERFMG12_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ERFMG12" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" VERSION="I" ELEMENT_POSITION="8 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="ERFMG22" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="GRP_1" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ERFMG22_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ERFMG22" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" ELEMENT_POSITION="11 " UI_ELEMENT_TYPE="CL_WDY_MD_GROUP" DISPLAY_NAME="GRP_1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GROUP" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LAYOUT" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_LAYOUT" DISPLAY_NAME="GRP_1_LAYOUT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_LAYOUT" PARENT_NAME="GRP_1" AGGREGATION_NAME="LAYOUT"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="GRP_1_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="GRP_1" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" VERSION="I" ELEMENT_POSITION="4 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="LGORT11" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="GRP_1" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="LGORT11_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="LGORT11" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" VERSION="I" ELEMENT_POSITION="7 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="LGORT21" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="GRP_1" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="LGORT21_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="LGORT21" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_AUFNR" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_AUFNR_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_AUFNR" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM" VERSION="I" ELEMENT_POSITION="2 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_ERFM" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="GRP_1" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME" VERSION="I" ELEMENT_POSITION="3 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_ERFME" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="GRP_1" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_ERFME_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_ERFME" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_ERFM_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_ERFM" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_LGOR" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="GRP_1" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR_LAYOUT_DATA" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_LGOR_LAYOUT_DATA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_LGOR" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN" VERSION="I" ELEMENT_POSITION="3 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_MATN" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_MATN_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_MATN" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1" VERSION="I" ELEMENT_POSITION="8 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_MENGE1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_MENGE1_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_MENGE1" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK" VERSION="I" ELEMENT_POSITION="6 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_WERK" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_WERK_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_WERK" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" ELEMENT_POSITION="5 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="MAKTX" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="MAKTX_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="MAKTX" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" VERSION="I" ELEMENT_POSITION="4 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="MATNR" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="MATNR_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="MATNR" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" ELEMENT_POSITION="9 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="MENGE1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="MENGE1_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="MENGE1" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" ELEMENT_POSITION="0 " UI_ELEMENT_TYPE="CL_WDY_MD_TRANSP_CONTAINER" DISPLAY_NAME="ROOTUIELEMENTCONTAINER" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TRANSPARENT_CONTAINER"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_LAYOUT" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_LAYOUT" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="LAYOUT"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" ELEMENT_POSITION="2 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON" DISPLAY_NAME="SAVE" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON" PARENT_NAME="BUTTONS1" AGGREGATION_NAME="BUTTONS"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER" VERSION="I" ELEMENT_POSITION="12 " UI_ELEMENT_TYPE="CL_WDY_MD_TIMED_TRIGGER" DISPLAY_NAME="TM_TIMER" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TIMED_TRIGGER" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="TM_TIMER_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="TM_TIMER" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" VERSION="I" ELEMENT_POSITION="7 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="WERKS" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="WERKS_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="WERKS" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="06"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="2"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="ACTIVATE_ACCESS_KEY" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="HOTKEY" PROPERTY_VALUE="37"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52EC0F16020C3C45E10000000A2A012F" PropText="Zpět"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="35%"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="2"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="80%"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="CAPTION" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="CAPTION" VERSION="I" PROPERTY_NAME="ENABLED" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="CAPTION" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="CAPTION" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="CAPTION" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="CAPTION_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="CAPTION_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_GUTTER" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="MENU_INDICATOR" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="05"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="20px"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" VERSION="I" PROPERTY_NAME="WRAPPING" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="05"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="20px"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="05"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="20px"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="5"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="5"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" PROPERTY_NAME="ARIA_LANDMARK" PROPERTY_VALUE="10"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" PROPERTY_NAME="HAS_CONTENT_PADDING" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" PROPERTY_NAME="SCROLLING_MODE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" PROPERTY_NAME="SCROLL_LEFT" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" PROPERTY_NAME="SCROLL_TOP" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_PADDING" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_SPACING" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LAYOUT" VERSION="I" PROPERTY_NAME="COL_COUNT" PROPERTY_VALUE="3"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_HORIZONTALLY" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_VERTICALLY" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="3"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="GRP_1_LD" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="100%"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="4"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="4"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="AUFNR"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52A05E77806A5E85E10000000A2A012F" PropText="VZ"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_AUFNR_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="ERFMG12"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="528396956E903F81E10000000A2A012F" PropText="Počet"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="ERFME13"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="528DE0DE62631D50E10000000A2A012F" PropText="MJ"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFME_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_ERFM_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="LGORT11"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="20px"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_LGOR_LAYOUT_DATA" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="MATNR"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MATN_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="MENGE1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="528396956E903F81E10000000A2A012F" PropText="Počet"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_MENGE1_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="WERKS"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="L_WERK_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="05"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" VERSION="I" PROPERTY_NAME="WRAPPING" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="3"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="05"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="05"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="ARIA_LANDMARK" PROPERTY_VALUE="10"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="DEFAULT_BUTTON_ID" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="HANDLE_HOTKEYS" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="HEIGHT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="IS_LAYOUT_CONTAINER" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLLING_MODE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLL_LEFT" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLL_TOP" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_PADDING" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_SPACING" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="COL_COUNT" PROPERTY_VALUE="3"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_HORIZONTALLY" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_VERTICALLY" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="TAB_ORDER" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="ACTIVATE_ACCESS_KEY" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="HOTKEY" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="IMAGE_SOURCE" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52E2F7DEC78E5451E10000000A2A012F" PropText="Uložení"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="35%"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="DELAY" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="20%"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="05"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="2"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="AUFNR" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="AUFNR"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="ERFME1"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME13" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="ERFME1"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFME23" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="ERFME2"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="ERFMG1"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="ERFMG2"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="LGORT1"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="LGORT2"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MAKTX" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="MAKTX"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MATNR" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="MATNR"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="MENGE1" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="MENGE1"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER" BINDING_NAME="DELAY" VERSION="I" UI_ELEM_PROPERTY="DELAY" BOUND_CTX_NODE="TIMER_CONF" BOUND_CTX_ATTRIB="REFRESH_RATE"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="WERKS" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="WERKS"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="BACK" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="BACK_TO_VIEW1"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG12" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="ERFMG12_ON_ENTER"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="ERFMG22" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="ERFMG22_ON_ENTER"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT11" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="LGORT11_ON_ENTER"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="LGORT21" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="LGORT21_ON_ENTER"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="SAVE" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="SAVE"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW2" ELEMENT_NAME="TM_TIMER" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="TIMER"/>
  <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" VERSION="A" CONTROLLER_TYPE="01" CONTEXT="CONTEXT" DISPLAY_NAME="VIEW2" AUTHOR="CZMICYP" CREATEDON="20131115" CHANGEDBY="CZMICYP" CHANGEDON="20140825">
   <wdy_controllert COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" LANGU="C" DESCRIPTION="Pijem k výrobní zakázce."/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_LGORT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="AUTH_LGORT" CODE_BODY="method AUTH_LGORT .





  DATA lv_xuvalue TYPE xuvalue.

  MOVE is_mseg-lgort   TO lv_xuvalue.



  wd_comp_controller-&gt;auth(

    PARID     = &apos;ZRF_LGORT&apos;

    PARVA     = lv_xuvalue

    SET_BACK  = &apos;&apos;

    SET_ERROR = &apos;X&apos;

  ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_WERKS" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="AUTH_WERKS" CODE_BODY="method AUTH_WERKS .

  DATA ls_ga         TYPE zmc_g2 .

  ls_ga  = wd_comp_controller-&gt;mr_ga-&gt;*.



  DATA lv_xuvalue TYPE xuvalue.

  MOVE ls_ga-werks   TO lv_xuvalue.



  wd_comp_controller-&gt;auth(

    PARID = &apos;ZRF_WERKS&apos;

    PARVA = lv_xuvalue

    SET_BACK = &apos;X&apos;

  ).





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="BACK_TO_VIEW1" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="BACK_TO_VIEW1" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ERR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_ERR" CODE_BODY="method CHECK_ERR .

*-----------------------WIZZARD---------------------------

    DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

    DATA lo_el_in_data TYPE REF TO if_wd_context_element.

    DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

    lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

    lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*-----------------------------------------------------------



 &quot;NASTAVENIE ERROR HLASKY

*  msgid       = sy-msgid

*  msgty       = sy-msgty

*  msgno       = sy-msgno

 sy-msgty = &apos;E&apos;.

 sy-msgid = &apos;ZRF&apos;.

* sy-msgno = wd_comp_controller-&gt;mv_error.

* case wd_comp_controller-&gt;mv_error.



&quot;pristupovanie k chybam na zaklade

&quot;spravnosti vs. riadkov

CASE wd_comp_controller-&gt;mv_state.

  WHEN -1.&quot;VSETKO ZLE





    sy-msgno  = wd_comp_controller-&gt;mv_error mod 10.



    IF sy-msgno  eq 5.

      sy-msgno  = 15.

    ENDIF.





    lo_el_in_data-&gt;get_attribute(

      EXPORTING name =  `LGORT1`

      IMPORTING value = sy-msgv1 ).







  WHEN  1.

    sy-msgno = wd_comp_controller-&gt;mv_error.



  WHEN  2.

    sy-msgno = wd_comp_controller-&gt;mv_error .



    WHEN  3.

    &quot;OBA OK

ENDCASE.





  IF wd_comp_controller-&gt;mv_error ne 0.

    wd_comp_controller-&gt;message( ).

  ELSE.

    &quot;ziaden error -&gt; mozne pokracovat:

    &quot;1.&quot;vytvorenie materialoveho dokladu

    wd_this-&gt;MAKE_MD_BOTH( ).



  &quot;pri absencii riadeneho skladu sa neprechadza do view3

  &quot;pri chybe skladu sa neprechadza do view3

  IF wd_comp_controller-&gt;mv_type eq 3  or

     wd_comp_controller-&gt;mv_type eq 30 or

     wd_comp_controller-&gt;mv_type eq 33 or

     wd_comp_controller-&gt;mv_error ne 0.

    wd_this-&gt;fire_TO_VIEW1_plg( ).

  ELSE.

    &quot;2.Ak je treba, obrazovka WM

    wd_this-&gt;fire_TO_VIEW3_plg( ).

  ENDIF.



  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_QUANTITY" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_QUANTITY" CODE_BODY="method CHECK_QUANTITY .



*-----------code-wizzard-code---------------------------------------------*

    DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

    DATA lo_el_in_data TYPE REF TO if_wd_context_element.

    DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

    DATA lv_menge1 TYPE wd_this-&gt;Element_in_data-menge1.

    DATA lv_erfmg1 TYPE wd_this-&gt;Element_in_data-erfmg1.

    DATA lv_erfmg2 TYPE wd_this-&gt;Element_in_data-erfmg2.

    lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

    lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*-----------code-wizzard-code---------------------------------------------*

    lo_el_in_data-&gt;get_attribute(

      EXPORTING name =  `MENGE1`

      IMPORTING value = lv_menge1 ).



    lo_el_in_data-&gt;get_attribute(

      EXPORTING name =  `ERFMG1`

      IMPORTING value = lv_erfmg1 ).



    lo_el_in_data-&gt;get_attribute(

      EXPORTING name =  `ERFMG2`

      IMPORTING value = lv_erfmg2 ).





  DATA quant_set_by_user TYPE i.





    CASE wd_comp_controller-&gt;mv_state.

      WHEN 1.

        quant_set_by_user =  lv_erfmg1.

      WHEN 2.

        quant_set_by_user =  lv_erfmg2.

      WHEN 3.

        quant_set_by_user = lv_erfmg1 + lv_erfmg2.

      WHEN OTHERS.

        quant_set_by_user =  0.

    ENDCASE.







   if       quant_set_by_user gt lv_menge1.

     wd_comp_controller-&gt;mv_error = 10.

   elseif   quant_set_by_user lt 0.

     wd_comp_controller-&gt;mv_error = 9.

   endif.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ROW" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_ROW" CODE_BODY="method CHECK_ROW .

*

* kontrola spravnosti zadania jedneho riadku UI, tj LGORT a ERFMG

*

    DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

    DATA lo_el_in_data TYPE REF TO if_wd_context_element.

    DATA lv_multiplier TYPE i.

    DATA ls_in_data    TYPE wd_this-&gt;Element_in_data.

    DATA lv_lgort      TYPE wd_this-&gt;Element_in_data-lgort1.

    DATA lv_erfmg      TYPE wd_this-&gt;Element_in_data-erfmg1.

    DATA lv_lgnum      TYPE wd_this-&gt;Element_in_data-lgnum1.

    DATA lv_werks      TYPE wd_this-&gt;Element_in_data-werks.

    lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).



*   get element via lead selection

    lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*   get single attribute



  case ROW_NUMBER.



    WHEN 1.    &quot;layout elements: LGORT 11 ERFMG 12

      lo_el_in_data-&gt;get_attribute( EXPORTING name =  `LGORT1`

                                  IMPORTING value = lv_lgort ).

      lo_el_in_data-&gt;get_attribute( EXPORTING name =  `ERFMG1`

                                  IMPORTING value = lv_erfmg ).

      lv_multiplier = 1.

    WHEN 2.    &quot;layout elements: LGORT 21 ERFMG 22

      lo_el_in_data-&gt;get_attribute( EXPORTING name =  `LGORT2`

                                  IMPORTING value = lv_lgort ).

      lo_el_in_data-&gt;get_attribute( EXPORTING name =  `ERFMG2`

                                  IMPORTING value = lv_erfmg ).

      lv_multiplier = 10.

    WHEN OTHERS.

  ENDCASE.



    lo_el_in_data-&gt;get_attribute( EXPORTING name =  `WERKS`

                                  IMPORTING value = lv_werks  ).



    CALL FUNCTION &apos;ZMC_CHECK_LGORT&apos;

    EXPORTING

      werks       = lv_werks

      lgort       = lv_lgort

    IMPORTING

      lgnum       = lv_lgnum

*    CHANGING

*      gsys        = wd_comp_controller-&gt;MR_GS-&gt;*

    EXCEPTIONS

      empty_werks = 1

      empty_lgort = 2

      wrong_werks = 3

      wrong_lgort = 4

      OTHERS      = 5.

    IF sy-subrc &lt;&gt; 0.



        CHECK_RESULT = sy-subrc * lv_multiplier.

        &quot;chybova hlaska zobrazena kratko

        wd_comp_controller-&gt;set_timer_fast( ).

    ELSEIF lv_erfmg is INITIAL.



        CHECK_RESULT = 6        * lv_multiplier.&quot; chyba mnozstvo

    ELSE.

      IF lv_lgnum is NOT INITIAL .

      &quot; inkrement type o 2 odpoveda riadenemu skladu

      wd_comp_controller-&gt;mv_type = wd_comp_controller-&gt;mv_type + 2  * lv_multiplier.



      CASE row_number.

        WHEN 1.

          lo_el_in_data-&gt;set_attribute( EXPORTING value = lv_lgnum

                                                  name =  `LGNUM1`).

        WHEN 2.

          lo_el_in_data-&gt;set_attribute( EXPORTING value = lv_lgnum

                                                  name =  `LGNUM2`).



        WHEN OTHERS.

      ENDCASE.

    ELSE.

      &quot; inkrement type o 3 odpoveda neriadenemu skladu

      wd_comp_controller-&gt;mv_type = wd_comp_controller-&gt;mv_type + 3 * lv_multiplier.

    ENDIF.



    ENDIF.







endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_TYPE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_TYPE" CODE_BODY='method CHECK_TYPE .

*---------------------------wIZZard-----------------------------

    DATA lo_nd_gl_app_data TYPE REF TO if_wd_context_node.

    DATA lo_el_gl_app_data TYPE REF TO if_wd_context_element.

    DATA ls_gl_app_data TYPE wd_this-&gt;Element_gl_app_data.

    DATA lv_wm TYPE wd_this-&gt;Element_gl_app_data-wm.

    lo_nd_gl_app_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_gl_app_data ).

    lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).

*---------------------------wIZZard-----------------------------







*---------------------------------*

    &quot;RIADENY,WM   = 2 alebo 20

    &quot;NERIADENY,IM = 3 alebo 30

    &quot;RxN          = 23 alebo 32

    &quot;NxN          = 33

    &quot;ostatne zamietat

*---------------------------------*

    CASE wd_comp_controller-&gt;mv_type.

**    &quot;---------------

**    WHEN 2.&quot; riadeny

**    WHEN 20.&quot; riadeny

**

**    ---------------

**    WHEN 3.&quot; neriadeny &lt;&lt; debug only!!

**    WHEN 30.&quot; neriadeny&lt;&lt; debug only!!

**    ---------------

**    WHEN 23.&quot; RxN

**    WHEN 32.&quot; NxR

**    ---------------

**    WHEN 33.&quot; NxN

**    ---------------



      when 2 or 20 or 3 or 30 or

           23 or 32 or 33 .

        lo_el_gl_app_data-&gt;set_attribute( name =  `WM` value = ABAP_TRUE ).

    WHEN 22.

      wd_comp_controller-&gt;mv_error = 8.

    &quot;---------------

    WHEN OTHERS.&quot; neznama kombinacia

      wd_comp_controller-&gt;mv_error = 9.

  ENDCASE.



endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ERFMG12_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="ERFMG12_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ERFMG22_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="ERFMG22_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="HANDLEFROM_VIEW1" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW2" REF_PLUG_NAME="FROM_VIEW1" DISPLAY_NAME="HANDLEFROM_VIEW1" CODE_BODY="method HANDLEFROM_VIEW1 .

wd_this-&gt;AUTH_WERKS( ).



IF wd_comp_controller-&gt;mv_auth eq &apos;&apos;.

  wd_this-&gt;SET_INPUT_FROM_GS( ).

ENDIF.





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="HANDLEFROM_VIEW3" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW2" REF_PLUG_NAME="FROM_VIEW3" DISPLAY_NAME="HANDLEFROM_VIEW3" CODE_BODY="method HANDLEFROM_VIEW3 .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="LGORT11_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="LGORT11_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="LGORT21_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="LGORT21_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="MAKE_MD_BOTH" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MAKE_MD_BOTH" CODE_BODY="method MAKE_MD_BOTH .

*-----------code-wizzard-code---------------------------------------------*

    DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

    DATA le_in_data TYPE REF TO if_wd_context_element.

    DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

    lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

    le_in_data = lo_nd_in_data-&gt;get_element( ).

*-----------code-wizzard-code---------------------------------------------*

    DATA lv_iterations TYPE i VALUE 1.

    DATA lt_ltap TYPE zmc_t_ltap. &quot;data tables

    DATA wa_ltap TYPE zmc_s_ltap.

    DATA lt_mseg TYPE table of zmc_bc_s_mseg.

    DATA wa_mseg TYPE zmc_bc_s_mseg.

    DATA lv_lgnum TYPE lgnum.

    DATA xnapr TYPE xnapr.





    CONSTANTS:

      PRVY_RIADOK_VSTUPU  TYPE i VALUE  1,

      DRUHY_RIADOK_VSTUPU TYPE i VALUE  2,

      OBA_RIADKY_VSTUPU   TYPE i VALUE  3.

**MSEG HEADER

*    wa_mseg-umlgo = gd-umlgo.

*    wa_mseg-charg = gd-charg. &quot;sarze - stara

*    wa_mseg-sobkz = gd-sobkz.

*    wa_mseg-kdauf = gd-kdauf.

*    wa_mseg-kdpos = gd-kdpos.

*    wa_mseg-lifnr = gd-lifnr.

*wa_mseg-ps_psp_pnr = gd-ps_psp_pnr.



    le_in_data-&gt;get_attribute(

      EXPORTING name =  `AUFNR`

      IMPORTING value = wa_mseg-aufnr ).

&quot;wa_mseg-matnr = gd-matnr.

    le_in_data-&gt;get_attribute(

      EXPORTING name =  `MATNR`

      IMPORTING value = wa_mseg-matnr ).

    &quot;wa_mseg-werks = gd-werks.

    le_in_data-&gt;get_attribute(

      EXPORTING name =  `WERKS`

      IMPORTING value = wa_mseg-werks ).



*     wd_comp_controller-&gt;mv_type.

*---------------------------------

*     2 riadeny sklad, prvy riadok

*    20 riadeny sklad, druy riadok

*     3 neriadeny skl, prvy riadok

*    30 neriadeny skl, druhy riadok

*---------------------------------

CASE wd_comp_controller-&gt;mv_state.

  WHEN PRVY_RIADOK_VSTUPU.

      &quot;wa_mseg-meins = gd-meins.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `MEINS1`

        IMPORTING value = wa_mseg-MEINS ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGORT1`

        IMPORTING value = wa_mseg-LGORT ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `ERFMG1`

        IMPORTING value = wa_mseg-MENGE ).



    IF wd_comp_controller-&gt;mv_type eq 2.

        le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGNUM1`

        IMPORTING value = lv_lgnum ).



      wa_mseg-umlgo = lv_lgnum.

    ENDIF.

    APPEND wa_mseg to lt_mseg.

    clear wa_mseg-umlgo.



  WHEN DRUHY_RIADOK_VSTUPU.

          &quot;wa_mseg-meins = gd-meins.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `MEINS1`

        IMPORTING value = wa_mseg-MEINS ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGORT2`

        IMPORTING value = wa_mseg-LGORT ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `ERFMG2`

        IMPORTING value = wa_mseg-MENGE ).



    IF wd_comp_controller-&gt;mv_type eq 20.

        le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGNUM2`

        IMPORTING value = lv_lgnum ).



      wa_mseg-umlgo = lv_lgnum.

    ENDIF.



    APPEND wa_mseg to lt_mseg.

    clear wa_mseg-umlgo.

  WHEN OBA_RIADKY_VSTUPU.

      &quot;wa_mseg-meins = gd-meins.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `MEINS1`

        IMPORTING value = wa_mseg-MEINS ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGORT1`

        IMPORTING value = wa_mseg-LGORT ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `ERFMG1`

        IMPORTING value = wa_mseg-MENGE ).



    IF wd_comp_controller-&gt;mv_state eq 32.

        le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGNUM1`

        IMPORTING value = lv_lgnum ).



      wa_mseg-umlgo = lv_lgnum.

    ENDIF.

    APPEND wa_mseg to lt_mseg.

    clear wa_mseg-umlgo.

*    /-/-/-/-/-/-/-/-/-/-/-/-/-/

              &quot;wa_mseg-meins = gd-meins.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `MEINS1`

        IMPORTING value = wa_mseg-MEINS ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGORT2`

        IMPORTING value = wa_mseg-LGORT ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `ERFMG2`

        IMPORTING value = wa_mseg-MENGE ).



    IF wd_comp_controller-&gt;mv_type eq 23.

        le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGNUM2`

        IMPORTING value = lv_lgnum ).



      wa_mseg-umlgo = lv_lgnum.

    ENDIF.

    APPEND wa_mseg to lt_mseg.

    clear wa_mseg-umlgo.





ENDCASE.



&quot;+autentizacia parametrov

LOOP AT lt_mseg INTO wa_mseg.

 wd_this-&gt;auth_lgort( wa_mseg ).

ENDLOOP.



IF wd_comp_controller-&gt;mv_error eq 0.

  CALL FUNCTION &apos;ZMC_SAVE_MSEG&apos;

  EXPORTING

*/************************************

*WM navyse:

    lgnum       = lv_lgnum

    bwlvs       = &apos;103&apos;

    squit       = &apos;X&apos;

    nidru       = &apos;X&apos;

    betyp       = &apos;F&apos;

    benum       = wa_mseg-aufnr+2(10)

    drukz       = &apos;02&apos;

*/************************************

    aufnr       = wa_mseg-aufnr

    uname       = sy-uname

    gm_code     = &apos;02&apos;

    bwart       = &apos;101&apos;

    kzbew       = &apos;F&apos;

    xnapr       = xnapr

  TABLES

    it_mseg     = lt_mseg

    it_ltap     = lt_ltap

  EXCEPTIONS

    mat_doc_err = 1

    wm_doc_err  = 2

    OTHERS      = 3.



  IF sy-subrc ne 0.

    wd_comp_controller-&gt;mv_error = sy-subrc.

  ENDIF.

    wd_comp_controller-&gt;message( ).



ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="MV_CURSOR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="MV_CURSOR" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONBACK_TO_VIEW1" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="BACK_TO_VIEW1" DISPLAY_NAME="ONACTIONBACK_TO_VIEW1" CODE_BODY="method ONACTIONBACK_TO_VIEW1 .

     wd_this-&gt;fire_to_view1_plg( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONERFMG12_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="ERFMG12_ON_ENTER" DISPLAY_NAME="ONACTIONERFMG12_ON_ENTER" CODE_BODY="method ONACTIONERFMG12_ON_ENTER .

  wd_this-&gt;ONACTIONSAVE( WDEVENT ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONERFMG22_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="ERFMG22_ON_ENTER" DISPLAY_NAME="ONACTIONERFMG22_ON_ENTER" CODE_BODY="method ONACTIONERFMG22_ON_ENTER .

 wd_this-&gt;ONACTIONSAVE( WDEVENT ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONLGORT11_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="LGORT11_ON_ENTER" DISPLAY_NAME="ONACTIONLGORT11_ON_ENTER" CODE_BODY="method ONACTIONLGORT11_ON_ENTER .

wd_this-&gt;ONACTIONSAVE( WDEVENT ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONLGORT21_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="LGORT21_ON_ENTER" DISPLAY_NAME="ONACTIONLGORT21_ON_ENTER" CODE_BODY="method ONACTIONLGORT21_ON_ENTER .

 wd_this-&gt;ONACTIONSAVE( WDEVENT ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONSAVE" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="SAVE" DISPLAY_NAME="ONACTIONSAVE" CODE_BODY='method ONACTIONSAVE .



 DATA RET1 TYPE I.

 DATA RET2 TYPE I.

 clear: wd_comp_controller-&gt;mv_state,

        wd_comp_controller-&gt;mv_error,

        wd_comp_controller-&gt;mv_type.





 RET1 = wd_this-&gt;check_row( 1 ).

 RET2 = wd_this-&gt;check_row( 2 ).



 IF ( RET1 eq 0 or RET2 eq 0 ).

   wd_comp_controller-&gt;mv_error = 0.&quot;aspon jeden s riadkov OK

   IF     RET1 lt RET2.

     wd_comp_controller-&gt;mv_state = 1. &quot; prvy OK

   ELSEIF RET1 gt RET2.

     wd_comp_controller-&gt;mv_state = 2. &quot; druhy OK

   ELSE. &quot;RET1 eq RET2.

     wd_comp_controller-&gt;mv_state = 3. &quot; oba OK

   ENDIF.

 ELSE.

   wd_comp_controller-&gt;mv_state = -1. &quot; oba riadky zle

   wd_comp_controller-&gt;mv_error = RET1 + RET2.

 ENDIF.

 &quot;test bezchybnosti v aktualnom kroku, kontroly typu

 IF wd_comp_controller-&gt;mv_error eq 0.

   wd_this-&gt;CHECK_TYPE( ).

 ENDIF.

 &quot;test bezchybnosti v aktualnom kroku, kontroly mnozstva

 IF wd_comp_controller-&gt;mv_error eq 0.

   wd_this-&gt;CHECK_QUANTITY( ).

 ENDIF.

* check metody nastavuju err atribut,

* na zaver sa kontroluje jeho hodnota

 wd_this-&gt;CHECK_ERR(  ).







endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONTIMER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="TIMER" DISPLAY_NAME="ONACTIONTIMER" CODE_BODY="method ONACTIONTIMER .

  wd_this-&gt;refresh_page( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="REFRESH_PAGE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="REFRESH_PAGE" CODE_BODY="method REFRESH_PAGE .

  &quot;osetrenie pre cely comp controller

  wd_comp_controller-&gt;refresh_page( ).



  &quot;vlastne osetrenie casovaca

  IF wd_comp_controller-&gt;mv_auth eq &apos;X&apos;.

    clear wd_comp_controller-&gt;mv_auth.

    wd_this-&gt;fire_to_view1_plg( ).



  ENDIF.

  .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="SAVE" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="SAVE" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="SET_INPUT_FROM_GS" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="SET_INPUT_FROM_GS" CODE_BODY='method SET_INPUT_FROM_GS .

*---------------------WIZZARD--------------------------------

  DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

  DATA lo_el_in_data TYPE REF TO if_wd_context_element.

  DATA ls_in_data    TYPE wd_this-&gt;Element_in_data.

  DATA lv_gamng      TYPE gamng.

  DATA ls_ga         TYPE zmc_g2 .

  lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

  ls_ga  = wd_comp_controller-&gt;mr_ga-&gt;*.

  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*---------------------WIZZARD--------------------------------

    lo_el_in_data-&gt;set_attribute(

    name =  `MAKTX`

    value = ls_ga-maktx ).



  lo_el_in_data-&gt;set_attribute(

    name =  `MATNR`

    value = ls_ga-matnr ).



  SELECT SINGLE werks

    INTO ls_ga-werks

    from aufk

    WHERE AUFNR = ls_ga-aufnr.



SELECT single gamng

  from afko

  into lv_gamng

  where aufnr eq ls_ga-aufnr.



  move lv_gamng to ls_ga-MENGE1.



&quot;predvyplnanie skladu z VZ

SELECT SINGLE lgort

  FROM afpo

  into ls_ga-lgort

  WHERE aufnr eq ls_ga-aufnr.



  lo_el_in_data-&gt;set_attribute(

    name =  `LGORT1`

    value = ls_ga-lgort ).

&quot;predvyplnanie skladu z VZ







* set single attribute

  lo_el_in_data-&gt;set_attribute(

    name =  `MENGE1`

    value = ls_ga-MENGE1 ).



lo_el_in_data-&gt;set_attribute(

    name =  `WERKS`

    value = ls_ga-werks ).





lo_el_in_data-&gt;set_attribute(

    name =  `ERFMG1`

    value = ls_ga-MENGE1 ).



lo_el_in_data-&gt;set_attribute(

    name =  `ERFMG2`

    value = 0 ).



* set single attribute

  lo_el_in_data-&gt;set_attribute(

    name =  `ERFME1`

    value = ls_ga-ERFME ).



* set single attribute

  lo_el_in_data-&gt;set_attribute(

    name =  `ERFME2`

    value = ls_ga-ERFME ).

endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="TIMER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="TIMER" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOAFTERACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOAFTERACTION" CODE_BODY="method WDDOAFTERACTION .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOBEFOREACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOBEFOREACTION" CODE_BODY="method WDDOBEFOREACTION .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOEXIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOEXIT" CODE_BODY="method WDDOEXIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY='method WDDOINIT .

  wd_this-&gt;MV_CURSOR = 11.&quot;riadok,stlpec inicializovaneho kurzoru

endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOMODIFYVIEW" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOMODIFYVIEW" CODE_BODY="method WDDOMODIFYVIEW .

  &quot;   initial focus set on input field IP1

    data itm type ref to cl_wd_input_field.

    data ename type string.

    &quot;nastavenie kurzoru podla stavu okna

    CASE wd_this-&gt;MV_CURSOR.



      WHEN 11.

        ename = &apos;LGORT11&apos;.

      WHEN 12.

        ename = &apos;ERFMG12&apos;.

      WHEN 21.

        ename = &apos;LGORT21&apos; .

      WHEN 22.

        ename = &apos;ERFMG22&apos; .

      WHEN OTHERS.

    ENDCASE.

    itm ?= view-&gt;get_element( ename ).

    CHECK itm is NOT INITIAL.

*

     CALL METHOD VIEW-&gt;REQUEST_FOCUS_ON_VIEW_ELEM

      EXPORTING VIEW_ELEMENT    =  itm.

      itm-&gt;FOCUS( ).





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONCONTEXTMENU" CODE_BODY="method WDDOONCONTEXTMENU .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_LGORT" LANGU="C" DESCRIPTION="Autorizacia zadaneho skladu v kontexte uziv. parm."/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_WERKS" LANGU="C" DESCRIPTION="autorizacia zavodu VZ v kontexte uziv. parm."/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ERR" LANGU="C" DESCRIPTION="checks actuall error"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_QUANTITY" LANGU="C" DESCRIPTION="controls inserted quantity"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ROW" LANGU="C" DESCRIPTION="checks row of UI"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_TYPE" LANGU="C" DESCRIPTION="checks combination of given warehouses"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="MAKE_MD_BOTH" LANGU="C" DESCRIPTION="vytvara jeden materialovy doklad pre IM a WM"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="MV_CURSOR" LANGU="C" DESCRIPTION="umiestnenie kurzora"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="SET_INPUT_FROM_GS" LANGU="C" DESCRIPTION="presun dat z ukazatela do kontextu"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOAFTERACTION" LANGU="C" DESCRIPTION="Method for non-action specific operations before navigation"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOBEFOREACTION" LANGU="C" DESCRIPTION="Method for Validation of User Input"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOMODIFYVIEW" LANGU="C" DESCRIPTION="Method for Modifying the View Before Rendering"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" LANGU="C" DESCRIPTION="Method for Modifying the Context Menu"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_LGORT" PARAMETER_NAME="IS_MSEG" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="ZMC_BC_S_MSEG" DISPLAY_NAME="IS_MSEG"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ROW" PARAMETER_NAME="CHECK_RESULT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="3" ABAP_TYPING="0" ABAP_TYPE="I" DISPLAY_NAME="CHECK_RESULT"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ROW" PARAMETER_NAME="ROW_NUMBER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I" DISPLAY_NAME="ROW_NUMBER"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="FIRST_TIME" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="WDY_BOOLEAN" DISPLAY_NAME="FIRST_TIME"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="VIEW" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_VIEW" DISPLAY_NAME="VIEW"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_EVENT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_EVENT" DISPLAY_NAME="CONTEXT_MENU_EVENT"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_MANAGER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_MANAGER" DISPLAY_NAME="CONTEXT_MENU_MANAGER"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="MENU" VERSION="I" PARAM_POSITION="3 " DECLARATION_TYPE="3" ABAP_TYPING="1" ABAP_TYPE="CL_WD_MENU" DISPLAY_NAME="MENU"/>
   <wdy_ctlr_paramt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" LANGU="C" CMPNAME="CHECK_ROW" PARAMETER_NAME="CHECK_RESULT" DESCRIPTION="0-&gt;OK, 1-&gt;empty field error"/>
   <wdy_ctlr_paramt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" LANGU="C" CMPNAME="CHECK_ROW" PARAMETER_NAME="ROW_NUMBER" DESCRIPTION="defines row to be checked"/>
   <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CTLR_USAGE_NAME="4VTAA1B0WL8WIO6LFSBM26Z3J" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="CONTEXT" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" NODE_POSITION="0 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="CONTEXT" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="GL_APP_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="3 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ZMC_G2" ABAP_TYPING="0" DISPLAY_NAME="GA" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="ZMC_G1" ABAP_TYPING="0" DISPLAY_NAME="GS" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GT" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="ZMC_G3" ABAP_TYPING="0" DISPLAY_NAME="GT" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="WM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="WM" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="AUFNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AUFNR" ABAP_TYPING="0" DISPLAY_NAME="AUFNR" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="8 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="12 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME2" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="9 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG1" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="11 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG2" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="13 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="14 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM2" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="10 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT2" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MAKTX" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="MAKTX" ABAP_TYPING="0" DISPLAY_NAME="MAKTX" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MATNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="MATNR" ABAP_TYPING="0" DISPLAY_NAME="MATNR" VALUE_HELP_ID="AUTO:S_MAT1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MEINS1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="CHAR3" ABAP_TYPING="0" DISPLAY_NAME="MEINS1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MENGE1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="6 " ABAP_TYPE="MENGE1" ABAP_TYPING="0" DISPLAY_NAME="MENGE1" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="WERKS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="7 " ABAP_TYPE="WERKS_D" ABAP_TYPING="0" DISPLAY_NAME="WERKS" VALUE_HELP_ID="AUTO:H_T001W_C" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MAX_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " READ_ONLY="X" DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MAX_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MEDIUM_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " READ_ONLY="X" DEFAULT_VALUE="10" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MEDIUM_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="SLOW_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " READ_ONLY="X" DEFAULT_VALUE="100" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="SLOW_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CTLR_USAGE_NAME="4VTAA1B0WL8WIO6LFSBM26Z3J" CTX_MAPP_NAME="4VVNFVMPB4UG8AI3JDF39ZG33" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="GL_APP_DATA" MAP_NODE_NAME="GL_APP_DATA"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CTLR_USAGE_NAME="4VTAA1B0WL8WIO6LFSBM26Z3J" CTX_MAPP_NAME="4VVNFZWBUCWMKTB2S2PWV2QEN" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="IN_DATA" MAP_NODE_NAME="IN_DATA"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CTLR_USAGE_NAME="4VTAA1B0WL8WIO6LFSBM26Z3J" CTX_MAPP_NAME="4WSOSXKNERBESSYHO4PNZ9ELR" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="TIMER_CONF" MAP_NODE_NAME="TIMER_CONF"/>
  </controller_definition>
 </view_definition>
 <view_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" VERSION="A" TYPE="CL_WDY_MD_VIEW" VIEW_TYPE="00" LIFESPAN="0" VIEW_CONTROLLER="VIEW3" ROOT_UI_CONT="ROOTUIELEMENTCONTAINER" DISPLAY_NAME="VIEW3" AUTHOR="CZMICYP" CREATEDON="20131119" CHANGEDBY="CZMICYP" CHANGEDON="20140827" VISIBILITY="00">
  <wdy_viewt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" LANGU="C" DESCRIPTION="Pijem k výrobní zakázce."/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" PLUG_NAME="FROM_VIEW2" VERSION="I" PLUG_TYPE="CL_WDY_MD_INBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="FROM_VIEW2"/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" PLUG_NAME="TO_VIEW1" VERSION="I" PLUG_TYPE="CL_WDY_MD_OUTBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="TO_VIEW1"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" VERSION="I" ELEMENT_POSITION="11 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="AMOUNT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="AMOUNT_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="AMOUNT" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1" VERSION="I" ELEMENT_POSITION="13 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON_ROW" DISPLAY_NAME="BUTTONS1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON_ROW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="BUTTONS1_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="BUTTONS1" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2" VERSION="I" ELEMENT_POSITION="14 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON_ROW" DISPLAY_NAME="BUTTONS2" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON_ROW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="BUTTONS2_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="BUTTONS2" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" ELEMENT_POSITION="4 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="ITEM" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ITEM_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ITEM" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" VERSION="I" ELEMENT_POSITION="9 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="LGTYPPLA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="LGTYPPLA_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="LGTYPPLA" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" VERSION="I" ELEMENT_POSITION="10 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_AMOUNT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_AMOUNT_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_AMOUNT" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM" VERSION="I" ELEMENT_POSITION="3 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_ITEM" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_ITEM_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_ITEM" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE" VERSION="I" ELEMENT_POSITION="8 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_PLACE" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_PLACE_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_PLACE" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT" VERSION="I" ELEMENT_POSITION="5 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_TAMOUNT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_TAMOUNT_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_TAMOUNT" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="L_WH" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="L_WH_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="L_WH" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" VERSION="I" ELEMENT_POSITION="2 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON" DISPLAY_NAME="NEXT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON" PARENT_NAME="BUTTONS1" AGGREGATION_NAME="BUTTONS"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON" DISPLAY_NAME="PREVIOUS" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON" PARENT_NAME="BUTTONS1" AGGREGATION_NAME="BUTTONS"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" ELEMENT_POSITION="0 " UI_ELEMENT_TYPE="CL_WDY_MD_TRANSP_CONTAINER" DISPLAY_NAME="ROOTUIELEMENTCONTAINER" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TRANSPARENT_CONTAINER"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_LAYOUT" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_LAYOUT" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="LAYOUT"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON" DISPLAY_NAME="SAVE" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON" PARENT_NAME="BUTTONS2" AGGREGATION_NAME="BUTTONS"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER" VERSION="I" ELEMENT_POSITION="12 " UI_ELEMENT_TYPE="CL_WDY_MD_TIMED_TRIGGER" DISPLAY_NAME="TM_TIMER" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TIMED_TRIGGER" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="TM_TIMER_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="TM_TIMER" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" ELEMENT_POSITION="6 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="TOTAL_AMOUNT" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="TOTAL_AMOUNT_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="TOTAL_AMOUNT" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" ELEMENT_POSITION="7 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="TYPE" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="TYPE_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="TYPE" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" ELEMENT_POSITION="2 " UI_ELEMENT_TYPE="CL_WDY_MD_TEXT_VIEW" DISPLAY_NAME="WH" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="TEXT_VIEW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
  <wdy_ui_element COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="WH_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="WH" AGGREGATION_NAME="LAYOUT_DATA"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="5"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="2"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="2"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS1_LD" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="80%"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="BUTTONS2_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" PROPERTY_NAME="ENABLED" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="06"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="2"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="14"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="2"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="AMOUNT"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52A1197C9C5C6964E10000000A2A012F" PropText="Množství"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" VERSION="I" PROPERTY_NAME="TOOLTIP" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM" VERSION="I" PROPERTY_NAME="ENABLED" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="ITEM"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="508E182BBA8412A4E10000000A2A012F" PropText="Položka"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="LGTYPPLA"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52A109969DA7699AE10000000A2A012F" PropText="Skl.Místo"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="TOTAL_AMOUNT"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52A9692A1FD7193EE10000000A2A012F" PropText="Použité"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH" VERSION="I" PROPERTY_NAME="ENABLED" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="WH"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52A1420A9C5C6964E10000000A2A012F" PropText="Sklad"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="HOTKEY" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52FE1D34770604AEE10000000A2A012F" PropText="Dalš."/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" VERSION="I" PROPERTY_NAME="HOTKEY" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="52FE1D3C770604AEE10000000A2A012F" PropText="Před."/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="ARIA_LANDMARK" PROPERTY_VALUE="10"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="IS_LAYOUT_CONTAINER" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLLING_MODE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLL_LEFT" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLL_TOP" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_PADDING" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_SPACING" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="COL_COUNT" PROPERTY_VALUE="3"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_HORIZONTALLY" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_VERTICALLY" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="TAB_ORDER" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="HOTKEY" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="IMAGE_SOURCE" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="50B431A2329332F2E10000000A2A012F" PropText="Uložit"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="DELAY" PROPERTY_VALUE="0"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="20%"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="06"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="06"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="04"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="03"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="LAYOUT" PROPERTY_VALUE="01"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="06"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="TEXT" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="2"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
  <wdy_ui_property COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="WM_HEADER" BOUND_CTX_ATTRIB="WM_CERFMG"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="ITEM" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="WM_HEADER" BOUND_CTX_ATTRIB="WM_COUNTER"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="WM_HEADER" BOUND_CTX_ATTRIB="WM_LGTYPLA"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_AMOUNT" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_ITEM" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_PLACE" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_TAMOUNT" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="L_WH" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="WM_HEADER" BOUND_CTX_ATTRIB="NEXT"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="WM_HEADER" BOUND_CTX_ATTRIB="PREV"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="WM_HEADER" BOUND_CTX_ATTRIB="SAVING_ENABLED"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER" BINDING_NAME="DELAY" VERSION="I" UI_ELEM_PROPERTY="DELAY" BOUND_CTX_NODE="TIMER_CONF" BOUND_CTX_ATTRIB="REFRESH_RATE"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TOTAL_AMOUNT" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="WM_HEADER" BOUND_CTX_ATTRIB="WM_AMOUNTER"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TYPE" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="WM_HEADER" BOUND_CTX_ATTRIB="WM_ERFME"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" BINDING_NAME="ENABLED" VERSION="I" UI_ELEM_PROPERTY="ENABLED" BOUND_CTX_NODE="GL_APP_DATA" BOUND_CTX_ATTRIB="WM"/>
  <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="WH" BINDING_NAME="TEXT" VERSION="I" UI_ELEM_PROPERTY="TEXT" BOUND_CTX_NODE="WM_HEADER" BOUND_CTX_ATTRIB="WM_WH"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="AMOUNT" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="IF_ENTER"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="LGTYPPLA" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="IF_ENTER"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="NEXT" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="APPEND_TO_WM"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="PREVIOUS" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="SHOW_PREV"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="SAVE" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="SAVE"/>
  <wdy_ui_evt_bind COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="VIEW3" ELEMENT_NAME="TM_TIMER" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="TIMER"/>
  <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" VERSION="A" CONTROLLER_TYPE="01" CONTEXT="CONTEXT" DISPLAY_NAME="VIEW3" AUTHOR="CZMICYP" CREATEDON="20131119" CHANGEDBY="CZMICYP" CHANGEDON="20140827">
   <wdy_controllert COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" LANGU="C" DESCRIPTION="Pijem k výrobní zakázce."/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_BU" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ACTUALIZE_BU" CODE_BODY="method ACTUALIZE_BU .

**----------------CW: READ (WH_TABLE) as table-------------------------

*  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

*  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

*  DATA wa_wm_table LIKE LINE OF lt_wm_table.

*  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

*  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*----------------CW: READ (WH_HEADER)-------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

  lo_el_wm_header-&gt;get_static_attributes( IMPORTING static_attributes = ls_wm_header ).

*---------------------------------------------------------

*lo_el_wm_header-&gt;set_attribute( EXPORTING name  = &apos;PREV&apos; value = ABAP_FALSE ).

*lo_el_wm_header-&gt;set_attribute( EXPORTING name  = &apos;NEXT&apos; value = ABAP_FALSE ).



   IF wd_this-&gt;MV_ITEM_CURRENT  eq 1.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;PREV&apos; value = ABAP_FALSE ).

   ELSE.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;PREV&apos; value = ABAP_TRUE ).

   ENDIF.



   IF  wd_this-&gt;IS_USED_ALL_CAPACITY( ) eq &apos;X&apos;

     and

       wd_this-&gt;MV_ITEM_CURRENT eq wd_this-&gt;MV_ITEM_COUNTER.



     lo_el_wm_header-&gt;set_attribute( name  = &apos;NEXT&apos; value = ABAP_FALSE ).

   ELSE.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;NEXT&apos; value = ABAP_TRUE ).

   ENDIF.



   &quot;zamyka moznost ukladania po uspesnom ulozeni

   IF wd_this-&gt;MV_VALID_SAVE eq &apos;&apos;.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;SAVING_ENABLED&apos; value = ABAP_TRUE ).

   ELSE.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;SAVING_ENABLED&apos; value = ABAP_FALSE ).

   ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_IC" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ACTUALIZE_IC" CODE_BODY="method ACTUALIZE_IC .

*---------------------WZ: set(WM_COUNTER)  --------------------------------

    DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

    DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

    DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

    DATA lv_wm_counter TYPE wd_this-&gt;Element_wm_header-wm_counter.

    lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

    lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*---------------------WZ: set(WM_COUNTER)  --------------------------------

  DATA lv_counter_s TYPE string.

  DATA lv_current_s TYPE string.

  DATA lv_tmp       TYPE string.

*--------------------------------------------------------------------------





  move wd_this-&gt;MV_ITEM_COUNTER to lv_counter_s.

  move wd_this-&gt;MV_ITEM_CURRENT to lv_current_s.



  CONDENSE lv_counter_s.

  CONDENSE lv_current_s.





  CONCATENATE

  lv_current_s &apos;-&apos; lv_counter_s

  INTO lv_tmp.



  lo_el_wm_header-&gt;set_attribute(

      name =  `WM_COUNTER`

      value = lv_tmp ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_QT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ACTUALIZE_QT" CODE_BODY="method ACTUALIZE_QT .

*-----------------CW: READ (WM_HEADER)----------------------------

DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

lo_el_wm_header-&gt;get_static_attributes( IMPORTING static_attributes = ls_wm_header ).

*-----------------------------------------------------------------



data lv_counter TYPE i VALUE 0.

data lv_counter_s

                TYPE string.

data lv_erfmg   TYPE erfmg.

data lv_erfmg_i TYPE i.

data lv_erfmg_s TYPE string.



data lv_tmp     TYPE string.



lo_el_wm_header-&gt;get_attribute(

  EXPORTING name =&apos;WM_ERFMG&apos;

  IMPORTING value = lv_erfmg  ).





  lv_counter = wd_this-&gt;get_used_quantity( ).

  lv_counter = trunc( lv_counter ).



  move lv_erfmg to lv_erfmg_i.

  move lv_counter to lv_counter_s.

  move lv_erfmg_i  to lv_erfmg_s.



  CONDENSE lv_erfmg_s.

  CONDENSE lv_counter_s.



  CONCATENATE

    lv_counter_s &apos;/&apos; lv_erfmg_s

  INTO lv_tmp.



    &quot;Pociatocne nastavenie pocitadla itemov

    lo_el_wm_header-&gt;set_attribute(

        name  =  `WM_AMOUNTER`

        value = lv_tmp ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_TABLE_ITEM" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ACTUALIZE_TABLE_ITEM" CODE_BODY="method ACTUALIZE_TABLE_ITEM .



*------------------------CW: read(WM_HEADER)---------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

  lo_el_wm_header-&gt;get_static_attributes(

    IMPORTING

      static_attributes = ls_wm_header ).

*------------------CW: READ (WM_TABLE)AS TABLE--------------------

  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

  DATA wa_wm_table LIKE LINE OF lt_wm_table.

  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*------------------------------------------------------------------

  DATA lv_index TYPE i.

  lv_index = wd_this-&gt;MV_ITEM_CURRENT .



  READ TABLE lt_wm_table  INDEX lv_index INTO wa_wm_table.





  DATA lv_tmp           TYPE string.

  DATA lv_current_qty   TYPE i  VALUE 0.

  DATA lv_total_qty     TYPE i VALUE 0.

  DATA lv_lgtyp         TYPE lgtyp.

  DATA lv_lgpla         TYPE lgpla.

  DATA lv_lenvw         TYPE  T331_LENVW.

  DATA lv_lgber         TYPE  LGBER.



  clear wd_comp_controller-&gt;mv_error.

  &quot;ak jedno z poli nebolo zadane, vypise sa chyba, neprida sa

  IF ls_wm_header-wm_cerfmg is initial.

    wd_comp_controller-&gt;mv_error = 12. &quot; prazdne

  ELSEIF ls_wm_header-wm_lgtypla is initial.

    wd_comp_controller-&gt;mv_error = 13. &quot; prazdne

  ELSE.



  lv_current_qty  = GET_USED_QUANTITY( IGNORED_INDEX = lv_index ) + ls_wm_header-wm_cerfmg.

  lv_total_qty    = ls_wm_header-wm_erfmg.



 IF lv_current_qty  &gt; lv_total_qty.

  &quot;snazim sa uskladnit viac

  wd_comp_controller-&gt;mv_error = 11.



 ELSE.

   call function &apos;ZMC_CONV_LGPLA_12&apos;

      EXPORTING

        LGNUM = ls_wm_header-wm_lgnum

        MISTO = ls_wm_header-wm_lgtypla

        U_V =&apos;U&apos;



      IMPORTING

        LGTYP = wa_wm_table-lgtyp &quot;typ skladu

        LGPLA = wa_wm_table-lgpla &quot;skl. místo

        LENVW = lv_lenvw &quot;skl. s řízením skl. jednotek

        LGBER = lv_lgber &quot;zona skladu



      EXCEPTIONS

        EMPTY      = 1

        BLOK_USKL  = 2

        BLOK_VYSKL = 3

        NEEXISTUJE = 4

      OTHERS       = 5.

    IF sy-subrc    ne 0.

       wd_comp_controller-&gt;message( ).

    ENDIF.

    wa_wm_table-erfmg =  ls_wm_header-wm_cerfmg.





    MODIFY lt_wm_table FROM wa_wm_table INDEX lv_index.

    lo_nd_wm_table-&gt;BIND_TABLE(  lt_wm_table ).



 ENDIF.

ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ADD_TO_TABLE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ADD_TO_TABLE" CODE_BODY="method ADD_TO_TABLE .

*------------------------CW: read(WM_HEADER)---------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

  lo_el_wm_header-&gt;get_static_attributes(

    IMPORTING

      static_attributes = ls_wm_header ).

*------------------------CW: read(WM_TABLE)  as table------------------

    DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

    DATA lt_wm_table    TYPE wd_this-&gt;Elements_wm_table.

    DATA wa_wm_table    LIKE LINE OF lt_wm_table.

    lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

    lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*----------------------------------------------------------------------



  DATA lv_tmp           TYPE string.

  DATA lv_current_qty   TYPE i  VALUE 0.

  DATA lv_total_qty     TYPE i VALUE 0.

  DATA lv_lgtyp         TYPE lgtyp.

  DATA lv_lgpla         TYPE lgpla.

  DATA lv_lenvw         TYPE  T331_LENVW.

  DATA lv_lgber         TYPE  LGBER.



  clear wd_comp_controller-&gt;mv_error.



  &quot;ak jedno z poli nebolo zadane, vypise sa chyba, neprida sa

  if     ls_wm_header-wm_cerfmg is initial.

    wd_comp_controller-&gt;mv_error = 12. &quot; prazdne

  ELSEIF ls_wm_header-wm_lgtypla is initial.

    wd_comp_controller-&gt;mv_error = 13. &quot; prazdne

  ELSE.



  lv_current_qty  = GET_USED_QUANTITY( ) + ls_wm_header-wm_cerfmg.

  lv_total_qty    = ls_wm_header-wm_erfmg.



 IF lv_current_qty  &gt; lv_total_qty.

  &quot;snazim sa uskladnit viac

  wd_comp_controller-&gt;mv_error = 11.



 ELSE.

   call function &apos;ZMC_CONV_LGPLA_12&apos;

      EXPORTING

        LGNUM = ls_wm_header-wm_lgnum

        MISTO = ls_wm_header-wm_lgtypla

        U_V =&apos;U&apos;

      IMPORTING

        LGTYP = wa_wm_table-lgtyp

        LGPLA = wa_wm_table-lgpla

        LENVW = lv_lenvw

        LGBER = lv_lgber

      EXCEPTIONS

        EMPTY      = 1

        BLOK_USKL  = 2

        BLOK_VYSKL = 3

        NEEXISTUJE = 4

      OTHERS     = 5.

    IF sy-subrc ne 0.

*       wd_comp_controller-&gt;message( ).

      &quot;error nepriradeny k chybovej hlaske, pretoze sa vyuziva ta z FM

      wd_comp_controller-&gt;mv_error = -1.

    ENDIF.

    wa_wm_table-erfmg  = ls_wm_header-wm_cerfmg.



 ENDIF.



ENdif.

*

IF wd_comp_controller-&gt;mv_error ne 0.

  wd_comp_controller-&gt;message( ).

ELSE.

  APPEND wa_wm_table  to lt_wm_table.

  lo_nd_wm_table-&gt;bind_table( new_items = lt_wm_table set_initial_elements = abap_true ).



  add 1 to wd_this-&gt;MV_ITEM_COUNTER.

  add 1 to wd_this-&gt;MV_ITEM_CURRENT.

  &quot;aktualizacia zobrazeneho mnozstva

  wd_this-&gt;ACTUALIZE_QT( ).

  wd_this-&gt;ACTUALIZE_IC( ).

  wd_this-&gt;ACTUALIZE_BU( ).

  wd_this-&gt;CLEAR_INPUT( ).

ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="APPEND_TO_WM" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="APPEND_TO_WM" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="CLEAR_CONTEXT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CLEAR_CONTEXT" CODE_BODY="method CLEAR_CONTEXT .

*----------------------WZ read(GL_APP_DATA,WM_HEADER,IN_DATA)------------------------------------------

      DATA lo_nd_gl_app_data  TYPE REF TO if_wd_context_node.

      DATA lo_el_gl_app_data  TYPE REF TO if_wd_context_element.

      DATA lo_nd_wm_table     TYPE REF TO if_wd_context_node.

      DATA lo_el_wm_table     TYPE REF TO if_wd_context_element.

      DATA lo_nd_wm_header    TYPE REF TO if_wd_context_node.

      DATA lo_el_wm_header    TYPE REF TO if_wd_context_element.

      DATA lo_nd_in_data      TYPE REF TO if_wd_context_node.

      DATA lo_el_in_data      TYPE REF TO if_wd_context_element.

      lo_nd_gl_app_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_gl_app_data ).

      lo_nd_wm_header   = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

      lo_nd_wm_table    = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

      lo_nd_in_data     = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

*      lo_el_wm_header   = lo_nd_wm_header-&gt;get_element( ).

*      lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).

*      lo_el_in_data     = lo_nd_in_data-&gt;get_element( ).

*----------------------WZ read(GL_APP_DATA,WM_HEADER,IN_DATA)------------------------------------------



      lo_nd_wm_header-&gt;INVALIDATE( ).

      lo_nd_wm_table-&gt;INVALIDATE( ).

      lo_nd_gl_app_data-&gt;INVALIDATE( ).

      lo_nd_in_data-&gt;INVALIDATE( ).



      clear:

      wd_this-&gt;MV_ITEM_COUNTER,

      wd_this-&gt;MV_ITEM_CURRENT,

      wd_this-&gt;MV_VALID_SAVE.



      clear:

*      wd_comp_controller-&gt;MR_GA,

*      wd_comp_controller-&gt;MR_GS,

*      wd_comp_controller-&gt;MR_MSG_MAN,

      wd_comp_controller-&gt;MV_AUTH,

      wd_comp_controller-&gt;MV_ERROR,

      wd_comp_controller-&gt;MV_STATE,

      wd_comp_controller-&gt;MV_TYPE.





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="CLEAR_INPUT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CLEAR_INPUT" CODE_BODY="method CLEAR_INPUT .

*-------------CWZ: Set WM_HEADER------------------------------------------

DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

DATA lv_wm_erfme TYPE wd_this-&gt;Element_wm_header-wm_erfme.

lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*-------------CWZ: Set WM_HEADER------------------------------------------

*zistenie ost. mnozstva  nepriradeneho k sklad. miestu

DATA lv_used TYPE i.

DATA lv_all  TYPE erfmg.



lo_el_wm_header-&gt;get_attribute(

  EXPORTING name  =  `WM_ERFMG`

  IMPORTING value = lv_all ).

lv_used = wd_this-&gt;GET_USED_QUANTITY( ).



* vypocet zatial nepriradeneho mnozstva

lv_all  = trunc( lv_all ).

lv_used = trunc( lv_used ).

lv_used = lv_all - lv_used.



lo_el_wm_header-&gt;set_attribute( name =  `WM_CERFMG` value = lv_used ).

lo_el_wm_header-&gt;set_attribute( name =  `WM_LGTYPLA` value = &apos;&apos; ).





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="GET_USED_QUANTITY" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="GET_USED_QUANTITY" CODE_BODY="method GET_USED_QUANTITY .

*------------------CW: READ (WM_TABLE)AS TABLE--------------------

  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

  DATA wa_wm_table LIKE LINE OF lt_wm_table.

  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*------------------------------------------------------------------

  rv_counter = 0.

  DATA lv_ii TYPE i VALUE  0.

  IF IGNORED_INDEX ne &apos;&apos;.

    lv_ii = IGNORED_INDEX.

  ENDIF.



&quot;pri zadani riadku, kt bude ignorovany sa ten nepropocitava

loop at lt_wm_table into wa_wm_table .

  if sy-tabix eq lv_ii.

  ELSE.

  &quot;pocitanie uz zadaneho mnozstva v

  add wa_wm_table-erfmg to rv_counter.

  ENDIF.

endloop.







endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="HANDLEFROM_VIEW2" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW3" REF_PLUG_NAME="FROM_VIEW2" DISPLAY_NAME="HANDLEFROM_VIEW2" CODE_BODY="method HANDLEFROM_VIEW2 .

  wd_this-&gt;INPLUG_HANDLE( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IF_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="IF_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IF_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="IF_ON_ENTER" CODE_BODY="method IF_ON_ENTER .

  &quot;adding to table, or savin whole table

  IF wd_this-&gt;IS_USED_ALL_CAPACITY( ) eq &apos;X&apos;.



    wd_this-&gt;save_table( ).

  ELSE.



    wd_this-&gt;ADD_TO_TABLE( ).

  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="INPLUG_HANDLE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="INPLUG_HANDLE" CODE_BODY="method INPLUG_HANDLE .

*----------------------WZ read(GL_APP_DATA,WM_HEADER,IN_DATA)------------------------------------------

      DATA lo_nd_gl_app_data TYPE REF TO if_wd_context_node.

      DATA lo_el_gl_app_data TYPE REF TO if_wd_context_element.

      DATA lo_nd_wm_table    TYPE REF TO if_wd_context_node.

      DATA lo_el_wm_table TYPE REF TO if_wd_context_element.

      DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

      DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

      DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

      DATA lo_el_in_data TYPE REF TO if_wd_context_element.

      lo_nd_gl_app_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_gl_app_data ).

      lo_nd_wm_header   = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

      lo_nd_in_data     = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

      lo_el_wm_header   = lo_nd_wm_header-&gt;get_element( ).

      lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).

      lo_el_in_data     = lo_nd_in_data-&gt;get_element( ).

*-----------------------------------------------------------------------\

    &quot;urcuje kombinaciju sklad typov na vstupe

      DATA typed TYPE i.



      DATA lv_gui_usability TYPE ABAP_BOOL.

      DATA lv_werks         TYPE werks.

      DATA lv_mantr         TYPE matnr.

      DATA lv_erfme         TYPE erfme.

      DATA lv_lgort         TYPE lgort.

      DATA lv_lgnum         TYPE lgnum.

      DATA lv_wh            TYPE char8.

      DATA lv_erfmg         TYPE erfmg.

      DATA lv_cerfmg        TYPE i.



     clear wd_this-&gt;mv_valid_save.

     wd_this-&gt;MV_ITEM_COUNTER = 1.

     wd_this-&gt;MV_ITEM_CURRENT = 1.



    &quot;Nastavenie zavodu

    lo_el_in_data-&gt;get_attribute(

      EXPORTING name  =  `WERKS`

      IMPORTING value = lv_werks ).

    lo_el_wm_header-&gt;set_attribute(

        name  =  `WM_WERKS`

        value = lv_werks ).



    lo_el_in_data-&gt;get_attribute(

      EXPORTING name  =  `ERFME1`

      IMPORTING value = lv_erfme ).

    lo_el_wm_header-&gt;set_attribute(

        name  =  `WM_ERFME`

        value = lv_erfme ).



    lo_el_in_data-&gt;get_attribute(

      EXPORTING name  =  `MATNR`

      IMPORTING value = lv_mantr ).

    lo_el_wm_header-&gt;set_attribute(

        name  =  `WM_MATNR`

        value = lv_mantr ).



    case wd_comp_controller-&gt;mv_type.

      when  2 or  32.



        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `LGORT1`

          IMPORTING value = lv_lgort ).

        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `LGNUM1`

          IMPORTING value = lv_lgnum ).

        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `ERFMG1`

          IMPORTING value = lv_erfmg ).

      when 23 or 20.

        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `LGORT2`

          IMPORTING value = lv_lgort ).



        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `LGNUM2`

          IMPORTING value = lv_lgnum ).

        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `ERFMG2`

          IMPORTING value = lv_erfmg ).



      ENDCASE.





      concatenate &quot;       Sklad.sklad

        lv_lgort+0(6)

        lv_lgnum

        INTO

        lv_wh

      SEPARATED BY &apos;.&apos;.



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_UMLGO`

          value = lv_lgort ).



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_LGNUM`

          value = lv_lgnum ).



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_WH`

          value = lv_wh ).



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_ERFMG`

          value = lv_erfmg ).







      lv_cerfmg = trunc( lv_erfmg ).



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_CERFMG`

          value = lv_cerfmg ).



*      &quot;zamok ukladania odomknuty

      lo_el_wm_header-&gt;set_attribute(

          name  =  &apos;SAVING_ENABLED&apos;

          value = &apos;&apos; ).







   wd_this-&gt;ACTUALIZE_QT( ).

   wd_this-&gt;ACTUALIZE_IC( ).

   wd_this-&gt;ACTUALIZE_BU( ).



   CALL FUNCTION &apos;BKK_COMPUTE_SUM_OF_DIGITS&apos;

     EXPORTING

        i_number        =  wd_comp_controller-&gt;mv_type

     IMPORTING

        e_sum_of_digits =  typed.



    &quot; nie je riadeny sklad err pri mat dok

    IF typed eq 3 or

       typed eq 6 or

       wd_comp_controller-&gt;mv_error ne 0.&quot; riadeny.

      lv_gui_usability = ABAP_FALSE.

    ELSE.

      lv_gui_usability = ABAP_TRUE .



    ENDIF.







      lo_el_gl_app_data-&gt;set_attribute(

        name =  `WM`

        value =  lv_gui_usability ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IS_USED_ALL_CAPACITY" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="IS_USED_ALL_CAPACITY" CODE_BODY="method IS_USED_ALL_CAPACITY .

*-----------------CW: READ (WM_HEADER)----------------------------

DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

lo_el_wm_header-&gt;get_static_attributes( IMPORTING static_attributes = ls_wm_header ).

*-----------------------------------------------------------------

  DATA lv_capacity      TYPE erfmg.

  DATA lv_already_used  TYPE i.

  DATA lv_difference    TYPE i.



  lo_el_wm_header-&gt;get_attribute(

    EXPORTING name = &apos;WM_ERFMG&apos;

    IMPORTING value = lv_capacity ).



  lv_already_used = wd_this-&gt;GET_USED_QUANTITY( ).

  lv_difference   = lv_capacity - lv_already_used.



  IF lv_difference eq 0.

    RET = &apos;X&apos;.

  ELSE.

    RET = &apos;&apos;.

  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MOVE_TO_LEFT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MOVE_TO_LEFT" CODE_BODY="method MOVE_TO_LEFT .

*------------------------CW: read(WM_HEADER)---------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*------------------CW: READ (WM_TABLE)AS TABLE--------------------

  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

  DATA wa_wm_table LIKE LINE OF lt_wm_table.

  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*------------------------------------------------------------------



  DATA lv_itemp TYPE i.

  DATA lv_stemp TYPE string.

  DATA lv_index TYPE i.



  lv_index = wd_this-&gt;MV_ITEM_CURRENT - 1 .



  &quot;nacitanie prislusneho prvku zoznamu

  READ TABLE lt_wm_table  INDEX lv_index INTO wa_wm_table.



  CONCATENATE

    wa_wm_table-lgtyp

    &apos;.&apos;

    wa_wm_table-lgpla

  INTO lv_stemp.







  lv_itemp = trunc( wa_wm_table-erfmg ).



  lo_el_wm_header-&gt;set_attribute( name = &apos;WM_LGTYPLA&apos; value = lv_stemp ).

  lo_el_wm_header-&gt;set_attribute( name = &apos;WM_CERFMG&apos;  value = lv_itemp ).





  SUBTRACT 1 FROM wd_this-&gt;MV_ITEM_CURRENT.



  wd_this-&gt;ACTUALIZE_IC( ).

  wd_this-&gt;ACTUALIZE_QT( ).

  wd_this-&gt;ACTUALIZE_BU( ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MOVE_TO_RIGHT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MOVE_TO_RIGHT" CODE_BODY="method MOVE_TO_RIGHT .

*------------------------CW: read(WM_HEADER)---------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*------------------CW: READ (WM_TABLE)AS TABLE--------------------

  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

  DATA wa_wm_table LIKE LINE OF lt_wm_table.

  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*------------------------------------------------------------------



  DATA lv_itemp TYPE i.

  DATA lv_stemp TYPE string.

  DATA lv_index TYPE i.



  lv_index = wd_this-&gt;MV_ITEM_CURRENT + 1.



  &quot;nacitanie prislusneho prvku zoznamu

  READ TABLE lt_wm_table  INDEX lv_index INTO wa_wm_table.



  CONCATENATE

    wa_wm_table-lgtyp

    &apos;.&apos;

    wa_wm_table-lgpla

  INTO lv_stemp.







  lv_itemp = trunc( wa_wm_table-erfmg ).



  lo_el_wm_header-&gt;set_attribute( name = &apos;WM_LGTYPLA&apos; value = lv_stemp ).

  lo_el_wm_header-&gt;set_attribute( name = &apos;WM_CERFMG&apos;  value = lv_itemp ).



  lv_itemp = wd_this-&gt;MV_ITEM_COUNTER - wd_this-&gt;MV_ITEM_CURRENT.



  ADD 1 to wd_this-&gt;MV_ITEM_CURRENT.





  wd_this-&gt;ACTUALIZE_IC( ).

  wd_this-&gt;ACTUALIZE_QT( ).

  wd_this-&gt;ACTUALIZE_BU( ).







endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_ITEM_COUNTER" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="MV_ITEM_COUNTER" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_ITEM_CURRENT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="MV_ITEM_CURRENT" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_VALID_SAVE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="MV_VALID_SAVE" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="BOOL"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONAPPEND_TO_WM" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="APPEND_TO_WM" DISPLAY_NAME="ONACTIONAPPEND_TO_WM" CODE_BODY='method ONACTIONAPPEND_TO_WM .



 &quot;rozhodnutie, ci budeme pridavat alebo sa len pohybovat

  IF wd_this-&gt;MV_ITEM_COUNTER eq wd_this-&gt;MV_ITEM_CURRENT.

    wd_this-&gt;add_to_table( ).

  ELSE.

    wd_this-&gt;actualize_table_item( ).

    wd_this-&gt;move_to_right( ).

  ENDIF.



endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONIF_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="IF_ENTER" DISPLAY_NAME="ONACTIONIF_ENTER" CODE_BODY='method ONACTIONIF_ENTER .

  wd_this-&gt;if_on_enter( ). &quot; Input field on enter

endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONSAVE" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="SAVE" DISPLAY_NAME="ONACTIONSAVE" CODE_BODY="method ONACTIONSAVE .

  wd_this-&gt;SAVE_TABLE( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONSHOW_PREV" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="SHOW_PREV" DISPLAY_NAME="ONACTIONSHOW_PREV" CODE_BODY="method ONACTIONSHOW_PREV .

  wd_this-&gt;ACTUALIZE_TABLE_ITEM( ).

  wd_this-&gt;MOVE_TO_LEFT( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONTIMER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="TIMER" DISPLAY_NAME="ONACTIONTIMER" CODE_BODY="method ONACTIONTIMER .

  wd_this-&gt;refresh_page( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="REFRESH_PAGE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="REFRESH_PAGE" CODE_BODY="method REFRESH_PAGE .



  wd_comp_controller-&gt;refresh_page( ).

  &quot;zozntam prvkov v tabulke je vhodny na ulozenie

  IF wd_this-&gt;mv_valid_save eq &apos;X&apos;.

    wd_this-&gt;CLEAR_CONTEXT( ).

    wd_this-&gt;fire_to_view1_plg( ).

  &quot;existuje chyba

  ELSEIF wd_comp_controller-&gt;MV_ERROR ne 0.

    wd_comp_controller-&gt;set_timer_fast( ).

  ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SAVE" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="SAVE" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SAVE_TABLE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="SAVE_TABLE" CODE_BODY="method SAVE_TABLE .

*----------------------CW: read(IN_DATA)--------------------------------------

  DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

  DATA lo_el_in_data TYPE REF TO if_wd_context_element.

  DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

  lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

  lo_el_in_data-&gt;get_static_attributes( IMPORTING

      static_attributes = ls_in_data ).

*----------------------CW: read(IN_DATA)--------------------------------------

*----------------------CW: read(WM_HEADER)--------------------------------------

DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

lo_el_wm_header-&gt;get_static_attributes(

    IMPORTING

      static_attributes = ls_wm_header ).

*----------------------CW: read(WM_HEADER)--------------------------------------

&quot;Zobrazuju sa validne data

IF ls_wm_header-wm_cerfmg is NOT initial and

   ls_wm_header-wm_lgtypla is NOT initial.

    &quot;na poslednom mieste -&gt; pridanie do tabulky

    IF wd_this-&gt;mv_item_counter eq wd_this-&gt;mv_item_current .

         wd_this-&gt;ADD_TO_TABLE( ).



    &quot;na inom mieste -&gt; aktualizacia prvku tabulky

    ELSE.

      wd_this-&gt;ACTUALIZE_TABLE_ITEM( ).

    ENDIF.

ENDIF.

*----------------------CW: read(WM_TABLE) as table-----------------------------

DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

DATA wa_wm_table LIKE LINE OF lt_wm_table.

*----------------------CW: read(WM_TABLE) as table-----------------------------

&quot; osetrenie nechceneho viacnasobneho ulozenia

IF ls_wm_header-SAVING_ENABLED eq &apos;X&apos;.

  DATA lv_current  TYPE i.

  DATA lv_all      TYPE i.

  DATA lv_navrh    TYPE char29.



  lv_current  = wd_this-&gt;GET_USED_QUANTITY( ).

  lv_all      = ls_wm_header-wm_erfmg.



  &quot;uskladnena plna predana kapacita

  if lv_all eq lv_current.



  DATA lt_lgtyp TYPE ZMC_RNG_T_LGTYP.

  DATA lt_ltap  TYPE ZMC_T_LTAP.

*  DATA wa_ltap  LIKE LINE OF lt_ltap.

  DATA wa_ltap  TYPE ZMC_S_LTAP.

  DATA lt_lqua  TYPE ZMC_T_LQUA.

*  DATA wa_lgtyp LIKE LINE OF lt_lgtyp.

  DATA wa_lgtyp TYPE ZMC_RNG_S_LGTYP.

  DATA lt_mseg TYPE table of ZMC_S_MSEG.

  DATA wa_mseg TYPE ZMC_S_MSEG.





  CLEAR: wa_lgtyp, lt_lgtyp.

  wa_lgtyp-sign   = &apos;E&apos;.

  wa_lgtyp-option = &apos;CP&apos;.

  wa_lgtyp-low    = &apos;9*&apos;.

  APPEND wa_lgtyp TO lt_lgtyp.



  CALL FUNCTION &apos;ZMC_GET_LQUA&apos; &quot;get list

    EXPORTING

      matnr    = ls_wm_header-wm_matnr

      werks    = ls_wm_header-wm_werks

      lgort    = ls_wm_header-wm_umlgo

      lgnum    = ls_wm_header-wm_lgnum

      sobkz    = &apos;X&apos;



    TABLES

      it_lgtyp = lt_lgtyp

      et_lqua  = lt_lqua.

*  *



  CALL FUNCTION &apos;ZMC_PROP_LGPLA&apos; &quot;suggestion

    IMPORTING

      navrh = lv_navrh

    TABLES

      lqua  = lt_lqua

      ltap  = lt_ltap.



*

        CLEAR lt_ltap.

        LOOP AT lt_wm_table INTO wa_wm_table. &quot;ltap items

*          CLEAR wa_ltap.

          wa_ltap-matnr = ls_wm_header-wm_matnr. &quot;MATERIAL

          wa_ltap-werks = ls_wm_header-wm_werks. &quot;ZAVOD

          wa_ltap-lgort = ls_wm_header-wm_umlgo. &quot;CIELOVY SKLAD

          wa_ltap-meins = ls_wm_header-wm_erfme. &quot;  MERNA JEDNOTKA



          wa_ltap-vltyp = &apos;901&apos;.

          wa_ltap-vlpla = ls_in_data-aufnr+2(10).

          wa_ltap-nltyp = wa_wm_table-lgtyp.

          wa_ltap-nlpla = wa_wm_table-lgpla.

          wa_ltap-nsolm = wa_wm_table-erfmg.



*          wa_ltap-charg = wa_mng-charg. &quot;sarze - nova

          APPEND wa_ltap TO lt_ltap.

        ENDLOOP.



*

      CLEAR wa_mseg.

*      wa_mseg-lgort = gd-lgort.



*      wa_mseg-charg = gd-charg. &quot;sarze - stara

*      wa_mseg-sobkz = gd-sobkz.

*      wa_mseg-kdauf = gd-kdauf.

*      wa_mseg-kdpos = gd-kdpos.

*      wa_mseg-lifnr = gd-lifnr.

*      wa_mseg-meins = ls_wm_header-wm_erfmg.

*      wa_mseg-ps_psp_pnr = gd-ps_psp_pnr.



      CLEAR lt_mseg. &quot;materialovy doklad vytvoreny v predchadzajucom kroku



*      LOOP AT lt_wm_table INTO wa_wm_table. &quot;mseg items

*          wa_mseg-umlgo = ls_wm_header-wm_umlgo .

*          wa_mseg-matnr = ls_wm_header-wm_matnr. &quot;mseg header

*          wa_mseg-werks = ls_wm_header-wm_werks.

*          TRANSLATE wa_mseg-werks TO UPPER CASE.

*

*          wa_mseg-lgort = ls_wm_header-wm_umlgo.

*          wa_mseg-meins = wa_wm_table-erfme. &quot;?

*          wa_mseg-menge = wa_wm_table-erfmg.

*          collect wa_mseg into lt_mseg.

*       ENDLOOP.

*

  DATA xnapr TYPE XNAPR.

       &quot;tisk rizenych zprav

       SELECT SINGLE parva FROM usr05 INTO xnapr

        WHERE bname EQ sy-uname

          AND parid EQ &apos;NDR&apos;.



       CALL FUNCTION &apos;ZMC_SAVE_MSEG2&apos;

        EXPORTING

             uname       = sy-uname

             gm_code     = &apos;02&apos;  &quot;prirazeni kodu k tran

             bwart       = &apos;101&apos; &quot;druh pohybu (vedeni zasob)

             kzbew       = &apos;F&apos;   &quot;znak pohybu

             aufnr       = ls_in_data-aufnr

             lgnum       = ls_wm_header-wm_lgnum &quot;rizeny sklad

             bwlvs       = &apos;103&apos; &quot;druh pohybu (rizeni skladu)

             squit       = &apos;X&apos;

             nidru       = &apos;X&apos;

             betyp       = &apos;F&apos;

             benum       = ls_in_data-aufnr+2(10)

             drukz       = &apos;02&apos;

             xnapr       = xnapr &quot;tisk pom. rizenych zprav

        TABLES

             it_mseg     = lt_mseg

             it_ltap     = lt_ltap

        EXCEPTIONS

             mat_doc_err = 1

             wm_doc_err  = 2

             OTHERS      = 3.



  IF sy-subrc eq 0.

    wd_this-&gt;MV_VALID_SAVE = &apos;X&apos;.



    &quot;zamok, umoznuje jedine ulozenie

    lo_el_wm_header-&gt;set_attribute(

      name  = &apos;SAVING_ENABLED&apos;

      value = &apos;&apos; ).



  ENDIF.



    &quot;resul evaluation

    wd_comp_controller-&gt;MESSAGE( type = sy-msgty ).



  else.

    &quot; rozdiel v mnozstvach

    wd_comp_controller-&gt;MV_ERROR = 14.

*    BREAK-POINT.

  endif.



*  IF wd_comp_controller-&gt;MV_ERROR ne 0.

*    wd_comp_controller-&gt;MESSAGE( type = sy-msgty ).

*  ELSE.

  if wd_this-&gt;MV_VALID_SAVE eq &apos;X&apos;.

    &quot;ulozenie prebehlo v poriadku

    wd_comp_controller-&gt;set_timer_medium( ).

  ENDIF.

ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SHOW_PREV" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="SHOW_PREV" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="TIMER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="TIMER" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOAFTERACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOAFTERACTION" CODE_BODY="method WDDOAFTERACTION .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOBEFOREACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOBEFOREACTION" CODE_BODY="method WDDOBEFOREACTION .

*  data lo_api_controller type ref to if_wd_view_controller.

*  data lo_action         type ref to if_wd_action.



*  lo_api_controller = wd_this-&gt;wd_get_api( ).

*  lo_action = lo_api_controller-&gt;get_current_action( ).



*  if lo_action is bound.

*    case lo_action-&gt;name.

*      when &apos;...&apos;.



*    endcase.

*  endif.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOEXIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOEXIT" CODE_BODY="method WDDOEXIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY="method WDDOINIT .

*!!!!!!!!!

**&lt;vyvojova inicializacia pre debugovanie view3&gt;





*------- CWZ: SET IN_DATA ATTRIBUTE---------------------

*  DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

*  DATA lo_el_in_data TYPE REF TO if_wd_context_element.

*  DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

*  lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

*  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*  IF lo_el_in_data IS INITIAL.

*  ENDIF.

*

*  lo_el_in_data-&gt;set_attribute( name =  `WERKS` value = &apos;1601&apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `MATNR` value = &apos;1VL7611198P0101&apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `LGORT1` value = &apos;399&apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `LGNUM1` value = &apos;ZP4&apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `ERFME1` value = &apos;KS &apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `ERFMG1` value = &apos;10.000&apos; ).

*

**------- CWZ: SET IN_DATA ATTRIBUTE---------------------

*********************************************************

**------- CWZ: SET WM_HEADER-----------------------------

*  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

*  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

*  DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

*  DATA lv_next TYPE wd_this-&gt;Element_wm_header-next.

*  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

*  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*

*  DATA lv_lgtyp  TYPE lgtyp.

*  DATA lv_lgpla  TYPE lgpla.

*  DATA lv_lgypla TYPE string.

*

*  select single

*    lgtyp

*    lgpla

*    FROM lagp

*    INTO (lv_lgtyp, lv_lgpla)

*    WHERE LGNUM eq &apos;ZP4&apos;.

*

*  CONCATENATE

*    lv_lgtyp

*    &apos;.&apos;

*    lv_lgpla

*  INTO lv_lgypla.

*

*  lo_el_wm_header-&gt;set_attribute( name =  `WM_LGTYPLA` value = lv_lgypla ).

**------- CWZ: SET WM_HEADER-----------------------------

*

*

* wd_comp_controller-&gt;mv_type  = 2.

* wd_comp_controller-&gt;mv_state = 1.

*

*

*wd_this-&gt;INPLUG_HANDLE( ).



*&lt;vyvojova inicializacia pre debugovanie view3&gt;

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOMODIFYVIEW" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOMODIFYVIEW" CODE_BODY="method WDDOMODIFYVIEW .



 &quot;   initial focus set on input field IP1

    data itm type ref to cl_wd_input_field.

    itm ?= view-&gt;get_element( &apos;LGTYPPLA&apos; ).

    CHECK itm is NOT INITIAL.

*

     CALL METHOD VIEW-&gt;REQUEST_FOCUS_ON_VIEW_ELEM

      EXPORTING VIEW_ELEMENT    =  itm.

      itm-&gt;FOCUS( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONCONTEXTMENU" CODE_BODY="method WDDOONCONTEXTMENU .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_BU" LANGU="C" DESCRIPTION="aktualizuje stav buttonov PREV|NEXT|SAVE"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_IC" LANGU="C" DESCRIPTION="aktualizuje zobrazenie poctu zaznamov"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_QT" LANGU="C" DESCRIPTION="aktualizuje zobrazenie zadaneho mnozstva"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_TABLE_ITEM" LANGU="C" DESCRIPTION="upravi aktualny zaznam v zozname"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ADD_TO_TABLE" LANGU="C" DESCRIPTION="Pridanie zaznamu skl. miesta a mnozstva"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="CLEAR_CONTEXT" LANGU="C" DESCRIPTION="po ulozeni cisti context"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="CLEAR_INPUT" LANGU="C" DESCRIPTION="mnozstvo a skladove miesto sa upravia pre dalsie zadanie"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="GET_USED_QUANTITY" LANGU="C" DESCRIPTION="vrati pocet uz zaradeneho mnozstva"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IF_ENTER" LANGU="C" DESCRIPTION="Input field on enter"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IF_ON_ENTER" LANGU="C" DESCRIPTION="Input field(s) on enter"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IS_USED_ALL_CAPACITY" LANGU="C" DESCRIPTION="vrati FALSE|TRUE, ak bola vyuzita cela kapacita"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MOVE_TO_LEFT" LANGU="C" DESCRIPTION="posun dolava  v zozname"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MOVE_TO_RIGHT" LANGU="C" DESCRIPTION="posun doprava v zozname"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_ITEM_COUNTER" LANGU="C" DESCRIPTION="Pocet zaznamov"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_ITEM_CURRENT" LANGU="C" DESCRIPTION="Cislo aktualneho zaznamu"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_VALID_SAVE" LANGU="C" DESCRIPTION="Prebehlo uskladnenie, mozem prejst na VIEW1"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONIF_ENTER" LANGU="C" DESCRIPTION="Input field on enter"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONSHOW_PREV" LANGU="C" DESCRIPTION="ukaz predchazajuci zaznam"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SAVE_TABLE" LANGU="C" DESCRIPTION="ulozi data v tabulke"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SHOW_PREV" LANGU="C" DESCRIPTION="ukaz predchazajuci zaznam"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOAFTERACTION" LANGU="C" DESCRIPTION="Method for non-action specific operations before navigation"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOBEFOREACTION" LANGU="C" DESCRIPTION="Method for Validation of User Input"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOMODIFYVIEW" LANGU="C" DESCRIPTION="Method for Modifying the View Before Rendering"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" LANGU="C" DESCRIPTION="Method for Modifying the Context Menu"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="GET_USED_QUANTITY" PARAMETER_NAME="IGNORED_INDEX" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I" DISPLAY_NAME="IGNORED_INDEX" OPTIONAL="X"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="GET_USED_QUANTITY" PARAMETER_NAME="RV_COUNTER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="3" ABAP_TYPING="0" ABAP_TYPE="I" DISPLAY_NAME="RV_COUNTER"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IS_USED_ALL_CAPACITY" PARAMETER_NAME="RET" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="3" ABAP_TYPING="0" ABAP_TYPE="BOOL" DISPLAY_NAME="RET"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="FIRST_TIME" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="WDY_BOOLEAN" DISPLAY_NAME="FIRST_TIME"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="VIEW" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_VIEW" DISPLAY_NAME="VIEW"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_EVENT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_EVENT" DISPLAY_NAME="CONTEXT_MENU_EVENT"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_MANAGER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_MANAGER" DISPLAY_NAME="CONTEXT_MENU_MANAGER"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="MENU" VERSION="I" PARAM_POSITION="3 " DECLARATION_TYPE="3" ABAP_TYPING="1" ABAP_TYPE="CL_WD_MENU" DISPLAY_NAME="MENU"/>
   <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CTLR_USAGE_NAME="4VWV6XAAUEEIC86267FAGP2JZ" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="CONTEXT" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" NODE_POSITION="0 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="CONTEXT" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="GL_APP_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="5 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="4 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="WM_HEADER" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="3 " COLLECTION_TYPE="03" CARDINALITY="02" SELECTION="00" DISPLAY_NAME="WM_TABLE" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ZMC_G2" ABAP_TYPING="0" DISPLAY_NAME="GA" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="ZMC_G1" ABAP_TYPING="0" DISPLAY_NAME="GS" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GT" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="ZMC_G3" ABAP_TYPING="0" DISPLAY_NAME="GT" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="WM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="WM" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="AUFNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AUFNR" ABAP_TYPING="0" DISPLAY_NAME="AUFNR" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="8 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="12 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME2" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="9 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="11 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG2" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="13 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="14 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM2" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="10 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT2" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MAKTX" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="MAKTX" ABAP_TYPING="0" DISPLAY_NAME="MAKTX" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MATNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="MATNR" ABAP_TYPING="0" DISPLAY_NAME="MATNR" VALUE_HELP_ID="AUTO:S_MAT1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MEINS1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="CHAR3" ABAP_TYPING="0" DISPLAY_NAME="MEINS1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MENGE1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="6 " ABAP_TYPE="MENGE1" ABAP_TYPING="0" DISPLAY_NAME="MENGE1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="WERKS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="7 " ABAP_TYPE="WERKS_D" ABAP_TYPING="0" DISPLAY_NAME="WERKS" VALUE_HELP_ID="AUTO:H_T001W_C" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MAX_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " READ_ONLY="X" DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MAX_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MEDIUM_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " READ_ONLY="X" DEFAULT_VALUE="10" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MEDIUM_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="SLOW_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " READ_ONLY="X" DEFAULT_VALUE="100" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="SLOW_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="NEXT" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="10 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="NEXT" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="PREV" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="8 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="PREV" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="SAVING_ENABLED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="14 " ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="SAVING_ENABLED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_AMOUNTER" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="CHAR10" ABAP_TYPING="0" DISPLAY_NAME="WM_AMOUNTER" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_CERFMG" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="7 " ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="WM_CERFMG" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_COUNTER" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="13 " ABAP_TYPE="STRING" ABAP_TYPING="0" DISPLAY_NAME="WM_COUNTER" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_ERFME" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="WM_ERFME" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_ERFMG" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="WM_ERFMG" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_LGNUM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="9 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="WM_LGNUM" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_LGTYPLA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="6 " ABAP_TYPE="CHAR14" ABAP_TYPING="0" DISPLAY_NAME="WM_LGTYPLA" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_MATNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="11 " ABAP_TYPE="MATNR" ABAP_TYPING="0" DISPLAY_NAME="WM_MATNR" VALUE_HELP_ID="AUTO:S_MAT1" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_UMLGO" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="12 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="WM_UMLGO" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_WERKS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="WERKS_D" ABAP_TYPING="0" DISPLAY_NAME="WM_WERKS" VALUE_HELP_ID="AUTO:H_T001W_C" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_WH" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="CHAR8" ABAP_TYPING="0" DISPLAY_NAME="WM_WH" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="ERFME" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="ERFMG" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="LENVW" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="T331_LENVW" ABAP_TYPING="0" DISPLAY_NAME="LENVW" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="LGBER" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="6 " ABAP_TYPE="LGBER" ABAP_TYPING="0" DISPLAY_NAME="LGBER" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="LGPLA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="LGPLA" ABAP_TYPING="0" DISPLAY_NAME="LGPLA" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="LGTYP" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="LGTYP" ABAP_TYPING="0" DISPLAY_NAME="LGTYP" VALUE_HELP_MODE="0"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CTLR_USAGE_NAME="4VWV6XAAUEEIC86267FAGP2JZ" CTX_MAPP_NAME="4VYNOO7PNIRAYND1NACWGIJ3J" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="GL_APP_DATA" MAP_NODE_NAME="GL_APP_DATA"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CTLR_USAGE_NAME="4VWV6XAAUEEIC86267FAGP2JZ" CTX_MAPP_NAME="4VYNOS9NNS7RSJMKQ5LDRJUPB" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="IN_DATA" MAP_NODE_NAME="IN_DATA"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CTLR_USAGE_NAME="4VWV6XAAUEEIC86267FAGP2JZ" CTX_MAPP_NAME="4WSOT8O2SQO9PD1U3K3EI3JU7" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="TIMER_CONF" MAP_NODE_NAME="TIMER_CONF"/>
  </controller_definition>
 </view_definition>
 <view_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="ZMC_PRIJEM_K_VZ" VERSION="A" TYPE="CL_WDY_MD_WINDOW" VIEW_TYPE="00" LIFESPAN="0" VIEW_CONTROLLER="ZMC_PRIJEM_K_VZ" DISPLAY_NAME="ZMC_PRIJEM_K_VZ" AUTHOR="CZMICYP" CREATEDON="20131113" CHANGEDBY="CZMICYP" CHANGEDON="20140729" DEF_ROOT_NODE="VIEW1_USAGE_1" VISIBILITY="00">
  <view_window title=""/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="ZMC_PRIJEM_K_VZ" PLUG_NAME="DEFAULT" VERSION="I" PLUG_TYPE="CL_WDY_MD_INBOUND_PLUG" IN_PLUG_TYPE="1" OUT_PLUG_TYPE="0" DISPLAY_NAME="DEFAULT" IS_INTF_ITEM="X"/>
  <wdy_iobound_plug COMPONENT_NAME="ZMC_PRIJEM_K_VZ" VIEW_NAME="ZMC_PRIJEM_K_VZ" PLUG_NAME="TO_MENU" VERSION="I" PLUG_TYPE="CL_WDY_MD_OUTBOUND_PLUG" IN_PLUG_TYPE="0" OUT_PLUG_TYPE="0" DISPLAY_NAME="TO_MENU" IS_INTF_ITEM="X"/>
  <wdy_nav_link COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" NAV_LINK_NAME="TO_VIEW1_NLINK_1" VERSION="I" SOURCE_PLUG_VIEW="VIEW2" SOURCE_PLUG_NAME="TO_VIEW1" SOURCE_VUSE_NAME="VIEW2_USAGE_1"/>
  <wdy_nav_link COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" NAV_LINK_NAME="TO_VIEW1_NLINK_2" VERSION="I" SOURCE_PLUG_VIEW="VIEW3" SOURCE_PLUG_NAME="TO_VIEW1" SOURCE_VUSE_NAME="VIEW3_USAGE_1"/>
  <wdy_nav_link COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" NAV_LINK_NAME="TO_VIEW2_NLINK_1" VERSION="I" SOURCE_PLUG_VIEW="VIEW1" SOURCE_PLUG_NAME="TO_VIEW2" SOURCE_VUSE_NAME="VIEW1_USAGE_1"/>
  <wdy_nav_link COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" NAV_LINK_NAME="TO_VIEW3_NLINK_1" VERSION="I" SOURCE_PLUG_VIEW="VIEW2" SOURCE_PLUG_NAME="TO_VIEW3" SOURCE_VUSE_NAME="VIEW2_USAGE_1"/>
  <wdy_nav_targref COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" NAV_LINK_NAME="TO_VIEW1_NLINK_1" NAV_TARGREF_NAME="TO_VIEW1_TREF_2" VERSION="I" TARGET_PLUG_VIEW="VIEW1" TARGET_PLUG_NAME="FROM_VIEW2" TARGET_VUSE_NAME="VIEW1_USAGE_1"/>
  <wdy_nav_targref COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" NAV_LINK_NAME="TO_VIEW1_NLINK_2" NAV_TARGREF_NAME="TO_VIEW1_TREF_3" VERSION="I" TARGET_PLUG_VIEW="VIEW1" TARGET_PLUG_NAME="FROM_VIEW3" TARGET_VUSE_NAME="VIEW1_USAGE_1"/>
  <wdy_nav_targref COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" NAV_LINK_NAME="TO_VIEW2_NLINK_1" NAV_TARGREF_NAME="TO_VIEW2_TREF_2" VERSION="I" TARGET_PLUG_VIEW="VIEW2" TARGET_PLUG_NAME="FROM_VIEW1" TARGET_VUSE_NAME="VIEW2_USAGE_1"/>
  <wdy_nav_targref COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" NAV_LINK_NAME="TO_VIEW3_NLINK_1" NAV_TARGREF_NAME="TO_VIEW3_TREF_2" VERSION="I" TARGET_PLUG_VIEW="VIEW3" TARGET_PLUG_NAME="FROM_VIEW2" TARGET_VUSE_NAME="VIEW3_USAGE_1"/>
  <wdy_vsh_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" VSH_NODE_NAME="VIEW1_USAGE_1" VERSION="I" VSH_NODE_TYPE="CL_WDY_MD_VIEW_USAGE" USED_VIEW="VIEW1" DISPLAY_NAME="VIEW1_USAGE_1"/>
  <wdy_vsh_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" VSH_NODE_NAME="VIEW2_USAGE_1" VERSION="I" VSH_NODE_TYPE="CL_WDY_MD_VIEW_USAGE" USED_VIEW="VIEW2" DISPLAY_NAME="VIEW2_USAGE_1"/>
  <wdy_vsh_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" WINDOW_NAME="ZMC_PRIJEM_K_VZ" VSH_NODE_NAME="VIEW3_USAGE_1" VERSION="I" VSH_NODE_TYPE="CL_WDY_MD_VIEW_USAGE" USED_VIEW="VIEW3" DISPLAY_NAME="VIEW3_USAGE_1"/>
  <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" VERSION="A" CONTROLLER_TYPE="06" CONTEXT="CONTEXT" DISPLAY_NAME="ZMC_PRIJEM_K_VZ" AUTHOR="CZMICYP" CREATEDON="20131113" CHANGEDBY="CZMICYP" CHANGEDON="20140729">
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="HANDLEDEFAULT" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="ZMC_PRIJEM_K_VZ" REF_PLUG_NAME="DEFAULT" DISPLAY_NAME="HANDLEDEFAULT" CODE_BODY="method HANDLEDEFAULT .

endmethod." ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOEXIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOEXIT" CODE_BODY="method WDDOEXIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY="method WDDOINIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONCLOSE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONCLOSE" CODE_BODY="method WDDOONCLOSE .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONOPEN" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONOPEN" CODE_BODY="method WDDOONOPEN .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONCLOSE" LANGU="C" DESCRIPTION="Handling For Closing of Window"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONOPEN" LANGU="C" DESCRIPTION="Handling For Opening of Window"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONOPEN" PARAMETER_NAME="WINDOW_DESCR" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_WINDOW_DESCRIPTION" DISPLAY_NAME="WINDOW_DESCR"/>
   <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CTLR_USAGE_NAME="4VUU5NXOGJQM6IY6FZOKF24A7" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" NODE_NAME="CONTEXT" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" NODE_POSITION="0 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="CONTEXT" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  </controller_definition>
 </view_definition>
 <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" VERSION="A" CONTROLLER_TYPE="02" CONTEXT="CONTEXT" DISPLAY_NAME="COMPONENTCONTROLLER" RUNTIME_OBJECT="ZIWCI_MC_PRIJEM_K_VZ" AUTHOR="CZMICYP" CREATEDON="20131113" CHANGEDBY="CZMICYP" CHANGEDON="20140512">
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="AUTH" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="AUTH" CODE_BODY="method AUTH .

  CALL FUNCTION &apos;ZMC_CHECK_PARAM&apos;

    EXPORTING

      ID    = PARID

      VALUE = PARVA

    EXCEPTIONS not_assigned = 1 .



 IF sy-subrc NE 0.

  wd_this-&gt;message( ).

  wd_this-&gt;set_timer_fast( ).

   IF SET_BACK eq &apos;X&apos;.

    wd_this-&gt;mv_auth = &apos;X&apos;.

   ENDIF.

   IF SET_ERROR eq &apos;X&apos;.

    wd_this-&gt;mv_error = -1.

   ENDIF.

 ELSE.

   IF SET_BACK eq &apos;X&apos;.

    wd_this-&gt;mv_auth = &apos;&apos;.

   ENDIF.

 ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MESSAGE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MESSAGE" CODE_BODY="method MESSAGE .





  IF TYPE IS NOT INITIAL. SY-MSGTY = TYPE. ENDIF.



  wd_this-&gt;mr_msg_man-&gt;CLEAR_MESSAGES( ).



  wd_this-&gt;mr_msg_man-&gt;report_t100_message(

    msgid       = sy-msgid

    msgty       = sy-msgty

    msgno       = sy-msgno

    p1          = sy-msgv1

    p2          = sy-msgv2

    p3          = sy-msgv3

    p4          = sy-msgv4

    show_as_popup = &apos;X&apos;

    is_permanent  = &apos;&apos;

  ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MR_GA" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MR_GA" ACTION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="ZMC_G2" READ_ONLY="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MR_GS" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MR_GS" ACTION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="ZMC_G1" READ_ONLY="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MR_MSG_MAN" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="MR_MSG_MAN" ACTION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_MESSAGE_MANAGER"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_AUTH" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MV_AUTH" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="BOOL" READ_ONLY="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_ERROR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MV_ERROR" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I" READ_ONLY="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_STATE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MV_STATE" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I" READ_ONLY="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_TYPE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MV_TYPE" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I" READ_ONLY="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="PREFILL_TIMER_CONTEXT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="PREFILL_TIMER_CONTEXT" CODE_BODY="method PREFILL_TIMER_CONTEXT .



  DATA lo_nd_timer_conf TYPE REF TO if_wd_context_node.

  DATA lo_el_timer_conf TYPE REF TO if_wd_context_element.

  DATA ls_timer_conf TYPE wd_this-&gt;Element_timer_conf.



  lo_nd_timer_conf = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_timer_conf ).



  lo_el_timer_conf = lo_nd_timer_conf-&gt;get_element( ).



  ls_timer_conf-refresh_rate = WD_ASSIST-&gt;TIMER_SLOW.

  ls_timer_conf-max_speed    = WD_ASSIST-&gt;TIMER_FAST.

  ls_timer_conf-medium_speed = WD_ASSIST-&gt;TIMER_MEDIUM.

  ls_timer_conf-slow_speed   = WD_ASSIST-&gt;TIMER_SLOW.



* set all declared attributes

  lo_el_timer_conf-&gt;set_static_attributes(

  static_attributes = ls_timer_conf ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="REFRESH_PAGE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="REFRESH_PAGE" CODE_BODY="method REFRESH_PAGE .

  wd_this-&gt;set_timer_slow( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0" IS_INTF_ITEM="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="SET_TIMER_FAST" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="SET_TIMER_FAST" CODE_BODY="method SET_TIMER_FAST .

*--------------------- CW READ/SET(TIMER_CONF)------------------------------------

   DATA lo_nd_timer_conf TYPE REF TO if_wd_context_node.

   DATA lo_el_timer_conf TYPE REF TO if_wd_context_element.

   DATA ls_timer_conf TYPE wd_this-&gt;Element_timer_conf.

   lo_nd_timer_conf = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_timer_conf ).

   lo_el_timer_conf = lo_nd_timer_conf-&gt;get_element( ).

   lo_el_timer_conf-&gt;get_static_attributes(

     IMPORTING

       static_attributes = ls_timer_conf ).

*--------------------- CW READ/SET(TIMER_CONF)------------------------------------



  ls_timer_conf-refresh_rate = ls_timer_conf-max_speed.

  lo_el_timer_conf-&gt;set_static_attributes( ls_timer_conf ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0" IS_INTF_ITEM="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="SET_TIMER_MEDIUM" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="SET_TIMER_MEDIUM" CODE_BODY="method SET_TIMER_MEDIUM .

*--------------------- CW READ/SET(TIMER_CONF)------------------------------------

   DATA lo_nd_timer_conf TYPE REF TO if_wd_context_node.

   DATA lo_el_timer_conf TYPE REF TO if_wd_context_element.

   DATA ls_timer_conf TYPE wd_this-&gt;Element_timer_conf.

   lo_nd_timer_conf = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_timer_conf ).

   lo_el_timer_conf = lo_nd_timer_conf-&gt;get_element( ).

   lo_el_timer_conf-&gt;get_static_attributes(

     IMPORTING

       static_attributes = ls_timer_conf ).

*--------------------- CW READ/SET(TIMER_CONF)------------------------------------



  ls_timer_conf-refresh_rate = ls_timer_conf-medium_speed.

  lo_el_timer_conf-&gt;set_static_attributes( ls_timer_conf ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0" IS_INTF_ITEM="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="SET_TIMER_SLOW" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="SET_TIMER_SLOW" CODE_BODY="method SET_TIMER_SLOW .

*--------------------- CW READ/SET(TIMER_CONF)------------------------------------

   DATA lo_nd_timer_conf TYPE REF TO if_wd_context_node.

   DATA lo_el_timer_conf TYPE REF TO if_wd_context_element.

   DATA ls_timer_conf TYPE wd_this-&gt;Element_timer_conf.

   lo_nd_timer_conf = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_timer_conf ).

   lo_el_timer_conf = lo_nd_timer_conf-&gt;get_element( ).

   lo_el_timer_conf-&gt;get_static_attributes(

     IMPORTING

       static_attributes = ls_timer_conf ).

*--------------------- CW READ/SET(TIMER_CONF)------------------------------------



  ls_timer_conf-refresh_rate = ls_timer_conf-slow_speed.

  lo_el_timer_conf-&gt;set_static_attributes( ls_timer_conf ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0" IS_INTF_ITEM="X"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOAPPLICATIONSTATECHANGE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOAPPLICATIONSTATECHANGE" CODE_BODY="method WDDOAPPLICATIONSTATECHANGE .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOBEFORENAVIGATION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOBEFORENAVIGATION" CODE_BODY="method WDDOBEFORENAVIGATION .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOEXIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOEXIT" CODE_BODY="method WDDOEXIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY="method WDDOINIT .

**** init msg man ref ***** ************************** **************************



  DATA lo_api_controller TYPE REF TO if_wd_controller.

  lo_api_controller ?= wd_this-&gt;wd_get_api( ).



  wd_this-&gt;mr_msg_man = lo_api_controller-&gt;get_message_manager( ).

*************************** ************************** **************************

    CREATE DATA wd_this-&gt;mr_ga.

    CREATE DATA wd_this-&gt;mr_gs.

************************** ************************** **************************

   wd_this-&gt;PREFILL_TIMER_CONTEXT( ).



************************** ************************** **************************

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOPOSTPROCESSING" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOPOSTPROCESSING" CODE_BODY="method WDDOPOSTPROCESSING .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="AUTH" LANGU="C" DESCRIPTION="parametru aplikacie v kontexte uziv. parm."/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_ERROR" LANGU="C" DESCRIPTION="0-&gt;bez chyb, 1 ... N rozne chyby"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_STATE" LANGU="C" DESCRIPTION="1-&gt;prvy riadok,2-&gt; druhy riadok, 3-&gt; oba riadky spravne"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_TYPE" LANGU="C" DESCRIPTION="2,20 -&gt;riadeny  sklad (na 1,2 riadku) 3,30-&gt; neriadeny sklad"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="REFRESH_PAGE" LANGU="C" DESCRIPTION="Obsluzna funkcia casovaca"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="SET_TIMER_FAST" LANGU="C" DESCRIPTION="Nastavi casovac na vysoku rychlost (nizka obnovovacia doba)"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="SET_TIMER_MEDIUM" LANGU="C" DESCRIPTION="Nastavi casovac na strednu rychlost"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOAPPLICATIONSTATECHANGE" LANGU="C" DESCRIPTION="Handling for Suspending and Resuming an Application"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOBEFORENAVIGATION" LANGU="C" DESCRIPTION="Error Handling Before Navigation Through Application"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOPOSTPROCESSING" LANGU="C" DESCRIPTION="Prepare Output"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="AUTH" PARAMETER_NAME="PARID" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="MEMORYID" DISPLAY_NAME="PARID"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="AUTH" PARAMETER_NAME="PARVA" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="XUVALUE" DISPLAY_NAME="PARVA"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="AUTH" PARAMETER_NAME="SET_BACK" VERSION="I" PARAM_POSITION="3 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="BOOL" DISPLAY_NAME="SET_BACK" OPTIONAL="X"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="AUTH" PARAMETER_NAME="SET_ERROR" VERSION="I" PARAM_POSITION="4 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="BOOL" DISPLAY_NAME="SET_ERROR" OPTIONAL="X"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MESSAGE" PARAMETER_NAME="TYPE" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="SY-MSGTY" DISPLAY_NAME="TYPE" OPTIONAL="X"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOAPPLICATIONSTATECHANGE" PARAMETER_NAME="STATE_CHANGE" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_APPLICATION_STATE_CHANGE" DISPLAY_NAME="STATE_CHANGE"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOBEFORENAVIGATION" PARAMETER_NAME="IS_CURRENT_ROOT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="WDY_BOOLEAN" DISPLAY_NAME="IS_CURRENT_ROOT"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOEXIT" PARAMETER_NAME="REASON" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="WDR_APPL_EXIT_REASON" DISPLAY_NAME="REASON"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOPOSTPROCESSING" PARAMETER_NAME="IS_CURRENT_ROOT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="WDY_BOOLEAN" DISPLAY_NAME="IS_CURRENT_ROOT"/>
  <wdy_ctlr_paramt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" LANGU="C" CMPNAME="AUTH" PARAMETER_NAME="SET_BACK" DESCRIPTION="Vratenie o view v pripade chybajuceho parametru"/>
  <wdy_ctlr_paramt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" LANGU="C" CMPNAME="AUTH" PARAMETER_NAME="SET_ERROR" DESCRIPTION="Nastavenie globalnej chyby v aplikacii"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="CONTEXT" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" NODE_POSITION="0 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="CONTEXT" ABAP_TYPING="0" INIT_LEAD_SELECT="X" IS_INTF_ITEM="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="GL_APP_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="GL_APP_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="3 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ZMC_G2" ABAP_TYPING="0" DISPLAY_NAME="GA" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="ZMC_G1" ABAP_TYPING="0" DISPLAY_NAME="GS" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GT" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="ZMC_G3" ABAP_TYPING="0" DISPLAY_NAME="GT" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="WM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="WM" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="AUFNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AUFNR" ABAP_TYPING="0" DISPLAY_NAME="AUFNR" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="8 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="12 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="9 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG1" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="11 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG2" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="13 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="14 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="10 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MAKTX" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="MAKTX" ABAP_TYPING="0" DISPLAY_NAME="MAKTX" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MATNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="MATNR" ABAP_TYPING="0" DISPLAY_NAME="MATNR" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MEINS1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="CHAR3" ABAP_TYPING="0" DISPLAY_NAME="MEINS1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MENGE1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="6 " ABAP_TYPE="MENGE1" ABAP_TYPING="0" DISPLAY_NAME="MENGE1" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="WERKS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="7 " ABAP_TYPE="WERKS_D" ABAP_TYPING="0" DISPLAY_NAME="WERKS" VALUE_HELP_ID="AUTO:H_T001W_C" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MAX_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " READ_ONLY="X" DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MAX_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MEDIUM_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " READ_ONLY="X" DEFAULT_VALUE="10" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MEDIUM_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="SLOW_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " READ_ONLY="X" DEFAULT_VALUE="100" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="SLOW_SPEED" VALUE_HELP_MODE="0"/>
 </controller_definition>
 <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="EMPTYVIEW" VERSION="A" CONTROLLER_TYPE="01" DISPLAY_NAME="EMPTYVIEW" AUTHOR="CZMICYP" CREATEDON="20131113" CHANGEDON="00000000"/>
 <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" VERSION="A" CONTROLLER_TYPE="01" CONTEXT="CONTEXT" DISPLAY_NAME="VIEW1" AUTHOR="CZMICYP" CREATEDON="20131113" CHANGEDBY="CZMICYP" CHANGEDON="20140822">
  <wdy_controllert COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" LANGU="C" DESCRIPTION="Pijem k výrobní zakázce."/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="AUFNR_CHECK" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="AUFNR_CHECK" CODE_BODY="method AUFNR_CHECK .



   DATA ls_gl_app_data      TYPE wd_this-&gt;Element_gl_app_data.

   DATA lv_ga               TYPE wd_this-&gt;Element_gl_app_data-ga.



   DATA lo_nd_gl_app_data   TYPE REF TO if_wd_context_node.

   DATA lo_el_gl_app_data   TYPE REF TO if_wd_context_element.





*  navigate from &lt;CONTEXT&gt; to &lt;GL_APP_DATA&gt; via lead selection

   lo_nd_gl_app_data = wd_context-&gt;get_child_node( name =

wd_this-&gt;wdctx_gl_app_data ).

*  get element via lead selection

   lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).



*  get single attribute

   lo_el_gl_app_data-&gt;get_attribute(

     EXPORTING

       name =  `GA`

     IMPORTING

       value = lv_ga ).



   &quot;input param pass to global structure

   lv_ga-aufnr = aufnr.





  CALL FUNCTION &apos;ZMC_CHECK_AUFNR&apos;

       IMPORTING

            werks      = lv_ga-werks

            lgort      = lv_ga-lgort

            erfme      = lv_ga-erfme

            erfmg      = lv_ga-erfmg

            matnr      = lv_ga-matnr

            maktx      = lv_ga-maktx

            sobkz      = lv_ga-sobkz

            sonum      = lv_ga-sonum

            anzsn      = lv_ga-anzsn

            sern       = lv_ga-sern[]

       CHANGING

            aufnr      = lv_ga-aufnr

       EXCEPTIONS

            init_aufnr = 1

            header_err = 2

            item_err   = 3

            OTHERS     = 4.



  IF sy-subrc &lt;&gt; 0.

    WD_COMP_CONTROLLER-&gt;message( type = sy-msgty ).

    wd_comp_controller-&gt;set_timer_fast( ).

    IF sy-subrc EQ 1. EXIT. ENDIF.





  ELSE.

    &quot;save new aufnr to gs

    lo_el_gl_app_data-&gt;SET_ATTRIBUTE(

     NAME  = &apos;GA&apos;

     VALUE = lv_ga

    ).



    WD_COMP_CONTROLLER-&gt;mr_ga-&gt;* = lv_ga.



    &quot;change the view

    wd_this-&gt;fire_to_view2_plg( ).





  ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="BUTTON_PUSHED" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="BUTTON_PUSHED" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="HANDLEFROM_VIEW2" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW1" REF_PLUG_NAME="FROM_VIEW2" DISPLAY_NAME="HANDLEFROM_VIEW2" CODE_BODY="method HANDLEFROM_VIEW2 .

    wd_this-&gt;inplug_handle( CLEAR = &apos;&apos;).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="HANDLEFROM_VIEW3" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW1" REF_PLUG_NAME="FROM_VIEW3" DISPLAY_NAME="HANDLEFROM_VIEW3" CODE_BODY="method HANDLEFROM_VIEW3 .

      wd_this-&gt;inplug_handle( CLEAR = &apos;X&apos;).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="INPLUG_HANDLE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="INPLUG_HANDLE" CODE_BODY="method INPLUG_HANDLE .





  IF clear eq &apos;X&apos;.

*----------------CW SET(IN_DATA.AUFNR)----------------------

   DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

   DATA lo_el_in_data TYPE REF TO if_wd_context_element.

   DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

   DATA lv_aufnr TYPE wd_this-&gt;Element_in_data-aufnr.

   lo_nd_in_data = wd_context-&gt;get_child_node( name =

wd_this-&gt;wdctx_in_data ).

   lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

   lo_el_in_data-&gt;set_attribute(

     EXPORTING

       name =  `AUFNR`

       value = lv_aufnr ).

*----------------CW SET(IN_DATA.AUFNR)----------------------

  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ONACTIONBUTTON_PUSHED" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW1" REF_CMPNAME="BUTTON_PUSHED" DISPLAY_NAME="ONACTIONBUTTON_PUSHED" CODE_BODY="method ONACTIONBUTTON_PUSHED .

  wd_this-&gt;ONACTIONUSER_INTERACT( wdevent = wdevent ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ONACTIONON_MENU" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW1" REF_CMPNAME="ON_MENU" DISPLAY_NAME="ONACTIONON_MENU" CODE_BODY="method ONACTIONON_MENU .

  DATA lr_ref TYPE REF TO ig_ZMC_PRIJEM_K_VZ.

     lr_ref = wd_this-&gt;get_ZMC_PRIJEM_K_VZ_ctr( ).

     lr_ref-&gt;fire_to_menu_plg( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ONACTIONTIMER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW1" REF_CMPNAME="TIMER" DISPLAY_NAME="ONACTIONTIMER" CODE_BODY="method ONACTIONTIMER .

  wd_this-&gt;refresh_page( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ONACTIONUSER_INTERACT" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW1" REF_CMPNAME="USER_INTERACT" DISPLAY_NAME="ONACTIONUSER_INTERACT" CODE_BODY="method ONACTIONUSER_INTERACT .

  DATA lo_nd_in_data TYPE REF TO if_wd_context_node.



  DATA lo_el_in_data TYPE REF TO if_wd_context_element.

  DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

  DATA lv_aufnr TYPE wd_this-&gt;Element_in_data-aufnr.



* navigate from &lt;CONTEXT&gt; to &lt;IN_DATA&gt; via lead selection

  lo_nd_in_data = wd_context-&gt;get_child_node( name =

wd_this-&gt;wdctx_in_data ).

* get element via lead selection

  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

* @TODO handle not set lead selection

  IF lo_el_in_data IS INITIAL.

  ENDIF.



* get single attribute

  lo_el_in_data-&gt;get_attribute(

    EXPORTING

      name =  `AUFNR`

    IMPORTING

      value = lv_aufnr ).



wd_this-&gt;AUFNR_CHECK( aufnr = lv_aufnr ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="ON_MENU" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="ON_MENU" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="PREFILL" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="PREFILL" CODE_BODY="method PREFILL .

**

DATA lo_nd_gl_app_data TYPE REF TO if_wd_context_node.

DATA lo_el_gl_app_data TYPE REF TO if_wd_context_element.

DATA ls_gl_app_data TYPE wd_this-&gt;Element_gl_app_data.

DATA lv_ga TYPE wd_this-&gt;Element_gl_app_data-ga.

lo_nd_gl_app_data = wd_context-&gt;get_child_node( name =

wd_this-&gt;wdctx_gl_app_data ).

lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).

**

DATA lv_werks TYPE werks.

DATA lv_lgort TYPE lgort_d.

DATA lv_lgnum TYPE lgnum.



&quot;nacitanie aktualnych hodnot

  lo_el_gl_app_data-&gt;get_attribute(

    EXPORTING

      name =  `GA`

    IMPORTING

      value = lv_ga ).



CALL FUNCTION &apos;ZMC_PREFILL_V2&apos;

 IMPORTING

   werks = lv_werks

   lgort = lv_lgort

   lgnum = lv_lgnum

 EXCEPTIONS

   WERKS_MISSING = 1

   LGORT_MISSING = 2

   LGNUM_MISSING = 3

   OTHER         = 4.



  IF sy-subrc NE 0 and

     sy-subrc NE 3.

   wd_comp_controller-&gt;mv_auth = &apos;X&apos;.

   wd_this-&gt;raise_error( ).

 ELSE.

   move:

    lv_werks to lv_ga-werks,

    lv_lgnum to lv_ga-lgnum,

    lv_lgort to lv_ga-lgort.



   lo_el_gl_app_data-&gt;set_attribute(

    name =  `GA`

    value = lv_ga ).

ENDIF.





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="RAISE_ERROR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="RAISE_ERROR" CODE_BODY="method RAISE_ERROR .

  IF auth eq &apos;X&apos;.

    wd_comp_controller-&gt;mv_auth = &apos;X&apos;.

  ENDIF.

     wd_comp_controller-&gt;message( ).

*     wd_comp_controller-&gt;mv_error = &apos;X&apos;.

     wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="REFRESH_PAGE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="REFRESH_PAGE" CODE_BODY="method REFRESH_PAGE .

  if wd_comp_controller-&gt;mv_auth eq &apos;X&apos;.

    clear wd_comp_controller-&gt;mv_auth.

    DATA lr_ref TYPE REF TO ig_ZMC_PRIJEM_K_VZ.

     lr_ref = wd_this-&gt;get_ZMC_PRIJEM_K_VZ_ctr( ).

     lr_ref-&gt;fire_to_menu_plg( ).

  endif.



  wd_comp_controller-&gt;refresh_page( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="TIMER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="TIMER" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="USER_INTERACT" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="USER_INTERACT" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOAFTERACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOAFTERACTION" CODE_BODY="method WDDOAFTERACTION .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOBEFOREACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOBEFOREACTION" CODE_BODY="method WDDOBEFOREACTION .

*  data lo_api_controller type ref to if_wd_view_controller.

*  data lo_action         type ref to if_wd_action.



*  lo_api_controller = wd_this-&gt;wd_get_api( ).

*  lo_action = lo_api_controller-&gt;get_current_action( ).



*  if lo_action is bound.

*    case lo_action-&gt;name.

*      when &apos;...&apos;.



*    endcase.

*  endif.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOEXIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOEXIT" CODE_BODY="method WDDOEXIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY="method WDDOINIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOMODIFYVIEW" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOMODIFYVIEW" CODE_BODY="method WDDOMODIFYVIEW .





    wd_this-&gt;prefill( ).

&quot;   initial focus set on input field IP1

    data itm type ref to cl_wd_input_field.

    itm ?= view-&gt;get_element( &apos;IF_AUFNR&apos; ).

    CHECK itm is NOT INITIAL.



     CALL METHOD VIEW-&gt;REQUEST_FOCUS_ON_VIEW_ELEM

      EXPORTING VIEW_ELEMENT    =  itm.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONCONTEXTMENU" CODE_BODY="method WDDOONCONTEXTMENU .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOAFTERACTION" LANGU="C" DESCRIPTION="Method for non-action specific operations before navigation"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOBEFOREACTION" LANGU="C" DESCRIPTION="Method for Validation of User Input"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOMODIFYVIEW" LANGU="C" DESCRIPTION="Method for Modifying the View Before Rendering"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" LANGU="C" DESCRIPTION="Method for Modifying the Context Menu"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="AUFNR_CHECK" PARAMETER_NAME="AUFNR" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="AUFNR" DISPLAY_NAME="AUFNR"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="INPLUG_HANDLE" PARAMETER_NAME="CLEAR" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="BOOL" DISPLAY_NAME="CLEAR"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="RAISE_ERROR" PARAMETER_NAME="AUTH" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="C" DISPLAY_NAME="AUTH" OPTIONAL="X"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="FIRST_TIME" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="WDY_BOOLEAN" DISPLAY_NAME="FIRST_TIME"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="VIEW" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_VIEW" DISPLAY_NAME="VIEW"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_EVENT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_EVENT" DISPLAY_NAME="CONTEXT_MENU_EVENT"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_MANAGER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_MANAGER" DISPLAY_NAME="CONTEXT_MENU_MANAGER"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="MENU" VERSION="I" PARAM_POSITION="3 " DECLARATION_TYPE="3" ABAP_TYPING="1" ABAP_TYPE="CL_WD_MENU" DISPLAY_NAME="MENU"/>
  <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4VUU5O5CZICBP5HMLTQWP42ZZ" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
  <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4WZ06GWSI3ZE9FNZTCOK2SPBJ" VERSION="I" USED_CONTROLLER="ZMC_PRIJEM_K_VZ"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="CONTEXT" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" NODE_POSITION="0 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="CONTEXT" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="GL_APP_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="3 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ZMC_G2" ABAP_TYPING="0" DISPLAY_NAME="GA" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="ZMC_G1" ABAP_TYPING="0" DISPLAY_NAME="GS" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GT" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="ZMC_G3" ABAP_TYPING="0" DISPLAY_NAME="GT" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="WM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="WM" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="AUFNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AUFNR" ABAP_TYPING="0" DISPLAY_NAME="AUFNR" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MAX_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " READ_ONLY="X" DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MAX_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MEDIUM_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " READ_ONLY="X" DEFAULT_VALUE="10" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MEDIUM_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="SLOW_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " READ_ONLY="X" DEFAULT_VALUE="100" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="SLOW_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4VUU5O5CZICBP5HMLTQWP42ZZ" CTX_MAPP_NAME="4VVM98V4R9AXMMHTN7NMBHZJJ" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="GL_APP_DATA" MAP_NODE_NAME="GL_APP_DATA"/>
  <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4VUU5O5CZICBP5HMLTQWP42ZZ" CTX_MAPP_NAME="4VVM9CX2RIREGIRCQ2W3MJB5B" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="IN_DATA" MAP_NODE_NAME="IN_DATA"/>
  <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW1" CTLR_USAGE_NAME="4VUU5O5CZICBP5HMLTQWP42ZZ" CTX_MAPP_NAME="4WQASIAAP4VX43P7DP6L6ZBXR" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="TIMER_CONF" MAP_NODE_NAME="TIMER_CONF"/>
 </controller_definition>
 <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" VERSION="A" CONTROLLER_TYPE="01" CONTEXT="CONTEXT" DISPLAY_NAME="VIEW2" AUTHOR="CZMICYP" CREATEDON="20131115" CHANGEDBY="CZMICYP" CHANGEDON="20140825">
  <wdy_controllert COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" LANGU="C" DESCRIPTION="Pijem k výrobní zakázce."/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_LGORT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="AUTH_LGORT" CODE_BODY="method AUTH_LGORT .





  DATA lv_xuvalue TYPE xuvalue.

  MOVE is_mseg-lgort   TO lv_xuvalue.



  wd_comp_controller-&gt;auth(

    PARID     = &apos;ZRF_LGORT&apos;

    PARVA     = lv_xuvalue

    SET_BACK  = &apos;&apos;

    SET_ERROR = &apos;X&apos;

  ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_WERKS" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="AUTH_WERKS" CODE_BODY="method AUTH_WERKS .

  DATA ls_ga         TYPE zmc_g2 .

  ls_ga  = wd_comp_controller-&gt;mr_ga-&gt;*.



  DATA lv_xuvalue TYPE xuvalue.

  MOVE ls_ga-werks   TO lv_xuvalue.



  wd_comp_controller-&gt;auth(

    PARID = &apos;ZRF_WERKS&apos;

    PARVA = lv_xuvalue

    SET_BACK = &apos;X&apos;

  ).





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="BACK_TO_VIEW1" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="BACK_TO_VIEW1" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ERR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_ERR" CODE_BODY="method CHECK_ERR .

*-----------------------WIZZARD---------------------------

    DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

    DATA lo_el_in_data TYPE REF TO if_wd_context_element.

    DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

    lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

    lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*-----------------------------------------------------------



 &quot;NASTAVENIE ERROR HLASKY

*  msgid       = sy-msgid

*  msgty       = sy-msgty

*  msgno       = sy-msgno

 sy-msgty = &apos;E&apos;.

 sy-msgid = &apos;ZRF&apos;.

* sy-msgno = wd_comp_controller-&gt;mv_error.

* case wd_comp_controller-&gt;mv_error.



&quot;pristupovanie k chybam na zaklade

&quot;spravnosti vs. riadkov

CASE wd_comp_controller-&gt;mv_state.

  WHEN -1.&quot;VSETKO ZLE





    sy-msgno  = wd_comp_controller-&gt;mv_error mod 10.



    IF sy-msgno  eq 5.

      sy-msgno  = 15.

    ENDIF.





    lo_el_in_data-&gt;get_attribute(

      EXPORTING name =  `LGORT1`

      IMPORTING value = sy-msgv1 ).







  WHEN  1.

    sy-msgno = wd_comp_controller-&gt;mv_error.



  WHEN  2.

    sy-msgno = wd_comp_controller-&gt;mv_error .



    WHEN  3.

    &quot;OBA OK

ENDCASE.





  IF wd_comp_controller-&gt;mv_error ne 0.

    wd_comp_controller-&gt;message( ).

  ELSE.

    &quot;ziaden error -&gt; mozne pokracovat:

    &quot;1.&quot;vytvorenie materialoveho dokladu

    wd_this-&gt;MAKE_MD_BOTH( ).



  &quot;pri absencii riadeneho skladu sa neprechadza do view3

  &quot;pri chybe skladu sa neprechadza do view3

  IF wd_comp_controller-&gt;mv_type eq 3  or

     wd_comp_controller-&gt;mv_type eq 30 or

     wd_comp_controller-&gt;mv_type eq 33 or

     wd_comp_controller-&gt;mv_error ne 0.

    wd_this-&gt;fire_TO_VIEW1_plg( ).

  ELSE.

    &quot;2.Ak je treba, obrazovka WM

    wd_this-&gt;fire_TO_VIEW3_plg( ).

  ENDIF.



  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_QUANTITY" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_QUANTITY" CODE_BODY="method CHECK_QUANTITY .



*-----------code-wizzard-code---------------------------------------------*

    DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

    DATA lo_el_in_data TYPE REF TO if_wd_context_element.

    DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

    DATA lv_menge1 TYPE wd_this-&gt;Element_in_data-menge1.

    DATA lv_erfmg1 TYPE wd_this-&gt;Element_in_data-erfmg1.

    DATA lv_erfmg2 TYPE wd_this-&gt;Element_in_data-erfmg2.

    lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

    lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*-----------code-wizzard-code---------------------------------------------*

    lo_el_in_data-&gt;get_attribute(

      EXPORTING name =  `MENGE1`

      IMPORTING value = lv_menge1 ).



    lo_el_in_data-&gt;get_attribute(

      EXPORTING name =  `ERFMG1`

      IMPORTING value = lv_erfmg1 ).



    lo_el_in_data-&gt;get_attribute(

      EXPORTING name =  `ERFMG2`

      IMPORTING value = lv_erfmg2 ).





  DATA quant_set_by_user TYPE i.





    CASE wd_comp_controller-&gt;mv_state.

      WHEN 1.

        quant_set_by_user =  lv_erfmg1.

      WHEN 2.

        quant_set_by_user =  lv_erfmg2.

      WHEN 3.

        quant_set_by_user = lv_erfmg1 + lv_erfmg2.

      WHEN OTHERS.

        quant_set_by_user =  0.

    ENDCASE.







   if       quant_set_by_user gt lv_menge1.

     wd_comp_controller-&gt;mv_error = 10.

   elseif   quant_set_by_user lt 0.

     wd_comp_controller-&gt;mv_error = 9.

   endif.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ROW" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_ROW" CODE_BODY="method CHECK_ROW .

*

* kontrola spravnosti zadania jedneho riadku UI, tj LGORT a ERFMG

*

    DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

    DATA lo_el_in_data TYPE REF TO if_wd_context_element.

    DATA lv_multiplier TYPE i.

    DATA ls_in_data    TYPE wd_this-&gt;Element_in_data.

    DATA lv_lgort      TYPE wd_this-&gt;Element_in_data-lgort1.

    DATA lv_erfmg      TYPE wd_this-&gt;Element_in_data-erfmg1.

    DATA lv_lgnum      TYPE wd_this-&gt;Element_in_data-lgnum1.

    DATA lv_werks      TYPE wd_this-&gt;Element_in_data-werks.

    lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).



*   get element via lead selection

    lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*   get single attribute



  case ROW_NUMBER.



    WHEN 1.    &quot;layout elements: LGORT 11 ERFMG 12

      lo_el_in_data-&gt;get_attribute( EXPORTING name =  `LGORT1`

                                  IMPORTING value = lv_lgort ).

      lo_el_in_data-&gt;get_attribute( EXPORTING name =  `ERFMG1`

                                  IMPORTING value = lv_erfmg ).

      lv_multiplier = 1.

    WHEN 2.    &quot;layout elements: LGORT 21 ERFMG 22

      lo_el_in_data-&gt;get_attribute( EXPORTING name =  `LGORT2`

                                  IMPORTING value = lv_lgort ).

      lo_el_in_data-&gt;get_attribute( EXPORTING name =  `ERFMG2`

                                  IMPORTING value = lv_erfmg ).

      lv_multiplier = 10.

    WHEN OTHERS.

  ENDCASE.



    lo_el_in_data-&gt;get_attribute( EXPORTING name =  `WERKS`

                                  IMPORTING value = lv_werks  ).



    CALL FUNCTION &apos;ZMC_CHECK_LGORT&apos;

    EXPORTING

      werks       = lv_werks

      lgort       = lv_lgort

    IMPORTING

      lgnum       = lv_lgnum

*    CHANGING

*      gsys        = wd_comp_controller-&gt;MR_GS-&gt;*

    EXCEPTIONS

      empty_werks = 1

      empty_lgort = 2

      wrong_werks = 3

      wrong_lgort = 4

      OTHERS      = 5.

    IF sy-subrc &lt;&gt; 0.



        CHECK_RESULT = sy-subrc * lv_multiplier.

        &quot;chybova hlaska zobrazena kratko

        wd_comp_controller-&gt;set_timer_fast( ).

    ELSEIF lv_erfmg is INITIAL.



        CHECK_RESULT = 6        * lv_multiplier.&quot; chyba mnozstvo

    ELSE.

      IF lv_lgnum is NOT INITIAL .

      &quot; inkrement type o 2 odpoveda riadenemu skladu

      wd_comp_controller-&gt;mv_type = wd_comp_controller-&gt;mv_type + 2  * lv_multiplier.



      CASE row_number.

        WHEN 1.

          lo_el_in_data-&gt;set_attribute( EXPORTING value = lv_lgnum

                                                  name =  `LGNUM1`).

        WHEN 2.

          lo_el_in_data-&gt;set_attribute( EXPORTING value = lv_lgnum

                                                  name =  `LGNUM2`).



        WHEN OTHERS.

      ENDCASE.

    ELSE.

      &quot; inkrement type o 3 odpoveda neriadenemu skladu

      wd_comp_controller-&gt;mv_type = wd_comp_controller-&gt;mv_type + 3 * lv_multiplier.

    ENDIF.



    ENDIF.







endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_TYPE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_TYPE" CODE_BODY='method CHECK_TYPE .

*---------------------------wIZZard-----------------------------

    DATA lo_nd_gl_app_data TYPE REF TO if_wd_context_node.

    DATA lo_el_gl_app_data TYPE REF TO if_wd_context_element.

    DATA ls_gl_app_data TYPE wd_this-&gt;Element_gl_app_data.

    DATA lv_wm TYPE wd_this-&gt;Element_gl_app_data-wm.

    lo_nd_gl_app_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_gl_app_data ).

    lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).

*---------------------------wIZZard-----------------------------







*---------------------------------*

    &quot;RIADENY,WM   = 2 alebo 20

    &quot;NERIADENY,IM = 3 alebo 30

    &quot;RxN          = 23 alebo 32

    &quot;NxN          = 33

    &quot;ostatne zamietat

*---------------------------------*

    CASE wd_comp_controller-&gt;mv_type.

**    &quot;---------------

**    WHEN 2.&quot; riadeny

**    WHEN 20.&quot; riadeny

**

**    ---------------

**    WHEN 3.&quot; neriadeny &lt;&lt; debug only!!

**    WHEN 30.&quot; neriadeny&lt;&lt; debug only!!

**    ---------------

**    WHEN 23.&quot; RxN

**    WHEN 32.&quot; NxR

**    ---------------

**    WHEN 33.&quot; NxN

**    ---------------



      when 2 or 20 or 3 or 30 or

           23 or 32 or 33 .

        lo_el_gl_app_data-&gt;set_attribute( name =  `WM` value = ABAP_TRUE ).

    WHEN 22.

      wd_comp_controller-&gt;mv_error = 8.

    &quot;---------------

    WHEN OTHERS.&quot; neznama kombinacia

      wd_comp_controller-&gt;mv_error = 9.

  ENDCASE.



endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ERFMG12_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="ERFMG12_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ERFMG22_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="ERFMG22_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="HANDLEFROM_VIEW1" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW2" REF_PLUG_NAME="FROM_VIEW1" DISPLAY_NAME="HANDLEFROM_VIEW1" CODE_BODY="method HANDLEFROM_VIEW1 .

wd_this-&gt;AUTH_WERKS( ).



IF wd_comp_controller-&gt;mv_auth eq &apos;&apos;.

  wd_this-&gt;SET_INPUT_FROM_GS( ).

ENDIF.





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="HANDLEFROM_VIEW3" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW2" REF_PLUG_NAME="FROM_VIEW3" DISPLAY_NAME="HANDLEFROM_VIEW3" CODE_BODY="method HANDLEFROM_VIEW3 .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="LGORT11_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="LGORT11_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="LGORT21_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="LGORT21_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="MAKE_MD_BOTH" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MAKE_MD_BOTH" CODE_BODY="method MAKE_MD_BOTH .

*-----------code-wizzard-code---------------------------------------------*

    DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

    DATA le_in_data TYPE REF TO if_wd_context_element.

    DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

    lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

    le_in_data = lo_nd_in_data-&gt;get_element( ).

*-----------code-wizzard-code---------------------------------------------*

    DATA lv_iterations TYPE i VALUE 1.

    DATA lt_ltap TYPE zmc_t_ltap. &quot;data tables

    DATA wa_ltap TYPE zmc_s_ltap.

    DATA lt_mseg TYPE table of zmc_bc_s_mseg.

    DATA wa_mseg TYPE zmc_bc_s_mseg.

    DATA lv_lgnum TYPE lgnum.

    DATA xnapr TYPE xnapr.





    CONSTANTS:

      PRVY_RIADOK_VSTUPU  TYPE i VALUE  1,

      DRUHY_RIADOK_VSTUPU TYPE i VALUE  2,

      OBA_RIADKY_VSTUPU   TYPE i VALUE  3.

**MSEG HEADER

*    wa_mseg-umlgo = gd-umlgo.

*    wa_mseg-charg = gd-charg. &quot;sarze - stara

*    wa_mseg-sobkz = gd-sobkz.

*    wa_mseg-kdauf = gd-kdauf.

*    wa_mseg-kdpos = gd-kdpos.

*    wa_mseg-lifnr = gd-lifnr.

*wa_mseg-ps_psp_pnr = gd-ps_psp_pnr.



    le_in_data-&gt;get_attribute(

      EXPORTING name =  `AUFNR`

      IMPORTING value = wa_mseg-aufnr ).

&quot;wa_mseg-matnr = gd-matnr.

    le_in_data-&gt;get_attribute(

      EXPORTING name =  `MATNR`

      IMPORTING value = wa_mseg-matnr ).

    &quot;wa_mseg-werks = gd-werks.

    le_in_data-&gt;get_attribute(

      EXPORTING name =  `WERKS`

      IMPORTING value = wa_mseg-werks ).



*     wd_comp_controller-&gt;mv_type.

*---------------------------------

*     2 riadeny sklad, prvy riadok

*    20 riadeny sklad, druy riadok

*     3 neriadeny skl, prvy riadok

*    30 neriadeny skl, druhy riadok

*---------------------------------

CASE wd_comp_controller-&gt;mv_state.

  WHEN PRVY_RIADOK_VSTUPU.

      &quot;wa_mseg-meins = gd-meins.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `MEINS1`

        IMPORTING value = wa_mseg-MEINS ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGORT1`

        IMPORTING value = wa_mseg-LGORT ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `ERFMG1`

        IMPORTING value = wa_mseg-MENGE ).



    IF wd_comp_controller-&gt;mv_type eq 2.

        le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGNUM1`

        IMPORTING value = lv_lgnum ).



      wa_mseg-umlgo = lv_lgnum.

    ENDIF.

    APPEND wa_mseg to lt_mseg.

    clear wa_mseg-umlgo.



  WHEN DRUHY_RIADOK_VSTUPU.

          &quot;wa_mseg-meins = gd-meins.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `MEINS1`

        IMPORTING value = wa_mseg-MEINS ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGORT2`

        IMPORTING value = wa_mseg-LGORT ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `ERFMG2`

        IMPORTING value = wa_mseg-MENGE ).



    IF wd_comp_controller-&gt;mv_type eq 20.

        le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGNUM2`

        IMPORTING value = lv_lgnum ).



      wa_mseg-umlgo = lv_lgnum.

    ENDIF.



    APPEND wa_mseg to lt_mseg.

    clear wa_mseg-umlgo.

  WHEN OBA_RIADKY_VSTUPU.

      &quot;wa_mseg-meins = gd-meins.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `MEINS1`

        IMPORTING value = wa_mseg-MEINS ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGORT1`

        IMPORTING value = wa_mseg-LGORT ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `ERFMG1`

        IMPORTING value = wa_mseg-MENGE ).



    IF wd_comp_controller-&gt;mv_state eq 32.

        le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGNUM1`

        IMPORTING value = lv_lgnum ).



      wa_mseg-umlgo = lv_lgnum.

    ENDIF.

    APPEND wa_mseg to lt_mseg.

    clear wa_mseg-umlgo.

*    /-/-/-/-/-/-/-/-/-/-/-/-/-/

              &quot;wa_mseg-meins = gd-meins.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `MEINS1`

        IMPORTING value = wa_mseg-MEINS ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGORT2`

        IMPORTING value = wa_mseg-LGORT ).



      &quot;wa_mseg-lgort = gd-lgort.

      le_in_data-&gt;get_attribute(

        EXPORTING name =  `ERFMG2`

        IMPORTING value = wa_mseg-MENGE ).



    IF wd_comp_controller-&gt;mv_type eq 23.

        le_in_data-&gt;get_attribute(

        EXPORTING name =  `LGNUM2`

        IMPORTING value = lv_lgnum ).



      wa_mseg-umlgo = lv_lgnum.

    ENDIF.

    APPEND wa_mseg to lt_mseg.

    clear wa_mseg-umlgo.





ENDCASE.



&quot;+autentizacia parametrov

LOOP AT lt_mseg INTO wa_mseg.

 wd_this-&gt;auth_lgort( wa_mseg ).

ENDLOOP.



IF wd_comp_controller-&gt;mv_error eq 0.

  CALL FUNCTION &apos;ZMC_SAVE_MSEG&apos;

  EXPORTING

*/************************************

*WM navyse:

    lgnum       = lv_lgnum

    bwlvs       = &apos;103&apos;

    squit       = &apos;X&apos;

    nidru       = &apos;X&apos;

    betyp       = &apos;F&apos;

    benum       = wa_mseg-aufnr+2(10)

    drukz       = &apos;02&apos;

*/************************************

    aufnr       = wa_mseg-aufnr

    uname       = sy-uname

    gm_code     = &apos;02&apos;

    bwart       = &apos;101&apos;

    kzbew       = &apos;F&apos;

    xnapr       = xnapr

  TABLES

    it_mseg     = lt_mseg

    it_ltap     = lt_ltap

  EXCEPTIONS

    mat_doc_err = 1

    wm_doc_err  = 2

    OTHERS      = 3.



  IF sy-subrc ne 0.

    wd_comp_controller-&gt;mv_error = sy-subrc.

  ENDIF.

    wd_comp_controller-&gt;message( ).



ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="MV_CURSOR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="MV_CURSOR" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONBACK_TO_VIEW1" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="BACK_TO_VIEW1" DISPLAY_NAME="ONACTIONBACK_TO_VIEW1" CODE_BODY="method ONACTIONBACK_TO_VIEW1 .

     wd_this-&gt;fire_to_view1_plg( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONERFMG12_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="ERFMG12_ON_ENTER" DISPLAY_NAME="ONACTIONERFMG12_ON_ENTER" CODE_BODY="method ONACTIONERFMG12_ON_ENTER .

  wd_this-&gt;ONACTIONSAVE( WDEVENT ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONERFMG22_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="ERFMG22_ON_ENTER" DISPLAY_NAME="ONACTIONERFMG22_ON_ENTER" CODE_BODY="method ONACTIONERFMG22_ON_ENTER .

 wd_this-&gt;ONACTIONSAVE( WDEVENT ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONLGORT11_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="LGORT11_ON_ENTER" DISPLAY_NAME="ONACTIONLGORT11_ON_ENTER" CODE_BODY="method ONACTIONLGORT11_ON_ENTER .

wd_this-&gt;ONACTIONSAVE( WDEVENT ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONLGORT21_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="LGORT21_ON_ENTER" DISPLAY_NAME="ONACTIONLGORT21_ON_ENTER" CODE_BODY="method ONACTIONLGORT21_ON_ENTER .

 wd_this-&gt;ONACTIONSAVE( WDEVENT ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONSAVE" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="SAVE" DISPLAY_NAME="ONACTIONSAVE" CODE_BODY='method ONACTIONSAVE .



 DATA RET1 TYPE I.

 DATA RET2 TYPE I.

 clear: wd_comp_controller-&gt;mv_state,

        wd_comp_controller-&gt;mv_error,

        wd_comp_controller-&gt;mv_type.





 RET1 = wd_this-&gt;check_row( 1 ).

 RET2 = wd_this-&gt;check_row( 2 ).



 IF ( RET1 eq 0 or RET2 eq 0 ).

   wd_comp_controller-&gt;mv_error = 0.&quot;aspon jeden s riadkov OK

   IF     RET1 lt RET2.

     wd_comp_controller-&gt;mv_state = 1. &quot; prvy OK

   ELSEIF RET1 gt RET2.

     wd_comp_controller-&gt;mv_state = 2. &quot; druhy OK

   ELSE. &quot;RET1 eq RET2.

     wd_comp_controller-&gt;mv_state = 3. &quot; oba OK

   ENDIF.

 ELSE.

   wd_comp_controller-&gt;mv_state = -1. &quot; oba riadky zle

   wd_comp_controller-&gt;mv_error = RET1 + RET2.

 ENDIF.

 &quot;test bezchybnosti v aktualnom kroku, kontroly typu

 IF wd_comp_controller-&gt;mv_error eq 0.

   wd_this-&gt;CHECK_TYPE( ).

 ENDIF.

 &quot;test bezchybnosti v aktualnom kroku, kontroly mnozstva

 IF wd_comp_controller-&gt;mv_error eq 0.

   wd_this-&gt;CHECK_QUANTITY( ).

 ENDIF.

* check metody nastavuju err atribut,

* na zaver sa kontroluje jeho hodnota

 wd_this-&gt;CHECK_ERR(  ).







endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="ONACTIONTIMER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW2" REF_CMPNAME="TIMER" DISPLAY_NAME="ONACTIONTIMER" CODE_BODY="method ONACTIONTIMER .

  wd_this-&gt;refresh_page( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="REFRESH_PAGE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="REFRESH_PAGE" CODE_BODY="method REFRESH_PAGE .

  &quot;osetrenie pre cely comp controller

  wd_comp_controller-&gt;refresh_page( ).



  &quot;vlastne osetrenie casovaca

  IF wd_comp_controller-&gt;mv_auth eq &apos;X&apos;.

    clear wd_comp_controller-&gt;mv_auth.

    wd_this-&gt;fire_to_view1_plg( ).



  ENDIF.

  .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="SAVE" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="SAVE" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="SET_INPUT_FROM_GS" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="SET_INPUT_FROM_GS" CODE_BODY='method SET_INPUT_FROM_GS .

*---------------------WIZZARD--------------------------------

  DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

  DATA lo_el_in_data TYPE REF TO if_wd_context_element.

  DATA ls_in_data    TYPE wd_this-&gt;Element_in_data.

  DATA lv_gamng      TYPE gamng.

  DATA ls_ga         TYPE zmc_g2 .

  lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

  ls_ga  = wd_comp_controller-&gt;mr_ga-&gt;*.

  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*---------------------WIZZARD--------------------------------

    lo_el_in_data-&gt;set_attribute(

    name =  `MAKTX`

    value = ls_ga-maktx ).



  lo_el_in_data-&gt;set_attribute(

    name =  `MATNR`

    value = ls_ga-matnr ).



  SELECT SINGLE werks

    INTO ls_ga-werks

    from aufk

    WHERE AUFNR = ls_ga-aufnr.



SELECT single gamng

  from afko

  into lv_gamng

  where aufnr eq ls_ga-aufnr.



  move lv_gamng to ls_ga-MENGE1.



&quot;predvyplnanie skladu z VZ

SELECT SINGLE lgort

  FROM afpo

  into ls_ga-lgort

  WHERE aufnr eq ls_ga-aufnr.



  lo_el_in_data-&gt;set_attribute(

    name =  `LGORT1`

    value = ls_ga-lgort ).

&quot;predvyplnanie skladu z VZ







* set single attribute

  lo_el_in_data-&gt;set_attribute(

    name =  `MENGE1`

    value = ls_ga-MENGE1 ).



lo_el_in_data-&gt;set_attribute(

    name =  `WERKS`

    value = ls_ga-werks ).





lo_el_in_data-&gt;set_attribute(

    name =  `ERFMG1`

    value = ls_ga-MENGE1 ).



lo_el_in_data-&gt;set_attribute(

    name =  `ERFMG2`

    value = 0 ).



* set single attribute

  lo_el_in_data-&gt;set_attribute(

    name =  `ERFME1`

    value = ls_ga-ERFME ).



* set single attribute

  lo_el_in_data-&gt;set_attribute(

    name =  `ERFME2`

    value = ls_ga-ERFME ).

endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="TIMER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="TIMER" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOAFTERACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOAFTERACTION" CODE_BODY="method WDDOAFTERACTION .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOBEFOREACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOBEFOREACTION" CODE_BODY="method WDDOBEFOREACTION .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOEXIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOEXIT" CODE_BODY="method WDDOEXIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY='method WDDOINIT .

  wd_this-&gt;MV_CURSOR = 11.&quot;riadok,stlpec inicializovaneho kurzoru

endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOMODIFYVIEW" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOMODIFYVIEW" CODE_BODY="method WDDOMODIFYVIEW .

  &quot;   initial focus set on input field IP1

    data itm type ref to cl_wd_input_field.

    data ename type string.

    &quot;nastavenie kurzoru podla stavu okna

    CASE wd_this-&gt;MV_CURSOR.



      WHEN 11.

        ename = &apos;LGORT11&apos;.

      WHEN 12.

        ename = &apos;ERFMG12&apos;.

      WHEN 21.

        ename = &apos;LGORT21&apos; .

      WHEN 22.

        ename = &apos;ERFMG22&apos; .

      WHEN OTHERS.

    ENDCASE.

    itm ?= view-&gt;get_element( ename ).

    CHECK itm is NOT INITIAL.

*

     CALL METHOD VIEW-&gt;REQUEST_FOCUS_ON_VIEW_ELEM

      EXPORTING VIEW_ELEMENT    =  itm.

      itm-&gt;FOCUS( ).





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONCONTEXTMENU" CODE_BODY="method WDDOONCONTEXTMENU .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_LGORT" LANGU="C" DESCRIPTION="Autorizacia zadaneho skladu v kontexte uziv. parm."/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_WERKS" LANGU="C" DESCRIPTION="autorizacia zavodu VZ v kontexte uziv. parm."/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ERR" LANGU="C" DESCRIPTION="checks actuall error"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_QUANTITY" LANGU="C" DESCRIPTION="controls inserted quantity"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ROW" LANGU="C" DESCRIPTION="checks row of UI"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_TYPE" LANGU="C" DESCRIPTION="checks combination of given warehouses"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="MAKE_MD_BOTH" LANGU="C" DESCRIPTION="vytvara jeden materialovy doklad pre IM a WM"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="MV_CURSOR" LANGU="C" DESCRIPTION="umiestnenie kurzora"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="SET_INPUT_FROM_GS" LANGU="C" DESCRIPTION="presun dat z ukazatela do kontextu"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOAFTERACTION" LANGU="C" DESCRIPTION="Method for non-action specific operations before navigation"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOBEFOREACTION" LANGU="C" DESCRIPTION="Method for Validation of User Input"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOMODIFYVIEW" LANGU="C" DESCRIPTION="Method for Modifying the View Before Rendering"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" LANGU="C" DESCRIPTION="Method for Modifying the Context Menu"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="AUTH_LGORT" PARAMETER_NAME="IS_MSEG" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="ZMC_BC_S_MSEG" DISPLAY_NAME="IS_MSEG"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ROW" PARAMETER_NAME="CHECK_RESULT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="3" ABAP_TYPING="0" ABAP_TYPE="I" DISPLAY_NAME="CHECK_RESULT"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="CHECK_ROW" PARAMETER_NAME="ROW_NUMBER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I" DISPLAY_NAME="ROW_NUMBER"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="FIRST_TIME" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="WDY_BOOLEAN" DISPLAY_NAME="FIRST_TIME"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="VIEW" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_VIEW" DISPLAY_NAME="VIEW"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_EVENT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_EVENT" DISPLAY_NAME="CONTEXT_MENU_EVENT"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_MANAGER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_MANAGER" DISPLAY_NAME="CONTEXT_MENU_MANAGER"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="MENU" VERSION="I" PARAM_POSITION="3 " DECLARATION_TYPE="3" ABAP_TYPING="1" ABAP_TYPE="CL_WD_MENU" DISPLAY_NAME="MENU"/>
  <wdy_ctlr_paramt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" LANGU="C" CMPNAME="CHECK_ROW" PARAMETER_NAME="CHECK_RESULT" DESCRIPTION="0-&gt;OK, 1-&gt;empty field error"/>
  <wdy_ctlr_paramt COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" LANGU="C" CMPNAME="CHECK_ROW" PARAMETER_NAME="ROW_NUMBER" DESCRIPTION="defines row to be checked"/>
  <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CTLR_USAGE_NAME="4VTAA1B0WL8WIO6LFSBM26Z3J" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="CONTEXT" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" NODE_POSITION="0 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="CONTEXT" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="GL_APP_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="3 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ZMC_G2" ABAP_TYPING="0" DISPLAY_NAME="GA" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="ZMC_G1" ABAP_TYPING="0" DISPLAY_NAME="GS" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GT" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="ZMC_G3" ABAP_TYPING="0" DISPLAY_NAME="GT" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="WM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="WM" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="AUFNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AUFNR" ABAP_TYPING="0" DISPLAY_NAME="AUFNR" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="8 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="12 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="9 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG1" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="11 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG2" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="13 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="14 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="10 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MAKTX" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="MAKTX" ABAP_TYPING="0" DISPLAY_NAME="MAKTX" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MATNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="MATNR" ABAP_TYPING="0" DISPLAY_NAME="MATNR" VALUE_HELP_ID="AUTO:S_MAT1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MEINS1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="CHAR3" ABAP_TYPING="0" DISPLAY_NAME="MEINS1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MENGE1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="6 " ABAP_TYPE="MENGE1" ABAP_TYPING="0" DISPLAY_NAME="MENGE1" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="WERKS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="7 " ABAP_TYPE="WERKS_D" ABAP_TYPING="0" DISPLAY_NAME="WERKS" VALUE_HELP_ID="AUTO:H_T001W_C" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MAX_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " READ_ONLY="X" DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MAX_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MEDIUM_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " READ_ONLY="X" DEFAULT_VALUE="10" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MEDIUM_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="SLOW_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " READ_ONLY="X" DEFAULT_VALUE="100" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="SLOW_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CTLR_USAGE_NAME="4VTAA1B0WL8WIO6LFSBM26Z3J" CTX_MAPP_NAME="4VVNFVMPB4UG8AI3JDF39ZG33" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="GL_APP_DATA" MAP_NODE_NAME="GL_APP_DATA"/>
  <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CTLR_USAGE_NAME="4VTAA1B0WL8WIO6LFSBM26Z3J" CTX_MAPP_NAME="4VVNFZWBUCWMKTB2S2PWV2QEN" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="IN_DATA" MAP_NODE_NAME="IN_DATA"/>
  <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW2" CTLR_USAGE_NAME="4VTAA1B0WL8WIO6LFSBM26Z3J" CTX_MAPP_NAME="4WSOSXKNERBESSYHO4PNZ9ELR" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="TIMER_CONF" MAP_NODE_NAME="TIMER_CONF"/>
 </controller_definition>
 <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" VERSION="A" CONTROLLER_TYPE="01" CONTEXT="CONTEXT" DISPLAY_NAME="VIEW3" AUTHOR="CZMICYP" CREATEDON="20131119" CHANGEDBY="CZMICYP" CHANGEDON="20140827">
  <wdy_controllert COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" LANGU="C" DESCRIPTION="Pijem k výrobní zakázce."/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_BU" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ACTUALIZE_BU" CODE_BODY="method ACTUALIZE_BU .

**----------------CW: READ (WH_TABLE) as table-------------------------

*  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

*  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

*  DATA wa_wm_table LIKE LINE OF lt_wm_table.

*  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

*  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*----------------CW: READ (WH_HEADER)-------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

  lo_el_wm_header-&gt;get_static_attributes( IMPORTING static_attributes = ls_wm_header ).

*---------------------------------------------------------

*lo_el_wm_header-&gt;set_attribute( EXPORTING name  = &apos;PREV&apos; value = ABAP_FALSE ).

*lo_el_wm_header-&gt;set_attribute( EXPORTING name  = &apos;NEXT&apos; value = ABAP_FALSE ).



   IF wd_this-&gt;MV_ITEM_CURRENT  eq 1.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;PREV&apos; value = ABAP_FALSE ).

   ELSE.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;PREV&apos; value = ABAP_TRUE ).

   ENDIF.



   IF  wd_this-&gt;IS_USED_ALL_CAPACITY( ) eq &apos;X&apos;

     and

       wd_this-&gt;MV_ITEM_CURRENT eq wd_this-&gt;MV_ITEM_COUNTER.



     lo_el_wm_header-&gt;set_attribute( name  = &apos;NEXT&apos; value = ABAP_FALSE ).

   ELSE.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;NEXT&apos; value = ABAP_TRUE ).

   ENDIF.



   &quot;zamyka moznost ukladania po uspesnom ulozeni

   IF wd_this-&gt;MV_VALID_SAVE eq &apos;&apos;.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;SAVING_ENABLED&apos; value = ABAP_TRUE ).

   ELSE.

     lo_el_wm_header-&gt;set_attribute( name  = &apos;SAVING_ENABLED&apos; value = ABAP_FALSE ).

   ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_IC" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ACTUALIZE_IC" CODE_BODY="method ACTUALIZE_IC .

*---------------------WZ: set(WM_COUNTER)  --------------------------------

    DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

    DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

    DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

    DATA lv_wm_counter TYPE wd_this-&gt;Element_wm_header-wm_counter.

    lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

    lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*---------------------WZ: set(WM_COUNTER)  --------------------------------

  DATA lv_counter_s TYPE string.

  DATA lv_current_s TYPE string.

  DATA lv_tmp       TYPE string.

*--------------------------------------------------------------------------





  move wd_this-&gt;MV_ITEM_COUNTER to lv_counter_s.

  move wd_this-&gt;MV_ITEM_CURRENT to lv_current_s.



  CONDENSE lv_counter_s.

  CONDENSE lv_current_s.





  CONCATENATE

  lv_current_s &apos;-&apos; lv_counter_s

  INTO lv_tmp.



  lo_el_wm_header-&gt;set_attribute(

      name =  `WM_COUNTER`

      value = lv_tmp ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_QT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ACTUALIZE_QT" CODE_BODY="method ACTUALIZE_QT .

*-----------------CW: READ (WM_HEADER)----------------------------

DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

lo_el_wm_header-&gt;get_static_attributes( IMPORTING static_attributes = ls_wm_header ).

*-----------------------------------------------------------------



data lv_counter TYPE i VALUE 0.

data lv_counter_s

                TYPE string.

data lv_erfmg   TYPE erfmg.

data lv_erfmg_i TYPE i.

data lv_erfmg_s TYPE string.



data lv_tmp     TYPE string.



lo_el_wm_header-&gt;get_attribute(

  EXPORTING name =&apos;WM_ERFMG&apos;

  IMPORTING value = lv_erfmg  ).





  lv_counter = wd_this-&gt;get_used_quantity( ).

  lv_counter = trunc( lv_counter ).



  move lv_erfmg to lv_erfmg_i.

  move lv_counter to lv_counter_s.

  move lv_erfmg_i  to lv_erfmg_s.



  CONDENSE lv_erfmg_s.

  CONDENSE lv_counter_s.



  CONCATENATE

    lv_counter_s &apos;/&apos; lv_erfmg_s

  INTO lv_tmp.



    &quot;Pociatocne nastavenie pocitadla itemov

    lo_el_wm_header-&gt;set_attribute(

        name  =  `WM_AMOUNTER`

        value = lv_tmp ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_TABLE_ITEM" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ACTUALIZE_TABLE_ITEM" CODE_BODY="method ACTUALIZE_TABLE_ITEM .



*------------------------CW: read(WM_HEADER)---------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

  lo_el_wm_header-&gt;get_static_attributes(

    IMPORTING

      static_attributes = ls_wm_header ).

*------------------CW: READ (WM_TABLE)AS TABLE--------------------

  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

  DATA wa_wm_table LIKE LINE OF lt_wm_table.

  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*------------------------------------------------------------------

  DATA lv_index TYPE i.

  lv_index = wd_this-&gt;MV_ITEM_CURRENT .



  READ TABLE lt_wm_table  INDEX lv_index INTO wa_wm_table.





  DATA lv_tmp           TYPE string.

  DATA lv_current_qty   TYPE i  VALUE 0.

  DATA lv_total_qty     TYPE i VALUE 0.

  DATA lv_lgtyp         TYPE lgtyp.

  DATA lv_lgpla         TYPE lgpla.

  DATA lv_lenvw         TYPE  T331_LENVW.

  DATA lv_lgber         TYPE  LGBER.



  clear wd_comp_controller-&gt;mv_error.

  &quot;ak jedno z poli nebolo zadane, vypise sa chyba, neprida sa

  IF ls_wm_header-wm_cerfmg is initial.

    wd_comp_controller-&gt;mv_error = 12. &quot; prazdne

  ELSEIF ls_wm_header-wm_lgtypla is initial.

    wd_comp_controller-&gt;mv_error = 13. &quot; prazdne

  ELSE.



  lv_current_qty  = GET_USED_QUANTITY( IGNORED_INDEX = lv_index ) + ls_wm_header-wm_cerfmg.

  lv_total_qty    = ls_wm_header-wm_erfmg.



 IF lv_current_qty  &gt; lv_total_qty.

  &quot;snazim sa uskladnit viac

  wd_comp_controller-&gt;mv_error = 11.



 ELSE.

   call function &apos;ZMC_CONV_LGPLA_12&apos;

      EXPORTING

        LGNUM = ls_wm_header-wm_lgnum

        MISTO = ls_wm_header-wm_lgtypla

        U_V =&apos;U&apos;



      IMPORTING

        LGTYP = wa_wm_table-lgtyp &quot;typ skladu

        LGPLA = wa_wm_table-lgpla &quot;skl. místo

        LENVW = lv_lenvw &quot;skl. s řízením skl. jednotek

        LGBER = lv_lgber &quot;zona skladu



      EXCEPTIONS

        EMPTY      = 1

        BLOK_USKL  = 2

        BLOK_VYSKL = 3

        NEEXISTUJE = 4

      OTHERS       = 5.

    IF sy-subrc    ne 0.

       wd_comp_controller-&gt;message( ).

    ENDIF.

    wa_wm_table-erfmg =  ls_wm_header-wm_cerfmg.





    MODIFY lt_wm_table FROM wa_wm_table INDEX lv_index.

    lo_nd_wm_table-&gt;BIND_TABLE(  lt_wm_table ).



 ENDIF.

ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ADD_TO_TABLE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="ADD_TO_TABLE" CODE_BODY="method ADD_TO_TABLE .

*------------------------CW: read(WM_HEADER)---------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

  lo_el_wm_header-&gt;get_static_attributes(

    IMPORTING

      static_attributes = ls_wm_header ).

*------------------------CW: read(WM_TABLE)  as table------------------

    DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

    DATA lt_wm_table    TYPE wd_this-&gt;Elements_wm_table.

    DATA wa_wm_table    LIKE LINE OF lt_wm_table.

    lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

    lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*----------------------------------------------------------------------



  DATA lv_tmp           TYPE string.

  DATA lv_current_qty   TYPE i  VALUE 0.

  DATA lv_total_qty     TYPE i VALUE 0.

  DATA lv_lgtyp         TYPE lgtyp.

  DATA lv_lgpla         TYPE lgpla.

  DATA lv_lenvw         TYPE  T331_LENVW.

  DATA lv_lgber         TYPE  LGBER.



  clear wd_comp_controller-&gt;mv_error.



  &quot;ak jedno z poli nebolo zadane, vypise sa chyba, neprida sa

  if     ls_wm_header-wm_cerfmg is initial.

    wd_comp_controller-&gt;mv_error = 12. &quot; prazdne

  ELSEIF ls_wm_header-wm_lgtypla is initial.

    wd_comp_controller-&gt;mv_error = 13. &quot; prazdne

  ELSE.



  lv_current_qty  = GET_USED_QUANTITY( ) + ls_wm_header-wm_cerfmg.

  lv_total_qty    = ls_wm_header-wm_erfmg.



 IF lv_current_qty  &gt; lv_total_qty.

  &quot;snazim sa uskladnit viac

  wd_comp_controller-&gt;mv_error = 11.



 ELSE.

   call function &apos;ZMC_CONV_LGPLA_12&apos;

      EXPORTING

        LGNUM = ls_wm_header-wm_lgnum

        MISTO = ls_wm_header-wm_lgtypla

        U_V =&apos;U&apos;

      IMPORTING

        LGTYP = wa_wm_table-lgtyp

        LGPLA = wa_wm_table-lgpla

        LENVW = lv_lenvw

        LGBER = lv_lgber

      EXCEPTIONS

        EMPTY      = 1

        BLOK_USKL  = 2

        BLOK_VYSKL = 3

        NEEXISTUJE = 4

      OTHERS     = 5.

    IF sy-subrc ne 0.

*       wd_comp_controller-&gt;message( ).

      &quot;error nepriradeny k chybovej hlaske, pretoze sa vyuziva ta z FM

      wd_comp_controller-&gt;mv_error = -1.

    ENDIF.

    wa_wm_table-erfmg  = ls_wm_header-wm_cerfmg.



 ENDIF.



ENdif.

*

IF wd_comp_controller-&gt;mv_error ne 0.

  wd_comp_controller-&gt;message( ).

ELSE.

  APPEND wa_wm_table  to lt_wm_table.

  lo_nd_wm_table-&gt;bind_table( new_items = lt_wm_table set_initial_elements = abap_true ).



  add 1 to wd_this-&gt;MV_ITEM_COUNTER.

  add 1 to wd_this-&gt;MV_ITEM_CURRENT.

  &quot;aktualizacia zobrazeneho mnozstva

  wd_this-&gt;ACTUALIZE_QT( ).

  wd_this-&gt;ACTUALIZE_IC( ).

  wd_this-&gt;ACTUALIZE_BU( ).

  wd_this-&gt;CLEAR_INPUT( ).

ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="APPEND_TO_WM" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="APPEND_TO_WM" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="CLEAR_CONTEXT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CLEAR_CONTEXT" CODE_BODY="method CLEAR_CONTEXT .

*----------------------WZ read(GL_APP_DATA,WM_HEADER,IN_DATA)------------------------------------------

      DATA lo_nd_gl_app_data  TYPE REF TO if_wd_context_node.

      DATA lo_el_gl_app_data  TYPE REF TO if_wd_context_element.

      DATA lo_nd_wm_table     TYPE REF TO if_wd_context_node.

      DATA lo_el_wm_table     TYPE REF TO if_wd_context_element.

      DATA lo_nd_wm_header    TYPE REF TO if_wd_context_node.

      DATA lo_el_wm_header    TYPE REF TO if_wd_context_element.

      DATA lo_nd_in_data      TYPE REF TO if_wd_context_node.

      DATA lo_el_in_data      TYPE REF TO if_wd_context_element.

      lo_nd_gl_app_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_gl_app_data ).

      lo_nd_wm_header   = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

      lo_nd_wm_table    = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

      lo_nd_in_data     = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

*      lo_el_wm_header   = lo_nd_wm_header-&gt;get_element( ).

*      lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).

*      lo_el_in_data     = lo_nd_in_data-&gt;get_element( ).

*----------------------WZ read(GL_APP_DATA,WM_HEADER,IN_DATA)------------------------------------------



      lo_nd_wm_header-&gt;INVALIDATE( ).

      lo_nd_wm_table-&gt;INVALIDATE( ).

      lo_nd_gl_app_data-&gt;INVALIDATE( ).

      lo_nd_in_data-&gt;INVALIDATE( ).



      clear:

      wd_this-&gt;MV_ITEM_COUNTER,

      wd_this-&gt;MV_ITEM_CURRENT,

      wd_this-&gt;MV_VALID_SAVE.



      clear:

*      wd_comp_controller-&gt;MR_GA,

*      wd_comp_controller-&gt;MR_GS,

*      wd_comp_controller-&gt;MR_MSG_MAN,

      wd_comp_controller-&gt;MV_AUTH,

      wd_comp_controller-&gt;MV_ERROR,

      wd_comp_controller-&gt;MV_STATE,

      wd_comp_controller-&gt;MV_TYPE.





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="CLEAR_INPUT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CLEAR_INPUT" CODE_BODY="method CLEAR_INPUT .

*-------------CWZ: Set WM_HEADER------------------------------------------

DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

DATA lv_wm_erfme TYPE wd_this-&gt;Element_wm_header-wm_erfme.

lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*-------------CWZ: Set WM_HEADER------------------------------------------

*zistenie ost. mnozstva  nepriradeneho k sklad. miestu

DATA lv_used TYPE i.

DATA lv_all  TYPE erfmg.



lo_el_wm_header-&gt;get_attribute(

  EXPORTING name  =  `WM_ERFMG`

  IMPORTING value = lv_all ).

lv_used = wd_this-&gt;GET_USED_QUANTITY( ).



* vypocet zatial nepriradeneho mnozstva

lv_all  = trunc( lv_all ).

lv_used = trunc( lv_used ).

lv_used = lv_all - lv_used.



lo_el_wm_header-&gt;set_attribute( name =  `WM_CERFMG` value = lv_used ).

lo_el_wm_header-&gt;set_attribute( name =  `WM_LGTYPLA` value = &apos;&apos; ).





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="GET_USED_QUANTITY" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="GET_USED_QUANTITY" CODE_BODY="method GET_USED_QUANTITY .

*------------------CW: READ (WM_TABLE)AS TABLE--------------------

  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

  DATA wa_wm_table LIKE LINE OF lt_wm_table.

  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*------------------------------------------------------------------

  rv_counter = 0.

  DATA lv_ii TYPE i VALUE  0.

  IF IGNORED_INDEX ne &apos;&apos;.

    lv_ii = IGNORED_INDEX.

  ENDIF.



&quot;pri zadani riadku, kt bude ignorovany sa ten nepropocitava

loop at lt_wm_table into wa_wm_table .

  if sy-tabix eq lv_ii.

  ELSE.

  &quot;pocitanie uz zadaneho mnozstva v

  add wa_wm_table-erfmg to rv_counter.

  ENDIF.

endloop.







endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="HANDLEFROM_VIEW2" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="VIEW3" REF_PLUG_NAME="FROM_VIEW2" DISPLAY_NAME="HANDLEFROM_VIEW2" CODE_BODY="method HANDLEFROM_VIEW2 .

  wd_this-&gt;INPLUG_HANDLE( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IF_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="IF_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IF_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="IF_ON_ENTER" CODE_BODY="method IF_ON_ENTER .

  &quot;adding to table, or savin whole table

  IF wd_this-&gt;IS_USED_ALL_CAPACITY( ) eq &apos;X&apos;.



    wd_this-&gt;save_table( ).

  ELSE.



    wd_this-&gt;ADD_TO_TABLE( ).

  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="INPLUG_HANDLE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="INPLUG_HANDLE" CODE_BODY="method INPLUG_HANDLE .

*----------------------WZ read(GL_APP_DATA,WM_HEADER,IN_DATA)------------------------------------------

      DATA lo_nd_gl_app_data TYPE REF TO if_wd_context_node.

      DATA lo_el_gl_app_data TYPE REF TO if_wd_context_element.

      DATA lo_nd_wm_table    TYPE REF TO if_wd_context_node.

      DATA lo_el_wm_table TYPE REF TO if_wd_context_element.

      DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

      DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

      DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

      DATA lo_el_in_data TYPE REF TO if_wd_context_element.

      lo_nd_gl_app_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_gl_app_data ).

      lo_nd_wm_header   = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

      lo_nd_in_data     = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

      lo_el_wm_header   = lo_nd_wm_header-&gt;get_element( ).

      lo_el_gl_app_data = lo_nd_gl_app_data-&gt;get_element( ).

      lo_el_in_data     = lo_nd_in_data-&gt;get_element( ).

*-----------------------------------------------------------------------\

    &quot;urcuje kombinaciju sklad typov na vstupe

      DATA typed TYPE i.



      DATA lv_gui_usability TYPE ABAP_BOOL.

      DATA lv_werks         TYPE werks.

      DATA lv_mantr         TYPE matnr.

      DATA lv_erfme         TYPE erfme.

      DATA lv_lgort         TYPE lgort.

      DATA lv_lgnum         TYPE lgnum.

      DATA lv_wh            TYPE char8.

      DATA lv_erfmg         TYPE erfmg.

      DATA lv_cerfmg        TYPE i.



     clear wd_this-&gt;mv_valid_save.

     wd_this-&gt;MV_ITEM_COUNTER = 1.

     wd_this-&gt;MV_ITEM_CURRENT = 1.



    &quot;Nastavenie zavodu

    lo_el_in_data-&gt;get_attribute(

      EXPORTING name  =  `WERKS`

      IMPORTING value = lv_werks ).

    lo_el_wm_header-&gt;set_attribute(

        name  =  `WM_WERKS`

        value = lv_werks ).



    lo_el_in_data-&gt;get_attribute(

      EXPORTING name  =  `ERFME1`

      IMPORTING value = lv_erfme ).

    lo_el_wm_header-&gt;set_attribute(

        name  =  `WM_ERFME`

        value = lv_erfme ).



    lo_el_in_data-&gt;get_attribute(

      EXPORTING name  =  `MATNR`

      IMPORTING value = lv_mantr ).

    lo_el_wm_header-&gt;set_attribute(

        name  =  `WM_MATNR`

        value = lv_mantr ).



    case wd_comp_controller-&gt;mv_type.

      when  2 or  32.



        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `LGORT1`

          IMPORTING value = lv_lgort ).

        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `LGNUM1`

          IMPORTING value = lv_lgnum ).

        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `ERFMG1`

          IMPORTING value = lv_erfmg ).

      when 23 or 20.

        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `LGORT2`

          IMPORTING value = lv_lgort ).



        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `LGNUM2`

          IMPORTING value = lv_lgnum ).

        lo_el_in_data-&gt;get_attribute(

          EXPORTING name  =  `ERFMG2`

          IMPORTING value = lv_erfmg ).



      ENDCASE.





      concatenate &quot;       Sklad.sklad

        lv_lgort+0(6)

        lv_lgnum

        INTO

        lv_wh

      SEPARATED BY &apos;.&apos;.



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_UMLGO`

          value = lv_lgort ).



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_LGNUM`

          value = lv_lgnum ).



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_WH`

          value = lv_wh ).



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_ERFMG`

          value = lv_erfmg ).







      lv_cerfmg = trunc( lv_erfmg ).



      lo_el_wm_header-&gt;set_attribute(

          name  =  `WM_CERFMG`

          value = lv_cerfmg ).



*      &quot;zamok ukladania odomknuty

      lo_el_wm_header-&gt;set_attribute(

          name  =  &apos;SAVING_ENABLED&apos;

          value = &apos;&apos; ).







   wd_this-&gt;ACTUALIZE_QT( ).

   wd_this-&gt;ACTUALIZE_IC( ).

   wd_this-&gt;ACTUALIZE_BU( ).



   CALL FUNCTION &apos;BKK_COMPUTE_SUM_OF_DIGITS&apos;

     EXPORTING

        i_number        =  wd_comp_controller-&gt;mv_type

     IMPORTING

        e_sum_of_digits =  typed.



    &quot; nie je riadeny sklad err pri mat dok

    IF typed eq 3 or

       typed eq 6 or

       wd_comp_controller-&gt;mv_error ne 0.&quot; riadeny.

      lv_gui_usability = ABAP_FALSE.

    ELSE.

      lv_gui_usability = ABAP_TRUE .



    ENDIF.







      lo_el_gl_app_data-&gt;set_attribute(

        name =  `WM`

        value =  lv_gui_usability ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IS_USED_ALL_CAPACITY" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="IS_USED_ALL_CAPACITY" CODE_BODY="method IS_USED_ALL_CAPACITY .

*-----------------CW: READ (WM_HEADER)----------------------------

DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

lo_el_wm_header-&gt;get_static_attributes( IMPORTING static_attributes = ls_wm_header ).

*-----------------------------------------------------------------

  DATA lv_capacity      TYPE erfmg.

  DATA lv_already_used  TYPE i.

  DATA lv_difference    TYPE i.



  lo_el_wm_header-&gt;get_attribute(

    EXPORTING name = &apos;WM_ERFMG&apos;

    IMPORTING value = lv_capacity ).



  lv_already_used = wd_this-&gt;GET_USED_QUANTITY( ).

  lv_difference   = lv_capacity - lv_already_used.



  IF lv_difference eq 0.

    RET = &apos;X&apos;.

  ELSE.

    RET = &apos;&apos;.

  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MOVE_TO_LEFT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MOVE_TO_LEFT" CODE_BODY="method MOVE_TO_LEFT .

*------------------------CW: read(WM_HEADER)---------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*------------------CW: READ (WM_TABLE)AS TABLE--------------------

  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

  DATA wa_wm_table LIKE LINE OF lt_wm_table.

  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*------------------------------------------------------------------



  DATA lv_itemp TYPE i.

  DATA lv_stemp TYPE string.

  DATA lv_index TYPE i.



  lv_index = wd_this-&gt;MV_ITEM_CURRENT - 1 .



  &quot;nacitanie prislusneho prvku zoznamu

  READ TABLE lt_wm_table  INDEX lv_index INTO wa_wm_table.



  CONCATENATE

    wa_wm_table-lgtyp

    &apos;.&apos;

    wa_wm_table-lgpla

  INTO lv_stemp.







  lv_itemp = trunc( wa_wm_table-erfmg ).



  lo_el_wm_header-&gt;set_attribute( name = &apos;WM_LGTYPLA&apos; value = lv_stemp ).

  lo_el_wm_header-&gt;set_attribute( name = &apos;WM_CERFMG&apos;  value = lv_itemp ).





  SUBTRACT 1 FROM wd_this-&gt;MV_ITEM_CURRENT.



  wd_this-&gt;ACTUALIZE_IC( ).

  wd_this-&gt;ACTUALIZE_QT( ).

  wd_this-&gt;ACTUALIZE_BU( ).



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MOVE_TO_RIGHT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MOVE_TO_RIGHT" CODE_BODY="method MOVE_TO_RIGHT .

*------------------------CW: read(WM_HEADER)---------------------------

  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

  DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*------------------CW: READ (WM_TABLE)AS TABLE--------------------

  DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

  DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

  DATA wa_wm_table LIKE LINE OF lt_wm_table.

  lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

  lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

*------------------------------------------------------------------



  DATA lv_itemp TYPE i.

  DATA lv_stemp TYPE string.

  DATA lv_index TYPE i.



  lv_index = wd_this-&gt;MV_ITEM_CURRENT + 1.



  &quot;nacitanie prislusneho prvku zoznamu

  READ TABLE lt_wm_table  INDEX lv_index INTO wa_wm_table.



  CONCATENATE

    wa_wm_table-lgtyp

    &apos;.&apos;

    wa_wm_table-lgpla

  INTO lv_stemp.







  lv_itemp = trunc( wa_wm_table-erfmg ).



  lo_el_wm_header-&gt;set_attribute( name = &apos;WM_LGTYPLA&apos; value = lv_stemp ).

  lo_el_wm_header-&gt;set_attribute( name = &apos;WM_CERFMG&apos;  value = lv_itemp ).



  lv_itemp = wd_this-&gt;MV_ITEM_COUNTER - wd_this-&gt;MV_ITEM_CURRENT.



  ADD 1 to wd_this-&gt;MV_ITEM_CURRENT.





  wd_this-&gt;ACTUALIZE_IC( ).

  wd_this-&gt;ACTUALIZE_QT( ).

  wd_this-&gt;ACTUALIZE_BU( ).







endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_ITEM_COUNTER" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="MV_ITEM_COUNTER" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_ITEM_CURRENT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="MV_ITEM_CURRENT" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_VALID_SAVE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="MV_VALID_SAVE" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="BOOL"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONAPPEND_TO_WM" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="APPEND_TO_WM" DISPLAY_NAME="ONACTIONAPPEND_TO_WM" CODE_BODY='method ONACTIONAPPEND_TO_WM .



 &quot;rozhodnutie, ci budeme pridavat alebo sa len pohybovat

  IF wd_this-&gt;MV_ITEM_COUNTER eq wd_this-&gt;MV_ITEM_CURRENT.

    wd_this-&gt;add_to_table( ).

  ELSE.

    wd_this-&gt;actualize_table_item( ).

    wd_this-&gt;move_to_right( ).

  ENDIF.



endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONIF_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="IF_ENTER" DISPLAY_NAME="ONACTIONIF_ENTER" CODE_BODY='method ONACTIONIF_ENTER .

  wd_this-&gt;if_on_enter( ). &quot; Input field on enter

endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONSAVE" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="SAVE" DISPLAY_NAME="ONACTIONSAVE" CODE_BODY="method ONACTIONSAVE .

  wd_this-&gt;SAVE_TABLE( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONSHOW_PREV" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="SHOW_PREV" DISPLAY_NAME="ONACTIONSHOW_PREV" CODE_BODY="method ONACTIONSHOW_PREV .

  wd_this-&gt;ACTUALIZE_TABLE_ITEM( ).

  wd_this-&gt;MOVE_TO_LEFT( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONTIMER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="VIEW3" REF_CMPNAME="TIMER" DISPLAY_NAME="ONACTIONTIMER" CODE_BODY="method ONACTIONTIMER .

  wd_this-&gt;refresh_page( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="REFRESH_PAGE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="REFRESH_PAGE" CODE_BODY="method REFRESH_PAGE .



  wd_comp_controller-&gt;refresh_page( ).

  &quot;zozntam prvkov v tabulke je vhodny na ulozenie

  IF wd_this-&gt;mv_valid_save eq &apos;X&apos;.

    wd_this-&gt;CLEAR_CONTEXT( ).

    wd_this-&gt;fire_to_view1_plg( ).

  &quot;existuje chyba

  ELSEIF wd_comp_controller-&gt;MV_ERROR ne 0.

    wd_comp_controller-&gt;set_timer_fast( ).

  ENDIF.



endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SAVE" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="SAVE" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SAVE_TABLE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="SAVE_TABLE" CODE_BODY="method SAVE_TABLE .

*----------------------CW: read(IN_DATA)--------------------------------------

  DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

  DATA lo_el_in_data TYPE REF TO if_wd_context_element.

  DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

  lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

  lo_el_in_data-&gt;get_static_attributes( IMPORTING

      static_attributes = ls_in_data ).

*----------------------CW: read(IN_DATA)--------------------------------------

*----------------------CW: read(WM_HEADER)--------------------------------------

DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

DATA ls_wm_header    TYPE wd_this-&gt;Element_wm_header.

lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

lo_el_wm_header-&gt;get_static_attributes(

    IMPORTING

      static_attributes = ls_wm_header ).

*----------------------CW: read(WM_HEADER)--------------------------------------

&quot;Zobrazuju sa validne data

IF ls_wm_header-wm_cerfmg is NOT initial and

   ls_wm_header-wm_lgtypla is NOT initial.

    &quot;na poslednom mieste -&gt; pridanie do tabulky

    IF wd_this-&gt;mv_item_counter eq wd_this-&gt;mv_item_current .

         wd_this-&gt;ADD_TO_TABLE( ).



    &quot;na inom mieste -&gt; aktualizacia prvku tabulky

    ELSE.

      wd_this-&gt;ACTUALIZE_TABLE_ITEM( ).

    ENDIF.

ENDIF.

*----------------------CW: read(WM_TABLE) as table-----------------------------

DATA lo_nd_wm_table TYPE REF TO if_wd_context_node.

DATA lt_wm_table TYPE wd_this-&gt;Elements_wm_table.

lo_nd_wm_table = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_table ).

lo_nd_wm_table-&gt;get_static_attributes_table( importing table = lt_wm_table ).

DATA wa_wm_table LIKE LINE OF lt_wm_table.

*----------------------CW: read(WM_TABLE) as table-----------------------------

&quot; osetrenie nechceneho viacnasobneho ulozenia

IF ls_wm_header-SAVING_ENABLED eq &apos;X&apos;.

  DATA lv_current  TYPE i.

  DATA lv_all      TYPE i.

  DATA lv_navrh    TYPE char29.



  lv_current  = wd_this-&gt;GET_USED_QUANTITY( ).

  lv_all      = ls_wm_header-wm_erfmg.



  &quot;uskladnena plna predana kapacita

  if lv_all eq lv_current.



  DATA lt_lgtyp TYPE ZMC_RNG_T_LGTYP.

  DATA lt_ltap  TYPE ZMC_T_LTAP.

*  DATA wa_ltap  LIKE LINE OF lt_ltap.

  DATA wa_ltap  TYPE ZMC_S_LTAP.

  DATA lt_lqua  TYPE ZMC_T_LQUA.

*  DATA wa_lgtyp LIKE LINE OF lt_lgtyp.

  DATA wa_lgtyp TYPE ZMC_RNG_S_LGTYP.

  DATA lt_mseg TYPE table of ZMC_S_MSEG.

  DATA wa_mseg TYPE ZMC_S_MSEG.





  CLEAR: wa_lgtyp, lt_lgtyp.

  wa_lgtyp-sign   = &apos;E&apos;.

  wa_lgtyp-option = &apos;CP&apos;.

  wa_lgtyp-low    = &apos;9*&apos;.

  APPEND wa_lgtyp TO lt_lgtyp.



  CALL FUNCTION &apos;ZMC_GET_LQUA&apos; &quot;get list

    EXPORTING

      matnr    = ls_wm_header-wm_matnr

      werks    = ls_wm_header-wm_werks

      lgort    = ls_wm_header-wm_umlgo

      lgnum    = ls_wm_header-wm_lgnum

      sobkz    = &apos;X&apos;



    TABLES

      it_lgtyp = lt_lgtyp

      et_lqua  = lt_lqua.

*  *



  CALL FUNCTION &apos;ZMC_PROP_LGPLA&apos; &quot;suggestion

    IMPORTING

      navrh = lv_navrh

    TABLES

      lqua  = lt_lqua

      ltap  = lt_ltap.



*

        CLEAR lt_ltap.

        LOOP AT lt_wm_table INTO wa_wm_table. &quot;ltap items

*          CLEAR wa_ltap.

          wa_ltap-matnr = ls_wm_header-wm_matnr. &quot;MATERIAL

          wa_ltap-werks = ls_wm_header-wm_werks. &quot;ZAVOD

          wa_ltap-lgort = ls_wm_header-wm_umlgo. &quot;CIELOVY SKLAD

          wa_ltap-meins = ls_wm_header-wm_erfme. &quot;  MERNA JEDNOTKA



          wa_ltap-vltyp = &apos;901&apos;.

          wa_ltap-vlpla = ls_in_data-aufnr+2(10).

          wa_ltap-nltyp = wa_wm_table-lgtyp.

          wa_ltap-nlpla = wa_wm_table-lgpla.

          wa_ltap-nsolm = wa_wm_table-erfmg.



*          wa_ltap-charg = wa_mng-charg. &quot;sarze - nova

          APPEND wa_ltap TO lt_ltap.

        ENDLOOP.



*

      CLEAR wa_mseg.

*      wa_mseg-lgort = gd-lgort.



*      wa_mseg-charg = gd-charg. &quot;sarze - stara

*      wa_mseg-sobkz = gd-sobkz.

*      wa_mseg-kdauf = gd-kdauf.

*      wa_mseg-kdpos = gd-kdpos.

*      wa_mseg-lifnr = gd-lifnr.

*      wa_mseg-meins = ls_wm_header-wm_erfmg.

*      wa_mseg-ps_psp_pnr = gd-ps_psp_pnr.



      CLEAR lt_mseg. &quot;materialovy doklad vytvoreny v predchadzajucom kroku



*      LOOP AT lt_wm_table INTO wa_wm_table. &quot;mseg items

*          wa_mseg-umlgo = ls_wm_header-wm_umlgo .

*          wa_mseg-matnr = ls_wm_header-wm_matnr. &quot;mseg header

*          wa_mseg-werks = ls_wm_header-wm_werks.

*          TRANSLATE wa_mseg-werks TO UPPER CASE.

*

*          wa_mseg-lgort = ls_wm_header-wm_umlgo.

*          wa_mseg-meins = wa_wm_table-erfme. &quot;?

*          wa_mseg-menge = wa_wm_table-erfmg.

*          collect wa_mseg into lt_mseg.

*       ENDLOOP.

*

  DATA xnapr TYPE XNAPR.

       &quot;tisk rizenych zprav

       SELECT SINGLE parva FROM usr05 INTO xnapr

        WHERE bname EQ sy-uname

          AND parid EQ &apos;NDR&apos;.



       CALL FUNCTION &apos;ZMC_SAVE_MSEG2&apos;

        EXPORTING

             uname       = sy-uname

             gm_code     = &apos;02&apos;  &quot;prirazeni kodu k tran

             bwart       = &apos;101&apos; &quot;druh pohybu (vedeni zasob)

             kzbew       = &apos;F&apos;   &quot;znak pohybu

             aufnr       = ls_in_data-aufnr

             lgnum       = ls_wm_header-wm_lgnum &quot;rizeny sklad

             bwlvs       = &apos;103&apos; &quot;druh pohybu (rizeni skladu)

             squit       = &apos;X&apos;

             nidru       = &apos;X&apos;

             betyp       = &apos;F&apos;

             benum       = ls_in_data-aufnr+2(10)

             drukz       = &apos;02&apos;

             xnapr       = xnapr &quot;tisk pom. rizenych zprav

        TABLES

             it_mseg     = lt_mseg

             it_ltap     = lt_ltap

        EXCEPTIONS

             mat_doc_err = 1

             wm_doc_err  = 2

             OTHERS      = 3.



  IF sy-subrc eq 0.

    wd_this-&gt;MV_VALID_SAVE = &apos;X&apos;.



    &quot;zamok, umoznuje jedine ulozenie

    lo_el_wm_header-&gt;set_attribute(

      name  = &apos;SAVING_ENABLED&apos;

      value = &apos;&apos; ).



  ENDIF.



    &quot;resul evaluation

    wd_comp_controller-&gt;MESSAGE( type = sy-msgty ).



  else.

    &quot; rozdiel v mnozstvach

    wd_comp_controller-&gt;MV_ERROR = 14.

*    BREAK-POINT.

  endif.



*  IF wd_comp_controller-&gt;MV_ERROR ne 0.

*    wd_comp_controller-&gt;MESSAGE( type = sy-msgty ).

*  ELSE.

  if wd_this-&gt;MV_VALID_SAVE eq &apos;X&apos;.

    &quot;ulozenie prebehlo v poriadku

    wd_comp_controller-&gt;set_timer_medium( ).

  ENDIF.

ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SHOW_PREV" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="SHOW_PREV" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="TIMER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="TIMER" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOAFTERACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOAFTERACTION" CODE_BODY="method WDDOAFTERACTION .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOBEFOREACTION" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOBEFOREACTION" CODE_BODY="method WDDOBEFOREACTION .

*  data lo_api_controller type ref to if_wd_view_controller.

*  data lo_action         type ref to if_wd_action.



*  lo_api_controller = wd_this-&gt;wd_get_api( ).

*  lo_action = lo_api_controller-&gt;get_current_action( ).



*  if lo_action is bound.

*    case lo_action-&gt;name.

*      when &apos;...&apos;.



*    endcase.

*  endif.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOEXIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOEXIT" CODE_BODY="method WDDOEXIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY="method WDDOINIT .

*!!!!!!!!!

**&lt;vyvojova inicializacia pre debugovanie view3&gt;





*------- CWZ: SET IN_DATA ATTRIBUTE---------------------

*  DATA lo_nd_in_data TYPE REF TO if_wd_context_node.

*  DATA lo_el_in_data TYPE REF TO if_wd_context_element.

*  DATA ls_in_data TYPE wd_this-&gt;Element_in_data.

*  lo_nd_in_data = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_in_data ).

*  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).

*  IF lo_el_in_data IS INITIAL.

*  ENDIF.

*

*  lo_el_in_data-&gt;set_attribute( name =  `WERKS` value = &apos;1601&apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `MATNR` value = &apos;1VL7611198P0101&apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `LGORT1` value = &apos;399&apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `LGNUM1` value = &apos;ZP4&apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `ERFME1` value = &apos;KS &apos; ).

*  lo_el_in_data-&gt;set_attribute( name =  `ERFMG1` value = &apos;10.000&apos; ).

*

**------- CWZ: SET IN_DATA ATTRIBUTE---------------------

*********************************************************

**------- CWZ: SET WM_HEADER-----------------------------

*  DATA lo_nd_wm_header TYPE REF TO if_wd_context_node.

*  DATA lo_el_wm_header TYPE REF TO if_wd_context_element.

*  DATA ls_wm_header TYPE wd_this-&gt;Element_wm_header.

*  DATA lv_next TYPE wd_this-&gt;Element_wm_header-next.

*  lo_nd_wm_header = wd_context-&gt;get_child_node( name = wd_this-&gt;wdctx_wm_header ).

*  lo_el_wm_header = lo_nd_wm_header-&gt;get_element( ).

*

*  DATA lv_lgtyp  TYPE lgtyp.

*  DATA lv_lgpla  TYPE lgpla.

*  DATA lv_lgypla TYPE string.

*

*  select single

*    lgtyp

*    lgpla

*    FROM lagp

*    INTO (lv_lgtyp, lv_lgpla)

*    WHERE LGNUM eq &apos;ZP4&apos;.

*

*  CONCATENATE

*    lv_lgtyp

*    &apos;.&apos;

*    lv_lgpla

*  INTO lv_lgypla.

*

*  lo_el_wm_header-&gt;set_attribute( name =  `WM_LGTYPLA` value = lv_lgypla ).

**------- CWZ: SET WM_HEADER-----------------------------

*

*

* wd_comp_controller-&gt;mv_type  = 2.

* wd_comp_controller-&gt;mv_state = 1.

*

*

*wd_this-&gt;INPLUG_HANDLE( ).



*&lt;vyvojova inicializacia pre debugovanie view3&gt;

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOMODIFYVIEW" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOMODIFYVIEW" CODE_BODY="method WDDOMODIFYVIEW .



 &quot;   initial focus set on input field IP1

    data itm type ref to cl_wd_input_field.

    itm ?= view-&gt;get_element( &apos;LGTYPPLA&apos; ).

    CHECK itm is NOT INITIAL.

*

     CALL METHOD VIEW-&gt;REQUEST_FOCUS_ON_VIEW_ELEM

      EXPORTING VIEW_ELEMENT    =  itm.

      itm-&gt;FOCUS( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONCONTEXTMENU" CODE_BODY="method WDDOONCONTEXTMENU .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_BU" LANGU="C" DESCRIPTION="aktualizuje stav buttonov PREV|NEXT|SAVE"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_IC" LANGU="C" DESCRIPTION="aktualizuje zobrazenie poctu zaznamov"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_QT" LANGU="C" DESCRIPTION="aktualizuje zobrazenie zadaneho mnozstva"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ACTUALIZE_TABLE_ITEM" LANGU="C" DESCRIPTION="upravi aktualny zaznam v zozname"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ADD_TO_TABLE" LANGU="C" DESCRIPTION="Pridanie zaznamu skl. miesta a mnozstva"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="CLEAR_CONTEXT" LANGU="C" DESCRIPTION="po ulozeni cisti context"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="CLEAR_INPUT" LANGU="C" DESCRIPTION="mnozstvo a skladove miesto sa upravia pre dalsie zadanie"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="GET_USED_QUANTITY" LANGU="C" DESCRIPTION="vrati pocet uz zaradeneho mnozstva"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IF_ENTER" LANGU="C" DESCRIPTION="Input field on enter"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IF_ON_ENTER" LANGU="C" DESCRIPTION="Input field(s) on enter"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IS_USED_ALL_CAPACITY" LANGU="C" DESCRIPTION="vrati FALSE|TRUE, ak bola vyuzita cela kapacita"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MOVE_TO_LEFT" LANGU="C" DESCRIPTION="posun dolava  v zozname"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MOVE_TO_RIGHT" LANGU="C" DESCRIPTION="posun doprava v zozname"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_ITEM_COUNTER" LANGU="C" DESCRIPTION="Pocet zaznamov"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_ITEM_CURRENT" LANGU="C" DESCRIPTION="Cislo aktualneho zaznamu"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="MV_VALID_SAVE" LANGU="C" DESCRIPTION="Prebehlo uskladnenie, mozem prejst na VIEW1"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONIF_ENTER" LANGU="C" DESCRIPTION="Input field on enter"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="ONACTIONSHOW_PREV" LANGU="C" DESCRIPTION="ukaz predchazajuci zaznam"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SAVE_TABLE" LANGU="C" DESCRIPTION="ulozi data v tabulke"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="SHOW_PREV" LANGU="C" DESCRIPTION="ukaz predchazajuci zaznam"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOAFTERACTION" LANGU="C" DESCRIPTION="Method for non-action specific operations before navigation"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOBEFOREACTION" LANGU="C" DESCRIPTION="Method for Validation of User Input"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOMODIFYVIEW" LANGU="C" DESCRIPTION="Method for Modifying the View Before Rendering"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" LANGU="C" DESCRIPTION="Method for Modifying the Context Menu"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="GET_USED_QUANTITY" PARAMETER_NAME="IGNORED_INDEX" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="I" DISPLAY_NAME="IGNORED_INDEX" OPTIONAL="X"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="GET_USED_QUANTITY" PARAMETER_NAME="RV_COUNTER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="3" ABAP_TYPING="0" ABAP_TYPE="I" DISPLAY_NAME="RV_COUNTER"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="IS_USED_ALL_CAPACITY" PARAMETER_NAME="RET" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="3" ABAP_TYPING="0" ABAP_TYPE="BOOL" DISPLAY_NAME="RET"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="FIRST_TIME" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="WDY_BOOLEAN" DISPLAY_NAME="FIRST_TIME"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOMODIFYVIEW" PARAMETER_NAME="VIEW" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_VIEW" DISPLAY_NAME="VIEW"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_EVENT" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_EVENT" DISPLAY_NAME="CONTEXT_MENU_EVENT"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="CONTEXT_MENU_MANAGER" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_CONTEXT_MENU_MANAGER" DISPLAY_NAME="CONTEXT_MENU_MANAGER"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CMPNAME="WDDOONCONTEXTMENU" PARAMETER_NAME="MENU" VERSION="I" PARAM_POSITION="3 " DECLARATION_TYPE="3" ABAP_TYPING="1" ABAP_TYPE="CL_WD_MENU" DISPLAY_NAME="MENU"/>
  <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CTLR_USAGE_NAME="4VWV6XAAUEEIC86267FAGP2JZ" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="CONTEXT" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" NODE_POSITION="0 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="CONTEXT" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="GL_APP_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="5 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="4 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="WM_HEADER" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="3 " COLLECTION_TYPE="03" CARDINALITY="02" SELECTION="00" DISPLAY_NAME="WM_TABLE" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ZMC_G2" ABAP_TYPING="0" DISPLAY_NAME="GA" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="ZMC_G1" ABAP_TYPING="0" DISPLAY_NAME="GS" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="GT" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="ZMC_G3" ABAP_TYPING="0" DISPLAY_NAME="GT" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="GL_APP_DATA" ATTRIBUTE_NAME="WM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="WM" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="AUFNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AUFNR" ABAP_TYPING="0" DISPLAY_NAME="AUFNR" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="8 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFME2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="12 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="9 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="ERFMG2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="11 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="13 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGNUM2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="14 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="LGNUM2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LGORT2" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="10 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="LGORT2" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MAKTX" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="MAKTX" ABAP_TYPING="0" DISPLAY_NAME="MAKTX" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MATNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="MATNR" ABAP_TYPING="0" DISPLAY_NAME="MATNR" VALUE_HELP_ID="AUTO:S_MAT1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MEINS1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="CHAR3" ABAP_TYPING="0" DISPLAY_NAME="MEINS1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MENGE1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="6 " ABAP_TYPE="MENGE1" ABAP_TYPING="0" DISPLAY_NAME="MENGE1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="WERKS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="7 " ABAP_TYPE="WERKS_D" ABAP_TYPING="0" DISPLAY_NAME="WERKS" VALUE_HELP_ID="AUTO:H_T001W_C" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MAX_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " READ_ONLY="X" DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MAX_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="MEDIUM_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " READ_ONLY="X" DEFAULT_VALUE="10" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MEDIUM_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " DEFAULT_VALUE="2" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="SLOW_SPEED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " READ_ONLY="X" DEFAULT_VALUE="100" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="SLOW_SPEED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="NEXT" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="10 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="NEXT" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="PREV" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="8 " DEFAULT_VALUE="ABAP_FALSE" ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="PREV" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="SAVING_ENABLED" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="14 " ABAP_TYPE="ABAP_BOOL" ABAP_TYPING="0" DISPLAY_NAME="SAVING_ENABLED" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_AMOUNTER" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="CHAR10" ABAP_TYPING="0" DISPLAY_NAME="WM_AMOUNTER" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_CERFMG" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="7 " ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="WM_CERFMG" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_COUNTER" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="13 " ABAP_TYPE="STRING" ABAP_TYPING="0" DISPLAY_NAME="WM_COUNTER" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_ERFME" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="WM_ERFME" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_ERFMG" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="WM_ERFMG" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_LGNUM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="9 " ABAP_TYPE="LGNUM" ABAP_TYPING="0" DISPLAY_NAME="WM_LGNUM" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_LGTYPLA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="6 " ABAP_TYPE="CHAR14" ABAP_TYPING="0" DISPLAY_NAME="WM_LGTYPLA" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_MATNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="11 " ABAP_TYPE="MATNR" ABAP_TYPING="0" DISPLAY_NAME="WM_MATNR" VALUE_HELP_ID="AUTO:S_MAT1" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_UMLGO" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="12 " ABAP_TYPE="LGORT_D" ABAP_TYPING="0" DISPLAY_NAME="WM_UMLGO" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_WERKS" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="WERKS_D" ABAP_TYPING="0" DISPLAY_NAME="WM_WERKS" VALUE_HELP_ID="AUTO:H_T001W_C" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_HEADER" ATTRIBUTE_NAME="WM_WH" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="CHAR8" ABAP_TYPING="0" DISPLAY_NAME="WM_WH" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="ERFME" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="ERFME" ABAP_TYPING="0" DISPLAY_NAME="ERFME" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="ERFMG" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="ERFMG" ABAP_TYPING="0" DISPLAY_NAME="ERFMG" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="LENVW" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="T331_LENVW" ABAP_TYPING="0" DISPLAY_NAME="LENVW" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="LGBER" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="6 " ABAP_TYPE="LGBER" ABAP_TYPING="0" DISPLAY_NAME="LGBER" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="LGPLA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="LGPLA" ABAP_TYPING="0" DISPLAY_NAME="LGPLA" VALUE_HELP_MODE="0"/>
  <wdy_ctx_attrib COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" NODE_NAME="WM_TABLE" ATTRIBUTE_NAME="LGTYP" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="LGTYP" ABAP_TYPING="0" DISPLAY_NAME="LGTYP" VALUE_HELP_MODE="0"/>
  <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CTLR_USAGE_NAME="4VWV6XAAUEEIC86267FAGP2JZ" CTX_MAPP_NAME="4VYNOO7PNIRAYND1NACWGIJ3J" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="GL_APP_DATA" MAP_NODE_NAME="GL_APP_DATA"/>
  <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CTLR_USAGE_NAME="4VWV6XAAUEEIC86267FAGP2JZ" CTX_MAPP_NAME="4VYNOS9NNS7RSJMKQ5LDRJUPB" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="IN_DATA" MAP_NODE_NAME="IN_DATA"/>
  <wdy_ctx_mapping COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="VIEW3" CTLR_USAGE_NAME="4VWV6XAAUEEIC86267FAGP2JZ" CTX_MAPP_NAME="4WSOT8O2SQO9PD1U3K3EI3JU7" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="TIMER_CONF" MAP_NODE_NAME="TIMER_CONF"/>
 </controller_definition>
 <controller_definition COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" VERSION="A" CONTROLLER_TYPE="06" CONTEXT="CONTEXT" DISPLAY_NAME="ZMC_PRIJEM_K_VZ" AUTHOR="CZMICYP" CREATEDON="20131113" CHANGEDBY="CZMICYP" CHANGEDON="20140729">
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="HANDLEDEFAULT" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_VIEW_NAME="ZMC_PRIJEM_K_VZ" REF_PLUG_NAME="DEFAULT" DISPLAY_NAME="HANDLEDEFAULT" CODE_BODY="method HANDLEDEFAULT .

endmethod." ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOEXIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOEXIT" CODE_BODY="method WDDOEXIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY="method WDDOINIT .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONCLOSE" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONCLOSE" CODE_BODY="method WDDOONCLOSE .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compo COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONOPEN" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOONOPEN" CODE_BODY="method WDDOONOPEN .

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONCLOSE" LANGU="C" DESCRIPTION="Handling For Closing of Window"/>
  <wdy_ctlr_compot COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONOPEN" LANGU="C" DESCRIPTION="Handling For Opening of Window"/>
  <wdy_ctlr_param COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CMPNAME="WDDOONOPEN" PARAMETER_NAME="WINDOW_DESCR" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="1" ABAP_TYPE="IF_WD_WINDOW_DESCRIPTION" DISPLAY_NAME="WINDOW_DESCR"/>
  <wdy_ctlr_usage COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" CTLR_USAGE_NAME="4VUU5NXOGJQM6IY6FZOKF24A7" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
  <wdy_ctx_node COMPONENT_NAME="ZMC_PRIJEM_K_VZ" CONTROLLER_NAME="ZMC_PRIJEM_K_VZ" NODE_NAME="CONTEXT" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" NODE_POSITION="0 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" SINGLETON="X" DISPLAY_NAME="CONTEXT" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
 </controller_definition>
</WDYN>
