ITSGENMOBILE4 Template Generator

Dear Experts,
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

Problem solved.
I had to implement Note 1319940.

Similar Messages

  • HTML Template generated at Runtime.

    There are some SAP transaction which generates code (HTML Code to be shown on user desktop thru IE)at runtime rather than having HTML templates. In this situation, what are different ways to edit the Template which is generated at Runtime.
    TIA

    Hello TIA,
    It all depends on what kind of change you're trying to accomplish...
    If you need to customize the layout you should create a template for it in SE80.
    If you would just like to change the colours or font then you could create your own theme and customize the css files.
    Let us know the extent you'd like to change the behaviour.
    Edgar Chuang

  • Template generating script crashes acrobat x application

    Hi,
    I am fairly new to acrobat scripting. I have been beating my head against the wall on this one and have come to ask the collective. The following script works if numberPages is set to 1 (one new page is generated based on the template). When I change numberPages to 2 or more, the application crashes. Any suggestions?
    This is on acrobat x, windows 7
    Thanks,
    Roland
    var mypath = "Template1.pdf";
    numberPages = 1;
    this.insertPages({cPath: mypath, nPage: -1});
    t = this.createTemplate({cName:"signoff", nPage:0 });
    t.hidden = true;
    // spawns number of pages
    for (i = 0; i < numberPages; i++){
      t.spawn(i, true, false);

    Looks like I finally figured it out. It was something quite silly. Apparently, hiding the template before spawning it is a bad idea (at least under certain circumstances...when there are comments in the source file and a form in the template file). This script seems to work just fine so far:
    var mypath = "Template1.pdf";
    numberPages = 6;
    this.insertPages({cPath: mypath, nPage: -1});
    t = this.createTemplate({cName:"signoff", nPage:0 });
    // spawns number of pages
    for (i = 0; i < numberPages; i++){
      t.spawn(i, true, false);
    t.hidden = true;

  • Custom Java class called from RTF template generates error

    We are running a report in BI Publisher and the report calls a custom developed Java class that is used to bind PDFs together and sent the result to another application.
    On the RTF template we have some XSLT that reads the input XML and sets a variable which is then passed to the Java class. We are however getting the following error when the report is called simultaneously 2 or more times:
    XML-22044: (Error) Extension function error: Error invoking 'JavaClassName': 'java.lang.Error: Cannot interweave overlay template with pdf input, combined number of pages is odd!
    I read this as the real cause of the error is the Java code but I'm not 100% sure. Also I don't understand what the error message means.
    Could someone help out please?
    Many thanks

    Since our this requirement is in Quotes module, its not using OAF. It is using plain JSPs and java classes.
    What i was thinking is, create the Option values as flex fields, and write a custom java class to fetch these data from the flex tables and use it in the JSP.
    The main problem we are facing now is,
    "...we wrote a simple java class, which establishes database connection, executes a simple insert & select query to our custom table. compiled & placed the class file under our new pkg structure under $JAVA_TOP eg. oracle.apps.xxx.quot.tmpl , bounced the apache."
    But when we tried to import this class in the jsp (which is being customized), the app just throwed Internal Server Error and we couldnt find any info in the Log file.
    Couldnt guess, why is this simple thing failing. Any idea ?

  • Problem inserting flv file in template generated page

    http://www.jdcdemo.com/blf8/video.html
    I am attempting to add a page with flv videos of a client's
    tv commercials. I want to use the template I have used to create
    most of the other pages on the site. It works well and I have had
    no problems. When I attempt to add the flv file to the page, I get
    this error: "Making this change would require changing code that is
    locked by a template or translator. The change will be discarded."
    Just for grins, I tried dragging a jpeg onto the page and
    that worked fine with no error. I use the Lynda dot com tutorials
    and as far as I can tell, I am following the correct procedure.
    Being now at my wits end, I will appreciate comments from those who
    know much more than I.
    TIA,
    Joie

    The problem is that when you are putting the flv in a child,
    when your
    dialog box pops up, uncheck "Prompt useres to download Flash
    Player if
    neccasary"
    That should do it.
    Gary
    "camelbreath" <[email protected]> wrote in message
    news:gd023l$2dn$[email protected]..
    >
    http://www.jdcdemo.com/blf8/video.html
    > I am attempting to add a page with flv videos of a
    client's tv
    > commercials. I
    > want to use the template I have used to create most of
    the other pages on
    > the
    > site. It works well and I have had no problems. When I
    attempt to add the
    > flv
    > file to the page, I get this error: "Making this change
    would require
    > changing
    > code that is locked by a template or translator. The
    change will be
    > discarded."
    >
    > Just for grins, I tried dragging a jpeg onto the page
    and that worked fine
    > with no error. I use the Lynda dot com tutorials and as
    far as I can tell,
    > I am
    > following the correct procedure. Being now at my wits
    end, I will
    > appreciate
    > comments from those who know much more than I.
    > TIA,
    > Joie
    >
    >
    >
    >

  • Head tags in template generated pages, am I doing this right?

    http://www.saracenlanding.com/testpage.html
    I experienced the dreaded " ... locked by ... " error message when trying to insert keywords in a page generated by a dwt file. I went to the forum and found this information:
    http://forums.adobe.com/message/50942#50942
    So I enclosed the head in the cut, pasted and edited editable region markup and it seems to work.  Then I used the insert html>head tags>keywords to insert some keywords and that worked, but it put the keywords at the very top of the page. As I recall, the meta info is supposed to be inside the head section, so I cut and pasted the keyword markup into the head section, I had isolated with the editible markup and it seems to work.
    Not being the sharpest knife in the drawer on these matters, did I do this right? Have I set a trap for myself which will spring later on? Is there a better way? I only know to ask those who know more than I.
    Thanks in advance,
    Joe

    So, as far as setting it up - would I use the cd
    included with the Airport box or the existing apps on
    my computer?
    Use the CD. There is newer software on it.
    Does it matter which computer I set up
    first? If I do the airport setup utility on the old
    mac, will the new mac automatically recognize it when
    I turn it on?
    Both macs should connect with out a problem. It doesn't matter which you setup first.
    The other thing that was running through my head was
    that it would actually be nicer to put the Airport
    base station in my office (reduce the clutter of
    stuff in the living room), but since the old mac
    doesn't have a wireless card (and I don't even know
    if I can get one anymore), is there some kind of USB
    adapter that would work to access the signal? I've
    seen a bunch of them, but most of the reviews say
    they're not very mac-friendly.
    You probably won't find a mac USB adapter becuase there usually aren't mac drivers. You could bring the old computer to the Apple Store and they can install a wireless card in there.
    15 PMB C2 Duo   Mac OS X (10.4.8)   PPC Mac Mini

  • Need help on XML Publisher Template features

    Hi,
    We have a requirement to develop an Invoice Register report to display the invoices for a period. Details of each Invoice and Amount needs to be displayed in a single line. At the bottom of each page we have to display running total of the Invoices displayed till that page. At the beginning of each page we have to display the total amount of Invoices displayed in the previous page.
    We had developed the report using Reports Builder and registered concurrent program with output type as PDF. We are working in Spanish environment (UTF-8 character set). The report is working properly and producing output as required. But Spanish characters appear as junk character on the report. From Metalink Notes 443778.1 and 338990.1, I understand that PDF output in UTF-8 character set is not supported. We need to use XML Publisher to generate the PDF output.
    We have developed .rtf template. It is generating PDF output and Spanish characters appearing properly. But we are not able to get the running total at the bottom of each page or total of previous page amounts at the beginning of each page. In the output from Reports Builder, we could use various page level options (like reset at page level, etc.) to achieve the requirement. But in the template generated using .rtf, I do not have such options.
    I am not sure if there are advanced features in .rtf template to achieve the requirement. Could anyone please advise me how I can achieve the requirement? It would be great if you could provide me some reference.
    Thanks and Regards,
    Nabendu

    Hi Nabendu.
    BI publisher does have the option of showing a running total in PDF format usign a RTF template. If you look up the advanced rtf samples provided with the BI publisher plugin there is one example to show running totals, with the previous page total at the top.
    you can find this located on your PC where the Word Plugin is installed. C:\Program Files (x86)\Oracle\BI Publisher\BI Publisher Desktop\samples\RTF templates
    replace C:\ with the drive leeter of the drive where your desktop plugin is installed
    Hope this Helps,
    Domnic

  • Unable to upload the updated/modified Report template (rtf file) in siebel

    Hi,
    I am unable to upload the updated/modified Report template (rtf file) if already exists in the local database.
    Initially I have uploaded a rtf template, generated xliff, registered it and can view the report from the registered view. Later I have made few changes to the rtf template, in the reports template view, I have uploaded this. When i run the report in the registered view, I am able to see the earlier version and it doesnt show me the updated changes.
    I am using 8.1.1.3 siebel and BIP 10.1.3.3.1 on local.
    Looking at the metalink found "How To Upload Modified RTF Template Files In The Siebel Application For BI Publisher Reporting [ID 1136418.1]" which is related to server but I am working on local database
    Please find attached the template, xml file. can you please look into this and update me ASAP
    Thanks,
    RV

    Hi,
    Not able to find Report - Standard templates or Report - Custom templates view in Administration - BIP reports in Siebel 8.1.1.3?
    We have applied 8.1.1.3 patch on 8.1.1.0
    below are the steps followed
    Reports are not generated after 8.1.1.3 patch installtion.
    we have also followed to below steps mentioned for this issue in oracle support.
    "In order to resolve this behavior it is necessary to ensure that the 8.1.1.3 FixPack has been applied to the Siebel Tools installation. This will provide an additional .zip file in the REPPATCH folder of the Siebel Tools installation. Once this has been done please then follow the configuration steps as documented :
    change sysprefix to X_ before sif import and chage back to SBL_ after sif import.
    1) Import the sif files from Siebel\8.1\Tools_1\REPPATCH\12-1VMBCSV.zip
    2) Import the 4 SIF files in the following order:
    S_XMLP_REP_TMPL_02112010.sif
    SBL_XMLP_REPORT_SELECTION_FLG.sif
    Report Template BC.sif
    Report Template Registration Applet.sif
    3)Apply the DDL for table S_XMLP_REP_TMPL and compile repository
    Once the above steps have been completed the Selected Record flag will appear in the Report Template Registration views."
    we still not able to generated able to generate reports even after following above steps.
    Thanks
    Sean

  • Error while creating template for ITSmobile

    Hello,
    I have created internet services with theme 99. Now when i try to create template with following, i get an error,
    Program Name : name of Z program
    Screen Number : 2000
    Generating style : MOBILE mobile devices
    When i press Save, i get an error message,
    Template Generator: Template ITSGENMOBILE 99 HTML/BEGIN missing
    Message no. ITS_GENERATE_TEMPL101
    Any idea, what kind of error is this?
    Regards,,,
    Sunil Joyous

    Hello,
    you have to publish the ITS-Service ITSGENMOBILE.
    Regards,
    Denis

  • Bug report: No Label template

    See
    http://htmldb.oracle.com/pls/otn/f?p=24317:164
    Problem: The text item is slightly off, not in the center of its TD
    I am using the No Label template and the label position is "Above"
    Since the No Label template generates a empty SPAN tag, it shouldnt affect alignment, but if you look at the source of the page, I see
    [td  colspan="1" rowspan="1" align=center][span class="t10NoLabel"][span][br]
    Where is that extra linebreak BR coming from? And that too a invalid BR tag without the trailing " /"?
    Thanks

    Hello,
    There is no reason for the extra BR tag to be
    generated when the label is empty, is there?This is why http://www.google.com/search?q=empty+table+cells
    We'll look into doing something different it's just a matter of deciding the best course, but yes having &lt;br> output in the conditions you show is not the best option.
    Carl

  • Motion 5 Template Publishing Not Showing Up in FCPX

    I did a clean install of Lion 10.7.1 and a clean install of FCPX and Motion 5.  For some reason, when I publish a template/generator/effect from Motion 5, it does not show up FCPX unless I restart FCPX.  When I first started using both Motion 5 and FCPX, as soon as I switched back to FCPX, the published template was there.
    I've repaired permissions, restarted the computer, etc.  Why won't this work any more? Any ideas?

    Mark Spencer answered this for me on another forum.  This is a known Lion bug.  Doesn't happen in Snow Leopard.  Just an inconvenience, but hope it's fixed soon.

  • Create new Generating style Extending the Classic Style

    Hi all,
    When creating an ITS screen, you can choose a Generating style.
    Default (at our system) there are 3 templates available:
    - Business HTML
    - Classic
    - WebGUI
    is it possible to create an own Generating style?
    At present we are using the CLASSIC STYLE.
    However, I need to alter the generated TEMPLATE file every time I create one.
    Is there some way that one could extend the CLASSIC style to have my own style generated to accommodate the modifications?
    I have used the style as per the specifications of Mobile Template generator and that is not what I want. I want to extend the Classic HTML style.
    This is a high priority issue for me. Thanks in advance.
    Arup

    Hi,
    Thanks for the response. II have already used the Mobile Generator Style for my customized style generator and that is not what I want.
    I need to extend the classic HTML style to create my own style to generate the Templates in the format I need.
    Is there some documentation or some class from which I should extend to generate my Generator to be used.
    Any help on this would be appreciated.
    Thanks,
    Arup

  • Register a Template for DBCA

    Hi
    This is my environment:
    Server1: Linux & Oracle Server 10g(10.2.0.5)
    Server2: Linux & Oracle Server 10g(10.2.0.5)
    I have built a template with data of a database in server1 and I want to create a database in server2 based on the template generated on server1.
    I transferred the files created to the server2 and I put them in the same path where they were created on server1. I open the DBCA in order to
    verify if the dbca can see this template and the DBCA does not do it automatically. According to what I know, the DBCA register the databases
    and templates in an operating system file but I don't remember what is that file.
    can you help me with this ?
    Thanks

    Have you stored template in “ORACLE_HOME/assistants/dbca/templates“?
    Please refer “http://docs.oracle.com/cd/B16276_01/doc/server.102/b14196/install003.htm#i1008647”

  • Project templates for FrameMaker to RH mappings

    Hello,
    I just noticed a sample script installed with Robohelp called Project Template Generator (Project Template Generator.jsx).
    Does anyone know what this script does exactly and how I would import it into another project?
    I would like to have a way in which to save all my project mappings, and the Save Settings to and subsequent Load settings from functions accessible in the Project settings dialog doesn't work for my FM template (our company template is a bit complicated and has a lot of tags). I've contacted Adobe support and they couldn't get this feature to work with my template either, so I'm really interested in the Project Template Generator script...I know how to run a script, but I don't know what this script does exactly, and how I'd import it into a new project.
    Thanks in advance.
    Sue

    It is intended to create a new RoboHelp project with all the same settings and content that are defined in the template. It is described on my site at http://www.grainge.org/pages/authoring/project_templates/templates.htm
    There's just one teensy weensy problem, the script is flawed!
    I managed to get the replacement script referenced to work by immediately closing the new project, trashing the CPD and reopening the project but that was in simple tests.
    I don't know if it would hold the settings you want.
    Take a look at what is on my site and post back any questions. Right now though I am off to bed as it's late here.
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Generate HTML code via JSP

    hi!
    I want to 'run' a JSP and then retrieve the generated HTML code.all without any browser/tomcat...
    is there a way to run JSP's in the virtual machine..?
    greetz
    chris

    we have some templates (generated with dreamweaver), there we want to fill in the dynamic content by java (JSP tags...)
    but in the end we don't have to show the html code on in the browser, we need a fix HTML file which we can print (the dynamic content filled in..)!
    any ideas
    chris

Maybe you are looking for

  • Conflict running external swf

    In an algebra demonstration, I have an ENTER_FRAME controlled main loop that lets a user move a custom cursor around using the keyboard. At several points, I load an external swf file and play it. My problem seems to be that while my main loop is run

  • Extending the rating stars

    I was wondering if we are allowed to extend the rating stars which is currently at 5 stars to 10 stars for example. I would like to, but I don't know how.

  • Error 500 calling an ES from a BPM

    Hi experts, I have a BPM in XI that calls an ES many times. The standard ESs called are the Create Project Create Network an Create Activity. The BPM calls first of all the create project, then calls the create network, once for each network realted

  • Output of PBEwithMD5andDES

    Hi all! In what form is the encrypted message? I wonder if it is ASCII subset or is it random bytes and I have to encode it somehow to send it over in XML? The problem: I'd like to encode something and send that wihtin XML document. Obviously, if the

  • Keyboard cover, good or bad idea?

    Just wondering if having a cover on the keyboard affects the intake of air into the computer. Is the air intake in the keyboard? Thanks