How to make a header text centeraligned

hi ,
I need to put company's name as a header or page title and that needs to be in the centre of the page.

But how do i use a cellFormat with centeraligned because it appears in a cell format i mean a box comes around..
Also wat i meant by making the page tile center aligned was not the page window title but any text which i want to be center aligned on the page

Similar Messages

  • How to wrap the heading text in alv.

    HI all,
          I need help, how to wrap the heading text in alv.
    can any help ... plz..
    Advanced Thanks
    Regards
    GUhapriyan

    Hello GuhaPriyan,
    I assume that you're referring to the ALV Grid's title. The maximum length for this title is 70 characters and this would generally fit in the one line.
    Are you intending to wrap it because you purposefully want the text to come in two lines? In that case, I'm not sure that it's possible.
    But otherwise, there's an option in the Layout called SMALLTITLE. You can set this attribute so that the title would be displayed in a amaller font and hopefully, all of your text shows up on the screen.
    Regards,
    Anand Mandalika.

  • How we will maintian Header Text in Purchase Order Mandatory?

    Dear All,
    How we will maintian Header Text in Purchase Order Mandatory?Please suggest a Solution..
    Thanks,
    Raju

    hi
    in standard  it is not posible  u need to use User exit: EXIT_SAPMM06E_012 of enhancement MM06E005. check details with ABAPer
    Vishal...

  • How to make separate/individual text frame from one parent frame in indesign with javascript

    Hi all,
    Please suugest - how to make separate/individual text frame from one parent frame in indesign with javascript.
    Thanks
    Rohit

    @Larry – ah, your interpretation could be the right one…
    May I rephrase the question:
    "How to split threaded text frames to single ones?"
    "SplitStory.jsx" or "BreakFrame.jsx" under Scripts/Samples indeed could be the answer.
    From the comments in the code of "BreakFrame.jsx":
    //Removes the selected text frame (or text frames) from the
    //story containing the text frame and removes the text contained
    //by the text frame from the story.
    //If you want to split *all* of the text fames in the story, use the
    //SplitStory.jsx script.
    Uwe

  • How can i read header text?

    how can i read header text?
    ie, i want to read two values that are stored as header text in purchase order.
    how can i retrieve that values?

    Hi,
    The long texts of a document are stored in a encrypted format in the STXH and STXL tables, where STXH stores the header information of the
    long text like TDOBJECT, which indicates which text object the long text belongs to, TDID which indicates the Text ID and TDNAME which is
    the actual name of the long text.
    As these texts are stored in a encrypted format, the text cannot be read using a SELECT statement. You will have to use the function READ_TEXT. The easiest way of getting to know the parameter values is to go to a document, open the long text in a full screen mode. For example, when you wan to see the long text for a Purchase order, go to transaction ME23n. Assume, you want to see the parameters for the Header Text. In the first Tab Strip Control, click on the Texts tab and select the Header Text node on the left hand side, which will display the text on the right hand side. Now, double click on the text editor on the right hand side. This will open the text in the full screen mode. In the menu Go To --> Header, you should be able to see the values for all the three parameters we discussed above. We will have to do the same thing for whichever text parameters we want to see.
    TREC-TDSPRAS = SY-LANGU.
    TREC-TDID = 'ECCS'.
    TREC-TDOBJECT = 'ZECCS'.
    TREC-TDNAME = Z_ACCOUNT.
    CALL FUNCTION 'READ_TEXT'
    EXPORTING
    ID = TREC-TDID
    LANGUAGE = TREC-TDSPRAS
    NAME = TREC-TDNAME
    OBJECT = TREC-TDOBJECT
    TABLES
    LINES = LINES
    EXCEPTIONS
    ID = 1
    LANGUAGE = 2
    NAME = 3
    NOT_FOUND = 4
    OBJECT = 5
    REFERENCE_CHECK = 6
    WRONG_ACCESS_TO_ARCHIVE = 7
    OTHERS = 8.
    Details:
    Language DE
    Text ID F01 Header text
    Text Object EKKO Purchasing doc. header texts
    Regards,
    Shiva Kumar

  • How to make a dynamic text  be SMS by fl2.1

    Now ,I know use " getURL("sms:"+telnumber) "to send sms to a
    specified no.,but how to make a dynamic text be the sms content.?
    Many thx!:

    Ciao,
    this should work:
    smstxt = "ciao, happy holidays";
    telnum = "1234567890";
    getURL("sms:"+telnum+"?body="+smstext);
    body is a keyword.
    Alessandro

  • To make PR header text as Mandatory

    hi Gurus
              In ME52N (ie.Purchase requestition) I want to make the Header text as mandotary field.Any User exit or BADI available?

    Please go thorugh below mentioned Badi's and user exits :
    ME_REQ_HEADER_TEXT   Copy Header Text: Enjoy Purchase Requisition(BADI)
    MEREQ001  Customers' Own Data in Purchase Requisition(User Exit)
    Hope some what helpful to you

  • The Header in my home page is truncated. My home page Header is cut off. The header appears in Internet Explorer, but not in Mozilla Firefox 3.6.13. How to make the header display in Firefox?

    The Header in my home page is truncated. My home page Header is cut off. The header appears in Internet Explorer, but not in Mozilla Firefox 3.6.13. How do make the header display?

    (Images or animations do not show) worked well.

  • How to make Dynamically Shortened Text With "Show More"

    Hi there! i want to know how to make dynamically shortened text with show more or read more in my website using HTML 5 pages  or ASP.NET ?
    example like these paragraphs 
    Lorem Ipsum är en utfyllnadstext från tryck- och förlagsindustrin. Lorem ipsum har varit standard ända sedan 1500-talet, när en okänd boksättare tog att antal bokstäver och blandade dem för att göra ett provexemplar av en bok. Lorem ipsum har inte bara överlevt fem århundraden, utan även övergången till elektronisk typografi utan större förändringar. Det blev allmänt känt på 1960-talet i samband med lanseringen av Letraset-ark med avsnitt av Lorem Ipsum, och senare med mjukvaror som Aldus PageMaker.
    Det är ett välkänt faktum att läsare distraheras av läsbar text på en sida när man skall studera layouten. Poängen med Lorem Ipsum är att det ger ett normalt ordflöde, till skillnad från "Text här, Text här", och ger intryck av att vara läsbar text. Många publiseringprogram och webbutvecklare använder Lorem Ipsum som test-text, och en sökning efter "Lorem Ipsum" avslöjar många webbsidor under uteckling. Olika versioner har dykt upp under åren, ibland av olyckshändelse, ibland med flit (mer eller mindre humoristiska).
    I motsättning till vad många tror, är inte Lorem Ipsum slumvisa ord. Det har sina rötter i ett stycke klassiskt litteratur på latin från 45 år före år 0, och är alltså över 2000 år gammalt. Richard McClintock, en professor i latin på Hampden-Sydney College i Virginia, översatte ett av de mer ovanliga orden, consectetur, från ett stycke Lorem Ipsum och fann dess ursprung genom att studera användningen av dessa ord i klassisk litteratur. Lorem Ipsum kommer från styckena 1.10.32 och 1.10.33 av "de Finibus Bonorum et Malorum" (Ytterligheterna av ont och gott) av Cicero, skriven 45 före år 0. Boken är en avhandling i teorier om etik, och var väldigt populär under renäsanssen. Den inledande meningen i Lorem Ipsum, "Lorem Ipsum dolor sit amet...", kommer från stycke 1.10.32.
    Den ursprungliga Lorem Ipsum-texten från 1500-talet är återgiven nedan för de intresserade. Styckena 1.10.32 och 1.10.33 från "de Finibus Bonorum et Malorum" av Cicero hittar du också i deras originala form, åtföljda av de engelska översättningarna av H. Rackham från 1914.

    Moved to the main Dreamweaver support forum.
    There are several ways you could approach this. Here's one you might try:
    Give the first paragraph an ID, such as "first", and wrap the paragraphs you want to hide in a <div> with another ID, such as "more". Then add the following block of JavaScript just before the closing </body> tag of the page:
    <script>
    var first = document.getElementById('first'),
         more = document.getElementById('more'),
         trigger = document.createElement('span');
    trigger.id = 'trigger';
    trigger.innerHTML = 'Show less';
    first.appendChild(trigger);
    function toggleDiv() {
      var state = more.className,
           text = trigger.innerHTML;
      more.className = (state == 'open') ? 'closed' : 'open';
      trigger.innerHTML = (text == 'Show more') ? 'Show less' : 'Show more';
    toggleDiv();
    if (trigger.addEventListener) {
        trigger.addEventListener('click', toggleDiv, false);
    } else if (trigger.attachEvent) {
      trigger.attachEvent('onclick', toggleDiv);
    } else {
      trigger.onclick = toggleDiv;
    </script>
    This gets references to the "first" paragraph and the "more" <div>. It also creates a <span> with the ID "trigger" that's appended to the "first" paragraph. The rest of the script defines a function called toggleDiv(), which toggles the "more" <div> open and closed, and changes the text in the "trigger" <span>.
    You also need to create the following style rules for the various elements:
    <style>
    #trigger {
        text-decoration: underline;
        color: blue;
        cursor: pointer;
    #more {
        transition: ease-out .7s;
        overflow: hidden;
    #more p:first-child {
        margin-top: 0;
    #more.closed {
        height: 0;
        -webkit-transform: translateY(-600px);
        transform: translateY(-600px);
    #more.open {
        -webkit-transform: translateY(0);
        transform: translateY(0);
        max-height: 600px;
    #more + p {
        margin-top: 0;
    </style>
    This solution hides the text and creates the "trigger" <span> only if JavaScript is enabled in the browser. It should work in all browsers, including Internet Explorer 8 and earlier.

  • How to get PO header text in PO list

    Hi All,
    Please let me know how to get PO header text in PO list.
    Thanks,
    Ama

    Check this link for answer
    PO Header Text

  • Make Document header text mandatory

    Hi,
    I want make Document header text mandatory at document parking level. Please suggest me which user exit I can use for that. Please help me.
    Rgds,
    Hemant Maurya

    Hello,
    There is nothing like make header text mandatory at the time of parking.
    However, you can make header text mandatory at the time of posting.
    In OBA7 - document type, make the document header text field as mandatory - last two check boxes.
    Regards,
    Ravi

  • How can make the header repeat in every page?

    I followed the instructions in pages' help nad it does work for text heardes, however it does not work with images and graphics.
    Daoes anyone know how to make graphic and/or images headers repeat in each page?
    Thanks in advance.
    Ruben

    Make them Master Objects:
    http://www.freeforum101.com/iworktipsntrick/viewtopic.php?t=182&highlight=letter head&mforum=iworktipsntrick
    Peter

  • How to copy MIRO header text to account document line item automatically

    HI Experts,
    I really need your help or advices , my question is as follows, thanks.
    After goods receipt , I do invoice verification at t-code MIRO , and it'll produce an account document by system.
    at MIRO, I key in the purchasement description on the header text column (INVFO-SGTXT) ,
    and after posting , the header text only appear in account document's account payable item ,
    it's blank in GR/IR and tax item. 
    How to do could let the GR/IR and tax item have the header text too at column BSEG-SGTXT which produced by system?
    p.s.
    I  have try to use BADI:  AC_DOCUMENT , Method: CHANGE_AFTER_CHECK
    and declare  a couple of parameters to check the value,  as follows
    DATA: WA_HEADER TYPE ACCHD,
               WA_ITEM TYPE ACC_DOCUMENT-ITEM,
               WA_ITEM_AMOUNTS TYPE ACC_DOCUMENT-ITEM_AMOUNTS.
    WA_HEADER = IM_DOCUMENT-HEADER.
    WA_ITEM = IM_DOCUMENT-ITEM.
    WA_ITEM_AMOUNTS = IM_DOCUMENT-ITEM_AMOUNTS.
    but, in the parameters , I don't see any column to access INVFO-SGTXT value.....
    Thanks a lot in advanced.
    Best Regards,
    Yacoa

    HI  SAPFICO,
    Thanks for your advice,
    I  have follow the link , and create an function model named ZSAMPLE_INTERFACE_00001025(copy from SAMPLE_INTERFACE_00001025),
    and also run  the  setting  in FIBF....
    I write some code in my function , as follows,  but it doesn't work after  I do MIRO
    and it's still blank of the account document's line item.
    p.s. even make a breakpoint at the function , it doesn't stop and stay at the breakpoint when I execute MIRO, so werid....
    FUNCTION ZSAMPLE_INTERFACE_00001025.
    ""區域介面:
    *"  IMPORTING
    *"     VALUE(I_BKDF) LIKE  BKDF STRUCTURE  BKDF OPTIONAL
    *"  TABLES
    *"      T_AUSZ1 STRUCTURE  AUSZ1 OPTIONAL
    *"      T_AUSZ2 STRUCTURE  AUSZ2 OPTIONAL
    *"      T_AUSZ3 STRUCTURE  AUSZ_CLR OPTIONAL
    *"      T_BKP1 STRUCTURE  BKP1
    *"      T_BKPF STRUCTURE  BKPF
    *"      T_BSEC STRUCTURE  BSEC
    *"      T_BSED STRUCTURE  BSED
    *"      T_BSEG STRUCTURE  BSEG
    *"      T_BSET STRUCTURE  BSET
    *"      T_BSEU STRUCTURE  BSEU OPTIONAL
    DATA: C_SGTXT TYPE BSEG-SGTXT.
    IF SY-TCODE = 'MIRO'.
      READ TABLE T_BSEG INDEX 1.
      C_SGTXT = T_BSEG-SGTXT.
      LOOP AT T_BSEG.
        IF T_BSEG-SGTXT IS INITIAL.
          T_BSEG-SGTXT = C_SGTXT.
          MODIFY T_BSEG.
        ENDIF.
      ENDLOOP.
    ENDIF.
    ENDFUNCTION.
    Edited by: Yacoa Chen on Mar 30, 2011 9:54 AM

  • WPF: How to make Tab Header to show three different icons?

    Our WPF application needs Tab header to show three different icons and Foreground.
    If tab is not selected, show one icon and black foreground. If tab is selected, show another icon and white foreground. If tab is selected and also require show Chromestyle, show third icon and red foreground.
    we have tried the following code. However, MultiDataTrigger section does not work.
    <TabItem x:Name="tabItemSetup" Header="Setup">
    <TabItem.HeaderTemplate>
    <DataTemplate>
    <StackPanel Orientation="Vertical">
    <Image x:Name="imgSetup" Height="50" Width="65" Source="Resources/Images/UNSELECTED_Setup Icon.png" DockPanel.Dock="Top" />
    <TextBlock x:Name="txtSetup" Text="{Binding}" Foreground="Black" Style="{StaticResource TabTextStyle}" DockPanel.Dock="Bottom" FontFamily="Eras ITC" FontSize="13.333"/>
    </StackPanel>
    <DataTemplate.Triggers>
    <DataTrigger Binding="{Binding IsSelected, RelativeSource={RelativeSource AncestorType={x:Type TabItem}}}" Value="True">
    <Setter TargetName="txtSetup" Property="Foreground" Value="White"/>
    <Setter TargetName="imgSetup" Property="Source" Value="Resources/Images/SELECTED_Setup Icon.png"/>
    </DataTrigger>
    <MultiDataTrigger>
    <MultiDataTrigger.Conditions>
    <Condition Binding="{Binding IsChromeStyle}" Value="True"/>
    <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource AncestorType={x:Type TabItem}}}" Value="True"/>
    </MultiDataTrigger.Conditions>
    <MultiDataTrigger.Setters>
    <Setter TargetName="txtSetup" Property="Foreground" Value="Red"/>
    <Setter TargetName="imgSetup" Property="Source" Value="Resources/Images/Chrome SELECTED_Setup Icon.png"/>
    </MultiDataTrigger.Setters>
    </MultiDataTrigger>
    </DataTemplate.Triggers>
    </DataTemplate>
    </TabItem.HeaderTemplate>
    </TabItem>
    Does anyone know how to make it work? Thx!
    JaneC

    Where is the IsChromeStyle property defined? It is the Header, i.e. the string "Setup" that is the DataContext of the HeaderTemplate and the a string has no property called IsChromeStyle so you must specify a source for the binding.
    If for example the DataContext object of the TabControl, or the parent of the TabControl (for example the window or whatever) has a property called IsChromeStyle you could bind to this one using a RelativeSource:
    <MultiDataTrigger.Conditions>
    <Condition Binding="{Binding DataContext.IsChromeStyle, RelativeSource={RelativeSource AncestorType={x:Type TabControl}}}" Value="True"/>
    <Condition Binding="{Binding IsSelected, RelativeSource={RelativeSource AncestorType={x:Type TabItem}}}" Value="True"/>
    </MultiDataTrigger.Conditions>
    Then it should work. It is the binding that fails.
    Please remember to close your threads by marking helpful posts as answer.

  • How to make a header ?

    I'm working on a website with dreamweaver, and i had a template on photoshop saved for it, however it's been corrupted.
    How can i make a header like this from scratch ? baring in mind, I am prety much imcompetent with Photoshop
    the wbsite is www.fitnesscovered.co.uk
    the header such as "begin your healthier lifestyle" or on the other pages is exactly what I'm trying to re-create
    Thank you

    Hi there, here's a tutorial for how to build that image. It may seem long, but never fear! The steps are actually quite simple.
    1) Create a file in the dimensions of the image (872 x 379 for the "begin your healthier lifestyle" banner).
    2) Place the desired photo into the document by copying and pasting or by going to File > Place.
    3) Select the Type Tool and click the area of the image where you would like the text to start. Please see the screenshot below for details on how to change the appearance of your text.
    4) Select the Rectangle Tool highlighted below and draw a rectangle around your text. Change the color at the top of the window as shown below. Your text will be obscured, but we will fix that in the next step.
    5) In your Layers Panel, drag the layer containing the rectangle you just made below your text layer.
    6) To create the second line of text and rectangle, you can simply duplicate the layers you made, then edit them. Select both layers by clicking on the text layer, the shift-clicking on the rectangle layer. Next, control click on the selected layers to open a flyout. Choose duplicate layers. In your canvas, it will look like nothing happened, but the layers will show up in your layers panel.
    7) Hit command V to select the Move Tool. You can now click and drag the rectangle and text layers to reposition them.
    8) Revisit Step 3 for how to select your text to change it.
    9) To change the dimensions of the rectangle, select the rectangle layer and press command T to enter Transform Mode.
    I hope this helps! Please let us know if you have any other questions about this technique.

Maybe you are looking for