Align in smartforms

hai frnds
    i need to align the fields in the data area to the right side of the cell in the smartforms i had tried the ' field(R) ' options but it is not working. plz suggest any help its urgent.

Hi Ateeq,
This problem is because, you are printing the line in a separate window(window1). In this case it just prints the contents(LINE) of the window1, from the place where you declare the position of the window1.
eg: if the MAIN WINDOW is ending at position 10 and you have given the starting position for window2 as 5, it just prints the line at 5 regardless there are contents in MAIN WINDOW after that.
Instead, you declare 2 text elements in the MAIN WINDOW, first one for printing the main data(eg: Line items with a LOOP) and the second for printing the LINE. So by doing this, once the contents in the 1st text element is done, the line is printed from the position where contents end by the 2nd text element.
If this solves your problem, please award the points accordingly.
Vamsi

Similar Messages

  • Vertical alignment in Smartforms.

    Hi,
    I am working in a smartform, where my requirement is i have to place the text both vertically and horizontally center aligned.
    Now i have used to center aligned in my style. but the text is horizontally center aligned not vertically.
    Please help me in this. How to display a text module vertically center aligned.
    Thanks and Regards,
    Mohanraj.N
    Edited by: Mohanraj Natesan on Nov 2, 2009 2:23 PM
    Edited by: Mohanraj Natesan on Nov 2, 2009 2:37 PM

    Hello,
    For vertical alignment of text, you can use a trick with the line spacing.
    Use the space before and space after and adjust in such a wat that the text will appear as center alignled vertically.
    say for eg: you set the space before = 2 mm and space after as 2 mm, so the space before the text and after the text would be 2 mm and thus the text will appear as center alligned vertically.
    But you have to also take care of line spacing while adjusting the space before and space after.
    Hope this help you.
    Regards,
    Sachinkumar Mehta

  • Barcode Alignment in Smartforms

    Hi.
    We are on ECC6. I am using SMARTFORMS and trying to align a barcode in the centre of a defined window. This is not happenning. How can I achieve this. I have tried using Paragraph formats etc but it only works for text..and not barcodes. I will appreciate your assistance.Thank you.

    Hi,
    It's better to use a template with 3 equal columns. Put your bardcode in the center of the template i.e. no 2 columns.
    Thanks,
    Abhijit

  • Output alignment in SMARTFORMS Output!!!! Need Help!!!!

    Hi All,
    The requirement is something like this...
    Consider i have an internal table with a fixed text field length of 30 characters!
    Line 1 of internal table: My name is Sundar   - 17 chars
    Line 2 of internal table: and my age is 26      - 16 chars
    Line 3 of internal table: and my native is Madurai  - 24 chars
    Line 4 of internal table: and I live in Singapore      - 23 chars
    Now my requirement is, while generating the output using smart forms... 
    I get the output something like this...
    My name is Sundar
    and my age is 26
    and my native is Madurai
    and I live in Singapore
    I want my output justified..
    Something like...
    My    name     is     Sundar(30 chars)
    and    my   age    is       26(30 chars)
    and  my  native  is Madurai(30 chars)
    and  I  live in       Singapore(30 chars)
    This looks justified and aligned!!!
    I want the output of each line of internal table to use all the 30 defined characters and spread.. irrespective of how many characters are there in each line!!!
    Hope am clear!!!!
    Condense removes all the spaces!!!
    But i want something like i illustrated above.. please help!!!
    Cheers,
    Sundar.

    Hi Sachin,
    Sorry... i've ammended my required output in BOLD!!!
    It is something like the "JUSTIFY" option in Microsoft Word!!!!
    When u type a para... and you press on justify... you'll see the output screen aligned right?
    Something similar!!!
    Thanks!!!!
    The requirement is something like this...
    Consider i have an internal table with a fixed text field length of 30 characters!
    Line 1 of internal table: My name is Sundar - 17 chars
    Line 2 of internal table: and my age is 26 - 16 chars
    Line 3 of internal table: and my native is Madurai - 24 chars
    Line 4 of internal table: and I live in Singapore - 23 chars
    Now my requirement is, while generating the output using smart forms...
    I get the output something like this...
    My name is Sundar
    and my age is 26
    and my native is Madurai
    and I live in Singapore
    I want my output justified..
    Something like...
    My    name     is     Sundar(30 chars)
    and   my    age    is       26(30 chars)
    and my   native is  Madurai(30 chars)
    and   I live    in    Singapore(30 chars)
    This looks justified and aligned!!!
    I want the output of each line of internal table to use all the 30 defined characters and spread.. irrespective of how many characters are there in each line!!!
    Hope am clear!!!!
    Condense removes all the spaces!!!
    But i want something like i illustrated above.. please help!!!
    Cheers,
    Sundar.

  • Tab position in sap script

    Hi all,
    i have following fields to print..
    ZEILE, MATNR ,CHARG, KOSTL, LGORT, MENGE ,MEINS, maktx,
    and format is like:
    item matrial batch costcen. sto.
    mat desc. qty Un
    zeile matnr charg kostl lgort
    maktx                     menge meins
    and in this format I want to display menge and meins fields in right alingment ,
    Plz help me...
    I gave tab like
    1 cm left
    4 cm right
    5 cm left
    in paragraph p1.
    Plz help me....

    Hi,
    You create paragraph format P
    In TABS as you mentioned like below
    No           Position                  Unit                   Alignment
    1             1,00                        CM                    Left-Aligned
    2             2,00                        CM                    Left-Aligned
    3             3,00                        CM                    Left-Aligned
    4             4,00                        CM                    Left-Aligned
    5             5,00                        CM                    Left-Aligned
    6             6,00                        CM                    Right-Aligned
    7             7,00                        CM                    Right-Aligned
    8             8,00                        CM                    Left-Aligned
    In smartform or sapscripts text editor you need to mentioned like below
    ,,matnr,,kunnr,,bukrs,,vbeln,,posnr,,menge,,mein,,quan
    it will showing in output above showing position
    i hope it will help ful you
    regards
    bhupal

  • Some text in my smartform is not aligned or one space below

    Hello Experts,
    I am currently modifying a smartform wherein some of the text is
    one space below its correct alignment. For example:
    Particulars      Quantity     Price
                       50         
    Enervon Prime                 1,000
    The 50 must be aligned with the particular and price. When I checked the
    form, it doesnt have anyspace and the variable is inserted immediately. No spaces
    or indentions whatsoever. Help would be greatly appreciated guys as this is very urgent.
    Thank you and take care!

    Hi Kishan,
    Thank you for your reply. What do you mean check the length of the
    variable? And Also, what about for others that instead of displaying
    one space below, it shows one space above? like:
                 5000
    Enervon                1,000
    The quantity 5000 must be in line with Enervon and 1,000. Thank you again!

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

  • Smartforms - Center Alignment in the cell

    Hi
    I have defined a label in the following format using Smartforms...
    All the variables are contained within a template, which is in a loop
    I see that the texts which are right to the bar code are coming at the top right corner..
    http://img41.imageshack.us/img41/2193/label1present.png
    How can I get them to right center alignment like the following image...
    http://img193.imageshack.us/img193/4839/label1desired.png

    Hi Grame,
    You can create the 2 windows ,. one for bar code and another for that text.
    Overlapp those wondows so that the text window will come at the place where u want.
    Try if this is working.
    Rgds,
    Madhuri

  • Smartform Alignment in ECC 6.0

    Hi,
    I am facing some problem with smartforms alignment in ECC 6.0 ,when we upgrae our system from 4.7e to ECC 6.0.
    Could any solve this

    THE STLYE IS NOT WORKING AND ALSO HEADING ARE NOT WORKING I,IS THERE I HAVE TO RUN ANY STANDARD PROGRAM  TO GET IN CORRECT FORMAT,

  • Retain the alignment of print preview in download of smartform

    Hi ABAPers,
    I need to retain the alignment of the smartform print preview when I download the smartform as PDF.
    The text alignment is ok but the issue is with character "-".
    In print preview
    Shift Date Qty.Kgs Qty.Lts ST Fat% CLR SNF% Fat(Kg) Rate UOM Pay Farmer
    AM 29 42.00 40.77 G 7.00 23.80 7.78 2.94 17.50 KG 735.00
    Total Buf : 42.00 40.77 7.00 7.79 2.94 18.03 735.00
    Net Amount Payable Rs 735.00
    In downloaded PDF
    Shift Date Qty.Kgs Qty.Lts ST Fat% CLR SNF% Fat(Kg) Rate UOM Pay Farmer
    AM 29 42.00 40.77 G 7.00 23.80 7.78 2.94 17.50 KG 735.00
    Total Buf : 42.00 40.77 7.00 7.79 2.94 18.03 735.00
    Net Amount Payable Rs 735.00
    so how to retain the exact format in PDF as in print preview.
    -Dep
    Edited by: DeepakNandikanti on Dec 16, 2010 7:01 AM

    Hi friend,
    There are many questions posted in Forum saying printout is coming correct in PDF but not in print.
    The main reason for that is PDF accepts all kind of input its an universally accepted format Portable Device Format.
    So see whether you system supports both the languages. Check with your basis team about it. Also try using other languages which your system supports so that you will get to know where your problem exists.
    I think this will solve your issue please revert back to me if you have any issues i will help you.
    Thanks,
    Sri Hari

  • Centre align a text in a smartform

    Hello all,
    I want to centre align a text in a smartform. It is not using any paragraph format.
    I want to use formatting options like (C) for condense.
    thanks,
    Anju

    Hi Anju,
    In this case you have to create a paragraph format as CENTER center-aligned and use this paragraph format for the center alignment of the text.
    Nagaraj->
    Alignment can not be controlled using CHARACTER format.
    Regards
    DKS

  • Alignment issues in my smartform

    Hi Gurus,
    I am facing alignment issues in my smartform .
    My Output with LP01differs from that of Logica Printer LOCAL.Kindly throw some light on the same.
    Deepak

    Hello,
    Please check with the basis that FONT that you are using are installed in both the printers.
    This situation happens most when you have imported a new font into SAP system, as a printer is not configured for that Font output differs.
    Thanks,
    Jayant

  • Smartform Alignment for the PDS(Personal Data Sheet) for Japanese Language

    Hi,
    I have a Probelm in the alignment in the smartform for the Personal data sheet report when logon in
    Japanese language.
    The texst are Overlapping.
    For example:
    I have 2 columns in the PDS such as Postion title and Job title.
    The texts in the Postion title is Overlapping into the Jobtitle and So on.
    And the issue is happening only when i log onto Japanese Language(JA) where as for other languages
    the texts are not overlapping.
    Could anybody help me in solving the issue.
    Thanks.

    Japanese characters usually occupy duble byte space, that is a single japanese character will occupy the space of 'AB',
    so what you can do is,
    change the layout of the Screen (make the window larger),
    you can split the text and write it in two lines (if your team agrees)
    you will have to create a seperate Smartform for Japanese Language
    you can try condensing the text &test(C)& for certain texts it might work
    regards,
    S.Dakshna nagaratnam.

  • SMARTFORM Alignment  Problem

    Dear Friends,
    In my SMART FORM I have used templates as my requirement
    in there cells i want to write text with alignment like MS excel Vertical alignment (Top, Center, Bottom)
    is it possible in SMARTFORMS?
    hope, my question is clear for you.
    Thanks in Advance.

    I am not very certain about this man but there is a crude way of doing it for the time being.
    In your 'TEXT' element where you are writing the data skip 2-3 lines and then write your data so that it appears at the bottom of the template. For the time being you can do it.
    Regards,
    Pramod

  • Aligning data in smartforms

    Hi,
      I want to print data in a secondary window as follows.
    Amendment number : 3                  date: 3-03-2008
    Number :4444444444                     date: 3--3-2008
    But the second date field is not aligning properly either it comes before the first date field or it comes after the first date field. i want both the date should start at the same coulmn.
    please help me on this . pls be elaborative.
    Thanks,
    rose.
    Edited by: camila phyrose on Feb 20, 2008 2:21 PM

    Hi don't worry for this use tabs while writing in editor in Smartforms , tabs are made under a paragraph format we make tabs when we making a paragraph format and use that para fromat while writinfg field on editor on your smartforms
    For tabs i give u an idea that tabs are used as a property of paragraphs for proper alingment of values or data in coloumns .
    take tabs as the position from where u want to start printing data in coloumn
    as for example
    if ur first field is item no. than u have to alingned it as right alingment so it will start printing the value from right in coloumn so u decide that how many charcter is actullly it is taking so as for example it is of 10 character than give frst tab as on 10th in postion and type as CH while defining first coloumn , than suppose next field is description so u have to define it as left alingment so if first tabis at 10 and due to left alingment the positon of cursor is just after 10 becouse it is left alingned and previous one is right so start it from 12 as giving space of 1 or 2 character and do the same thing with using comman sence for other , but remember in this method of scripts u have to do one or more times trial and error so just do it once and practice it . this is very important.
    just do one thing that if u r using tabs in paragraph format jsut chek that same para number u used for on ur editor while printing or not if it is ok than , in using tabs do right alingment for all value , quantity and no. fields in tabs while using tabs in editor u define tab after each field with two commas where u have to put tab or means from this field u have to strt ur next tab
    *thank
    if useful please please reward points.

