How to insert custom code in HTM

Hello, I need to insert some custom Javascript in the head, start, and end of my HTML files. Unfortunately, RoboHelp does not appear to offer this feature. It is really a big surprise since I can get this code in there using a number of other, much less expensive tools. In fact, Framemaker itself offers this capability in a simple save as the HTM. I have tried using custom markers in Framemaker, editing the HTML Mapping table in the reference page of the Framemaker file, nothing causes RoboHelp to pick up this code. In fact, RoboHelp reproducibly hangs when it encounters the code in a marker.
If anyone has any ideas about this, I would really appreciate it.
Thanks,
Z.

Bill
If you would like to create a FM doc that has one such marker I'm happy to poke around to see if I can find an answer. Although I have it installed, I'm not a FM user so please include any FM information you think I might need. Hopefully my knowledge of RH will help.
See my contact page to send the file.
See www.grainge.org for RoboHelp and Authoring tips
@petergrainge

Similar Messages

  • Service Limits in Purchase Requisitions: Where to Insert Custom Code?

    The issue is related to finding a place in SAP logic where a BADI, or, an
    enhancement can be implemented when inside transaction ME52N for a
    Service Limits type Purchase Requisition where K is the Account
    Assignment and B is the Item Category for a Service Limit Purchase
    requisition. Especially. or initially, at the point of navigation when
    going from (within the Limit Tab) and selecting the Account Assignment
    Icon to the right.
    By finding a good place to insert custom code in between these two tabs
    during navigation I am referring to (1)the actuality of the transaction
    breaking into this location, and,(2)a place where the global fields can
    be read and changed ie. GL Account Number, Material Group, etc.
    I have read, and reviewed several SAP Notes: 496082, 627072 and 551863.
    Failed Attempts:
    1)I have tried finding BADIs via breakpoints inside of
    CL_EXITHANDLER~GET_INSTANCE. None that are found are used and are not ofany help.
    2)I have attempted to use various user exits within the following SMODs,to name a few:
    MEREQ001 |Customers' Own Data in Purchase Requisition
    SAPLF0PR |Requests: Account Determination and Checks
    SAPMF02H |Function exit: G/L account master data
    V45E0002 |Data transfer in procurement elements (PRreq., assembly)
    WDFE0001 |Customer-Specific Determination of Requirements Data
    COZF0001 |Change purchase req. for externally processed operation
    COZF0002 |Change purchase req. for externally procured component
    3)I have implemented various custom enhancements inside of SAP Main
    Program SAPLMEREQ inside include LMEREQF09, and a few other LMEREQFXX.
    4) We previously used BADI 'ME_PROCESS_REQ_CUST' to satisfy a similar
    requirement, but is of no help for this request.
    Thank-You,

    Custom tags are different than udfs.  Let's stick with udfs.  Your location choices are:
    1.  If only one template is going to use it, you can put it in that template.  Otherwise,
    2. You can put it in a .cfm file and cfinclude that file whenever you want to call the function, or
    3. You can put it into a .cfc.
    A little while back, someone ran some tests and posted the results on one of these forums.  The gist of it was that Option 2 would run faster than Option 3.

  • How to insert a code for a function module into a Customer Exit Variable?

    I have two Key Figures viz., Net Prchs Rtl, and Net Prchs Unt. Both these Key figures have This Week (TW) and Last Week (LW). There is a variable for This week but there is no variable defined for Last week.
    I need to get data in the column LW (Last Week) for both the key figures.
    In function module EXIT_SAPLRRS0_001 one of the functions I have is:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
    I need to create a new variable to get values in the Last week column for different key figures and use function “'DATE_TO_PERIOD_CONVERT'” in that variable.
    Can anyone please explain me the steps as to how to use a function module in a variable so that when the variable is used in a key figure it shows the output.
    In other words what I want to know is after creating a Customer exit variable of type Characteristic value how do I refer the above mentioned function moduel and insert the code for the function module into the Customer exit variable that I created.
    Thank you.
    TR.

    Hi Wond,
    Thanks a lot for your reply. I understand what you mean but I have never done this before so can you please explain it in a detailed manner. I have the following code:
    Get the previous Fiscal Week
              CALL FUNCTION 'DATE_TO_PERIOD_CONVERT'
                EXPORTING
                  i_date         = ld_date
                  i_periv        = lc_periv
                IMPORTING
                  e_buper        = ln_poper
                  e_gjahr        = ln_bdatj
                EXCEPTIONS
                  input_false    = 1
                  t009_notfound  = 2
                  t009b_notfound = 3
                  OTHERS         = 4.
              IF sy-subrc <> 0.
                MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
              ELSE.
                lc_poper = ln_poper.
                CONCATENATE ln_bdatj lc_poper+1(2) INTO wa_e_t_range-low.
                wa_e_t_range-sign = 'I'.
                wa_e_t_range-opt = 'EQ'.
                APPEND wa_e_t_range TO e_t_range.
              ENDIF.
            ENDIF.
          ENDIF.
        ENDIF.
    I believe I should now use the above code in my customer exit variable. If that's right can you please explain me the steps as to how should I do this so that the variable gets populated.
    Thank you.
    Regards,
    TR.

  • How to insert custom HTML before /body ?

    I love that I can insert custom HTML in the <head> of a page in Muse.
    However, I need to add custom HTML just before the end of <body>.
    Namely, I want to insert custom Jquery calls just before </body>. I can't do this in the <head>.
    However, other uses for other people might include inserting Analytics tracking code before </body>, as this is more optimum than in the <head>.
    I've tried using a Custom HTML widget, but even if I put it in the footer of my page, it still ends up appearing in the rendered HTML before Muse's Javascript. I need it to come after Muse's Javascript.
    Thanks in advance.

    Hi Harry,
    Please check this discussion, you might find it helpful in making the jQuery calls.
    How to (make best) use external js library from html object (need help from dev)
    http://forums.adobe.com/thread/1213057
    - Abhishek Maurya

  • How to add Custom code in Report Painter

    Hi All,
      I have a requirement to add Authorization checks at Profit Center Level for 8A-PCA001G report. This is the first time am working on Report Painter/Writer. I am wondering whether i can add custom code or not. Please suggest me how to do this. I copied 8A-PCA001G into a zreport but did not find anywhere to add custom code.
    Any help would be really appreciated.
    Thanks,
    Kumar

    Hi Kumar,
    You cannot write custom code (0% coding) in an Report Writer/Painter report. The code is generated by SAP while generating the Report group. The only place in a report writer report where you can write very minimal code is at varables level or formulas inside reports.
    At the report group header level, there is provision to provide authorization group. Try that.
    Regards,
    Subin John.
    Edited by: subin john on Mar 24, 2011 10:36 AM

  • How to insert abap code in LSMW generated program?

    hi,
    i m working on LSMW for loading data in SAP
    i would like to insert abap code into the generated program....
    it's because i have 1 BKPF segment (header data), 2 BSEG segments, but i cannot define rules by customizing for the second BSEG segment(LSMW doesn't permitt).
    i already tried to insert code directly into the program, but obviously it disapears at each time i generate the program.
    i saw that apparently a code insertion has already be made into this program and the subject of this insertion is to define rules for the second BSEG (exactly what i want to do....) and this modification doesn't disapear at new prog generation.....
    Any idea ?

    Hi
    Why dont you use the FORM provided by LSMW
    To use this please do the following
    1.Goto option <b>Maintain Field Mapping and Conversion Rules</b>
    2.Goto menu <b>EXTRAS->LAYOUT->Form Routines</b>
      Here you will now get many options like
       Global Data
       Begin of Transaction
    Begin of Processing
    Begin of Record
      like wise the End of these also.
    Please put a breakpoint and check where you want to insert your code.
    Note:
    This is only for the Conversion Program and does not affect the main program used to update the Standard Tables
    Hi , I was reading your earlier post .. It seems that you have worked on EMIGALL. Consider a similar situation, it is like writing the code in the events till CALL01...
    Thanks
    DOminic
    Message was edited by: Dominic  Pappaly

  • How to execute custom code only when a specific node is selected in infoset

    Hi,
    We have written a piece of custom code under a node (P1045). Not all users will have access to this Infotype as it is related to Appraisals. So, when users (w/no access to 1045) try to run a Query for other info types data, they are getting error message 'Can not access 1045'. Custom code is getting generated whenever user runs a query. Tried to control custom code with simple IF condition by giving user name. Still generating 1045 code.
    All users use same infoset, where a group of users has access to 1045 and another group does not have access to 1045.
    Appreciate your inputs to get this resolved.
    Thanks,
    Swapna.

    Why don't you try another aproach, instead of adding the infotype to the infoset, create a new table as an alias (with the fields you want to show in regards to infotype 1045) and fill it in the node depending on the authorization check for that infotype in the code ?
    I think that adding the infotype as a node will always get the data from the infotype regardless, that is why it's showing the error.

  • How to insert customized HTML tags?

    Hi
    I insert a lot of tags like <p class="foo"> or say <span onmouseover=”doAction(this);”>.
    Is it possible in Dreamweaver CS5 to extend a list of insertable tags with my customized tags and do steps like
    select some text (say “some text”),
    them choose a tag from the list (say <span onmouseover=”doAction(this);”>.)
    A fragment “<span onmouseover=”doAction(this);”> some text</span>” will be inserted into the file instead of  selected “some text”.
    Thank you in advance.

    Have you used the Snippets folder to store reusable code fragments?
    I use my snippets folder often. Go to an insertion point in your document and double click on the Snippet.
    http://webdesign.about.com/cs/dreamweaver/ht/htdwusesnip.htm
    Another option is to create and use commands from History steps:
    http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7780a .html
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists
    http://alt-web.com/
    http://twitter.com/altweb

  • How to attach custom code after invoice save/modify

    Hi to all,
    i should solve techically this problem.
    I have an invoice document.
    After the modify/save of the invoice document, i should start a custom procedure that, line by line, read the invoice document just saved, and save the net value of each position in a custom table.
    I cannot simply read the whole net amount of the document, because only positions that fulfill some conditions must be added to the custom table.
    On the second step, i should modify that document and create another invoice document whith the positions that doesen't fulfill the conditions above. The same check (and the same code) must be executed on invoice modify also.
    Exit, BADI, business transaction events, workflow (that i never use), modify standard trx code (but the customer doesen't want).
    These are the methods that i know. I've already searched for exit, BADI and BTE (event 00001030 for example), but nothing of these seems help me on solve the problem, because they all start before the document is saved on the database (so i don't have the document number and the effective data saved).
    Any good suggestions/hints/links/solutions etc... will be surely rewarded.
    Thx a lot
    Andrea

    Hi again,
    i was quite sure that the problem was solved but .... i was wrong.
    The problem is more difficult that what i wrote in the first post.
    For this, i need your help/suggestions.
    If i create a document 0000001 with VA01 trx, after the document is saved on db,i have to :
    - read positions of 0000001 invoice document
    - add the net value of some positions in a custom table
    - modify some data of some invoice positions of 0000001 invoice document
    - save again the document 0000001
    Whith the BADI, i can save the net value of the invoice positions in the custom table. The problem is that the BADI code is executed before the commit work. But i think i can solve this problem using a function module ... in update task.
    The main problem comes after i saved the net value in the custom table, because i have to modify the invoice document just created.
    Before the commit i don't have any values in the db, so how i can modify that values? And with which technique? The BADI doesen't support "PERFORMS" (on commit) and in a function module (in update task) i cannot use instructions like call transaction, call screen, submit etc because they set an implicit commit work --> that means dump during registration.
    How i colud solve the problem? Workflow?
    Thx a lot again
    Andrea

  • How to insert custom header in log files

    How i can insert a custom header in sun one 6.1 sp2 logging ( access logs)...
    In apache i can do it like :
    LogFormat "%v %{X-Forwarded-For}i %l %u %t \"%r\" %>s %b" X-Forwarded-For
    CustomLog /var/log/apache/www.example.com-xforwarded.log X-Forwarded-For
    so "X-Forwarded-For" header i want to put in the server access log file.
    Any idea's ?

    6.1 SP2 contains known security vulnerabilities that allow anyone to completely take over your web server. Unless you a) don't care what happens to your web server or b) trust everyone completely, you should install the latest service pack.
    That said, you can configure your log format string using the Server Manager UI or by manually editing the files in the config subdirectory. In both cases, adding \"%Req->headers.x-forwarded-for%\" to the log format string will tell the server to log the value of the X-Forwarded-For header. This is documented, albeit poorly.

  • How to insert custom watermark in Bridge CC

    I am using Ps CC and Bridge CC. I have created a custom visual watermark in Ps that has a transparent backgound. If I have the photo open in Ps, I can drag and drop the  watermark onto the photo and it looks fine.
    But when I try to use the Output menu in Bridge (I added the Output module yesterday), I can specify the correct psd file with the watermark under the "Add image" instead of "Add text" area in the Watermark sub tab under Outpuf, but the background of the watermark comes out white, so that the watermark is inside the white box. I want to batch process the addition Bridge.
    How cam I fix this?
    Thanks.
    Chris

    Don't use a watermark myself and haven't tried it often but yes, you need to create templates for all. Personally i have several custom templates with different background, amount of images on one page, size and orientation. Also the font size is set to match the amount of files.
    It is a bit of work but only one time, afterwards you gain much time and speed from this effort because you only need to select the wanted template to have the lay out as it should be
    A Web gallery offers no options for a watermark I'm afraid so if you need them you should create an action in PS to make a copy of the image (or save as, be sure to not loose your original) in the right size and add a Watermark. Then put Web Gallery to work.
    The resizing is needed for each new template and you have to work from top to bottom because if you have a watermark and then change size or amount you have to start over again (there is a lot room for improvement in Bridge…).
    Make your templates with a few files selected (e.g. max amount on one page) for speed. Each time you make changes to the watermark you can use the open to refresh preview to check whether you like it or not.
    And remember, if you use the output module in Bridge it creates a PDF file merely used for Contact Sheet function that needs something like Acrobat or other viewers to view the content.
    If you open a PDF in PS it might separate the files or pages first, hence you probably miss the watermark.

  • Workflow Approval Process: 1)How to insert Custom Data into Windows Workflow database? 2)In workflow Approval Process while creating new request ,how to insert our custom data like approvers ,requester,object info into WF DB?

    hi ,
    here the description about my question.
    1)i am working on windows workflow,we need to implement approval process for my project.
    2)we have multiple approvers for one request,requester,created object information.
    3)now i want to insert and retrieve, created instance information from windows workflow
    database.with all following details 
    i)Workflow instaceId,
    ii)current state of work flow(idle,complete,pending)
    iii)approvers information.
    iv)requester information.
    v)created object information.
    here some of the links, which i am trying for solution:
    https://wf.codeplex.com/wikipage?title=Tracking%20states%20with%20WorkflowApplication[^]
    https://msdn.microsoft.com/en-us/library/ee622977(v=vs.110).aspx[^]
    please answer to my question. if you want to send any examples send me to my email address.
    [email protected]

    Hi,
    According to your description, it seems that your main issue is about customID paramerter in workflow approval prcess.
    About this, please refer to the two samples:
    http://blog.petegoo.com/2010/08/22/workflow-4-email-approval-sample/
    http://cgeers.com/2010/04/10/windows-workflow-in-asp-net/
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • SQVI (or SQ01) and how to insert custom table

    Hello
    I'm trying to create an SoD report in R3 4.6C where I've created around 400 user groups based on HR employee information, the users are now assigned to their new (but still to be verified) user groups in DEV and QAS and I'm now at the stage of trying to link these to a custom table of paired conflicting transactions which have been provided by the business.
    I'm using SQVI in QAS instead of SQ01 due to authorisation and time constraints as I just need to see if the report would actually work without bringing the system to its knees. I'm hoping this isn't the case...
    I can insert tables and link USOBT to AGR_1251 then to AGR_USERS and then to USGRP_USER but the custom table with tcode A to tcode B isn't available to insert. The aim is to define a single user group as a starting point to run and analyse and gradually increase the number of user groups in the program in background mode to build up a picture of the number of conflicts based on users' object activities. (A poor man's RAR I suppose)
    Without ABAP assistance, as there isn't any for several months, is there a way a custom table be made visible to SQVI please?
    As always, no points are given regardless but a warm thank you is always given for any comments or assistance whether or not actually stated.
    Cheers
    David

    Hi Sandipan
    Also, pool/cluster tables cannot be used in SQVI. It always has to be transparent table if you want to insert it in SQVI.
    Thanks Sandipan, it does look like this custom table isn't going to work based on this insight.
    Hi Julius
    Thanks for that one - a report in SUIM I have never used before!
    We don't yet have the RSUSR008_009_NEW report in this version but the transparent table USKRIA from RSUSR009 can be inserted but doesn't result in anything unfortunately - however - running the report from SUIM, it appears to be a list of either SAP delivered or customer defined critical objects which I'm still a bit confused about (as you probably expected) as it is a list of 'ID's - 71 in QAS.
    This really does look similar to the client's custom table that has already been generated with 1400+ entries where it might be possible to add the transactions to the 'ID' field with their SU24 values, this would then, hopefully, let me do a join to exclude users who don't have the object, field name and 'from' values in the AGR_1251 entries.
    The next step from that (in the original SQVI) was to do a join to find users with both transactionA and transactionB but, maybe, this isn't possible in R3. I'm trying to avoid using Microsoft Access to manipulate tables out of SAP as it's an extra offline process that will only add confusion and probably end up in the Recycle bin once I've left.

  • How to insert html code to database?

    Hi
    Sorry if this post is not related to this forum.
    My problem is, I want to insert the html page content to database (mysql). I could not find any function that can parse the html code and then add escape characters.
    Thanks in advance

    Just store raw HTML in database. Always use PreparedStatement and you're safe.
    On display, you can escape HTML (XML) using c:out.

  • How to insert sql code in module (not form) other than API?

    I generated module as web pl/sql in Oracle Design Editor 6i. I have different user types with different privileges. I want to do some permission checking before a user can reach the tables. All the help are related to API and Form. Is there a way to execute sql code with out using API?

    Yes, you can add in your own user defined PL/SQL (and JavaScript)at module component and item level. Select the module component in the Design Editor and expand the node until you see "Application Logic" -> Events. Now add your logic. For help on this use the context sensitive help and you should find the PL/SQL help. (or try the topic "About user-defined application logic and Web PL/SQL Generator"
    (Is this the piece you wanted to avoid?) You can also add user defined PL/SQL to the Table API generated code. For this you need to use the Server Model tab. Navigate to the Table and expand the node for the desired table and find the Table TAPI/trigger Logic section. Again, make use of the context sensitive help here.
    Regards
    Sue

Maybe you are looking for