Dynamic Header Text

I would like to set some of the Header Text on one of my pages dynamically via an iten set on another page. So far I've tried:
<script src="http://foo.com/apps?file=api&v=1&key=#MY_ITEM#" type="text/javascript"></script>
using the #MY_ITEM# syntax - but to no avail. Has anyone done this sort of thing before or have a better idea how to do it?
Thank you in advance.
-Justin

Justin,
Use &MY_ITEM. syntax, and then set a computation to fire Before Page Header to set the value of the item before the page renders.
Thanks,
- Scott -

Similar Messages

  • How to ADD dynamic header text to Right hand Corner of IDR -FPM OVP/OIF

    Hi,
    How can we add dynamic header text to right hand side corner in FPM OVP?
    I know we can handle left hand side.. but i do need simultaneously right hand side..
    ANy thoughts??
    Rgds
    Tarun

    I am not sure how it is arranged in 7.02, in 7.01 IDR layout is flow layout so you cannot have layouts other than that. I thought that this has been changed in 7.02 to accommodate the matrix layout. I am not sure about it. If this was true then you can try to play with the layout to fit right hand side. It is not easy though.

  • Dynamic header text in table control - Dialog programming

    Hi All,
    I have a table control on one of my dialog screens.  I need to dynamically change the column header texts on this control in my PBO.  Does anyone know how to do this?  I have found all kinds of ways to modify the other characteristics of the fields at run time in the PBO (active, input/output, invisible, etc.) - but not to change the header text!  Any help is appreciated.
    thanks,
    Matt

    Hi Hymavathi,
    I appreciate your help!  This didn't solve the issue, however,...I have used the method you'd mentioned before (many times) for setting it inside the loop at screen:
    %_<screenname>_%_APP_%-TEXT = <text something>.
    - but only in ABAP reports.  It doesn't seem to recogize it (the table control column header text) within a dialog program.  I keep getting a compile error. (saying that the %_<screenname>_%_APP_%-TEXT doesn't exist.
    I tried the suggestion that you stated below (from lateesh) - yet it only let me place i/o field in title text area (not the column header text).  Am still searching...

  • Change column header text dynamically

    Hi,
    I have requirement to change the column header text dynamically in sap gui programming. but couldn't see straight forward way to achieve this.
    i tried following link but no success:
    [Re: Dynamic header text in table control - Dialog programming;
    Please share your suggestions if it can be acheived.
    Thanks,
    Rahul
    Edited by: Rahul Yadav on Oct 25, 2010 7:29 PM

    >
    anmol112 wrote:
    > Hi,
    >   So you can try 1 thing,
    > * Dont use default Column Headings
    > * Create I/O and choose ouput only and fix them in place of Column headings.
    > * pass the values to these I/O accordingly.
    >
    >
    > Thanks,
    > Anmol.
    How is this different from the previous post?
    Rob

  • Variable Text not working as dynamic header in Crystal report

    Dear Experts,
    I'm working Crystal report that connected to Query BEX SAP BW trough SAP integration kit,
    currently i have case that need report dynamic header using variable text from BEX query, but seem the variable text not working in Crystal reports. the header in Crystal report shown as Desription\technical name, not result from the variable text in Query BEX in SAP.
    In https://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal%20Reports%20and%20BW%20query%20elements stated that the "Text variable" with "replacement path" is supported, but i don't know in my query is not working.
    i already set in Database -> options->  table and fields -> Show Both, but the text variable still not working.
    can you help me
    Crystal Reports 2008 12.2.0.290
    SAP Integration KIT 12.1.0.890
    Thanks
    Luqman

    Post your question BEX and B1 and classic SAP data source issues to the Integration Kit forum

  • Dynamic Table control header text

    Hi everyone,
    I need to change the column header texts of a table control dynamically.
    There are 32 columns in my table control. I got the information that I have to use I/O fields for every columns as the column header texts to change it dynamically.
    But it didn't work as the I/O box goes into the body of the table control instead of being placed in the header area. So I checked w/title and tried to drag and drop the I/O boxes on the header text place of table control. But it allowed only one I/O box to be there in the header area..
    Please suggest me any idea to place the 32 I/O boxes in the header area as the corresponding column headers in the table control..
    Thanks in advance,
    Sheeba.

    Resolved the issue..

  • Change Table control Column Header text dynamically

    Hi,
    I have an requirement to change table control column header text dynamically.
    i.e. I have about 10 columns in table control, out that need to change 5 columns header text. These header texts are stored in an internal table.
    I had looked into the below link but could not get exactly how to do it.
    Dynamic headers in table control
    Could you please tell me how to do that.
    Thanks in Advance.

    Hi Saba,
    What you will need to do is this.....
    1. First replace the column Header Text box by I/O Fields and name them accordingly.
    Say for example we will consider the same example which i had explained in the link.
    there in the column header we want the header to change when some dates and entered into two fields which are out of table control say
    Start Date: 01.01.2010 to End Date: 06.01.2010
    Now we want the header to look like this,
    Column  No.    -        1               2             3                  4               5               6
    Header label   -    01/FRI       02/SAT     03/SUN       04/MON     05/TUE      06/WED
    Header name -    SPOTS1   SPOTS2    SPOTS3      SPOTS4     SPOTS5    SPOTS6
    then you go as per the instructions in the link......
    Let me know if you need further help,
    Hope this solves your problem....
    Regards,
    Abhijit G. Borkar

  • Changing Portlet header text dynamically

    I trying to change the Portlet header text depending on the value of a selected page parameter. e.g. I selected the FTSE 100 stocks link on a page and I want the portlet to display the list of stocks and the banner to say "FTSE 100" similarly if I pick the NASDAQ link I want the same portlet to list the NASDAQ stocks and the banner to say "NASDAQ". I have the stocks changing using dynamic pages and page parameters but I can't seem to get at the portlet banner title variable. I working on the latest portal release.

    Hi Lisa,
    It just so happens that the "Portlet Wizard" in JDeveloper creates the default edit view to modify the page title. Here is the code it created:
    <pre>
    // Get the PortletRenderRequest and Writer
    PortletRenderRequest pr = (PortletRenderRequest)request.getAttribute(HttpCommonConstants.PORTLET_RENDER_REQUEST);
    PrintWriter out = pr.getWriter();
    // Display a greeting
    String userName = pr.getUser().getName();
    out.println("<p>Hello " + userName + ".</p>");
    out.println("<p>This is the <b><i>Edit</b></i> render mode!</p>");
    // Customize the portlet title
    String actionParam = PortletRendererUtil.getEditFormParameter(pr);
    String action = request.getParameter(actionParam);
    String title = pr.getParameter("filebrowse_title");
    NameValuePersonalizationObject data = null;
    try
    data = (NameValuePersonalizationObject)PortletRendererUtil.getEditData(pr);
    catch(AccessControlException ae)
    throw new ServletException(ae);
    catch(PortletNotFoundException pnfe)
    throw new ServletException(pnfe);
    // Cancel automatically redirects to the page, so
    // will only recieve OK or APPLY
    if (action != null)
    data.setPortletTitle(title);
    try
    PortletRendererUtil.submitEditData(pr, data);
    catch(AccessControlException ae)
    throw new ServletException(ae);
    return;
    // Otherwise just render the form
    title = data.getPortletTitle();
    out.println("<table border='0'><td width='20%'>");
    out.println("<p align='right'>Title:</p></td><td width='80%'>");
    out.println("<input type='TEXT' name='filebrowse_title' value='" + title + "'>");
    out.println("</td></table>");
    </pre>
    I hope this helps!!!
    -Sean

  • Flahs CS3 Datagrid Dynamically align Header Text

    Hello!
    I am getting problem with Flash CS3 Datagrid. I am not able to align Header Text dynamically. Can any one sujest How to set Text Alignment dynamically. I want align first header column Text "left align" and rest of the columns Text are "right align".
    My code as bellow but it is not working
    .as code
    package {
        import fl.controls.dataGridClasses.HeaderRenderer;
        import flash.text.TextFormat;
        public class headerRender extends HeaderRenderer {
            public var headerTxt :TextFormat;
            public function headerRender()
                //this.super();       
                headerTxt = new TextFormat();
                headerTxt.font =  "Verdana";
                headerTxt.color = 0x000000;
                headerTxt.align = "right";
                headerTxt.size = 11;
                setStyle("textFormat", headerTxt);
    FLA code
    import fl.controls.DataGrid;
    import MyCellRenderer;
    import fl.data.DataProvider;
    import fl.managers.StyleManager
    import fl.controls.dataGridClasses.DataGridColumn;
    var dp:DataProvider = new DataProvider();
    dp.addItem({label:"Item a", data:0});
    dp.addItem({label:"Item b", data:1});
    dp.addItem({label:"Item c", data:2});
    dp.addItem({label:"Item d", data:3});
    dp.addItem({label:"Item e", data:4});
    dp.addItem({label:"Item f", data:5});
    dp.addItem({label:"Item g", data:6});
    dp.addItem({label:"Item h", data:7});
    dp.addItem({label:"Item i", data:8});
    dp.addItem({label:"Item j", data:9});
    var myDataGrid:DataGrid = new DataGrid();
    myDataGrid.addColumn("label");
    myDataGrid.addColumn("data");
    myDataGrid.dataProvider = dp;
    myDataGrid.width = 200;
    myDataGrid.rowCount = dp.length;
    myDataGrid.move(10, 10);
    addChild(myDataGrid);
    //set second header colum right align
    myDataGrid.getColumnAt(1).headerRenderer = headerRenders;
    Please let me know where I am wrong
    Mandar Mukadam
    Sr. Multimedia Developer

    This forum is about the Cloud as a delivery process, not about using individual programs
    If you start at the Forums Index https://forums.adobe.com/welcome
    You will be able to select a forum for the specific Adobe product(s) you use
    Click the "down arrow" symbol on the right (where it says All communities) to open the drop down list and scroll

  • Dynamic header / footer

    Hi all,
    I created an Adobe Form and defined on the MasterPage a header, a footer and a main area (content are) in-between. The areas were defined with a fixed size (somehow it was the only way because "fit height" and "fit width" was innactive).
    Because the form is used in different countries the amount of information in the different areas is not the same. Therefore I am looking for a dynamic header and footer (and main area). That should help to optimise the space exploitation on a page. The header should grow from top of the page down, the footer bottom up and the main area fill the gap.
    I know that this is a very sophisticated demand. Nevertheless, I hope that someone else had similar ideas and could solve that task.
    I appreciate any help, hints and good advices which leads to a solution of my problem.
    Thanks & regards,
    Phil

    Hi Andres,
    thanks a lot for your quick answer!
    In your MasterPage, add only the items that will remain static during the execution.
    Every object that will behave in a dynamic manner should go in the BodyPage.
    Very good hint, thanks!
    What you can do is set a Subform with flowed Western Text between your Header/Footer
    (Static) of your MasterPage. Within that main Subform set three more, "Western Text" as well.
    One will be for your Dynamic Header, the middle one for your Main and the bottom one for your
    Dynamic Footer.
    I think I did not really get it! As far as I understand this works for one page...my form - when filled with data - can have more than one page!
    Some questions came up when I read your solution:
    1) why is the flowed content "western text" and not "top to bottom"?
    2) what happens exactly with the area of the static header / footer? It's above the dynamic header and below dynamic footer -> is that space not wasted in the end?
    3) The dynamic footer is directly below the main area - not necessarily at the bottom of the page!?
    4)  How is the "pagination" defined for each of the three dynamic areas (header / main / footer)?
    I hope you'll find the time to answer my question soon!
    Thanks & regards,
    Phil

  • Printing Form Header Text in Smartforms

    Hi,
    I have created smartform for SD module.I am printing Form header text in a window by using loop.I am getting the text with the help of READ_TEXT  function module.It comes as we type in Form header.But the problem is if they type more than 15 lines it is not printing.I want to print the rest of the lines in next page.How to do this?

    Hi,
    In smartforms, only the main window is a dynamically varying one.
    So give your include text concept in the main window..
    so that if your text increases more than a page, it will be printed in the next line..
    You can maintain your text in so10 transaction.. with text id and text name..
    using include text u can simply give the Id and text name in forms, you will get the enetered text.
    regards,
    vijay.R

  • Section Header Text Background Color

    Hi have a catalog that has a running section header that will be placed over a black graphic the width of the page header.  I would like to have a white background box appear the length of the header section text, but not be the full length of the text box defined on the master pages for the header.  I would like to do this in an automated fashion rather than manual placing the graphic around the header text on each page.  It won't work to place a white box under the text as it is part of the background already being a master page item, or am I missing something.  In brief can I have a background color that dynamically adjusts to the length of a text string?
    Thanks,
    Dave

    If that text has a character style (or if it doesn't give it one) make the character style include an underline, then make that underline really thick and give it a baseline shift.  The same technique is commonly used for highlighting.  There's a few other options you can play around with in the underline options too.

  • Dynamic Standard text - Appending text with variable

    Dear All,
    We have a dynamic standard text. The text is being created based on sales order (I don't know how this has been created). Now I want to add text inside the standard text. That text will also contain variable.
    Example: "This is a valid sales order 100010000". This is a standard text where the sales order value is fed dynamically, I don't know how?
    Now the objective is to add another field "abcd" in the standard text with some other fixed texts. Eg. "I want to add my name sy-uname". So the entire text should be as:-
    "This is a valid sales order 100010000. I want to add my name sy-uname."
    1.  I am not sure how to identify the original standard text. I would like to add second line there.
    2.  I would like to pass variable value dynamically in the standard text.
    Please can you help me out in solving the issues.
    Best wishes,
    Atanu

    Hi
    Could you please be clear with your question so that some one can provide you with best solution quickly.
    I am assuming that when your sales order is being created at the same time ,your dynamic standard text is generated .So now you want to amend this standard text just after the sales order is saved.If so then
    Just go to the sales order text tab in change mode and click on the text eidtor window ,it will take to you sapscript editor ,Then from menu Goto-Header .From here you get the details of
    Text Name      
    Language       
    Text ID        
    Text Object  
    Now Find the userexit after save and their use a read_text function module and read the standard text which is alreday created and take down in it_lines table and modify the text by appending your sy-uname line as second line or you can concetante on the same line. Now then use the save_text function module and save the standard text.
    You can use the exit MV45AFZZ In that routine FORM userexit_save_document..
    Hope this help you to resolve the issue.
    Cheers
    Joginder

  • Dynamic Header (OBI report)

    Hi
    I have just started working on OBIE. Need some suggestions. Is there a way to put a dynamic header in the report.
    Eg: I want to display a text in the header as "Sales Report for Alabama" where Alabama is the state coming from the State prompt.
    I dont find any formula editor in the edit Title view. Where can i write a formula to display this text.
    I would appreciate any suggestions.
    Thank You

    You have successfully created your presentation variable in the prompt? I guess it will be something as 'State'
    Now you go to your report and you edit the title view of your report;
    In the title you put @{State} (the name of your presentation variable is case sensitive!)
    Save your report and put it together with the prompt on the dashboard. Once you select a state in the prompt, the report title should change automatically.
    KR,
    A

  • How to display dynamic header title in the report?

    I have a req to display dynamic header title in the report.
    When a id is entered in the prompt text, it will display the user data based on that user_id.
    so similarly....the header title should vary each time when you select different user_id.
    How can we implement this?

    >
    Zack H wrote:
    > Lazaro,
    >
    > It depends on what you want displayed in the heading for each id.
    > Please elaborate.
    >
    > Thanks,
    > Zack H.
    Zack..I have several projects listed under several project id's...
    so when a user selects project id 00164 then it should display something like "Project document for Jon Doe"
    again when the user selects project id as 00192 then it should display something like "project document for Zimmerman"
    Did you get it??

Maybe you are looking for