Layout Template - Alignment Problem

Hi,
I´m using EP6 Version 6.0.2.4.6 and made some Layout-Templates for my Pages. It works fine, but the alignment of the Ivies in it doesn´t match.
A short Example:
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibHtmlb" prefix="hbj" %>
<%@ taglib uri="prt:taglib:com.sap.portal.reserved.layout.TagLibLayout" prefix="lyt" %>
<lyt:template>
    <hbj:content id="myContext" >
        <hbj:page title="Portal Page">
       <hbj:gridLayout id="GridLayout1" rowSize="2" columnSize="2" debugMode="TRUE">
                <hbj:gridLayoutCell width="50%" rowIndex="1" columnIndex="1" horizontalAlignment="LEFT" verticalAlignment="top">
                    <lyt:container id="column1" />
                </hbj:gridLayoutCell>
                <hbj:gridLayoutCell width="50%" rowIndex="1" columnIndex="2" horizontalAlignment="LEFT" verticalAlignment="top">
                    <lyt:container id="column2" />
                </hbj:gridLayoutCell>          
                <hbj:gridLayoutCell width="50%" rowIndex="2" columnIndex="1" horizontalAlignment="LEFT" verticalAlignment="top">
                    <lyt:container id="column3" />
                </hbj:gridLayoutCell>
                <hbj:gridLayoutCell width="50%" rowIndex="2" columnIndex="2" horizontalAlignment="LEFT" verticalAlignment="top">
                    <lyt:container id="column4" />
                </hbj:gridLayoutCell>
            </hbj:gridLayout>
        </hbj:page>
    </hbj:content>
</lyt:template>
When I look to a page with this Template, all my Iviews on it have an alignment on the right bottom corner of the cells. Is there no way to correct this? I tried a normal html-table but with the same result. Does anyone have a clue for this problem?
Regards,
Marcus

Hi Marcus,
the JSP looks fine for me.
Probably you know http://help.sap.com/saphelp_ep60sp2/helpdata/en/d5/1b083e7623445ae10000000a11405a/frameset.htm
The only thing where differences to the original layouts could exist seems to be the layout description within portalapp.xml, especially (and only?) the designClass value (prtlPageConR (right), prtlPageConL (left), prtlPageConM (mid) and prtlPageConF (full)). These css classes are defined within the themes, for example the most used will be under irj/root/portalapps/com.sap.portal.themes.lafservice/themes/portal/sap_standard/prtl_std/prtl_std_ie6.css, but they only define the margin and padding...
Maybe you should copy a standard layout (from irj/root/WEB-INF/portal/portalapps/com.sap.portal.layouts.default) and start with this under new names; if they behave normal, start to manipulate them...
Hope it helps
Detlev
PS: For better reading you can surround code / indentions with [ code ] and [/ code ] (without spaces). So checking the syntax would be much easier.

