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

Similar Messages

  • 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.

  • Exporting to Excel, subreport column alignment problem

    Post Author: rmayer
    CA Forum: Exporting
    I have a Crystal Report (v10) that contains a subreport in the Details section.  The subreport contains only a single field in its Details section and all other sections are suppressed.  When I run the report and export to Excel, for each main report detail having multiple rows returned in its subreport, the first subreport row will display the field where it is expected, but for every subsequent row the field will be shifted one column to the right.  What is even more peculiar is that if I preview the subreport data by itself and do the export, the fields do line up in the same Excel column.
    Any suggestions will be appreciated.
    - Robert -

    Post Author: satyanat
    CA Forum: Exporting
    Gayatry,
    Did you try the following Export options?
    1. Export Page Headers and Footers: On Each Page
    2. Create Page Breaks for Each Page
    When exported with these options the page Header and Footer section was exported as it was in the report.
    Hope this helps you.
    Regards,
    Natarajan

  • 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

  • Column alignment in tabular form

    Hi,
    how to change column alignment in f.e Text Fields in tabular form.
    Manual option doesn.t work (alingment not heading). I tried to add
    style=text-align:right ( i cut quote)in element column formatting options but I didn't find solution.
    Anyone know how to change this?
    Maybe sth simillar to the same problem in IR:
    .apexir_WORKSHEET_DATA td, .apexir_WORKSHEET_DATA td div{text-align:right}I understand ".apexir_WORKSHEET_DATA" it's only IR definition and it doesn't work with tabular form
    Edited by: nirud on 2010-03-12 07:53

    Hi,
    Go edit your tabular form Column Attributes where you like apply that style.
    Then add to Element Attributes
    style=text-align:rightBr,Jari
    Edited by: jarola on Mar 14, 2010 11:22 AM
    Forum do not like my code
    wrap text-align:right to double quotes

  • Column Alignment in Column Attributes under Report Attributes Not Working

    After changing the default setting and applying the new setting for changing column alignment from left to right, the numbers in the column stay to the left when I run the page. I've cleared the cache and the setting stays on "right" even after logging out of the browser completely and going back in. The numbers in the column of the report are aligned left despite the alignment setting for the column begin "right." I have this problem with more than one column and on completely different page of the application. What am I missing?

    Hi,
    Is the Display As setting set to "Standard Report Column"? Is this just a standard report or a tabular form and the numbers in INPUT items?
    Andy

  • Generic column - aligne right

    Hi
    I created dynamic report on function returning query. Now I have problem with number columns, because columns aligne left. Is it some simple solution to aligne right ?
    Regards

    OK.. simple solution. Find the class name of your report.
    Add an inline style sheet to the page header or region header.
    For instance, I have an interactive report, and the class name is: apexir_WORKSHEET_DATA
    so, I add this to the page header:
    <style type="text/css">
    .apexir_WORKSHEET_DATA tr td {
    text-align:right;
    </style>The column contents is then aligned to the right.
    Trent

  • Alignment problems in JSF datatable

    Hi,
    In my JSF data-table, i have few alignment problems.
    For Example, I have 4 columns, Emp-Id, First-Name,Last-name and Age.
    What happens is, sometimes, the value in the First-Name cell moves into the Last-Name cell, leadiing to alignment problems. But this is not happening always. Occasionlly this happens.
    I tried with iFrames and also by having fixed width for each cell, then also this problem is persisting.
    Is it something to do with the datatable display in JSF?
    Any suggestions/ideas on how to resolve this problem would be of immense help.
    Thanks

    Hi
    What happens if you delete the text and retype in and change alignment ?
    Does the same issue happens with all sub menu items ?
    Please provide the site url.
    Thanks,
    Sanjit

  • 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.

  • Database column alias problem

    When joining the firstname and surname fields in my inital SQL query of my interactive report i.e
    INITCAP(INDSNAME)||' '||INITCAP(INDFNAME) AS FULLNAME,
    When clicking through to the record detail page I am getting the following error from the page item where in the source I am specifying FULLNAME under Source value or expression
    Column FULLNAME not found in table MYTABLENAME
    How can I get around this?
    Many Thanks

    Hi Bas
    Thanks - it will just be a view as basically I just want to print the data via jasper
    In my IA report under column attributes there is one called FULLNAME which is derived from INITCAP(INDSNAME)||' '||INITCAP(INDFNAME) AS FULLNAME,
    So how can I get the data displayed in the FULLNAME column in the IA report into a single record view.  At the moment my IA report the Link Column is currently linked to a 'Link to custom target'
    the target is a 'Page in this Application'  in this case page 9
    and in Item1 under Name the value is P9_ROWID and the value is #ROWID#
    Database column alias problem 

  • HT1752 I am working on a chart in paged with 7 columns. Problem has occurred with amount of row. I have completed 999 rows and it won't allow me to continue. As I need to do approx 3000+ rows, can anyone explain to me how to add extra rows. Thanks Jane

    I am working on a chart in pages with 7 columns.
    Problem has occurred with amount of rows. I have completed 999 rows and it won't allow me to continue. As I need to do approx 3000+ rows, can anyone explain to me how to add extra rows. Thanks Jane

    Try posting in the Pages forum
    https://discussions.apple.com/community/iwork/pages

  • Having a image alignment problem using clearbox

    Hi,
    I'm having an image alignment problem. I cannot figure it out. I'm using the clearbox - lightbox dreamweaver widget. Using Dreamweaver CS6.
    Actual page located here. Any help would be appreciated.
    http://dirtysouthink.com/gallery/dustin2.html

    This has very little to do with Dreamweaver. DW is merely a tool to assist you in building a web site. It is purely a matter of styling (CSS).
    When I look at the structure, I see
    BODY-CONTENT (width: 490px)
         GALLERY (width: 452px)
              CONTAINER (width: 500px)
                   ITEM (width: 150px)
    From this I can deduce that:
    GALLERY will fit inside BODY-CONTENT
    CONTAINER will NOT fit inside GALLERY or BODY-CONTENT
    ITEM will fit three times into CONTAINER
    To start with, I would reduce the size of the CONTAINER so that it fits inside of its parent. Then I would adjust the width of the ITEM so that only two of them fit inside of the CONTAINER.

  • Same alignment problem! can ANYONE help??

    Hi guys i still need help with my alignment problem! My nav
    bar lokos good in the preview window of fireworks
    CLICK
    HERE TO VIEW THE NAV BAR IN FIREWORKS
    but when previewed in a browser or exported into dreamweaver,
    the navbar is all out of order
    CLICK
    HERE TO VIEW THE NAV BAR IN DREAMWEAVER
    Can anyone tell me what is going on?? i really need to launch
    the website ASAP.
    Thankyou!

    10totti wrote:
    > Hi guys i still need help with my alignment problem! My
    nav bar lokos good in
    > the preview window of fireworks
    >
    >
    http://img97.imageshack.us/my.php?image=nav1yp1.jpg
    I hate being harassed by ads and will not review images on
    the image
    shack site any longer. Post the screen shot or original file
    to your
    personal site.
    Linda Rathgeber [PVII] *Adobe Community Expert-Fireworks*
    http://www.projectseven.com
    Fireworks Newsgroup:
    news://forums.projectseven.com/fireworks/
    CSS Newsgroup: news://forums.projectseven.com/css/
    Design Aid Kits:
    http://www.webdevbiz.com/pwf/index.cfm

  • Banner Alignment Problem

    I am having an alignment issue with a website that I recently built using dreamweaver.
    http://bacs.myweb.uga.edu
    There is not an alignment problem on the front page (index.html), but subsequent pages (http://bacs.myweb.uga.edu/currentstudents.html) change the alignment of the banners below the tabs for each section.  Screen resolutions of 1280X800 do not have any alignment issues, but pretty much any other resolution changes the alignment.  Is there a solution to this problem?  Rather than posting all the code, you should be able to get it from the links above.  Thanks in advance.
    Frustrated in Athens,
    Aldo

    html
    <body>
    <div id="wrapper">
    </div>
    </body>
    css
    #wrapper {
    width: /*the width of your content */
    margin:0 auto; /*this will centre align it*/
    padding:0;

  • Paper Alignment problems!

    I have a HP F4280 all in one printer, just recently when doing any type of printing, everything is printed but comes off alignment, that is not straight on the page. How can I fix this paper alignment problem? I've had this printer for 2 years now and just recently the alignment is off, I haven't done anything different!

    The troubleshooting page here may help.
    Bob Headrick,  HP Expert
    I am not an employee of HP, I am a volunteer posting here on my own time.
    If your problem is solved please click the "Accept as Solution" button ------------V
    If my answer was helpful please click the "Thumbs Up" to say "Thank You"--V

Maybe you are looking for

  • Multiple iPods and one computer

    My kids and I own iPods (two Nanos and one video). Is it possible to have one computer recognize three devices? Thanks. Vaio   Windows XP  

  • Color problem with ProPhoto RGB color space

    Hi, everyone, I have wery special problem I think. I use MacBook pro 15" with retina display, adobe Photoshop CC and when I export RAW (from Nikon D7000) from Lightroom 5 to Photoshop with settings: 16 bit TIF, color space: ProPhoto RGB I have a prob

  • IPad mini(Retina) charges a little weird?

    So I think that my USB cord is fine, but sometimes when I plug it in to my iPad it does nothing. But when I pull everything completely out of the outlet and put it back in it starts to charge until I disconnect the cord from my iPad and reconnect it

  • Importing PDFs into Documaker

    We are in the process of refiling our contracts for a new look-and-feel. The vendor is supplying us with PDFs, but they import into Documaker as embedded graphics. The problem is: we have a lot of text on them that we want to make dynamic (depending

  • Adobe Digital editions won't open

    I''ve installed ADE but it won't open and I can't open an acsm file with it.  In either case I immediately get the "Adobe Digital Editions and encountered a problem and must close".  I've searched several message boards and see many complaints about