<?xml version="1.0" encoding="utf-16"?>
<nugget name="ZMC_ZPETNE_HLASENI">
 <WDYN COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VERSION="A" TYPE="0" CMP_CONTROLLER="COMPONENTCONTROLLER" CMP_INTERFACE="COMPONENTINTERFACE" DISPLAY_NAME="ZMC_ZPETNE_HLASENI" AUTHOR="CZMICYP" CREATEDON="20141009" CHANGEDBY="CZMICYP" CHANGEDON="20141009" GENDATE="20141009" GENTIME="110102" 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_ZPETNE_HLASENI" LANGU="C" DESCRIPTION="Zpetne hlaseni do vyroby"/>
  <view_definition COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" VERSION="A" TYPE="CL_WDY_MD_VIEW" VIEW_TYPE="00" LIFESPAN="0" VIEW_CONTROLLER="MAIN" ROOT_UI_CONT="ROOTUIELEMENTCONTAINER" DISPLAY_NAME="MAIN" AUTHOR="CZMICYP" CREATEDON="20141009" CHANGEDBY="CZMICYP" CHANGEDON="20141009" VISIBILITY="00">
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR" VERSION="I" ELEMENT_POSITION="11 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON_ROW" DISPLAY_NAME="BR" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON_ROW" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR_LD" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="BR_LD" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="BR" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_MENU" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON" DISPLAY_NAME="B_MENU" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON" PARENT_NAME="BR" AGGREGATION_NAME="BUTTONS"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" VERSION="I" ELEMENT_POSITION="2 " UI_ELEMENT_TYPE="CL_WDY_MD_BUTTON" DISPLAY_NAME="B_SAVE" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="BUTTON" PARENT_NAME="BR" AGGREGATION_NAME="BUTTONS"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" 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_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" ELEMENT_POSITION="10 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_DATUM" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM_1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_DATUM_1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU_2" VERSION="I" ELEMENT_POSITION="9 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_DATU_2" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU__1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_DATU__1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_DATU_2" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" 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_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" ELEMENT_POSITION="4 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_LMNGA" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA_1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_LMNGA_1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" VERSION="I" ELEMENT_POSITION="3 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG__1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_LMNG__1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" ELEMENT_POSITION="6 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_MENGE1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE_1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_MENGE_1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG_2" VERSION="I" ELEMENT_POSITION="5 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_MENG_2" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG__1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_MENG__1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_MENG_2" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" ELEMENT_POSITION="8 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_PERNR" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR_1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_PERNR_1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN_2" VERSION="I" ELEMENT_POSITION="7 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_PERN_2" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN__1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_PERN__1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_PERN_2" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" ELEMENT_POSITION="2 " UI_ELEMENT_TYPE="CL_WDY_MD_INPUT_FIELD" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_RUECK" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="INPUT_FIELD" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK_1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_RUECK_1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_LABEL" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="LABEL" PARENT_NAME="ROOTUIELEMENTCONTAINER" AGGREGATION_NAME="CHILDREN"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC__1" VERSION="I" ELEMENT_POSITION="1 " UI_ELEMENT_TYPE="CL_WDY_MD_GRID_DATA" DISPLAY_NAME="ROOTUIELEMENTCONTAINER_RUEC__1" UI_ELEM_DEF_LIB="STANDARD" UI_ELEMENT_DEF="GRID_DATA" PARENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" AGGREGATION_NAME="LAYOUT_DATA"/>
   <wdy_ui_element COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" 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_ZPETNE_HLASENI" VIEW_NAME="MAIN" 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_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="2"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="BR_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_MENU" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_MENU" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_MENU" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_MENU" VERSION="I" PROPERTY_NAME="HOTKEY" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_MENU" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_MENU" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="6C86878EC141D41198110060B0672A3C" PropText="Menu"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_MENU" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_MENU" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" VERSION="I" PROPERTY_NAME="HOTKEY" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" VERSION="I" PROPERTY_NAME="IMAGE_FIRST" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="5336789E1EC06583E10000000A2A012F" PropText="Uložit"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="ARIA_LANDMARK" PROPERTY_VALUE="10"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="HANDLE_HOTKEYS" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="HEIGHT" PropText=""/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="IS_LAYOUT_CONTAINER" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLLING_MODE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLL_LEFT" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="SCROLL_TOP" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="100%"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="NO_HISTORY" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="READ_ONLY" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM_1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM_1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM_1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM_1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM_1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU_2" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU_2" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU_2" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU_2" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="ROOTUIELEMENTCONTAINER_DATUM"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU_2" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="CE7A878EC141D41198110060B0672A3C" PropText="Datum"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU_2" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU_2" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU__1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU__1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU__1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU__1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATU__1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_PADDING" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="CELL_SPACING" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="COL_COUNT" PROPERTY_VALUE="2"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_HORIZONTALLY" PropText=""/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="STRETCHED_VERTICALLY" PropText=""/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LAYOUT" VERSION="I" PROPERTY_NAME="TAB_ORDER" PROPERTY_VALUE="01"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" PROPERTY_NAME="NO_HISTORY" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA_1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA_1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA_1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA_1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA_1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="ROOTUIELEMENTCONTAINER_LMNGA"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="533674331EC06583E10000000A2A012F" PropText="Množství"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG_2" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG__1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG__1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG__1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG__1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG__1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNG__1" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" PROPERTY_NAME="NO_HISTORY" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE_1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE_1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE_1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE_1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE_1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG_2" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG_2" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG_2" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG_2" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="ROOTUIELEMENTCONTAINER_MENGE1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG_2" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="533D7D820A0C6586E10000000A2A012F" PropText="Zmatky"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG_2" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG_2" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG__1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG__1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG__1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG__1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENG__1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" PROPERTY_NAME="NO_HISTORY" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="01"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR_1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR_1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR_1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR_1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR_1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN_2" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN_2" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN_2" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN_2" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="ROOTUIELEMENTCONTAINER_PERNR"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN_2" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="5344C1244E7834A4E10000000A2A012F" PropText="Osobní č."/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN_2" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN_2" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="01"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN__1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN__1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN__1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN__1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERN__1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="ALIGNMENT" PROPERTY_VALUE="03"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="IME_MODE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="LENGTH" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="NO_HISTORY" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="STATE" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK_1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK_1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK_1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK_1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK_1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" VERSION="I" PROPERTY_NAME="DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" VERSION="I" PROPERTY_NAME="LABEL_FOR" PROPERTY_VALUE="ROOTUIELEMENTCONTAINER_RUECK"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" VERSION="I" PROPERTY_NAME="TEXT" PROPERTY_VALUE="5344BA464E7834A4E10000000A2A012F" PropText="Uložení"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" VERSION="I" PROPERTY_NAME="TEXT_DIRECTION" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC_2" VERSION="I" PROPERTY_NAME="WIDTH" PropText=""/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC__1" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC__1" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC__1" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC__1" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC__1" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUEC__1" VERSION="I" PROPERTY_NAME="WIDTH" PROPERTY_VALUE="20%"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="CONTEXT_MENU_BEHAVIOUR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="DELAY" PROPERTY_VALUE="0"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="ENABLED" PROPERTY_VALUE="X"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER" VERSION="I" PROPERTY_NAME="VISIBLE" PROPERTY_VALUE="02"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="CELL_BACKGROUND_DESIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="COL_SPAN" PROPERTY_VALUE="1"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="H_ALIGN" PROPERTY_VALUE="08"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="SEMANTIC_COLOR" PROPERTY_VALUE="00"/>
   <wdy_ui_property COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER_LD" VERSION="I" PROPERTY_NAME="V_ALIGN" PROPERTY_VALUE="00"/>
   <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="DATUM"/>
   <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="LMNGA"/>
   <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="MENGE1"/>
   <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="PERNR"/>
   <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" BINDING_NAME="VALUE" VERSION="I" UI_ELEM_PROPERTY="VALUE" BOUND_CTX_NODE="IN_DATA" BOUND_CTX_ATTRIB="RUECK"/>
   <wdy_ui_ctx_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" 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_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="B_SAVE" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="IF_ON_ENTER"/>
   <wdy_ui_evt_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_DATUM" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="IF_ON_ENTER"/>
   <wdy_ui_evt_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_LMNGA" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="IF_ON_ENTER"/>
   <wdy_ui_evt_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_MENGE1" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="IF_ON_ENTER"/>
   <wdy_ui_evt_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_PERNR" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="IF_ON_ENTER"/>
   <wdy_ui_evt_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="ROOTUIELEMENTCONTAINER_RUECK" BINDING_NAME="ON_ENTER" VERSION="I" UI_ELEM_EVENT="ON_ENTER" BOUND_ACTION="IF_ON_ENTER"/>
   <wdy_ui_evt_bind COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="MAIN" ELEMENT_NAME="TM_TIMER" BINDING_NAME="ON_ACTION" VERSION="I" UI_ELEM_EVENT="ON_ACTION" BOUND_ACTION="ON_TIMER"/>
   <controller_definition COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" VERSION="A" CONTROLLER_TYPE="01" CONTEXT="CONTEXT" DISPLAY_NAME="MAIN" AUTHOR="CZMICYP" CREATEDON="20141009" CHANGEDBY="CZMICYP" CHANGEDON="20141009">
    <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CHECK_INPUT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_INPUT" CODE_BODY="method CHECK_INPUT .

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





  CLEAR wd_comp_controller-&gt;MV_SAVED.



  &quot;input testing

  IF     ls_in_data-rueck IS INITIAL.

    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_RUECK&apos;.

    wd_this-&gt;empty_if_error( ).



  ELSE.

    &quot; all fields are inserted

    CALL FUNCTION &apos;CONVERSION_EXIT_ALPHA_INPUT&apos;

        EXPORTING input  = ls_in_data-rueck

        IMPORTING output = ls_in_data-rueck.



    DATA: &quot;g_gui_xstart VALUE &apos;X&apos;,

      sum_lmnga TYPE afru-lmnga,

      sum_xmnga TYPE afru-xmnga,

      smeng     TYPE afru-smeng,

      total     TYPE afru-smeng,

      sub_total TYPE afru-smeng,

      lmnga     TYPE t,

      menge1    TYPE t,

      sub_t     TYPE t,

      smengc    TYPE t,

      m_text1    type SYMSGV,

      m_text2   type SYMSGV,&quot;(250)     ,