Similar Messages

  • Layout column alignment problem

    Hi All,
    I have a form where I am printing the line item details. I am using the following code
    &EKET-EINDT&,,&EKPO-NETPR1&,,&EKPO-NETWR1&
    This gives the output
    08/26/2007          688.5          1377.02
    Between unit price and net price i have another coloumn to print Tax, which is only printed for documents relevant for tax (this is printed from another text element)
    the amount 1377.02 is now printing under a wrong column. I need to increase spacing between unit price and net price.
    I tried using the following code (by adding additional ,, )
    &EKET-EINDT&,,&EKPO-NETPR1&,,,,&EKPO-NETWR1&
    But this does not make any difference in the output.
    Can anyone help me how to get these values aligned?
    Any help will be appreciated. Thanks.
    Mark.

    Mark, as stated, the ,, between two fields indicates a tab in the paragraph format being used.
    To adjust you may need to create your own paragraph format as a copy of a standard one so your changes do not affect other lines in the form.  Generally for columns where you are printing a field containing text you would use a tab with LEFT alignment, while for an amount you would use RIGHT or DECIMAL alignment.  Just measure on the paper where you want them and set the number of CM / MM for the tabs on the paragraph format.
    Printing &EKPO-NETPR1& or &EKPO-NETWR1& is dropping the first character of these fields - this may cause you problems if you ever use large amounts.  By choosing RIGHT / DECIMAL tabs, you will not need to remove any leading spaces.
    If you need to change the output of a field there are a number of options you can use: eg: &EKPO-NETPR(C)& compresses spaces in the field - &EKPO-NETPR(Z)& omits leading zeros.  In SE71 when editing the text in a window - use the Insert>Symbols>New  menu option to get a popup where you can put your field name and select output options like this.
    Andrew

  • PLD layout template cannot change or modify layout contents..

    Dear Experts,
    I have duplicated a PLD layout template, but then when I wish to change either a picture or texts in the template, I was not able to save the template thereafter.
    On a closer look at the DB, I realized the RDOC.CanChange field is set to 'N'. Can anyone advice me the nature of this field if it is related to my problem? and how I can set it to 'Y' using the SBO application.
    Thanks in Advance!
    Warmest Regards,
    Chinho

    Hi LIm ,
    The header data of any PLD goes to Rdoc and Item level data goes to Ritm table .
    Actually this is right concern for u , but this should by Y.
    So pls instead of changing from backend , kkep looking  fron front end .
    If you duplicate a pld template and save this with your own given name, u can do changes .
    this is ideal application od PLD.
    Chek the  database and formula field of your pld .
    Hope this will help u .
    Rgds,
    Premraj

  • Supporting drilldowns in BIP reports defined in Web Layout Template Editor

    Hi Experts,
    We have a requirement to show a table in a BIP Report defined in a web layout template editor and within this report, if there is drilldown on one of the columns, we would want to display more details in an additional column to be displayed afresh. Also, we have a requirement to display the same whenever there is a selection from a report prompt. In addition, is such a drill down feasible from within a graph? Is this achievable? We know this is feasible in OBIEE - not sure about BIP. Any pointers in this direction is appreciated!
    Regards

    Hi Sripathy, I can't thank you enough for the help !!! We looked for all kinds of documentation and was never able to find exact information.
    Also, do you mind if we email you if we run into more problems ? We are new to this. If you think it's ok, my email is [email protected] If not, thanks again, at least this will get me started.

  • Sorting in the layout template

    Hi All,
    Is there any way to sort in your layout template or is that just handled in your queries (data template)?
    I have a report that we use the republish concurrent program so that we get the same data as the original request, just with a different template. The only problem is that they want the republished data to sort differently than the original data without querying back to the database.
    Any help would be greatly appreciated!
    Thank you!
    CC

    {a strait crib from my notes, hope it helps}
    SORTING
    You can sort a group by any element within the group. Insert the following syntax within the group tags:
    <?sort:ELEMENT;'ascending';data-type='text|number|date'?>
    NOTE: A known bug mentioned in the release notes. Oracle XSLT engine is unable to sort on an inner group when regrouping.
    (there is a workaround and a fix coming -- this may be fixed by now)
    <?sort:element name?>
    For example, to sort the Payables Invoice Register (shown at the beginning of this chapter) by Supplier (VENDOR_NAME), enter the following after the <?for-each:G_VENDOR_NAME?> tag:
    <?sort:VENDOR_NAME?>
    To sort a group by multiple fields, just insert the sort syntax after the primary sort field. To sort by Supplier and then by Invoice Number, enter the following
    <?sort:VENDOR_NAME?> <?sort:INVOICE_NUM?>
    Good luck,
    Scott

  • Modifying the XSL-FO for Contract terms Layout template

    I want to modify the XSL-FO for contract terms Layout template.
    Also i want to add company logo on to the template could please guide on how to do these steps.
    I also want to format the structure, change the alignment terms and Conditions from Right to Left.
    has any one formatted XSL- FO for Contract terms Layout template before?
    Please guide me
    Its Urgent !!
    Thanks in Advance

    Rehan,
    I don't have experience with the Contract Terms but with the Standard PO I do. As far as I know you cannot covert the XSL-FO to an RTF. I also only had the stylesheet to work from.
    What I did is created a new rtf template and added my data field codes to the rtf. I was able to add a logo to my template and make any other changes that the business had requested. Once done with the .rtf I exported that to a XSL-FO.xsl file and replaced the old stylesheet with the new one in Oracle.
    One issue I have run into with this is that we have some flex fields in tables that are the same name, example attribute1 in the Line Table and Shipment Line. When attribute1 from the line table is null it pulls the data that is in the Shipment line attribute1 column. I'm not sure if I have to establish the path in the stylesheet or if I can write something in the .rtf saying... if null then null. (If anyone else reading this post and knows the answer I have posted my a full post here: Modifying the XSL-FO stylesheet. )
    Keep me updated!
    Thanks,
    Jessica

  • API to merge XLIFF and layout template

    Is there any api which merges the XSL-FO layout with the XLIFF file..
    Actually our customer is implementing 2 languages. English and german. We have made layout templates in English..We have a 3rd party vendor who converts the english text to german text. So if we send the xliff files to them , then they will convert the english text to german text in the xliff file.
    Now is there any mechanism to merge that xliff file ( where the target will be in german) to that of the original layout template ( which is in English) to generate a layout template that would be in german..
    Like getXLIFF() [of TemplateHelper class] extracts the xliff for the template, is there any API which takes the xlf file and layout file and gives the template back in the target language
    Thanks
    Ravi Kanth

    for TemplateViwer
    may be it's a bug for xsl-fo + xml data + xliff
    because for rtf + xml data + xliff working fine
    also want to note that TemplateViwer load xliff before processing/merging
    [082412_135739006][][STATEMENT] Log Level is changed to STATEMENT
    [082412_135739007][oracle.xdo.template.FOProcessor][STATEMENT] FOProcessor.setXLIFF(String) is called with 'c:\tmp\color.xlf'.
    [082412_135739007][oracle.xdo.template.FOProcessor][STATEMENT] FOProcessor.setData(InputStream) is called.
    ...but not used for xsl-fo; but used for rtf
    post SR. it's interesting problem :)

  • Hidden lines around tables re-appear when I re-open a layout template

    Hi,
    Has anyone run into this issue? I hide the lines around my main table and save the file (I have another table nested within the main table). The next time I go to work on the report, the lines re-appear around the table! The is the second layout template that I have that is behaving like this... what is causing this?
    Thanks
    -CC

    Hello~
         I also tried to remove "air." package name in air application. And i encounter the same problem.
         I do not find any solution to decode the xml inside res folder by AXMLPrinter2.jar. And those xml inside is compressed which is unreadable.
         However, what you can do is copying the structure of res folder. And go to your air sdk file path -  adobeair-sdk-folder/lib/android/lib/resources/
         Replace those file exists in your res folder. And copy "values" folder to your res folder.
         Hope this solve your problem~

  • Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    Can i make a book in iPhoto without using any of the built in layout templates, which are too limiting when i have already cropped my pictures to show just what I want. Ideally I just want to drag and drop and arrange and size the pictures myself

    If you have Pages you can create customs pages for your book as TD suggested. If you have Pages from iWork 09 or 11 this app will add 80 or so additional frames to those offered:  Frames and Strokes Installer. Don't use it on the latest Pages version, however.
    This tutorial shows how to create a custom page with the theme's background: iP11 - Creating a Custom Page, with the Theme's Background for an iPhoto Book.  Once the page is complete to get it into iPhoto as a jpeg file follow these steps:
    Here's how to get any file into iPhoto as a jpeg file:
    1 - open the file in any application that will open it.
    2 - type Command+P to start the print process.
    3  - click on the PDF button and select "Save PDF to iPhoto".
    NOTE:  If you don't have any of those options go to Toad's Cellar and download these two files:
    Save PDF to iPhoto 200 DPI.workflow.zip
    Save PDF to iPhoto 300 DPI.workflow.zip
    Unzip the files and place in the HD/Library/PDF Services folder and reboot.
    4 - select either of the files above (300 dip is used for photos to be included in a book that will be ordered).
    5 - in the window that comes up enter an album name or select an existing album and hit the Continue button.
    That will create a 200 or 300 dpi jpeg file of the item being printed and import it into iPhoto. For books to be printed choose 300 dpi.

  • Creation of new layout templates

    Hello,
    in the portal there are some layout templates available for pages. They are used for the innerpage of default frameworkpage ,too. I like to change the width of first column of the narrowWide 2 columns layout. Found in online Help that you have to use the developer studio or change the *.jsp file directly to get a customized layout (template). I don`t like to change the available jsp files. Best idea would be to have a new jsp file in place on which a new template is based. I found the narrowWide.jsp in the file system where you can change easily the width of colums. But how can I get a new jsp File? Is this only possible by using the developer studio or is there another way to do that?
    Thanks for every response.
    Regards
    Alex

    Hello Ganesh,
    I like to go closer to your solution.
    Ok, my steps would be:
    1. Searching the folder where the narrowWide.jsp and the related portalapp.xml is found (usr\sap\...).
    2. Make a copy of the narrowWide.jsp, rename it to narrow35Wide65.jsp and save it in the same folder where the narrowWide were found.
    3. Edit the new *.jsp file and change the width of narrow column to 35% and wide column to 65% (result should be increasing the narrow column width)
    4. Rename the extension of current portalapp.xml in the same folder to portalapp.xml.bak and make a copy of the file in same folder giving the original file name.
    5. Editing the portalapp.xml and paste a new component entry based to the narrowWide component entry. Here I have to change the component name and the jsp file name only like in this example, right?
    </component>
    - <component name="<b>narrow35Wide65</b>">
    - <component-config>
      <property name="ClassName" value="com.sapportals.portal.pb.layout.PageLayout" />
      <property name="ResourceBundleName" value="pagebuilder_nls" />
      <property name="SafetyLevel" value="no_safety" />
      </component-config>
    - <component-profile>
      <property name="ComponentType" value="com.sapportals.portal.layout" />
      <property name="com.sap.portal.pcm.Title" value="2 Columns (Narrow:Wide)" />
      <property name="com.sap.portal.pcm.Description" value="Two-column layout displaying the narrow column on the left" />
      <property name="com.sap.portal.reserved.layout.TagLibLayout" value="/SERVICE/com.sap.portal.pagebuilder/taglib/layout.tld" />
      <property name="com.sap.portal.reserved.layout.TagLibHtmlb" value="/SERVICE/com.sap.portal.htmlb/taglib/htmlb.tld" />
      <property name="com.sap.portal.reserved.layout.TemplateFile" value="<b>narrow35Wide65.jsp</b>" />
      <property name="AuthScheme" value="anonymous" />
    - <property name="com.sap.portal.reserved.layout.Cont1" value="column1">
      <property name="plainDescription" value="Column 1" />
      <property name="orientation" value="vertical" />
      <property name="designClass" value="prtlPageConL" />
      </property>
    - <property name="com.sap.portal.reserved.layout.Cont2" value="column2">
      <property name="plainDescription" value="Column 2" />
      <property name="orientation" value="vertical" />
      <property name="designClass" value="prtlPageConR" />
      </property>
      </component-profile>
    All other values can stay same?
    6. Is a restart of portal server necessary?
    7. It should be able to create a new layout template in PCD based to narrow35Wide65.
    Will this work?
    Thanks and regards
    Alex

  • Alignment problem in converting smartform printpreview into PDF

    Hi all,
    I am getting some alignment problem in converting smartform printpreview into PDF format, i.e the format of PDF is different from printpreviw of smartform.
    kindly suggest something so that alignment is not changed while converting to PDF.
    Regards,
    Sumalatha

    use below f.m to convert it into 255 characters....
         CALL FUNCTION 'QCE1_CONVERT'
            TABLES
              t_source_tab         = i_tline
              t_target_tab         = so_ali[]
            EXCEPTIONS
              convert_not_possible = 1
              OTHERS               = 2.

  • Combining word processing and page layout templates

    Does anyone know how to (or if it's possible at all) merge or combine a Pages 09 document set up on the "Pages Layout" template with one set up on "Word Processing" template properly? Can these two templates "talk to each other"?
    I'm trying to combine some of my separate class notes for my students into one file, and some were created in Page Layout, with visuals, charts, pics, etc. I also have some Word Document notes that I'd like to merge with the other notes to create one "class notes" file for my students. But I can't seem to do that, for some reason. I can copy individual pages from the Page Layout notes and paste them into my Word Document notes, but they paste as two pages (one page is blank). When I delete that page, the other one is deleted, too. I can't copy and paste from the other direction (word doc to page layout) at all, and like I said, the other way is a little off, as well.
    Any ideas, or is this just not possible in Pages 09? Thanks.

    Re: Jerry
    I'd like to stay in one or the other, but I just like features that are only in one or the other. For example, I like in WP mode that when I get to the end of a page of writing and keep going, a new page appears (with formatting and layout intact on the next). If I'm in PL mode and writing in a text box, it just goes beyond the viewable screen. I also like the ability to select and move around individual pages in PL mode, and that doesn't seem to be available in WP mode (they're all stuck together and move in clumps). But you're right, I'm just going to have to stick with one and figure out some workarounds for some things I like. Since I think I'll be more in WP mode, I'll try to move stuff over from PL.
    Re: Peter
    Thanks for the advice... it's already helped me try to come up with some ways to fix things. The whole click away thing to give me floating objects has been great! You're right, this does seem like a design flaw, but I suppose Apple can't be all things to all people. Still, I'd like a little more...
    Re: Yvan
    Hang in there! You're right, Pages is tough when trying to use created projects in other apps! Like you said, I'm working to rebuild the layout. By the way, my PL document was 16 pages, which when transferred to WP mode doubled in size! Sheesh...
    Thanks to all—I think I'm going to be able to work through this "issue" after all. I appreciate everyone's help.
    Daniel

  • How can I insert a parameter to the layout template?

    How can I insert a parameter defined in report to the layout template? just like insert a field. I wanna display the parameter in the output.

    If its Ebiz, concurrent program.
    Put this in your template in the starting,
    where the P_BUSINESS_GROUP_ID is one of the concurrent program parameters,
    <?param@begin:P_BUSINESS_GROUP_ID?>
    and then you can access the parameter in your rtf like <?$P_BUSINESS_GROUP_ID?>
    Upload the rtf template back into apps.
    and then rerun the conc pgm :)

  • Want attach the XML data file with layout template in Oracle 10g

    Hi All,
    I need a help from you genius guys.
    I am genrating reports in BI with xml the procedure which I am following is as below.
    1. generating XML from the RDF
    2. creating a template in .rtf format
    3.after that loading the xml to the template then getting the required report.
    This all is doing through the given buttons
    But now my requirement is to create the gui from user can select the report and get the desire output file so how we would be able to attach the XML data file with layout template in Oracle 10g.
    If you require more detail please let me knnow.
    Thanks,
    Harry

    I am not using Oracle apps.
    I am using oracle 10g reports and I get something in it like one patch I downloded and one java code is having which creates the batch file ...still I am working on it ..
    If you will get some please share so that it will be helpful.
    Thanks,
    Harry

  • Alignment problem on abap report after Unicode conversion

    Hi,
    I've recently convert my system to unicode. Now my user is complaining the aged debtor report (ABAP) is having a column alignment problem when displaying the Japanese character.
    I'm not sure what to do now. Have anyone experience this and let me know how can I sove the problem?
    /Eida

    Hi,
    you need to regenerate the data
    For this regeneration, you start the program RKETREGP with the parameter
    application class 'KK', subclass '01' and table name 'KKROBJ'.
    br, Guido

Maybe you are looking for

  • Installing itunes on MACBOOK ADVICE NEEDED!

    Hi I am currently using Windows XP on my PC and i've been having problems with installing itunes on it. I'm considering buying a Apple Macbook Laptop for university and was wondering also does itunes run on the laptop without problems unlike windows?

  • ALE#KU#RE problem

    Hi, We are sending half of the invoices as INVOIC01-idoc from R/3 to XI and they should be converted and sent to one server. In R/3 we have partner profile (KU) for all customers. When we process the invoices they seem to go nicely to XI. But when XI

  • X: symbol lookup error; help please!

    Hello all! I'm trying to learn Arch (I've no prolonged linux experience) on VirtualBox before I install it on my empty partition. If I enter the command "Xorg -configure" or "X -configure", I get this error message: X: symbol lookup error: /usr/lib/x

  • Screen Order in OPA ( Summary Screen to Question Screen)

    Hi All I designed both Summary screen and Question screen in OPM. How to create the screen order so that summary screen will call specific question screen instead on Automatic screen? Thanks Dev

  • My camrea will not open, every time i press it, it just closes

    every time I click onto my camerea it closes its self dowm, but on apps such as snapchat and instagram it works.how could I fix it without having to reset my whole phone and loose all my data?