Dynamic Text in the Page Header

Hi Gurus,
     I have a small requirement i.e., changing the text of title on page header UI element based on condition. if create then create data else if it is display then display the info some thing like that.
   Kindly can some help me regarding this....
Regard
Sankar

Hi Sankar,
Create on eattribute of type String and bind to title property of page header,
and your WDDOINIT or any event write code to set title for PG header,
You are using different buttons, use this code in your buttons and change text.
DATA lo_el_context TYPE REF TO if_wd_context_element.
  DATA ls_context TYPE wd_this->Element_context.
  DATA lv_pg TYPE wd_this->Element_context-pg.
* get element via lead selection
  lo_el_context = wd_context->get_element( ).
  data pg1 type string.
  pg1 = 'selected the record'.
  lv_pg = Pg1.
* set single attribute
  lo_el_context->set_attribute(
    name =  `PG`
    value = lv_pg ).
In button 1..
lv_pg = 'Enter the entries'.
* set single attribute
  lo_el_context->set_attribute(
    name =  `PG`
    value = lv_pg ).
Cheers,
Kris.

Similar Messages

  • SSRS 2008 R2 report does not print the page header for a html content displaying on multiple pages

    Hi
    I need to display the html content from the database. The html content are quite long and can have content of 3-5 pages. Issue I  am facing is f the record has html content of 3-5 pages, then it does not print the page header (which is a separate tablix) on
    second page onwards.
    Nikesh Shah
    Nikesh Shah

    Hi Nikesh,
    According to your description, I’m not sure the meaning of Page header in your scenario. In Reporting Services, a page header that run along the top of each page, respectively. Headers can contain static text, images, lines, rectangles, borders, background
    color, background images, and expressions. But we couldn’t add tablix in the page header.
    If you are saying report header, a report header consists of the report items that are placed at the top of the report body on the report design surface. They appear only once as the first content in the report. So it cannot repeat in other pages.
    If you are saying tablix header, freezing column headers are different in table and matrix. For more details, please refer to the following thread:
    http://social.technet.microsoft.com/Forums/sharepoint/en-US/c8ddc1af-1bdf-4e72-8aab-0353c7cc848a/ssrs-report-freezing-row-and-column-while-scrolling-issue?forum=sqlreportingservices
    If there are any misunderstanding, please elaborate the issue for further investigation.
    Regards,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Pages 5.2.2 - how to add a logo in the page header

    Hi, how can I add a logo in the page header of each page?!
    seems header and footer only supports text and automated page numbering only...
    I need some advise on this one
    thanks

    Add an image to any page in the section, then drag it where you want it to appear on each page.
    Reduce the opacity using the slider in the Style pane of the Format inspector to change the object’s transparency.
    Choose Arrange > Section Masters > Move Object to Section Master (from the Arrange menu at the top of your computer screen).

  • How to include the page header in smartforms

    Hi,the text element of the type include text is placed in the main page in header.
    this text element extending to several pages.
    The user wants to include page header only  on pages where this element displays.
    EX:in the page they are 5 elements include text will appear from 3rd page.
    then they want to display the page header only from 3rd page.
    IS it possible?
    Message was edited by:
            hymavathi bomma

    Hi!
    You have to define more header objects.
    You can use conditions, which object appears. You can use a flag variable for this: gv_header_flag.
    Based on this gv_header_flag, you can tell the Smartform, which header to print.
    And you have to fill gv_header_flag with correct values in some ABAP code, entered into your Smartform, before you print your header.
    Regards
    Tamá

  • How can I put an image in the page header so that it will be repeated on every page?

    Hi to everyone!
    I want to create a Pages template with the logo of our company in the page header.
    I'd like to put that image (logo) in the page header so that it will be repeated on every page but it will not modify the content of the page.
    Anyone know how to achive this, or something similar without have to copy-paste that image every time we add a page to the document?
    Thanks in advance

    Takashi,
    Turn off the Page Headers (not absolutely necessary, but since you don't need it, why not)
    Put your Graphic on the page and make the following settings:
    Then Insert > Text Box and make the same settings as for the graphic.
    Place your "Header text" in the text box and arrange the box and graphic as you want them. Move both to Section Master using the Arrange menu.
    Jerry

  • How to change the page header?

    Hi,
    I just installed and started using Plumtree 6.0 a month ago, and we are still in a trial phase for our company's portal.
    I want to change the default page header to replace Plumtree logo to my company's logo. I thought I can change it in the style sheet, but I didn't find where to change in the cssmill folder. I found an artical in edocs.bea.com saying I can modify the header by using ALI Publisher, but I don't know what's the right way to do it and faster.
    Can someone guide me how to change the page header?
    Thank you. (if this is not the correct forum to post the question, please let me know which forum should I go)

    Depends on what you want to do. Personally, I'd do a header portlet and not touch the Plumtree/BEA logos. They're likely to be overwritten when the product receives updates.
    This may seem like a lot of steps, but really - it goes quickly
    ** Think through what you want to display. If all you want to do is replace the image, but you wan to keep the overall layout style then you can create a simple replacement header
    Step 1 - create a header portlet
    =======================
    If you're using Publisher...
    =====
    * Create a new portlet - choose the Header portlet template
    * Upload your image / change the header in the rich text editor
    If you're not using Publisher
    =====
    * Personally, static HTML will do just fine - create a folder and html file called something like "mybanner/mybanner.htm" on your remote portlet server
    * Plop in an image (you'll want to swipe some adaptive tags for community and page name - can always stick those in later)
    * Create a new remote portlet web service that references this HTML page
    * Create a portlet from the web service - make sure the type is "header"
    Step 2 - turn it on
    =======================
    * Create a new experience definition (or modify default - I usually create a new one so you can move it between environments)
    * In the experience definition's "header / footer" settings area, tell the header to load from the new header portlet you created
    * If you created a custom experience definition, modify your experience rules to load this experience defiintion according to whatever parameters you think make sense (just be careful you don't knock out your login page - we usually use security groups to just say "hey - the user is logged in and is, in fact, a member of this portal - that'll still let your login pages load)
    Done
    May seem like a lot of work, but really it's just a series of simple steps. Advantage here is you can vary things as you see fit and also just feel safe that the next time Plumtree/BEA updates those imageserver files you'll be good to go. From there you can get as fancy schmancy as you like using adaptive tags, etc. Heck - make it a .NET app if you want and do some crazy personalization or something. Embed stock tickers, important news alerts, whatever.
    That help at all?
    Thanks,
    Eric

  • Adding dynamic text to SharePoint Pages

    Hello all,
    Our SharePoint developer has quit and not his "duties" have been "pushed" onto me. While I am no developer, I can hold my own on certain things.
    Basically I have been asked to add "dynamic" text to our pages that will "read" a field in our "project information list" - project name, client etc.
    Is there a way to "read" a field in SharePoint and add this information dynamically to a page? Our project pages will be around 20 and to do it manually for every page would be a bit of a bear.
    Lastly, we have a documentation library with folders in it. Is there a way to display the "folder" the user is currently in? Right now, when the user clicks on "procedures", there is no visual indication on the page they are in the "procedures"
    folder.
    Thanks all for any help you may be able to provide.
    Brent

    Hi,
    It would be easier for communities focus on one question in one single thread, if you may have more than one questions, it would be better to post one question in one single
    thread.
    For the first question, you want to display values from a column of a list in a page, what’s more, the values will be changed along with the changes in the corresponding list.
    Content Query Web Part would be a good choice without coding.
    You can specify the column you want to display, the style of the content and you can even filter the values you got. All you need to do is add this web part into your 20 pages
    with some necessary settings, then you will get a dynamic view of data on your page.
    Display a dynamic view of content on a page by adding the Content Query Web Part
    http://office.microsoft.com/en-001/sharepoint-foundation-help/display-a-dynamic-view-of-content-on-a-page-by-adding-the-content-query-web-part-HA101794897.aspx
    Here is two demos about how work with the Content Query Web Part:
    http://community.bamboosolutions.com/blogs/sharepoint-2013/archive/2013/05/10/how-to-use-the-content-query-web-part-to-rollup-data-in-sharepoint-2013.aspx
    http://www.codeproject.com/Articles/756834/Customizing-the-Content-Query-Web-Part-and-Item-St
    Feel free to reply if there are still any questions.
    Best regards,
    Patrick
    Patrick Liang
    TechNet Community Support

  • Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Pages 5.5.1: When opening a document created with Pages '09 (Version 4.0) with Pages 5.5.1 the page header and the page footer are deleted. How can this be prevented? Or is this a bug in Pages 5.5.1?

    Same problem here (no graphics in header or footer) and the problem has been reported months ago. It is another bug/feature lost when Apple moves from 09 to the iCloud-compatible versions.  Complain to Apple, you may have better chance than me and they may finally listen to their users....

  • How do you make the title bar display different text than the page title?

    I'm looking for a way for the title bar display of my web page to be different than the text in the actual nav bar created by iWeb. For instance, I'd like the nav bar to just say Home for my main page, but in the title bar in the browser say "blah blah blah."
    I know there has to be a way to do this. iWeb has actually done it on one page already, but I can't figure out how. I think it picked up the title bar text from the first text box in the page. For instance, the page name in the navigation bar is "blahs for today" but the browser title bar when you open that page says "blah blah," which happens to be the first line of text on the page. The page title in iWeb.app, though, is "blahs for today." But if I look at the source code it lists title as "blah blah."
    I'm guessing I might be able to work around by making an invisible text box with the text that I want in the title bar as the very first thing on the page, and hope iWeb makes that the title bar text. I'd rather have a more correct way of doing it.
    Is there a way of doing this in the source code without having to change a lot of stuff?
    Thanks for any help.

    Richard Kirkman1 wrote:
    I think it picked up the title bar text from the first text box in the page. (...) I'm guessing I might be able to work around by making an invisible text box with the text that I want in the title bar...
    Richard ~ The key is the default Title box that iWeb creates for every new page — it's that which you need to edit, not another text box you've created. And to make the text in that Title box invisible, see here.

  • In a document with several sections, in section VIII and IX one cannot select the text of the page foot nor set the pointer in it; so, one cannot write nor change the page foot text. Please help!

    in a document with several sections, in section VIII and IX one cannot select the text of the page foot nor set the pointer in it; so, one cannot write nor change the page foot text. Please help!

    Question already asked and answered several times.
    It's a bug striking in long documents.
    Select a word somewhere higher in the page then use the arrows to reach the wanted insertion point.
    Yvan KOENIG (VALLAURIS, France) mardi 23 août 2011 15:44:24
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.0
    My iDisk is : <http://public.me.com/koenigyvan>
    Please :
    Search for questions similar to your own
    before submitting them to the community
    To be the AW6 successor, iWork MUST integrate a TRUE DB, not a list organizer !

  • Suppress the Page Header section on a specific Section

    Hello,
    I have a single page word document I want to append to the end of a report I have, so I placed it in Report Footer b. The word document fits perfectly on a single page without any header. I tried simply supressing the Page Header on the last page but because of the length of the the word document it gets cut in half, so the 2nd to last page includes a header and forces the word document onto 2 pages (one with a header and one without). I tried supressing the Page header the last and 2nd to last page, but that results in the printing of an extra page as the word document without a header only takes up one page.
    Is there some way to supress a section based on what section is currently printing ie.
    WhilePrintingRecords;
    Section "Report Footer b"
    I am open to any suggestions on how to simply add a report footer section without a page header.
    Thanks

    Unfortunately that also suppresses on the 1st report footer section (RFa)
    I tried adding an additonal conditon
    OnLastRecord AND Pagenumber >= TotalPageCount - 1
    However, this results in the addition of an extra blank page, which changes the page count to 1+ what it should be. This may confuse some users.
    Can I specify a specific record? How would I go about doing that?

  • How to change the page Header background colour in a Theme

    Hello,
    I want to know how to change the page header background colour. If you are in the Editor I don't find a property where to change it.
    If you are in the Theme Editor in the header bar I want to change stands <b>Theme Editor</b>. This (in my case blue colored bar) I want to change in another color.

    Hello Radhika,
    thanks for your answer. Where do I find the option for the pageheader in System Administration>Portal Display>Theme Editor ->IView Trays exactly?
    The pageheader is a picture, which must be uploaded for the web dynpro. Why should any webdynpro element in the ivew tray. There is no relationship between these two parts.
    I have not found any option to change the web dynpro pageheader. Could there any extra theme editor for webdynpro?
    Thanks.
    Olaf

  • I have been unable to print from FF to Brother HL-1440. print generate pages w/odd bits of text from the page, and sometimes one image. If I want to print off the web, I have to print PDF. Older versions of FF print fine.

    I have been unable to print from FF to Brother HL-1440. print generate pages w/odd bits of text from the page, and sometimes one image. If I want to print off the web, I have to print PDF. Older versions of FF print fine.

    I downloaded OpenOffice and am able to print documents (in particular, the same document I created in MS Word). I guess MS Word is to blame. I believe the issue is concluded, but I'd welcome any comments about the Active Directory, as I might have a problem
    with OpenOffice in the future regarding that.

  • How to display the dynamic text in the selection screen

    Hi All,
    I want to display the dynamic text in the selection screen .... ( I searched in forums , didnt get the any answer fot this sort of qustion ).....
    EX: If i have the date of today 31st  it has to show message like " today date is 31 like some thing "  when i execute the report .
    Could any one face this sort of requirment, Please let me know.
    Thanks in advance.
    Reagrds,
    Bharani

    Where would you like this dynamic text being displayed? As an "message" or in some parameter field?
    If first
    parameters date type d.
    data: text type string.
    at selection-screen.
       concatenate 'Today is' date into text.
       message text type 'I'.
    If second
    parameters pa_text type c length 50.
    at selection-screen on date.
      if date is not initial.
        concatenate 'Today is' date into  pa_text.
      enidf.
    at selection-screen output.
       "show it as read only
       loop at screen.
        if screen-name = 'PA_TEXT'.
               screen-input = abap_false.
              modify screen.
        endif.
       endloop.
    Regards
    Marcin

  • How to alter the page header in mode_show_help?

    How can I change the page header on the page that gets opened by calling mode_show_help? I'd like to have the help pages maintain the consistancy of the look of the portal.
    thanks,
    adam

    Hi!
    You have to define more header objects.
    You can use conditions, which object appears. You can use a flag variable for this: gv_header_flag.
    Based on this gv_header_flag, you can tell the Smartform, which header to print.
    And you have to fill gv_header_flag with correct values in some ABAP code, entered into your Smartform, before you print your header.
    Regards
    Tamá

Maybe you are looking for

  • Connecting my Mac

    I have an Apple PowerBook G4 1.67GHz running OS Tiger 10.4.11. I have it configured to connect to my router via the Airport wireless, just like all the other computers on my network (both pc and mac). It can surf the internet just fine, but I cannot

  • Reg:Owned By Id in Service Request

    Hi friends, In R17, When we try to import records for Service Request, we mapped the "Owner" field which is a required field, but, it is still prompting to map "Owned By Id" without which im not able to proceed with the import process.Is it a unique

  • In-Ear Headphones Warranty?

    How do I get Apple to honor the warranty that came with my original in-ear headphones. I have bought 2 sets and both have stopped working. There is no online repair request form. When I call Apple support or the Apple store they keeps asking about my

  • Can't get SLiM to work

    I followed the wiki perfectly, added slim to the daemons, added openbox-session to xinitrc, still doesn't work:(

  • New skype doesn't show group convo's topic picture

    Please stop updating skype if bugs like this are going to effect stuff, in fact I think the basic skype was perfect but ti seems that each version its being upgraded with is over weighting the pros with cons.  Anyways I can't see group convo pictures