I have successfully created a New Template Generator based on the ITSGENMOBILE generator.
Now I want to create a generator based on the ITSGENMOBILE4. But i have run into some problems.
I was looking at this [TUTORIAL|http://help.sap.com/saphelp_nw70/helpdata/en/46/6c3d6041496a58e10000000a11466f/frameset.htm] and made changes for using the CL_ITS_GENERATE_HTML_MOBILE4 class instead of the one in the tutorial.
My constructor looks like this:
METHOD constructor. DATA: l_theme TYPE _t_theme_for_templates. super->constructor( ). _html_width_factor_containers = '1.00'. _html_width_factor_elements = '0.82'. _loop_line_name = 'LOOP_INDEX'. l_theme-service = 'ZMYGENMOBILE4'. l_theme-theme = '99'. INSERT l_theme INTO _themes_for_templates INDEX 1. ENDMETHOD.
i have redefined this
method IF_ITS_GENERATE_TEMPLATE~DESCRIPTION_TEXT. case pi_style. when 'ZMYSTIL'. pe_description = 'MYSTIL (without HTML-Table)'(001). when others. pe_description = 'Unbekannter Stil'(002). endcase. endmethod.
The templates are generated successfully, but none of the customizing i am doing to the ZMYGENMOBILE4 templates is visible.
All templates look like when generating with the default ITSGENMOBILE4 generator.
None of my customizing is visible.
Your response is greatly appreciated! Thank you very much in advance
Edited by: Marko Kuhar on Jun 21, 2010 10:10 AM