*      GSYS  TYPE  YRFS_G1,

      rueck_imp  TYPE afrud-rueck,

      tmp_aufnr  TYPE caufvd-aufnr.



    &quot;vytezek + zmetky nesmi byt &gt; Celk.množství v zakazce

    CLEAR: smeng, sum_lmnga, sum_xmnga, total, sub_total.

    SELECT smeng SUM( lmnga ) SUM( xmnga )

      FROM afru

      INTO (smeng, sum_lmnga, sum_xmnga)

      WHERE rueck = ls_in_data-rueck AND

           stokz &lt;&gt; &apos;X&apos; AND

           stzhl = &apos;&apos;



      GROUP BY smeng.

    ENDSELECT.



    IF smeng IS INITIAL.

      CLEAR: tmp_aufnr, rueck_imp.

      rueck_imp = ls_in_data-rueck.



      CALL FUNCTION &apos;CO_RU_GET_AUFNR_BY_CONF_INDEX&apos;

        EXPORTING

          RUECK_IMP            = rueck_imp

        IMPORTING

          AUFNR_EXP            = tmp_aufnr

        EXCEPTIONS

          OPER_NOT_FOUND       = 1

          ORDER_NOT_FOUND      = 2

          ORDER_ALREADY_LOCKED = 3

          OTHERS               = 4.

        IF SY-SUBRC &lt;&gt; 0.

*          wd_this-&gt;GET_AUFNR_ERROR( ).

        ENDIF.



      SELECT SINGLE gamng

        FROM afko

        INTO smeng

        WHERE aufnr = tmp_aufnr.



    ENDIF.



    ADD sum_lmnga to total.

    ADD sum_xmnga to total.

    ADD ls_in_data-lmnga to total.

    ADD ls_in_data-menge1 to total.



    IF total &gt; smeng.

      sub_total = sum_lmnga + sum_xmnga.

      WRITE: sub_total TO sub_t,

             smeng     TO smengc,

             ls_in_data-lmnga  TO lmnga,

             ls_in_data-menge1 TO menge1.



        CONCATENATE &apos;OK&apos; lmnga &apos;+ NG&apos; menge1 &apos;+ CNF&apos; sub_t

                    INTO m_text1

                    SEPARATED BY space.



        CONCATENATE &apos;&gt;&apos; &apos;ZAK&apos; smengc &apos;!&apos;

                    INTO m_text2

                    SEPARATED BY space.



        wd_this-&gt;generic_error( val1 = m_text1 val2 = m_text2 ).



  ELSEIF ls_in_data-PERNR IS INITIAL.

    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_PERNR&apos;.

    wd_this-&gt;empty_if_error( ).



  ELSEIF ls_in_data-DATUM IS INITIAL.

    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_DATUM&apos;.

    wd_this-&gt;empty_if_error( ).



  ELSEIF  ( ls_in_data-lmnga EQ 0 OR ls_in_data-lmnga IS INITIAL ) AND

        ( ls_in_data-menge1 EQ 0 OR ls_in_data-menge1 IS INITIAL ).

    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_LMNGA&apos;.

