Problem with printing amounts in SAP Script

Hello All,
I have multiple line items to be printed in which one of the column contains amount value. I have a problem printing amount value aligning it to the right of the column.
The amount is printed as below
1.202,00
18.202,00
19.202,00
I want to print 1.202,00 right justified so that it would be aligned to the other amount values.
Pls help me out.

Sorry:-)
if you define the line format with the name RJ(right justified) you must use this like follow.
RJ|     &12334,11&
and not
<br>&12345,11& </>
now is that clear?? is hard to explain
Marco

Similar Messages

  • Problem with printing graphics in SAP Script

    Hi,
    I am facing problem with printing of graphics in SAP Script. I uploaded a bitmap file from pc to se78. Then I inserted it in SAP script.
    I am able to view it in the printpreview as well as in the spool number. But it is not getting printed.
    Plese tell me the solution.
    Thanks,
    Srinivas

    You need to check your printer settings.Might be drivers are missing.

  • Convert OTF along with Print preview in SAP Script

    Hello All,
    I was getting a print Preview for the sap script, now with the new requirement, I had to capture otf data too in OPEN_FORM. so I have added  "TDGETOTF = X", and that gives me otf data which I am converting it to PDF. now the problem is I am not getting preview anymore. my requirement is to have both, Preview and otf data. I have tired serching in forums and also used a function module SSFCOMP_PDF_PREVIEW, but no luck. what am I missing here. Please suggest.
    Thanks-
                                            TDPAGESLCT                                       
                                            TDCOPIES                                             1
                                            TDDEST                                             LOCL
                                            TDPRINTER                                       
                                            TDPREVIEW                                             X
                                            TDNOPREV                                       
                                            TDNOPRINT                                       
                                            TDNEWID                                             X
                                            TDDATASET                                             SAP11
                                            TDSUFFIX1                                             LOCL
                                            TDSUFFIX2                                             1000
                                            TDIMMED                                       
                                            TDDELETE                                       
                                            TDLIFETIME                                             7
                                            TDSCHEDULE                                       
                                            TDSENDDATE                                             00000000
                                            TDSENDTIME                                             000000
                                            TDTELELAND                                       
                                            TDTELENUM                                       
                                            TDTITLE                                       
                                            TDTEST                                       
                                            TDPROGRAM                                       
                                            TDSCRNPOS                                             000000000000000
                                            TDCOVER                                             D
                                            TDCOVTITLE                                       
                                            TDRECEIVER                                             ABCDEFGH
                                            TDDIVISION                                       
                                            TDAUTORITY                                       
                                            TDARMOD      
    TDIEXIT                                       
    TDGETOTF                                             X
    TDFAXUSER                                       
    TDRDIDEV                                       
    TDNOARMCH                                       
    TDFINAL                                       
    RQPOSNAME                                       
    BCS_REQST                                       
    BCS_STATUS

    Maybe you can call the form twice - once with tdgetotf = 'X', the second time with it blank.

  • Problem with printing out of sap to printerserver 2008 connected printer

    Hi there,
    one of our customers is using a SAP ECC 6 System on a Windwos 2003 Server and is printing over a windows 2008 Printerserver to the printers.
    We now have the issue, that there is a problem with lpd. The printer is reach- and pingable from SAP system, also on os-level the printer-server is reachable via telnet on port 515. But within printing, we get the following eror
    Status: Incorrect (Failed to connect to LPD)
    Job status: Completed
    Area: Data transfer
    Error: LPD response format invalid
    Any idea?
    thx for help
    Otto

    Hello Otto,
    It seems the problem is in the connection the LPD on the destination host.
    I would check the connection. Please, see note 10758 that can be helpful for this case.
    Regards,
    Blanca

  • How to deal with Print Controls in SAP SCRIPT

    Hello All...
    I have two requirement in SAP SCRIPT for which I will need to use PRINT CONTROLS.
    1) To print a window with 90 degree rotation
    2) In the same window I wanted to have black background and white text printed on it.
    For rotating the text,
    Primary basis I created two Z print controls using SPAD.
    One to rotate with 90 and another to rotate with 0.
    In SPAD I assigned \e&a90P and \e&a0P respectivaly in device type.
    Now in sap script window I specified below commands...
    /:  PRINT-CONTROL Z90
    =  TEST
    /:  PRINT-CONTROL Z00
    but in the SP01 the text is still printing Horizontally...
    Also Is there any standard print controls which set backgroud to black for specific window.
    and how to use that?
    Please help me to resolve this issue.
    Thanks in advance,
    Shweta

    Hi,
    Occassionally, when you make frequent changes to your SAPScript, the system can get out of sync.
    When you view the form, the old data get display without your changes. 
    This can be fixed by deleting the SAPScript LOAD with program RSTXDELL. 
    Hope it helps.
    Reward if helpful.
    Regards,
    Sipra

  • Problem in printing barcode in SAP script.

    Hi All,
    I have defined ZP as char format and assigned the barcode name as Z_TEST which is defined in SE73 as system bar code.
    Trying to display barcode as :
    <ZP>12345
    I hv tried using
    <ZP>12345</ZP>
    <ZP>12345</ZP>
    But it does not work for all above options.
    What is the use of checkbox Selection available in char format above the BARCODE option??? Is it related to barcode?
    kindly suggest suitable solution to overcome this problem.
    Regards,
    Guru

    Hi Guys,
    There is some problem with the system or printer setting.
    i am able to display in another system.
    Thanks alot for your help.
    can you tell me what is the use of selection checkbox....???
    FYI: Without selecting check box i am able to display barcode.
    Regards,
    GURU

  • Problem with BARCODE C128A In sap  scripts.

    Hi,
    I'm trying to print a barcode in a sapscript, but it doesn't print. It doesn't even show it in the screen when I press the preview button. I'm using the same barcode (C128A) for the character format I used for the smartforms (where it works fine).
    Please help.
    Kindly don't give this link: Barcode in SAPSCRIPT doesn't show in preview or print
    Tks:
    Maddy

    It works on my system.
    MyClass.java
    package com.foo.java;
    public class MyClass {
        @Override
        public String toString() {
            return "My Class";
    MyFXScript.fx
    package com.foo.javafx;
    import com.foo.java.*;
    var myClass = new MyClass();
    println(myClass);standard-run:
    My Class
    browser-run:
    jws-run:
    midp-run:
    run:
    BUILD SUCCESSFUL (total time: 3 seconds)

  • Problem with printing through SAP

    Hi All,
    We have problem with printing, only one person through SAP can only print the documents successfully and the remaining are getting incomplete print output. This is happening only for transactions GD23 and FB03 (FI related transactions). We have tried with removing Saplpd folder and installing Sprint as suggested by SAP from note 894444. Still problem persists. Please suggest me in this regards.
    Veerendra Kumar.

    Hi Ardhian,
    We are using Front end printing and already installed SAP GUI new version i.e. 7.10.
    Only one user is able to print the document correctly from SAP, and other are getting incorrect print and getting error message "System cannot print the last 80 columns of the report" on one system.
    SAP version we are using is 4.7EE.
    Let me know if any more information needed for analysing the issue.
    VeerendraKumar.
    Edited by: Veerendra Kumar Mutyala on Feb 20, 2009 5:35 AM
    Edited by: Veerendra Kumar Mutyala on Feb 20, 2009 5:37 AM

  • Struggling with Comma for an amount in sap script

    Hi Experts
    I am strugling with comma for an amount in sap script .
    For ex: 1234.56  and i need 1,234.56
    I tried  system->userprofile->owndata->Default(Tab)->Decima Notation 1,234,567..89(Selected)
    and i did use /:Edit Mask Field name  but i am not getting comma.
    Thanks & Regards
    Reddy

    Hello,
    In the driver program, assign the amount to a variable of type P and use that variable to display in the script. You will get the commas.
    Vikranth

  • How to use print control in Sap script

    I would like to use print control in Sap script.Actualy my problem I have security font Troy ECF. Using this font I would like to print amount field in Check printing.
    we count download this font with sap .we talked to customer care they told we should hard code in sapscript. pls can any1 help on this how to do and how to use print control for this fonts.

    call this funcation. crate_text.
    CALL FUNCTION 'CREATE_TEXT'
             EXPORTING
               FID               =
               FLANGUAGE         =
               FNAME             =
               FOBJECT           =
             SAVE_DIRECT       = 'X'
             FFORMAT           = '*'
             TABLES
               FLINES            =
           EXCEPTIONS
             NO_INIT           = 1
             NO_SAVE           = 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.

  • Check Box With Tick Mark on Sap Script

    Hello All,
    We need to add a check box with tick mark on Sap Script.Please can anyone let me know how can we add it.
    Regards
    Amruta

    hi amruta,
    The soluti as an image into on to your problem can be to use the symbol icon as told , but this may show in preview not in print.
    I too faced the same problem.
    So what i had done is created a new window with the diemnsions of the chekc box with border thcikness 8 tw and inside that window place a checkmark symbol.
    if this checkmark symbol also does not show up in print preview/  doesshow in print preview and not in print then you can scan a chekcmark image and upload it into business document server as a BMP/ TIFF image and use this image in your checkbox window.
    Hope this solves your problem.
    Warm Regards
    Venugopal.T

  • How to print u0080 in SAP Script

    Hi Experts,
       I have one small issue, i want to print €  symbol in sap script. If i puts this an hardcode vallue, but its not accepting this symbol.
      Plz anyone guide this, how to display and print the above symbel in script.
      This symbol is not available in displayable charactor area also.
    Point will be sure.
    Regards,
    Mohana

    Form to translate unicode symbol € to superscript €
    you can use this in subroutine i think this may be usefull to you before that you need to select the radio button of super script in charecter format for that perticular format
    FORM FORM_NAME TABLES  inttab STRUCTURE itcsy
                               outtab STRUCTURE itcsy.
    *Data Declaration.
      DATA : V_TEXT1(320).
      DATA: BEGIN OF ITAB OCCURS 0,
            WORD(40),
            END OF ITAB.
      READ TABLE inttab INDEX 1.
      V_TEXT1 = inttab-value.
      REPLACE ALL OCCURRENCES OF '€' IN V_TEXT1 WITH '<SP>€</>'.
      READ TABLE outtab INDEX 1.
      IF SY-SUBRC = 0.
        MOVE V_TEXT1 TO outtab-value.
        MODIFY outtab INDEX 1.
      ENDIF.
    ENDFORM

  • Search print program and sap script

    hii , how can i find  trigring print program and sap script  for a particular  purchase order.
            regards  Aditya
    Edited by: aditya shrivastaba on Apr 14, 2008 9:59 AM

    Hey,
    First go with Me22 or 23 with po that you had, and then check with output type for that in the transaction. After that go to TNAPR table and check the corresponding form and print program.
    Or else, go with NAST table in that put PO num in 123456 and put in OBJKY field in nast table. It will give you the output type of it, so that u can find the print program and lay out in TNAPR
    Many thanks,
    Raghu.

  • How to know print program for SAP Script

    Hi friends,
    how to know print program for SAP Script form name ?

    Hi ,
      You can use the following code changes in the layout & see..
    You have to create a program Z_BC460_EX4_HF for that..
    /:PERFORM GET_NAME IN PROGRAM Z_BC460_EX4_HF
    /:  USING &CUST&
    /:  CHANGING &NAME&
    /:ENDPERFORM.
    Dear &NAME&
    The ABAP routine could be defined as follows:
    IMPORTANT: The structure itcsy must be used for the parameters.
    REPORT Z_HENRIKF_SCRIPT_FORM .
      tables scustom.
      form get_name tables in_tab structure itcsy
                           out_tab structure itcsy.
      read table in_tab index 1.
      select single * from scustom
        where id = in_tab-value.
      if sy-subrc = 0.
        read table out_tab index 1.
        move scustom-name to out_tab-value.
        modify out_tab index sy-tabix.
      else.
        read table out_tab index 1.
        move 'No name' to out_tab-value.
        modify out_tab index sy-tabix.
      endif.
    You could also fill the ouput parameter table this way
       READ TABLE out_par WITH KEY 'NAME1'.
       out_par-value = l_name1.
       MODIFY out_par INDEX sy-tabix.
    endform.

  • Output Format for Amount in SAP Script PO

    Hi,
    In my Standard SAP Script PO Form 'MEDRUCK', all amount values are getting printed in the form 1.234.567,89 but I want them to be in the Form 1,234,567.89 .
    For doing this I have gone in T-Code SU3 and set the default decimal notation as
    X 1,234,567.89 . 
    I have also tried by giving the command
    /: SET COUNTRY 'IN'
    But still the amounts in the ouput format is coming in the same way 1.234.567,89 .
    If anyone has faced similar situation, plz tell how to change the output format of amount in SAP Script.
    Thanks and Regards,
    Nitin Gupta

    I have tried using SU3 but it's not worknig. Is their any other method also of which maybe I am not aware of?

Maybe you are looking for

  • Email in wide with 2.2?

    The 2.2 upgrades list suggests you can now email in wide. How do I do this? When I tip the phone in mail it doesn't turn the screen. Also, can you text in wide with the new upgrade?

  • How to display Frame Dynamically

    Hi friends, Plz tell me How to Display / Hide or Frame Dynamically in Oracle Forms. I am Using Oracle Forms 6i Thanks

  • ITunes freezes and doesn't respond when connecting iPhone 4

    Well yesterday I had the two of the most common problems that a lot of people seem to be having with iTunes after the latest update- opening iTunes and not getting my iPhone 4 to be recognized. I solved the iTunes problem last night and iPhone is now

  • ER: ADF Faces Skins: "Unknown pseudo class:alias"

    Hi, I'm trying to create an ADF Faces Skin, by overriding aliases in my own CSS file. The code editor, however, is hilighting the word "alias" every time I use it (as in ".AFDarkBackground:alias") in red, and the error "Unknown pseudo class:alias" ap

  • Changes information required in resource planning

    Hi all, I am looking a solution to capture change information in resource planning, example i have planned resource and time in activity person assignment tab but later on i changed resource and planned hour in activity person assignment tab so how c