Maybe you are looking for

  • Problem viewing live video

    I have a strange problem, that seems to be related to an ASA firewall, in shot I have some users that are trying to view a live video or audio stream from the internet, and basicly it sometimes works and sometimes not, more often not if they try to v

  • How to configure EAP-TLS OTA

    Hello, I am trying to configure wi-fi setting OTA on iPhone/iPad.  The certificate enrolment goes thru fine and the device signs the final request with newly acquired certificate. I am stuck in the last phase i.e. pushing the final mobileconfig conta

  • GENERATE A LINK FOR PURCHASE DOCUMENT

    Hi, our scope is to generate a link for a purchase document in a 45.B release. Manually we can, inside a PO, go to menu system>links and add a url link for the opened document (link type URL). Is it posible to generate this link form abap starting fr

  • Cat hit random keys on keyboard

    I have a 2007 iMac running an up-to-date version of snow leopard. This evening, my cat ran across my keyboard, hitting who knows what keys. Now my iMac behaves as if it perpetually zoomed in. Control '0' does not work, and neither does control 'Z'. A

  • Adding Apple ID after setting up computer?

    Recently my hard drive was obliterated, so I ended up purchasing & setting up a new one. When it came time to enter my apple ID, my husband bypassed the prompt because it said it was "easy to do later". Now I'm swamped, because I have no idea how to