Amount printing problem in smartform

Hi Experts,
I am developing the Invoice using smartform and i am printing the net amount in the output. In print preview it is ok, but while printing i am facing the misalignment in the amount field.
For Example:
field : &VBAP-NETPR(C)&
Unit Price
12
333
34343
--- 3434355
34343434343
Note: line (---)  is the empty space
Required Output:
Unit Price
                12
              333
           34343
        3434355
34343434343
Note: In print preview i am able to see the correct output . But while printing i am not get the proper output. I am using Epson Dot matrix printer . please provide me the valuable solutions.
Thanks in advance
Satish
Edited by: satish A on Apr 27, 2009 11:23 AM
Edited by: satish A on Apr 27, 2009 11:25 AM
Edited by: satish A on Apr 27, 2009 11:26 AM

Hi!
In your smartform
define Style for your smartform.
there create a paragraph format in which in the tab Indents and Spacing define the alignment as left-aligned .
save the style and activate it.
now go to your form and there where you are writing the text unit in that text node
go to the output options tab and rite your style name in the style input box.
then go to the general attributes tab and there in paragraph formats you can find your paragraph format that you have defined select in in the list box.
activate your form.
you will get the desired output.
Regards.

Similar Messages

  • Amount printing problem

    Dear All,
    I am having a problem in printing the amount in words in smartform which is created in arabic as its original language , The problem is descriped below.
    The invoice say 34000.000  is priniting as thirty four thousand.
    But if the invoice amount is say 34569.000 then it is printing as hundred sixty nine   thirty four thousand five.where as the correct value is thirty four thousand five hundred sixty nine
    Please suggest
    Thanks and Regards
    Praveen S

    Hi Praveen,
    i think the problem is with the data declaration that u r using for the import parameter "IN_WORDS" in spell_words FM.
    U have to define the import parameter Like SPELL, and lanuage u r passing should be 'EN', as u want in english, along with that u have to also pass the currency as 'KWD' which is kuwait dinar.
    For example,
    data: BILL_AMT_WOR like spell.
    DATA: KURR(3) TYPE C,
               DEC TYPE P DECIMALS 3,
               DECTEXT(10) TYPE C,
               SECONDLINE(40) TYPE C.
    IF WA_FINAL-SUM_AMOUNT <> ' '.
    CALL FUNCTION 'SPELL_AMOUNT'
    EXPORTING
       AMOUNT          = WA_FINAL-SUM_AMOUNT
       CURRENCY        = 'KWD'
       FILLER          = ' '
       LANGUAGE        = 'EN'
    IMPORTING
       IN_WORDS        = BILL_AMT_WOR
    EXCEPTIONS
      NOT_FOUND       = 1
      TOO_LARGE       = 2
      OTHERS          = 3
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    KURR = 'KWD'.
    DECTEXT = 'FILs'.
    CONCATENATE KURR BILL_AMT_WOR-WORD INTO BILL_AMT_WOR-WORD SEPARATED BY SPACE.
    DEC = FRAC( WA_FINAL-SUM_AMOUNT ). "to see the decimal places
    IF NOT DEC IS INITIAL.
    CONCATENATE 'AND' DECTEXT BILL_AMT_WOR-DECWORD 'ONLY'
    INTO SECONDLINE SEPARATED BY ' '.
    CONCATENATE BILL_AMT_WOR-WORD SECONDLINE
    INTO BILL_AMT_WOR-WORD SEPARATED BY ' '.
    ELSE.
    CONCATENATE BILL_AMT_WOR-WORD 'ONLY'
    INTO BILL_AMT_WOR-WORD SEPARATED BY SPACE.
    ENDIF.
    WA_FINAL-BILL_AMT_WOR = BILL_AMT_WOR-WORD.
    hope this sloves ur issue.
    Regards,
    Akash Rana
    Edited by: AKASH RANA on Aug 9, 2009 9:53 AM

  • Printing Problem in Smartforms

    Hello Experts,
    I am having the problem with printing the data in smartform.
    My question is, suppose my preview is containing 6 pages.
    But when i am giving the print command it is printing onlyone page.
    I have already used command line in my form.
    Thanks
    Swati.

    This error is faced generlly when output type has not been assigned to the document type.In sales order Follow the path
    Goto-Extras-Output-Header-Edit.
    Here mention the output type and communication medium and save the document.
    Now try to issue the output.
    I assume that you have maintain the output determination procedure in SPRO.
    this requires configuration.
    Configure the copied program name for your output type & this entry must be there in table TNAPR. Only then you will be able to issue the output..
    XXXX-----
    when you are running the VF03 for seeing the print preview you have to do
    Billing documents-->issue output to --> printer / screen
    Now this is possible when the output type is already allotted for that .
    For this check the navigation
    Goto VF02 -> enter the invoice number , hit enter, from the Second screen
    Goto>Header>output--> will land you to a table control screen.
    Now here u need to give the output type and enter give the printer name in logical destination, and save.
    Now do the Billing documents>issue output to->screen--> output type as 'ZXXX'
    .and execute .
    Reward points to all useful answers.
    Regards,
    SaiRam

  • PRinting problem with Smartform

    Hai all,
                  I have created a smartform and transported to Prod. Its working fine foe One Department . and another depart people could not be able to print . Can anybody give me Some wht would be the Problem...
    Thnx in advance.
    BEst Regards,
    Rajesh S

    HEy ,
           Thanx for Ur reply,
             They can see the dialogue box but when they click on Print, neither its generating spool request Nor its printing.
    BEst Regards,
    Rajesh S

  • Print problem in SmartForm after upgradation.

    Hello experts
    iam getting a problem in printout from a Z program (Execution) in which some information regarding 'Delivery No.' and 'Invoice No.' is coming from VBFA table.
    Can anyone tell me the reason for not getting the printout.
    I was not getting the print preview either.
    This problem is coming after we have shifted from oracle 9i to 10G. Previously it is running fine.
    Even we have run that smartform alone without program and it was not working
    please reply.
    Regards
    Yogesh Sharma

    Hey Yogesh,
    If you are just looking for the Document number then the tables
    VBRP LIPS and VBAP are sufficient.
    Please paste your select query for me to get a clear picture. anyways here is the flow
    Table VBRP
    VBRP-AUBEL   = Sale order No
    VBRP-AUPOS  = Line item No
    VBRP-VGBEL   = Delivery order No
    VBRP-VGPOS  = Line item No
    Table LIPS
    LIPS-VGBEL = Sale Order No
    LIPS-VGPOS =  Line item No
    Hope this helps
    Regards,
    Ravi

  • Layout printing problem in smartforms

    hi experts,
    I am working with voucher printing.The problem is when i select a format LETRA .it is saying that it is not supported by the printer.but that is the layout which has the desired size.what shall i do for it?
    regards,
    Manikandan

    Hi,
    Mostly i guess this is the problem with the printer setting contact ur basis person to solve this issue.
    i hop eu r aware of nace transaction and settng to be done ppz check thm wether they r configured properly...if u r not authorized check with ur functional guy
    Hope they may solve ur problem.
    Regards,
    Sana.

  • Regarding Print Problem in Smartform O/P

    hi all,
          I am Printing one smartform O/P.  Print Preview is coming correctly in two pages. But When i am taking print First Page is Overlapping with some contents of Second Page ( in Stationary ).
    What will be the probelm. I am not getting any idea. Plz Suggest.
    Thanx & Regards
    Rami

    Hi,
    check ur printer settings.
    Also check form attributes -> output options -> page format and other setting?
    Is it dina4 and ur printer page size is A4 ?
    There may be some conflict in page size of form and actual page size.
    Regards

  • Regarding Printing problem in SMARTFORMS (BarCode)

    Dear All
    I am trying to print a barcode using SMART FORMS.
    In SPAD , some standard printers are there.   But I am trying to print the output in HP DeskJet  3050 , which is not in the list.  And one more , I am able to print the ABAP List from SAP , but not the SMARTFORMS only.
    Because when I see the SP01 , SMARTFORMS o/p are in the OTF format.
    Or any other setting missing
    Regards
    Visaka
    Moderator message: please choose more descriptive subject lines for your posts.
    Edited by: Thomas Zloch on Jun 22, 2011 10:24 AM
    Edited by: Visaka on Jun 22, 2011 10:25 AM

    Hi all
    I got the answer.
    In transaction SPAD,for the output device you are using check the values entered for fields "Host spool access method" & "Host Printer".
    If the method is "F-printing on frontend", then the expected value for the Host Printer is "__default"
    Thanks & Regards,
    Visaka

  • Printing Problem in Smartform Payslip

    Dear All,
    I have developed a payslip in smartform and it is working fine but when select the printer (set up by the Basis People) and click on the Print Preview or the Print Button it is giving the status as NO VENDOR SPECIFIED. and leaves to the selection screen.
    Any suggestions will be highly appreciated.
    Thanks in advance.
    Shareef.

    how do you know it is working fine before you printed or print preview?
    I suspect that you are doing something in the SF that requires a vendor and it doesn't have it at the right time. I would say see where vendor may be required and put  a break-point before it to see if the value is there.

  • Printing problem in Smartform

    Hi All,
    I am printing smartform in dot matrix printer so i have change my page format as per need but than also at right side of page, out put not coming.
    So can anybody please tell me what change i should make for its proper working?
    Thanks in advance....

    Hi,
      In smarform either in Attributes/Output options you have one option called left margin and Right margin. Set that option in smartform which works for entire form.
    If you want only for one paragraph check out in the Styles. You can find the same option for each paragraph format.
    Br,
    Laxmi.

  • Problem with printing logo in smartforms

    Hi guys,
    we have a logo in a window, its working fine in print preview, however when printing the document its all black. The logo does not display, instead the window is blackened.
    Please advise.

    Hi freishz ,
    When u r sayin 'document its all black' do u mean that the background of image is appearing black or it is completely black nothing is displayed?
    I had faced similar problem in smartform,where i was gettin grey background of the logo...
    For this, you need to edit the logo image first. open the logo image in ms paintbrush and save it as 256 color bitmap image. now upload this bitmap in sap using tcode se78.
    Now use this logo......

  • HP Laserjet 4P Printing Problems

    I am using a Mac G4 with 10.4.7 and printing on a HP Laser Jet 4P using driver HP Laser Jet 4 Series Gimp.
    When I first print a page or 20 pages of the job, all works fine. Once I go to print another job, I get the msg "GIMP Printing Page 1, 15% and the printer will not print no matter how long I wait. The only solution is to turn the printer off, re boot the Mac and then it will print one job. To print another job, without a failure, I must turn off the printer again and re boot the Mac. This is really a problem, especially when printing UPS Shipping Labels. Any idea how to correct this problem ?
    I do not have the problem with a Epson Printer with standard Mac Drivers. But The HP Laser is so much cheaper to do volume printing, I prefer to use the Laser Jet 4P.
    Thank You for your help
    Paul

    Here is the latest update on the HP LaserJet 4P printing problem.
    1. I went to Library>Printers and dragged the Icon (HP Laserjet 4p.app) to the dock. Printer still will not print.
    2. Reloaded the driver HP Laser Jet 4Plus v2013.111
    Printer will not print. Error mag on printer is (W2-Invalid Pers)
    3. Reloaded the driver HP Laser Jet 4 series Gimp Print V5.0.0 Beta.
    Printer will print one Job (1 page or 20 pages). Send another job and it will not print.
    4. Downloaded the HP Driver for Laser Jet as was instructed in an earlier post
    ( HPlaserjet v552.dmg) I double click on the .DMG file and it brings up a Icon of a Disk Drive on the desktop HE LaserJet V5.5.2.051. Double click on that icon and a window opens with the same information. There is no place to click to install this driver.
    I do not believe the HP Laser Jet 4P has a problem as I can hook it to a PC and it will print one job after the other, never a problem.
    How do I get the driver mentioned in #4 to appear in the HP Print drivers list in the printer setup utility so I can select it.
    The Parallel to USB converter I am using was the one recommended earlier this year as the one used by a few here on the forum to run their HP Laser Jet 4P.
    I could forget the HP Laser Jet and go with my Epson printer. However with amount of business printing and UPS Labels the ink cartridges is very costly. The Laser Jet will run for almost 2 years on a Cartridge. Others have made the Laser 4P work on a Mac. Please scan through my first post and replies to get a flavor of the problem.
    Thanks for your continued support. Needless to say, I am lost in this problem.
    Paul

  • Urgent!! Printing Barcode using smartforms

    req: need to print barcode using smartforms.
    &#12304;Settings&#12305;
    The following settings are made already
    1.  Style ( paragraph, character type(Syatem Barcode ) )is created and activated (T-code:Smartforms)
    2.  In the smartform I used the above style to print barcode  .
    &#8251;TEXTTYPE = TEXT ELEMENT.
    &#12304;Execution&#12305;
    1.  I run the smartform in test mode with setting any print parameters
    2.  Trigger print preview
    &#12304;Problem&#12305;
    1. I am getting only BAR's no barcodes.
    The bracodes are not displayed properly.
    If I test the same system barcode in SE73 it displayed properly.
    Is there anyother settings are necessory?
    Plz help me in solving the peoblem

    Hi
    To Create a Bar code prefix:
    1) Go to T-code - SPAD -> Full Administration -> Click on Device Type -> Double click the device for which you wish to create the print control -> Click on Print Control tab ->Click on change mode -> Click the plus sign to add a row or prefix say SBP99 (Prefix must start with SBP) -> save you changes , it will ask for request -> create request and save
    2) Now when you go to SE73 if you enter SBP00 for you device it will add the newly created Prefix
    Create a character format C1.Assign a barcode to the character format.Check the check box for the barcode.
    The place where you are using the field value use like this
    <C1> &itab-field& </C1>.
    You will get the field value in the form of barcode.
    Which barcode printer are you using ? Can you download this file and see.
    http://www.servopack.de/Files/HB/ZPLcommands.pdf.
    It will give an idea about barcode commands.
    Check this link:
    http://www.sap-img.com/abap/questions-about-bar-code-printing-in-sap.htm
    Check this link:
    http://help.sap.com/saphelp_nw04/helpdata/en/d9/4a94c851ea11d189570000e829fbbd/content.htm
    Hope this link ll be useful..
    http://help.sap.com/saphelp_nw04/helpdata/en/66/1b45c136639542a83663072a74a21c/content.htm
    Detailed information about SAP Barcodes
    A barcode solution consists of the following:
    - a barcode printer
    - a barcode reader
    - a mobile data collection application/program
    A barcode label is a special symbology to represent human readable information such as a material number or batch number
    in machine readable format.
    There are different symbologies for different applications and different industries. Luckily, you need not worry to much about that as the logistics supply chain has mostly standardized on 3 of 9 and 128 barcode symbologies - which all barcode readers support and which SAP support natively in it's printing protocols.
    You can print barcodes from SAP by modifying an existing output form.
    Behind every output form is a print program that collects all the data and then pass it to the form. The form contains the layout as well as the font, line and paragraph formats. These forms are designed using SAPScript (a very easy but frustratingly simplistic form format language) or SmartForms that is more of a graphical form design tool.
    Barcodes are nothing more than a font definition and is part of the style sheet associated with a particular SAPScript form. The most important aspect is to place a parameter in the line of the form that points to the data element that you want to represent as barcode on the form, i.e. material number. Next you need to set the font for that parameter value to one of the supported barcode symbologies.
    Reward points for useful Answers
    Regards
    Anji

  • Printing graphics (via SmartForms?)

    Hello,
    I have problem with printing images via SmartForms. I know that I must firstly import graphics using SE78 transction and then use it in SmartForms. We would like to print small jpg images which represents rough preview of product in invoices, offers etc.
    Problem is that we have tens of thousands of materials and each has a preview. All images are stored in DMS (KPro) so I thing that is inefficient to import all images again in SE78.
    Does anybody know how to avoid converting all jpgs to tiffs and importing in SE78. Maybe some other printing solution than SmartForms?
    Thanks a lot,
    Zdenek

    This is a common problem. To accomplish this you may need to resort to new BC-XDC interface which can convert non OTF/ALF output to PS/PCL and then feed to spooler, as spooler is not capable of dealing with other native formats such as images.
    Another option is to use 3rd party OMS tools, or KPro/ArchiveLink mass printing solution "APS".
    Regards,
    Vishal

  • Address printing pb in smartforms

    hi all,
    I have problem in printing address in smartforms
    In customer master if i choose country US, address is printing properly
    If I choose Country IN, it is not printing.
    please guinde me how to solve this issue.

    Hi
    Are you using an Address Node in the Smartform to print Addresses? Use an address node, in the address node pass the Address Number and it will display the address.
    You can retreive the address number from the master table based on customer number and pass that variable to address node. You can use Program Lines to retreive the address number.
    Regards,
    Vishwa.

Maybe you are looking for