How To Display Current Page Name in Text Box Titles?

<BR>I have a report which uses a page dimension. When I print out the report, it does display the page dimension member in plain text, near the beginning of the report. But I would like to incorporate the current page value in the formatted report title, a text box.<BR><BR>The "MemberAlias" command, for example, looks like this:<BR><BR>(( MemberAlias("GridName", Row/Col/Page, "DimName") ) )<BR><BR>(substituting the less-than, greater-than symbols for parentheisis just for this web forum)<BR><BR>If I put a number in as the second element in the function, that hard-codes the report to print the page 1 value on each page of the printout. Unfortunately, Reports doesn't allow the "current" value in a text box. Is there a way to do this?

hi,
is there any generic fix for this. if we want to display then we need to change the each page CO . is it a possible solution. or any generic solution. Please provide
Thanks
Smarak

Similar Messages

  • Display current page name using API ?

    I want to display the current page name using a PL/SQL API. I can get it using smart text - current page item, but I need to get it programmatically using a procedure. Which one? What variable? If I need to pass values in, where do I get them?
    Thanks,
    John

    You can use wwpro_api_parameters.get_value('_pageid','a') in a pl/sql item or UI template to get the value of the current page id. You can then use the page id to look up page attributes in the WWSBR_ALL_FOLDERS view. In a portlet, you have to use the reference_path instead of the 'a' as the second parameter.
    Please note that is is an undocumented use of this API and is not guaranteed to work in future releases. However, it does work in 9.0.2 and 9.0.2.6. WWSBR_ALL_FOLDERS is not officially supported until the 9.0.2.6 version.
    Regards,
    Jerry
    PortalPM

  • How to display multiple lines in a text box defined in  steploop.

    Hi,
    I have a requirement to display data ( which is dynamic in nature. I determine data type,length etc dynamically) in a table format. I am using step loop for the same. I am facing a problem. Some field can be as long as 256 char long. Is there  any way to display multiple lines in text box defined in a step loop so that I can display the complete string as one entity.
    I can't use custom control as custom control can't be defined in a step loop or table controlI would really appreciate your help on this.
    Regards,
    Sanjeev

    Hello Sanjeev
    Perhaps it is possible to use a <b>mixed strategy</b> consisting of a classical table control (or, even better, an ALV grid list) where you display the first 250 character of the data and next to the table control you place a simple textedit control. When the user selects one of the text fragments in the table control the entire text will be displayed in the textedit control.
    Regards
      Uwe

  • How to display Error for a particular text box programaticaly

    Hello All,
    I have 5 text boxes in a form and I have a requirement where if user click on any of the text boxes then i need to pass the id to class A and show the error description related to that text box in faces message.
    I have created class A in which i need to pass the id and get the error description but the problem is that the error description is in array list so i have created list of type class B which contains description.
    Right now in class A I have :-
    id ||||||||| description <>
    it1-------1.Invalid number
    -------2.Number not in use
    -------3.Number is out of range
    it2------1.error1
    2.error2
    3.error3
    and so on.....
    *public class ClassA {*
    public String Id;
    public List<ClassB> desc = new ArrayList();
    *public ClassA() {*
    super();
    *public void setId(String Id) {*
    this.Id = Id;
    *public String getId() {*
    return Id;
    *public void setDesc(List<ClassB> desc) {*
    this.desc = desc;
    *public List<ClassB> getDesc() {*
    return desc;
    *public class ClassB {*
    public String Description;
    *public ClassB() {*
    super();
    *public void setDescription(String Description) {*
    this.Description = Description;
    *public String getDescription() {*
    return Description;
    How do I pass the id and get the description for eg:- If id is it1 then How would I show all the 3 errors in faces message on value change.
    Please Suggest.
    Thanks in advance.

    your case is not clear.
    but this link may help you
    http://mjabr.wordpress.com/2011/08/31/how-to-show-multi-lines-afmessage/

  • How to get Current Page(region)  Name/ID   in OA 11i

    We need to get the name or id of the current page, and based on the pagename, we retrieve configuration to launch specific web service.
    pageContext.getPageLayoutBean().getPageFunctionName() is no sufficient. Since one page function sometimes contain multiple pages (eg, each individual page maps to one train node, all the train nods maps to one page function).
    are there OA apis that I can use to get the Current Page name in controller?
    I tried pageContext.getParameter("CurrrentPage") , it works great for iExpense application. However, in iRrecuiment, the parameter "CurrentPage" was not set at all.
    Please advise.

    First let me explain what I want to achieve:
    I am writing one region (choice list displays the webservices based on the container region) along with the controller, and that region will be embed inside any OA application pages via OA personalization. On the runtime, I need to detect the current page (container region) name. Then, based on the configuration stored in my table, I need to query out the web services endpoint to call.
    Now let me answer your question:
    For example, OIEMAINPAGE.xml (OIEMainPageContainer) contains OIEReview, OIEDetail, OIEGeneral, etc, each inner region will be rendered as a page when you click the train node or link of other page. (from end user perspective)
    If I call pageContext.getPageLayoutBean().getPageFunctionName() on those inner regions, it will return OIEMAINPAGE, so I can not figure out which region are rendered (displayed) on runtime. (My region are embed inside OIEMAINPAGE pagelayout region )
    If I call pageContext.getParameter("CurrrentPage"), it will return (OIERview, OIEDetail etc), which are exactly what I want.
    However, I have to make sure my code works for other OA application, and I already noticed that some application does not set parameter CurrentPage, instead they may set parameter Page. So, I want to know if there is API provided by OA or fnd team to return current container region (page), very similar to Form Block name.
    In form, One Form function could have multiple Blocks, and they are not displayed at same time.
    In OA, one function could have multiple inner container region, and they are not displayed at same time.
    In form, One Form function could have mutlple Blocks, and they are not displayed at same time.
    In OA, one funciton could have mulple container region, and they are not displayed at same time.

  • How to find out current PAGE NAME (not Page No) in SAPSCRiPT

    Hi,
    Is there anyway i can find the current page name in sapscripts which i can check in IF condition and accordingly perform some task. I searched and found out ITCTG-TDPAGE structure but its giving me error when i try to print in text element editor.
    Regards
    Amber

    Hi Amber,
    the otf[]-Table is located in a function group...
    Sry, forgot to add this.. that's the thing without a system available
    To solve your problem, I would work with the otf-data. I just can give you suggestion because the solution might be a bit bigger.
    Set yourself a unique string into the line you want to draw a box (perhaps @BOX1). Afterwards you can replace this variable with things you want to do. There is a lot possible with having the otf-data itself.
    Important is, that you do this before calling CLOSE_FORM
    Regards
    Florian
    BTW: OP are the first two unique chars in the line
    Here is a example-coding
    FIELD-SYMBOLS: <gt_otf> TYPE ssftotf,
       <ls_otf> TYPE itcoo.
    ASSIGN ('(SAPLSTXC)OTF[]') TO <gt_otf>.
       IF sy-subrc = 0 AND <gt_otf> IS ASSIGNED.
    LOOP AT <gt_otf> ASSIGNING <ls_otf>
         WHERE tdprintcom = 'ST'
         AND tdprintpar+7 = '@UL1'.
    ENDLOOP.
       ENDIF.

  • How to get a Page name?

    Hello,
    I have a dynamic page component portlet, which display different images depending upon page name.
    Is there any APIs to get the current page name in pl/sql.
    or is there any way to get the page name ?
    Thanks
    Sha

    I can't help you with the Javascript option - don't know if this is possible.
    A simple PL/SQL item type that demonstrates how to do this:
    declare
    page_id varchar2(100);
    begin
    page_id := WWPRO_API_PARAMETERS.GET_VALUE('_pageid','a');
    htp.p('The page id is ' || page_id);
    exception
    when others then null;
    end;
    A custom item type procedure is even simpler - you can pass the page group id and page id directly to the procedure, so you don't need to call WWPRO_API_PARAMETERS.GET_VALUE to pull the pageid off the URL.
    There is a very good example of using custom item type procedures in this submission on the Knowledge Exchange. You must register for Portal Developer Services to access the Knowledge Exchange.
    If you are not familiar with PL/SQL item types and/or custom item procedures, please consult the documentation.
    Regards,
    Jerry
    PortalPM

  • How to display current date in query header?

    Hi,
    How to display current date in query header?
    I use Query Designer for development.
    Thanks,
    Arun KK

    Hi Arun,
    You can define fixed header lines and footer lines so that when you generate the query list, they can receive current values of certain fields. When you define a header line or a footer line, you must specify a character string of the type &field, where field is the short name of a field.
    This function allows you (for example) to place a sort criterion in the header line.
    You can include the following fields as variables in the headers directly:
    %NAME
    Name of the user processing the query
    %DATE
    Current date
    %TIME
    Current time
    %PAGE
    Current page number (6 characters)
    %P
    Current page number (3 characters)
    These fields can be used in the short forms N,D,T and P. If you want to use these letters as short names for query fields, the field values from the query are used.
    You can also see the link
    [http://help.sap.com/saphelp_nw70/helpdata/EN/6e/dd68721faf11d6b1d500508b6b8b11/frameset.htm]
    Regards,
    NR

  • How to display Current Year and Month in Drop Down list

    Hi Dear friends,
    I am devloping a report. It has got 2 pages--input and output(Report) page.
    IN input page, user will select Month and Year from drop down list as one of the input parameters. (seperate drop down list 4 month and year)
    Now, my problem is:
    HOw to display current month and year by default in the dropdown list...........
    I hope my question is clear.
    Please help.
    Regards,
    ASh

    NO da,
    it is not working.
    First i tired with for-loop. I initialized variable "i" to -2 (i=-2) I would get the year drop down list from 2003 but, by default 2003 would come.
    So, i posted the question.
    I tried your code. It is giving following error.
    A Servlet Exception Has Occurred
    org.apache.jasper.JasperException: Unable to compile class for JSP
    An error occured between lines: 122 and 127 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:182: Invalid type expression.
    first.set(Calendar.YEAR, 2003)
    ^
    An error occured between lines: 127 and 131 in the jsp file: /test/inpt.jsp
    Generated servlet error:
    C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:186: Invalid declaration.
    out.write("\r\n \r\nYear : \r\n \r\n"); ^ An error occured between lines: 198 and 203 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:282: Invalid type expression. first1.set(Calendar.YEAR, 2003) ^ An error occured between lines: 203 and 207 in the jsp file: /test/inpt.jsp Generated servlet error: C:\Program Files\Apache Tomcat 4.0\work\localhost\general\test\inpt$jsp.java:286: Invalid declaration. out.write("\r\n \r\nYear :\r\n \r\n");
    ^
    4 errors
    Pls. Help.
    Regards,
    Ashu

  • How to display the page no in script

    HI,
    Can any one tell how to display the page no's as follows in Scripts.
    current page/total no.of pages(ex:1/10)

    Hi,
    For Smartforms:
    Just insert fields: &SFSY-PAGE& and &SFSY-FORMPAGES&.
    Page: &SFSY-PAGE& of &SFSY-FORMPAGES&
    For Sapscript:
    Just add: &PAGE& and &SAPSCRIPT-FORMPAGES&
    Page: &PAGE& of &SAPSCRIPT-FORMPAGES&
    Regards,
    Edited by: Jatra Riwayanto on Jun 4, 2008 9:33 AM
    Edited by: Jatra Riwayanto on Jun 4, 2008 9:34 AM

  • How to remain current page when refresh ?

    How to remain current page after refreshing in TableView?

    Layout:
    <htmlb:tableView id              = "iso"
                           keepSelectedRow  ="True"
                           design          = "alternating"
                           visibleRowCount = "6"
                           fillUpEmptyRows = "true"
                           selectionMode   = "SINGLESELECT"
                           table           = "<%= t_iso %>" >
            <htmlb:tableViewColumns>
              <htmlb:tableViewColumn columnName          = "CODE"
                                     width               = "5%"
                                     horizontalAlignment = "center"
                                     type                = "text"
                                     title               = "ISO" />
              <htmlb:tableViewColumn columnName          = "ARCHIVE"
                                     width               = "5%"
                                     horizontalAlignment = "center"
                                     type                = "text"
                                     title               = "ISO File" />
              <htmlb:tableViewColumn columnName          = "EDITION"
                                     width               = "5%"
                                     horizontalAlignment = "center"
                                     type                = "text"
                                     title               = "edition" />
                      </htmlb:tableViewColumns>
          </htmlb:tableView>
         <tr>
          <htmlb:button id      = "btnCreate"
                        text    = "Create"
                        onClick = "myClick" />
          </tr>
    When I click button "Create",the page is refreshed .Before refreshed,the position of TableView is Page 2 . But after the view is refreshed ,the position of TableView is changed to Page 1 . How do I retain the page of TableView is 2 ?

  • Sap script current page name

    HI experts,
    can any body tell me how can i get the current page name in sap script.
    In case of smartform we can get it by using sfsy-pagename. is there any way like this.
    rgds,
    bharat.

    Hi Bharath,
    Follow this procedure...
    Got to
    Insert (MENU)-> Symbols->System symbols-> TTXSY SAPscript system symbol
                                              (select it )
                                              Click Choose button
                                - from here select PAGE.
    Insert (MENU)-> Symbols->System symbols-> SAPSCRIPT      SAPscript system fields
                                              (select it )
                                              Click Choose button
                                - from here select -> FORMPAGES  Total number of pages
    In editor it appears as &PAGE& &SAPSCRIPT-FORMPAGES&
    just type Of between them as below
    &PAGE& Of &SAPSCRIPT-FORMPAGES&
    So that it will be in readable format for user.
    Regards,
    Basheer.

  • How to get rid of the main text box in the back of the page AND move things

    I usually work in Adobe Illustrator, Photoshop, and InDesign, but am creating two newsletter templates in Pages for a colleague, since it will be easier for her. But, for the life of me, I can't figure out how to get rid of the main text box in the back of the page that is driving me crazy. I just want a nice blank page that I can do whatever I want with. AND, I can't figure out how to select things so that I can move them, like shapes and text boxes. Some things seem to move fine, then other things just sit there. I am at the end of my rope!!!

    Hi, Dylan. Welcome to Discussions.
    If you're referring to the area where you just start typing when you open a new blank document, you can't get rid of it. But you also don't have to use it. You can insert text boxes and size and position them as you desire. Just be sure they're defined as Fixed on Page. When one is full and you want to continue it to another page (or to the side), click in the blank blue box on the lower right side of the text box. That will create another box and your overflow text will flow into it. Then position it where needed.
    Also, you can create a text box the width of the page and then set it for 2 or more columns.
    When you want to send something to the back and you may want to access it again later, just use the send backward command. If you send it all the way to the back, it will be behind the main text layer (where it will be safe from acvcidental movement) but you will have to click outside the work area and then drag the pointer to the object to select it.
    Hope this helps to get you started.
    Walt

  • I upgraded pages.  Now when I begin a new document I automatically have a text box.  How do I get rid of the text box so that it does not automatically appear.  What settings do I need to change?

    I upgraded pages.  Now when I begin a new document I automatically have a text box.  How do I get rid of the text box so that it does not automatically appear.  What settings do I need to change?

    Perhaps you are loading a template that has a text block already on it.
    You might try the blank template option and set that as your go to template in your preferences

  • How do i send hyperlink to a text box within the same page

    how do i send hyperlink to a text box within the same page on iweb

    It's called an anchor. It's often discussed in this forum.
    2 days ago : anchor
    Here's a search of the past year : anchors

Maybe you are looking for

  • Oracle Service Bus Generic Endpoints

    Hi, I have been looking into OSB and creating Proxy services. I have seen how a proxy service has a flow and can push messages to a business service. There is powerful routing capabilities in the flow which will be useful to me. Imagine I have three

  • How to use template.fmb file within form builder

    Hi I have created forms without using template.fmb file and deploy them on EBS then they working fine But when I try to use template.fmb file then it gives an error following are the steps : 1:open template.fmb file with form builder 2:rename that fi

  • EDI - Porcess Code for Po create

    Hi I have the need to create PO (stock transport orders) in a client from a idoc that pas been posted. Whats the process code i set in we20 inbound to create a purchase order. Thanks Barry

  • Replacing a HDD with a SDD for HP Pavilion dv6183ea

    Hi I have an HP Pavilion dv6183ea laptop and wondering whether I can replace its hard drive with a new SSD one? Thanks This question was solved. View Solution.

  • How to display Bathtub Curve for a simulate sine wave?

    I cant find the VI whcih has this function, please show me ,thx