*    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_MENGE1&apos;.

      wd_this-&gt;yield_or_scrap_error( ).

  ELSE.



    &quot;CHECK WAS SUCCESSFUL -&gt; SAVE

     wd_this-&gt;SAVE( ).

    ENDIF.

  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
    <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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 .

  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_nd_in_data-&gt;INVALIDATE( ).



  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).



  lo_el_in_data-&gt;set_attribute(

    name =  `DATUM`

    value = sy-datum ).





  wd_comP_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_RUECK&apos;.

endmethod.

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

    sy-msgid = &apos;ZMC&apos;. &quot;message class,se91

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

    sy-msgno = 010.

    wd_comp_controller-&gt;message( ).

    wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

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

    sy-msgid = &apos;ZRF&apos;. &quot;message class,se91

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

    sy-msgno = 000.

    SY-MSGV1 = VAL1.

    SY-MSGV2 = VAL2.

    wd_comp_controller-&gt;message( ).

    wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

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

    wd_comp_controller-&gt;message( ).

    wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
    <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="IF_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="IF_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
    <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="ONACTIONIF_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="MAIN" REF_CMPNAME="IF_ON_ENTER" DISPLAY_NAME="ONACTIONIF_ON_ENTER" CODE_BODY="method ONACTIONIF_ON_ENTER .

 wd_this-&gt;check_input( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
    <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="ONACTIONON_TIMER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="MAIN" REF_CMPNAME="ON_TIMER" DISPLAY_NAME="ONACTIONON_TIMER" CODE_BODY="method ONACTIONON_TIMER .



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

    wd_this-&gt;clear_input( ).

  ENDIF.



  wd_comp_controller-&gt;refresh_page( ).

endmethod.

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

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



  DATA:

   TT  type TABLE OF BAPI_PP_TIMETICKET,

   wa_TT type BAPI_PP_TIMETICKET,

   rett type TABLE OF bapi_coru_return,

   wa_rett type bapi_coru_return,

   afr  type afrud,

   aufpl type afko-aufpl,

   aufnr type afko-aufnr,

   prop type BAPI_PP_CONF_PROP,

   ret  type bapiret1,

   l_werks type afpo-pwerk,

   rueck type BAPI_PP_TIMETICKET-CONF_NO,

   lv_MEINH type meinh VALUE &apos;ST&apos;.



 REFRESH: TT, rett.

 CLEAR:   wa_TT, wa_rett.

 rueck = ls_in_data-rueck.

  CALL FUNCTION &apos;CONVERSION_EXIT_ALPHA_INPUT&apos;

    EXPORTING

      input  = rueck

    IMPORTING

      output = wa_TT-CONF_NO.



  SELECT SINGLE werks aufpl

    INTO (l_werks, aufpl)

    from AFVC

    where rueck eq wa_TT-CONF_NO.

      wa_TT-conf_quan_unit  = lv_MEINH.

      wa_TT-yield = ls_in_data-lmnga. &quot;výtěžek

      wa_TT-scrap = ls_in_data-menge1.&quot;zmetky

      append wa_TT to TT.



   prop-ACTIVITY = &apos;X&apos;.

      CALL FUNCTION &apos;BAPI_PRODORDCONF_GET_TT_PROP&apos;

       EXPORTING

         PROPOSE                  = prop

       IMPORTING

         RETURN                   = ret

        TABLES

          TIMETICKETS              = TT

*   GOODSMOVEMENTS           =

*   LINK_CONF_GOODSMOV       =

          DETAIL_RETURN            = rett

                .

      read TABLE TT index 1 INTO wa_TT.

      wa_TT-fin_conf = &apos;1&apos;. &quot;automatické záv.hlášení



*      CONCATENATE ls_in_data-datum+6(4)

*                  ls_in_data-datum+3(2)

*                  ls_in_data-datum(2)

      wa_TT-postg_date      = ls_in_data-datum.

      wa_TT-ex_created_by   = sy-uname.

      wa_TT-ex_created_date = sy-datum.

      wa_TT-ex_created_time = sy-uzeit.

      wa_TT-pers_no         = ls_in_data-pernr.



      MODIFY  TT FROM wa_TT INDEX 1.





      CALL FUNCTION &apos;BAPI_PRODORDCONF_CREATE_TT&apos;

       EXPORTING

         POST_WRONG_ENTRIES       = &apos;0&apos;

         TESTRUN                  = &apos;X&apos;

       IMPORTING

         RETURN                   = ret

        TABLES

          TIMETICKETS              = TT

*   GOODSMOVEMENTS           =

*   LINK_CONF_GOODSMOV       =

         DETAIL_RETURN            = rett

                .



      READ TABLE rett WITH KEY type = &apos;E&apos; INTO wa_rett.

       IF sy-subrc NE 0.

        &quot; vše OK

        CALL FUNCTION &apos;BAPI_PRODORDCONF_CREATE_TT&apos;

         EXPORTING

           POST_WRONG_ENTRIES       = &apos;0&apos;

           TESTRUN                  = &apos; &apos;

         IMPORTING

           RETURN                   = ret

          TABLES

            TIMETICKETS              = TT

*   GOODSMOVEMENTS           =

*   LINK_CONF_GOODSMOV       =

           DETAIL_RETURN            = rett

                  .

        COMMIT WORK AND WAIT.

        READ TABLE rett INDEX 1 INTO wa_rett.



        CLEAR ls_in_data-rueck.

        ls_in_data-lmnga = 1. &quot;výtěžek

        ls_in_data-menge1 = 0.&quot;zmetky



      ENDIF.



      SELECT single aufnr

        into aufnr

        from afko

        where

          aufpl eq aufpl.



* chybové hlášení.

      CALL FUNCTION &apos;CO_RU_ORDER_DEQUEUE&apos;

        EXPORTING

          aufnr_imp = aufnr.



      SY-MSGTY = wa_RETT-TYPE.

      sy-msgid = wa_RETT-iD.

      SY-MsGNo = wa_RETT-NUMBER.

      SY-MsGV1 = wa_RETT-MESSAGE_V1.

      SY-MsGV2 = wa_RETT-MESSAGE_V2.

      SY-MsGv3 = wa_RETT-MESSAGE_V3.

      SY-MsGv4 = wa_RETT-MESSAGE_V4.





      IF sy-msgty EQ &apos;E&apos;.

        wd_comp_controller-&gt;set_timer_fast( ).

      ELSE.

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

        wd_comp_controller-&gt;set_timer_medium( ).



      ENDIF.



      wd_comp_controller-&gt;message( ).





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
    <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY="method WDDOINIT .



  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_datum TYPE wd_this-&gt;Element_in_data-datum.

  DATA lv_pernr TYPE wd_this-&gt;Element_in_data-pernr.



  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.



  &quot;setting date for today

  lv_datum = sy-datum.



  lo_el_in_data-&gt;set_attribute(

  name =  `DATUM`

  value = lv_datum ).



  SELECT SINGLE pernr

    INTO lv_pernr

    FROM pa0105

    WHERE usrty eq &apos;0001&apos; AND

          usrid eq sy-uname.



  lo_el_in_data-&gt;SET_ATTRIBUTE(

  name =  `PERNR`

  value =  lv_pernr ).











endmethod.

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



  &quot;sets cursor on input field which name is in currently MV_CURSOR

  DATA  MV_CURR_IF TYPE REF TO IF_WD_VIEW_ELEMENT.

  MV_CURR_IF ?= view-&gt;get_element( wd_comp_controller-&gt;mv_cursor ).



  CHECK MV_CURR_IF is NOT INITIAL.

*

  CALL METHOD VIEW-&gt;REQUEST_FOCUS_ON_VIEW_ELEM

      EXPORTING VIEW_ELEMENT    =  MV_CURR_IF.

*      MV_CURR_IF-&gt;FOCUS( ).



endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
    <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="YIELD_OR_SCRAP_ERROR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="YIELD_OR_SCRAP_ERROR" CODE_BODY="method YIELD_OR_SCRAP_ERROR .

    sy-msgid = &apos;ZRF2&apos;. &quot;message class,se91

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

    sy-msgno = 001.



    &quot;ad-hoc preklad

    IF sy-LANGU eq &apos;W&apos;.

      SY-MSGV1 = &apos;########## ### ####&apos;.

    ELSEIF sy-LANGU eq &apos;C&apos;.

      SY-MSGV1 = &apos;Mnozstvi nebo Zmatky&apos;.

    ELSE.

      SY-MSGV1 = &apos;YIELD or SCRAP&apos;.

    ENDIF.

    wd_comp_controller-&gt;message( ).

    wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CHECK_INPUT" LANGU="C" DESCRIPTION="input_chk"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CHECK_INPUT" LANGU="E" DESCRIPTION="input_chk"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CLEAR_INPUT" LANGU="C" DESCRIPTION="clears INput fields"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CLEAR_INPUT" LANGU="E" DESCRIPTION="clears INput fields"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="EMPTY_IF_ERROR" LANGU="C" DESCRIPTION="if one of needed input fields is  empty"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="EMPTY_IF_ERROR" LANGU="E" DESCRIPTION="if one of needed input fields is  empty"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="SAVE" LANGU="C" DESCRIPTION="PAI"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="SAVE" LANGU="E" DESCRIPTION="PAI"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOAFTERACTION" LANGU="C" DESCRIPTION="Method for non-action specific operations before navigation"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOAFTERACTION" LANGU="E" DESCRIPTION="Method for non-action specific operations before navigation"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOBEFOREACTION" LANGU="C" DESCRIPTION="Method for Validation of User Input"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOBEFOREACTION" LANGU="E" DESCRIPTION="Method for Validation of User Input"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOEXIT" LANGU="E" DESCRIPTION="Controller Clean-Up Method"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOINIT" LANGU="E" DESCRIPTION="Controller Initialization Method"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOMODIFYVIEW" LANGU="C" DESCRIPTION="Method for Modifying the View Before Rendering"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOMODIFYVIEW" LANGU="E" DESCRIPTION="Method for Modifying the View Before Rendering"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOONCONTEXTMENU" LANGU="C" DESCRIPTION="Method for Modifying the Context Menu"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOONCONTEXTMENU" LANGU="E" DESCRIPTION="Method for Modifying the Context Menu"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="YIELD_OR_SCRAP_ERROR" LANGU="C" DESCRIPTION="Jedno z polí {Množství, Zmatky} musí být zadáno."/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="YIELD_OR_SCRAP_ERROR" LANGU="E" DESCRIPTION='&quot;one of {yield, scrap} can be empty&quot;consraint is broken'/>
    <wdy_ctlr_param COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="GENERIC_ERROR" PARAMETER_NAME="VAL1" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="SYMSGV" DISPLAY_NAME="VAL1"/>
    <wdy_ctlr_param COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="GENERIC_ERROR" PARAMETER_NAME="VAL2" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="SYMSGV" DISPLAY_NAME="VAL2" OPTIONAL="X"/>
    <wdy_ctlr_param COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CTLR_USAGE_NAME="4XEEOYSJMO2FXNYN6AYFE45YN" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
    <wdy_ctx_node COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" SINGLETON="X" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
    <wdy_ctx_node COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
    <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="DATUM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="DATUM" ABAP_TYPING="0" DISPLAY_NAME="DATUM" VALUE_HELP_MODE="0"/>
    <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LMNGA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="AFRU-LMNGA" ABAP_TYPING="0" DISPLAY_NAME="LMNGA" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
    <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MENGE1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="AFRU-XMNGA" ABAP_TYPING="0" DISPLAY_NAME="MENGE1" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
    <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="PERNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="PERNR-PERNR" ABAP_TYPING="0" DISPLAY_NAME="PERNR" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
    <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="RUECK" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AFRU-RUECK" ABAP_TYPING="0" DISPLAY_NAME="RUECK" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
    <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
    <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CTLR_USAGE_NAME="4XEEOYSJMO2FXNYN6AYFE45YN" CTX_MAPP_NAME="4XCLCPFJYLI50Z5DQQ8CSROKV" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="IN_DATA" MAP_NODE_NAME="IN_DATA"/>
    <wdy_ctx_mapping COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CTLR_USAGE_NAME="4XEEOYSJMO2FXNYN6AYFE45YN" CTX_MAPP_NAME="4XEPWYPE3OIY0GQLOV2XBICZ3" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="TIMER_CONF" MAP_NODE_NAME="TIMER_CONF"/>
   </controller_definition>
  </view_definition>
  <view_definition COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="ZMC_ZPETNE_HLASENI" VERSION="A" TYPE="CL_WDY_MD_WINDOW" VIEW_TYPE="00" LIFESPAN="0" VIEW_CONTROLLER="ZMC_ZPETNE_HLASENI" DISPLAY_NAME="ZMC_ZPETNE_HLASENI" AUTHOR="CZMICYP" CREATEDON="20141009" CHANGEDBY="CZMICYP" CHANGEDON="20141009" DEF_ROOT_NODE="MAIN_USAGE_0" VISIBILITY="00">
   <view_window title=""/>
   <wdy_iobound_plug COMPONENT_NAME="ZMC_ZPETNE_HLASENI" VIEW_NAME="ZMC_ZPETNE_HLASENI" 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_vsh_node COMPONENT_NAME="ZMC_ZPETNE_HLASENI" WINDOW_NAME="ZMC_ZPETNE_HLASENI" VSH_NODE_NAME="MAIN_USAGE_0" VERSION="I" VSH_NODE_TYPE="CL_WDY_MD_VIEW_USAGE" USED_VIEW="MAIN" DISPLAY_NAME="MAIN_USAGE_0"/>
   <controller_definition COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" VERSION="A" CONTROLLER_TYPE="06" CONTEXT="CONTEXT" DISPLAY_NAME="ZMC_ZPETNE_HLASENI" AUTHOR="CZMICYP" CREATEDON="20141009" CHANGEDON="00000000">
    <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="HANDLEDEFAULT" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="1 " VISIBILITY="2" REF_VIEW_NAME="ZMC_ZPETNE_HLASENI" REF_PLUG_NAME="DEFAULT" DISPLAY_NAME="HANDLEDEFAULT" CODE_BODY="method HANDLEDEFAULT .

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

endmethod.

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

endmethod.

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

endmethod.

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

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOEXIT" LANGU="E" DESCRIPTION="Controller Clean-Up Method"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOINIT" LANGU="E" DESCRIPTION="Controller Initialization Method"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOONCLOSE" LANGU="C" DESCRIPTION="Handling For Closing of Window"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOONCLOSE" LANGU="E" DESCRIPTION="Handling For Closing of Window"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOONOPEN" LANGU="C" DESCRIPTION="Handling For Opening of Window"/>
    <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOONOPEN" LANGU="E" DESCRIPTION="Handling For Opening of Window"/>
    <wdy_ctlr_param COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CTLR_USAGE_NAME="4XEEOYKV3PGQF1F70GW34278V" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
    <wdy_ctx_node COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" VERSION="A" CONTROLLER_TYPE="02" CONTEXT="CONTEXT" DISPLAY_NAME="COMPONENTCONTROLLER" RUNTIME_OBJECT="ZIWCI_MC_ZPETNE_HLASENI" AUTHOR="CZMICYP" CREATEDON="20141009" CHANGEDBY="CZMICYP" CHANGEDON="20141009">
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_CURSOR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MV_CURSOR" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="STRING" READ_ONLY="X"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_SAVED" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_PROPERTY" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="MV_SAVED" ACTION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="BOOL" READ_ONLY="X"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" 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"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" 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 .





  wd_this-&gt;PREFILL_TIMER_CONTEXT( ).



*** 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( ).

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



*** init timer*****

  wd_this-&gt;set_timer_slow( ).



*** init cursor*****

  wd_this-&gt;MV_CURSOR = &apos;ROOTUIELEMENTCONTAINER_RUECK&apos;.





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_SAVED" LANGU="C" DESCRIPTION="Signalizuje uspesne Ulozenie"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="MV_SAVED" LANGU="E" DESCRIPTION="Signalizuje uspesne Ulozenie"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="PREFILL_TIMER_CONTEXT" LANGU="C" DESCRIPTION="naplnenie dlzok trvania casovaca z glob. premennych"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOAPPLICATIONSTATECHANGE" LANGU="C" DESCRIPTION="Handling for Suspending and Resuming an Application"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOAPPLICATIONSTATECHANGE" LANGU="E" DESCRIPTION="Handling for Suspending and Resuming an Application"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOBEFORENAVIGATION" LANGU="C" DESCRIPTION="Error Handling Before Navigation Through Application"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOBEFORENAVIGATION" LANGU="E" DESCRIPTION="Error Handling Before Navigation Through Application"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOEXIT" LANGU="E" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOINIT" LANGU="E" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOPOSTPROCESSING" LANGU="C" DESCRIPTION="Prepare Output"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" CMPNAME="WDDOPOSTPROCESSING" LANGU="E" DESCRIPTION="Prepare Output"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" 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_ctx_node COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" SINGLETON="X" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="DATUM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="DATUM" ABAP_TYPING="0" DISPLAY_NAME="DATUM" VALUE_HELP_ID="AUTO:CALENDAR" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LMNGA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="AFRU-LMNGA" ABAP_TYPING="0" DISPLAY_NAME="LMNGA" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MENGE1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="AFRU-XMNGA" ABAP_TYPING="0" DISPLAY_NAME="MENGE1" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="PERNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="PERNR-PERNR" ABAP_TYPING="0" DISPLAY_NAME="PERNR" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="RUECK" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AFRU-RUECK" ABAP_TYPING="0" DISPLAY_NAME="RUECK" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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="8" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MAX_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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="20" ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="MEDIUM_SPEED" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="COMPONENTCONTROLLER" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" CONTROLLER_NAME="EMPTYVIEW" VERSION="A" CONTROLLER_TYPE="01" DISPLAY_NAME="EMPTYVIEW" AUTHOR="CZMICYP" CREATEDON="20141009" CHANGEDON="00000000"/>
  <controller_definition COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" VERSION="A" CONTROLLER_TYPE="01" CONTEXT="CONTEXT" DISPLAY_NAME="MAIN" AUTHOR="CZMICYP" CREATEDON="20141009" CHANGEDBY="CZMICYP" CHANGEDON="20141009">
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CHECK_INPUT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="CHECK_INPUT" CODE_BODY="method CHECK_INPUT .

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





  CLEAR wd_comp_controller-&gt;MV_SAVED.



  &quot;input testing

  IF     ls_in_data-rueck IS INITIAL.

    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_RUECK&apos;.

    wd_this-&gt;empty_if_error( ).



  ELSE.

    &quot; all fields are inserted

    CALL FUNCTION &apos;CONVERSION_EXIT_ALPHA_INPUT&apos;

        EXPORTING input  = ls_in_data-rueck

        IMPORTING output = ls_in_data-rueck.



    DATA: &quot;g_gui_xstart VALUE &apos;X&apos;,

      sum_lmnga TYPE afru-lmnga,

      sum_xmnga TYPE afru-xmnga,

      smeng     TYPE afru-smeng,

      total     TYPE afru-smeng,

      sub_total TYPE afru-smeng,

      lmnga     TYPE t,

      menge1    TYPE t,

      sub_t     TYPE t,

      smengc    TYPE t,

      m_text1    type SYMSGV,

      m_text2   type SYMSGV,&quot;(250)     ,

*      GSYS  TYPE  YRFS_G1,

      rueck_imp  TYPE afrud-rueck,

      tmp_aufnr  TYPE caufvd-aufnr.



    &quot;vytezek + zmetky nesmi byt &gt; Celk.množství v zakazce

    CLEAR: smeng, sum_lmnga, sum_xmnga, total, sub_total.

    SELECT smeng SUM( lmnga ) SUM( xmnga )

      FROM afru

      INTO (smeng, sum_lmnga, sum_xmnga)

      WHERE rueck = ls_in_data-rueck AND

           stokz &lt;&gt; &apos;X&apos; AND

           stzhl = &apos;&apos;



      GROUP BY smeng.

    ENDSELECT.



    IF smeng IS INITIAL.

      CLEAR: tmp_aufnr, rueck_imp.

      rueck_imp = ls_in_data-rueck.



      CALL FUNCTION &apos;CO_RU_GET_AUFNR_BY_CONF_INDEX&apos;

        EXPORTING

          RUECK_IMP            = rueck_imp

        IMPORTING

          AUFNR_EXP            = tmp_aufnr

        EXCEPTIONS

          OPER_NOT_FOUND       = 1

          ORDER_NOT_FOUND      = 2

          ORDER_ALREADY_LOCKED = 3

          OTHERS               = 4.

        IF SY-SUBRC &lt;&gt; 0.

*          wd_this-&gt;GET_AUFNR_ERROR( ).

        ENDIF.



      SELECT SINGLE gamng

        FROM afko

        INTO smeng

        WHERE aufnr = tmp_aufnr.



    ENDIF.



    ADD sum_lmnga to total.

    ADD sum_xmnga to total.

    ADD ls_in_data-lmnga to total.

    ADD ls_in_data-menge1 to total.



    IF total &gt; smeng.

      sub_total = sum_lmnga + sum_xmnga.

      WRITE: sub_total TO sub_t,

             smeng     TO smengc,

             ls_in_data-lmnga  TO lmnga,

             ls_in_data-menge1 TO menge1.



        CONCATENATE &apos;OK&apos; lmnga &apos;+ NG&apos; menge1 &apos;+ CNF&apos; sub_t

                    INTO m_text1

                    SEPARATED BY space.



        CONCATENATE &apos;&gt;&apos; &apos;ZAK&apos; smengc &apos;!&apos;

                    INTO m_text2

                    SEPARATED BY space.



        wd_this-&gt;generic_error( val1 = m_text1 val2 = m_text2 ).



  ELSEIF ls_in_data-PERNR IS INITIAL.

    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_PERNR&apos;.

    wd_this-&gt;empty_if_error( ).



  ELSEIF ls_in_data-DATUM IS INITIAL.

    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_DATUM&apos;.

    wd_this-&gt;empty_if_error( ).



  ELSEIF  ( ls_in_data-lmnga EQ 0 OR ls_in_data-lmnga IS INITIAL ) AND

        ( ls_in_data-menge1 EQ 0 OR ls_in_data-menge1 IS INITIAL ).

    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_LMNGA&apos;.

*    wd_comp_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_MENGE1&apos;.

      wd_this-&gt;yield_or_scrap_error( ).

  ELSE.



    &quot;CHECK WAS SUCCESSFUL -&gt; SAVE

     wd_this-&gt;SAVE( ).

    ENDIF.

  ENDIF.

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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 .

  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_nd_in_data-&gt;INVALIDATE( ).



  lo_el_in_data = lo_nd_in_data-&gt;get_element( ).



  lo_el_in_data-&gt;set_attribute(

    name =  `DATUM`

    value = sy-datum ).





  wd_comP_controller-&gt;mv_cursor = &apos;ROOTUIELEMENTCONTAINER_RUECK&apos;.

endmethod.

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

    sy-msgid = &apos;ZMC&apos;. &quot;message class,se91

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

    sy-msgno = 010.

    wd_comp_controller-&gt;message( ).

    wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

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

    sy-msgid = &apos;ZRF&apos;. &quot;message class,se91

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

    sy-msgno = 000.

    SY-MSGV1 = VAL1.

    SY-MSGV2 = VAL2.

    wd_comp_controller-&gt;message( ).

    wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

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

    wd_comp_controller-&gt;message( ).

    wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="IF_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_ACTION" CMP_POSITION="0 " VISIBILITY="0" DISPLAY_NAME="IF_ON_ENTER" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="ONACTIONIF_ON_ENTER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="MAIN" REF_CMPNAME="IF_ON_ENTER" DISPLAY_NAME="ONACTIONIF_ON_ENTER" CODE_BODY="method ONACTIONIF_ON_ENTER .

 wd_this-&gt;check_input( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="ONACTIONON_TIMER" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="0 " VISIBILITY="2" REF_CTLR_NAME="MAIN" REF_CMPNAME="ON_TIMER" DISPLAY_NAME="ONACTIONON_TIMER" CODE_BODY="method ONACTIONON_TIMER .



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

    wd_this-&gt;clear_input( ).

  ENDIF.



  wd_comp_controller-&gt;refresh_page( ).

endmethod.

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

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



  DATA:

   TT  type TABLE OF BAPI_PP_TIMETICKET,

   wa_TT type BAPI_PP_TIMETICKET,

   rett type TABLE OF bapi_coru_return,

   wa_rett type bapi_coru_return,

   afr  type afrud,

   aufpl type afko-aufpl,

   aufnr type afko-aufnr,

   prop type BAPI_PP_CONF_PROP,

   ret  type bapiret1,

   l_werks type afpo-pwerk,

   rueck type BAPI_PP_TIMETICKET-CONF_NO,

   lv_MEINH type meinh VALUE &apos;ST&apos;.



 REFRESH: TT, rett.

 CLEAR:   wa_TT, wa_rett.

 rueck = ls_in_data-rueck.

  CALL FUNCTION &apos;CONVERSION_EXIT_ALPHA_INPUT&apos;

    EXPORTING

      input  = rueck

    IMPORTING

      output = wa_TT-CONF_NO.



  SELECT SINGLE werks aufpl

    INTO (l_werks, aufpl)

    from AFVC

    where rueck eq wa_TT-CONF_NO.

      wa_TT-conf_quan_unit  = lv_MEINH.

      wa_TT-yield = ls_in_data-lmnga. &quot;výtěžek

      wa_TT-scrap = ls_in_data-menge1.&quot;zmetky

      append wa_TT to TT.



   prop-ACTIVITY = &apos;X&apos;.

      CALL FUNCTION &apos;BAPI_PRODORDCONF_GET_TT_PROP&apos;

       EXPORTING

         PROPOSE                  = prop

       IMPORTING

         RETURN                   = ret

        TABLES

          TIMETICKETS              = TT

*   GOODSMOVEMENTS           =

*   LINK_CONF_GOODSMOV       =

          DETAIL_RETURN            = rett

                .

      read TABLE TT index 1 INTO wa_TT.

      wa_TT-fin_conf = &apos;1&apos;. &quot;automatické záv.hlášení



*      CONCATENATE ls_in_data-datum+6(4)

*                  ls_in_data-datum+3(2)

*                  ls_in_data-datum(2)

      wa_TT-postg_date      = ls_in_data-datum.

      wa_TT-ex_created_by   = sy-uname.

      wa_TT-ex_created_date = sy-datum.

      wa_TT-ex_created_time = sy-uzeit.

      wa_TT-pers_no         = ls_in_data-pernr.



      MODIFY  TT FROM wa_TT INDEX 1.





      CALL FUNCTION &apos;BAPI_PRODORDCONF_CREATE_TT&apos;

       EXPORTING

         POST_WRONG_ENTRIES       = &apos;0&apos;

         TESTRUN                  = &apos;X&apos;

       IMPORTING

         RETURN                   = ret

        TABLES

          TIMETICKETS              = TT

*   GOODSMOVEMENTS           =

*   LINK_CONF_GOODSMOV       =

         DETAIL_RETURN            = rett

                .



      READ TABLE rett WITH KEY type = &apos;E&apos; INTO wa_rett.

       IF sy-subrc NE 0.

        &quot; vše OK

        CALL FUNCTION &apos;BAPI_PRODORDCONF_CREATE_TT&apos;

         EXPORTING

           POST_WRONG_ENTRIES       = &apos;0&apos;

           TESTRUN                  = &apos; &apos;

         IMPORTING

           RETURN                   = ret

          TABLES

            TIMETICKETS              = TT

*   GOODSMOVEMENTS           =

*   LINK_CONF_GOODSMOV       =

           DETAIL_RETURN            = rett

                  .

        COMMIT WORK AND WAIT.

        READ TABLE rett INDEX 1 INTO wa_rett.



        CLEAR ls_in_data-rueck.

        ls_in_data-lmnga = 1. &quot;výtěžek

        ls_in_data-menge1 = 0.&quot;zmetky



      ENDIF.



      SELECT single aufnr

        into aufnr

        from afko

        where

          aufpl eq aufpl.



* chybové hlášení.

      CALL FUNCTION &apos;CO_RU_ORDER_DEQUEUE&apos;

        EXPORTING

          aufnr_imp = aufnr.



      SY-MSGTY = wa_RETT-TYPE.

      sy-msgid = wa_RETT-iD.

      SY-MsGNo = wa_RETT-NUMBER.

      SY-MsGV1 = wa_RETT-MESSAGE_V1.

      SY-MsGV2 = wa_RETT-MESSAGE_V2.

      SY-MsGv3 = wa_RETT-MESSAGE_V3.

      SY-MsGv4 = wa_RETT-MESSAGE_V4.





      IF sy-msgty EQ &apos;E&apos;.

        wd_comp_controller-&gt;set_timer_fast( ).

      ELSE.

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

        wd_comp_controller-&gt;set_timer_medium( ).



      ENDIF.



      wd_comp_controller-&gt;message( ).





endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOINIT" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="WDDOINIT" CODE_BODY="method WDDOINIT .



  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_datum TYPE wd_this-&gt;Element_in_data-datum.

  DATA lv_pernr TYPE wd_this-&gt;Element_in_data-pernr.



  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.



  &quot;setting date for today

  lv_datum = sy-datum.



  lo_el_in_data-&gt;set_attribute(

  name =  `DATUM`

  value = lv_datum ).



  SELECT SINGLE pernr

    INTO lv_pernr

    FROM pa0105

    WHERE usrty eq &apos;0001&apos; AND

          usrid eq sy-uname.



  lo_el_in_data-&gt;SET_ATTRIBUTE(

  name =  `PERNR`

  value =  lv_pernr ).











endmethod.

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



  &quot;sets cursor on input field which name is in currently MV_CURSOR

  DATA  MV_CURR_IF TYPE REF TO IF_WD_VIEW_ELEMENT.

  MV_CURR_IF ?= view-&gt;get_element( wd_comp_controller-&gt;mv_cursor ).



  CHECK MV_CURR_IF is NOT INITIAL.

*

  CALL METHOD VIEW-&gt;REQUEST_FOCUS_ON_VIEW_ELEM

      EXPORTING VIEW_ELEMENT    =  MV_CURR_IF.

*      MV_CURR_IF-&gt;FOCUS( ).



endmethod.

' ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="YIELD_OR_SCRAP_ERROR" VERSION="I" CMPTYPE="CL_WDY_MD_CONTROLLER_METHOD" CMP_POSITION="0 " VISIBILITY="2" DISPLAY_NAME="YIELD_OR_SCRAP_ERROR" CODE_BODY="method YIELD_OR_SCRAP_ERROR .

    sy-msgid = &apos;ZRF2&apos;. &quot;message class,se91

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

    sy-msgno = 001.



    &quot;ad-hoc preklad

    IF sy-LANGU eq &apos;W&apos;.

      SY-MSGV1 = &apos;########## ### ####&apos;.

    ELSEIF sy-LANGU eq &apos;C&apos;.

      SY-MSGV1 = &apos;Mnozstvi nebo Zmatky&apos;.

    ELSE.

      SY-MSGV1 = &apos;YIELD or SCRAP&apos;.

    ENDIF.

    wd_comp_controller-&gt;message( ).

    wd_comp_controller-&gt;set_timer_fast( ).

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CHECK_INPUT" LANGU="C" DESCRIPTION="input_chk"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CHECK_INPUT" LANGU="E" DESCRIPTION="input_chk"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CLEAR_INPUT" LANGU="C" DESCRIPTION="clears INput fields"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="CLEAR_INPUT" LANGU="E" DESCRIPTION="clears INput fields"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="EMPTY_IF_ERROR" LANGU="C" DESCRIPTION="if one of needed input fields is  empty"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="EMPTY_IF_ERROR" LANGU="E" DESCRIPTION="if one of needed input fields is  empty"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="SAVE" LANGU="C" DESCRIPTION="PAI"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="SAVE" LANGU="E" DESCRIPTION="PAI"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOAFTERACTION" LANGU="C" DESCRIPTION="Method for non-action specific operations before navigation"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOAFTERACTION" LANGU="E" DESCRIPTION="Method for non-action specific operations before navigation"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOBEFOREACTION" LANGU="C" DESCRIPTION="Method for Validation of User Input"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOBEFOREACTION" LANGU="E" DESCRIPTION="Method for Validation of User Input"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOEXIT" LANGU="E" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOINIT" LANGU="E" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOMODIFYVIEW" LANGU="C" DESCRIPTION="Method for Modifying the View Before Rendering"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOMODIFYVIEW" LANGU="E" DESCRIPTION="Method for Modifying the View Before Rendering"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOONCONTEXTMENU" LANGU="C" DESCRIPTION="Method for Modifying the Context Menu"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="WDDOONCONTEXTMENU" LANGU="E" DESCRIPTION="Method for Modifying the Context Menu"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="YIELD_OR_SCRAP_ERROR" LANGU="C" DESCRIPTION="Jedno z polí {Množství, Zmatky} musí být zadáno."/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="YIELD_OR_SCRAP_ERROR" LANGU="E" DESCRIPTION='&quot;one of {yield, scrap} can be empty&quot;consraint is broken'/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="GENERIC_ERROR" PARAMETER_NAME="VAL1" VERSION="I" PARAM_POSITION="1 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="SYMSGV" DISPLAY_NAME="VAL1"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CMPNAME="GENERIC_ERROR" PARAMETER_NAME="VAL2" VERSION="I" PARAM_POSITION="2 " DECLARATION_TYPE="0" ABAP_TYPING="0" ABAP_TYPE="SYMSGV" DISPLAY_NAME="VAL2" OPTIONAL="X"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CTLR_USAGE_NAME="4XEEOYSJMO2FXNYN6AYFE45YN" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="1 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="00" SINGLETON="X" DISPLAY_NAME="IN_DATA" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="TIMER_CONF" VERSION="I" NODE_TYPE="CL_WDY_MD_CONTEXT_VALUE_NODE" PARENT_NODE_NAME="CONTEXT" NODE_POSITION="2 " COLLECTION_TYPE="03" CARDINALITY="01" SELECTION="01" DISPLAY_NAME="TIMER_CONF" ABAP_TYPING="0" INIT_LEAD_SELECT="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="DATUM" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="5 " ABAP_TYPE="DATUM" ABAP_TYPING="0" DISPLAY_NAME="DATUM" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="LMNGA" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="2 " ABAP_TYPE="AFRU-LMNGA" ABAP_TYPING="0" DISPLAY_NAME="LMNGA" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="MENGE1" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="3 " ABAP_TYPE="AFRU-XMNGA" ABAP_TYPING="0" DISPLAY_NAME="MENGE1" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="PERNR" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="4 " ABAP_TYPE="PERNR-PERNR" ABAP_TYPING="0" DISPLAY_NAME="PERNR" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="IN_DATA" ATTRIBUTE_NAME="RUECK" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="AFRU-RUECK" ABAP_TYPING="0" DISPLAY_NAME="RUECK" VALUE_HELP_MODE="0" NULL_AS_BLANK="X"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" NODE_NAME="TIMER_CONF" ATTRIBUTE_NAME="REFRESH_RATE" VERSION="I" ATTRIBUTE_TYPE="CL_WDY_MD_CTX_VALUE_ATTRIBUTE" ATTRIB_POSITION="1 " ABAP_TYPE="I" ABAP_TYPING="0" DISPLAY_NAME="REFRESH_RATE" VALUE_HELP_MODE="0"/>
   <wdy_ctx_attrib COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" 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_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CTLR_USAGE_NAME="4XEEOYSJMO2FXNYN6AYFE45YN" CTX_MAPP_NAME="4XCLCPFJYLI50Z5DQQ8CSROKV" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="IN_DATA" MAP_NODE_NAME="IN_DATA"/>
   <wdy_ctx_mapping COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="MAIN" CTLR_USAGE_NAME="4XEEOYSJMO2FXNYN6AYFE45YN" CTX_MAPP_NAME="4XEPWYPE3OIY0GQLOV2XBICZ3" VERSION="I" MAPPING_TYPE="02" OWN_NODE_NAME="TIMER_CONF" MAP_NODE_NAME="TIMER_CONF"/>
  </controller_definition>
  <controller_definition COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" VERSION="A" CONTROLLER_TYPE="06" CONTEXT="CONTEXT" DISPLAY_NAME="ZMC_ZPETNE_HLASENI" AUTHOR="CZMICYP" CREATEDON="20141009" CHANGEDON="00000000">
   <wdy_ctlr_compo COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="HANDLEDEFAULT" VERSION="I" CMPTYPE="CL_WDY_MD_CTLR_EVENT_HANDLER" CMP_POSITION="1 " VISIBILITY="2" REF_VIEW_NAME="ZMC_ZPETNE_HLASENI" REF_PLUG_NAME="DEFAULT" DISPLAY_NAME="HANDLEDEFAULT" CODE_BODY="method HANDLEDEFAULT .

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

endmethod.

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

endmethod.

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

endmethod.

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

endmethod.

" ACTION_TYPE="0" ABAP_TYPING="0"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOEXIT" LANGU="C" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOEXIT" LANGU="E" DESCRIPTION="Controller Clean-Up Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOINIT" LANGU="C" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOINIT" LANGU="E" DESCRIPTION="Controller Initialization Method"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOONCLOSE" LANGU="C" DESCRIPTION="Handling For Closing of Window"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOONCLOSE" LANGU="E" DESCRIPTION="Handling For Closing of Window"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOONOPEN" LANGU="C" DESCRIPTION="Handling For Opening of Window"/>
   <wdy_ctlr_compot COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CMPNAME="WDDOONOPEN" LANGU="E" DESCRIPTION="Handling For Opening of Window"/>
   <wdy_ctlr_param COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" 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_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" CTLR_USAGE_NAME="4XEEOYKV3PGQF1F70GW34278V" VERSION="I" USED_CONTROLLER="COMPONENTCONTROLLER"/>
   <wdy_ctx_node COMPONENT_NAME="ZMC_ZPETNE_HLASENI" CONTROLLER_NAME="ZMC_ZPETNE_HLASENI" 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>
</nugget>
