PRINT PROBLEM IN SCRIPT IF FIELD IS CURR TYPE

one of the report print account statement so in this statement  print balance and it print  depends on credit and debit.
now problem is like
for example my credit value is 50,085.00 and debit value is 19,205.00 so the balance is 32,347.00-
in script not take (-)minus sign but i want this value with this sign in script so how it is possible?
this field is curr type .

i take one field pack type with decimal and then move curr type field to pack type and then print pack type field in script so solve this problem

Similar Messages

  • Printing problem using Dot Net - fields are drifting off specified co-ords

    Hello
    I am writing a crystal report that requires exact positioning of data to fit preprinted stationery.
    I have achieved this satisfactorily in design mode (CR XI) and the report prints according to requirements from design mode.
    I have loaded the report into our Dot Net app and printed the same report from there and the x,y cordinates of the output is slipping more and more both across and down the page.
    e.g the differences vary on the x co-ord from 5mm to 13mm working left to right and 1mm to 10 mm vertically from top to bottom.
    This error is evident in both preview and printing via Dot Net but is perfect in design mode.
    I am using CR12 merge modules from the dot Net app.
    I have tried locking fields and size and unlocking them - it makes no difference.
    I hope there is a simple solution for this as I have been tearing my hair our trying to solve this problem.
    Thanks in anticipation.
    Richard

    Using Crystal 2008, I can explain the fundemental problem that I have with the drifting of the output, even from design mode.
    1) Create a brand new report.
    2) In page setup, zeroise all margins.
    3) On the design tab place a text box on the report with contents "XXXX" in it.
    4) Format Field options - add top and left margin line
    5) Duplicate the field
    6) First field - right click and choose "size and position" and set to X : 15 (cm) Y : 25 (cm)
    7) Second field - right click and choose "size and position" and set to X : 2 (cm) Y : 2 (cm)
    8) Print the report
    The boxes on the report actually print at :-
    Box 1 : X 2.35 (cm), Y : 2.5 (cm)
    Box 2 : X 14.7 (cm), Y : 24.4 (cm)
    Now, this problem only seems to have started happening since moving up to 2008 merge modules for our Dot Net app, but this issue appears to originate in design mode too, although I have not written any of our reports in CR 12 as yet.
    I really need some help with this as this could cause issues in 500 reports already written in CR XI.
    I hope someone has a very simple solution for me
    Regards
    Richard

  • Printer problem in Script

    Dear Experts,
    I am trying to print delivery note using scripts. My client wants to print the delivery note if no printer name is maintained in user settings. If I try to issue output with no printer name in user settings, an info bar is popped up saying "maintain printer". When I try to issue output, it shouldn't ask me name of the printer. Output should be displayed using teh printer name that is specified in communication data in the delivery note.
    Please help me out to print the output????
    Regards,
    John Vikram V

    Hi,
    Here is some steps you should follow for scripts printout.
    1. Validate the drivers used in SAP (Tcode SPAD)
    2. Are you printing through a print server or directly to the printer
    3. If it is througha print server like windows, you should validate to have the right driver installed for that printer.
    4. Validate on the printer the default setting. If the script doesn't sent the proper font or setup, it will print using the last setup sent to the printer.
    So if somebody used work and print a specific document with different setting, some time the setting stays for the SAP report.
    To validate the setup of the printer, just turn off and on the printer before sending the SAP form. That should help to see if the setup has been changed by another program.
    I hope those simple steps will help to solve your problem.
    Reward if helpfull...
    Cheers,
    Rakesh.

  • Printing problem in script

    Hi All,
    I am using box command to draw lines in main window in sap script.I am able to see the lines in print preview but not if take the print out.
    Please sugest.
    Thanks
    Mohit

    Hi,
    I tried to convert it into pdf and in pdf printout i am getting lines.But without pdf conversion i am not getting lines in printout.
    Thanks
    Mohit

  • Printing problem with script barcode

    hi ,
         i hav inserted a barcode for a particular window field. while giving print preview it is showing barcode.
         after taking print, it is not displaying the barcode.
       thank u all in advance,
      balu.

    Hello,
    In general, if you want to print a barcode, somebody must draw the bars
    of the barcode to get a correct print. So there are four possible ways to
    print barcodes from SAP:
    1. Print e.g. via a Barcode DIMM/SIMM
    To use this way, the printer must be able to print barcodes by itself so it
    needs e.g. a special barcode SIMM/DIMM module to print the barcodes.
    ie: HP printers do not contain barcode fonts by default so a DIMM module
    with the fonts must be installed. The print works as follows:
    The SAP sends a simple printer escape sequence to the printer, which activates
    the barcode printing in the printer. Then the SAP sends the barcode number and
    finally it sends a printer escape sequence, which switches the printer back to
    normal printing. So in this way the bars of the barcode are created in the printer
    (and you only see a dummy barcode in the print preview).
    Please see the following Note about the sequences for Jetcaps BarDIMM used
    for printing barcodes on HP Laserjet printers:
    45643 Barcode control sequences for JetCAPS/Jetmobile BarDIMM
    The correct BarDIMM modules for different HP printer models can be seen on
    the JetMobile website at the URL below:
    http://www.jetmobile.com/products/SJ_BD.htm
    2. Print via a barcode.dll
    If your printer doesn't have a barcode DIMM, it cannot create the bars of
    the barcode itself. So this must be done elsewhere. One possibility is that
    you print via a Windows system, SAPSprint or SAPLPD, device type SAPWIN and
    a barcode.dll.
    ie: Your printer is connected to a Windows system that runs the SAPSprint or SAPLPD program
    If you print via device type SAPWIN, the creation of the print data is done in the Windows.
    So the Windows may create a graphic, which contains the bars of the barcode, and send this
    graphic to the printer.
    The job to create the barcode graphic is done by the barcode.dll. So it is only needed, if
    you want to print this way please see the following note for more information:
    14561 Printing barcodes via SAPLPD / Barcode DLL
    3. New barcode technology
    If your printer doesn't have a barcode DIMM and if you don't want to use a barcode.dll,
    you may use the new barcode technology, which is described in the SAP notes 645158 and 430887.
    However this is only possible when printing from Smartforms.
    In this way SAP itself creates a picture, which contains the bars of the barcode. This picture
    is sent to the printer. One important requirement when you print the barcode via a Smartform
    is that you have at least release 46C.
    4. Use of a barcode font
    There are some font files (e.g. Windows TTF files), which contains bars instead of characters.
    So if you use these font files, the bars of the barcode are printed instead of a text.
    You may buy such a font file, install it under Windows and use it via device type SAPWIN
    according to note 48803. Since release 46C these files can also be uploaded into the SAP and
    used via other device types.
    Hope this information helps you resolve the issue.
    Regards,
    David

  • Problem in viewing a field in Segment type

    Hi All,
              I have added a field to an existing segment type . Now the problem is that I am not able to see the field when an Idoc is created.I am able to see the fields that was previously added, but  not the one which I have added..Can you plese suggest me how can I rectify that...
    It will be very helpful if you can send me steps of doing it..
    Thanks in advance.
    Regards,
    Asish Dash

    If your other two checks are correct and only if you want to
    know the program or function module please check following things.
    1. Each Message type will having a posting program, genarally it will be a function module.
    2. This function module will be attached to a Process code.
    3. You can check the the process code name in the Partner profiles.
    4. After knowing your process code, please check WE41 and WE 42 for the function module name.
    5. From this you can debug and find out.
    Points please if this info is helpful..............
    Thanks,

  • Pdf reader X has problems with small pdf and printer with post script driver

    Hi friends.
    I have installed new Reader X and then i saw that, when i print a very small pdf with about 50 kb and i print it on a Laserjet 4000 printer the printer has problem with the amount of data that reader 10 produces.
    When i install a Postscript driver for the printer my computer makes up to 3.5MB printer data from a 50kb pdf.
    When i install a PCL driver for the printer my computer makes only 350kb from the same 50kb pdf file!!!!
    When i install Reader 9.3 the 50kb file becomes also only 350kb on the printer with post script driver, and i can print without problems also.
    my printer has 8 MB Ram and that should be enough for 3.5MB printer data.
    But when i print the pdf with 1 side only, the printer created a side who is only filled with 50% of the text, then there comes out a second page with the message.....not enough memory in the printer.
    i can not change the postscript driver to a pcl driver cause our ERP System can not handle printer with PCL drivers.
    Can someone help me please.........are there settings in Reader X who can solve my problem ???
    Thank you very much for help!

    put ? after rwcgi60.exe

  • Problem in script printing

    Hi Guru's
    I have a problem in script printing.
    The quantity and netprice are printing incorrectly. i.e., quantity should print as 1.000 where as it is printing as 1,000 and net price is printing as 5,30 instead of 5.30.
    I have checked in the owndata settings it is like 1,234,56.00.
    I would like to know whether any settings will be there or i need to do any modificatione
    Waiting for you reply.

    Hi!
    Here you can find the SAPScript formatting options.
    http://help.sap.com/saphelp_47x200/helpdata/en/d1/803411454211d189710000e8322d00/content.htm
    If it is not good for you, you might code it in your printer program and put it into a character variable.
    Regards
    Tamá

  • Printing Problem in sap script

    Hi all,
    There is a printing problem in z report of sapscript.
    when I am giving continuous print ...
       1st page is right in print format but in 2nd page the text comes 1 row up...and so on...
    so the starting point for all page are not same...
    Please help me...

    Hello,
    Check SAP note 39259.
    Regards,
    David

  • Problem while creating with QUAN and CURR data type fields

    I am trying to create a Z table. A couple of fields are of data type QUAN and CURR, which need to have reference table and reference field.
    Field               DataType     Length     Decimal
    TOT_QTY       QUAN            15                 3
    PRICE              CURR             16                2
    For reference table and fields, I found a Table HRPAD23 which has a field called N_QUANTITY (15,3) that matches my TOT_QTY field's data type and it also has a field called UN_PRICE that matches my PRICE field's data type. But when I use them as reference, and try to activate the table, I get an error "combination reference table/field does not exist". How do I fix this? Can anybody help me? Thanks in advance.
    Chris
    Edited by: martin99 on Aug 18, 2011 9:16 PM

    Martin,
    I doubt that you need to add 2 extra fields in your table as suggested in the last post by John.
    Your error is very CLEAR that you seem to be use wrong combination of reference table and field.
    For QTY field,
    use ref table  -  HRPAD23.              ref field- UNIT
    OR
    ref table - VBAP                       ref field - VRKME
    For PRICE field,
    use ref table - PAD25                  ref field - KWAER
    OR
    ref table - T77REFDOC                                     ref field - CURRENCY
    It should work.
    BR,
    Diwakar

  • Problem in script format

    hi,
    i am having problem in script , the problem is
    s.no|    descriptio                           |   UOM                      |          Qty                   |             Rate           |          AMT            |
    01     aaaaaaaaaaaaaaaaaaaaa       11.01                             17.28                     170000000               2400000
    this is fine but when the 1st column is shot other also get affected.
    s.no|    descriptio                           |   UOM                      |          Qty                   |             Rate           |          AMT            |
    01     aa       11.01                             17.28                     170000000               2400000
    and i cannot draw vertical line here .what is the solution for this.
    Edited by: jaihind on Mar 6, 2010 12:21 PM
    hi,
    problem is if the description field is long then other coloum are comming fine but if description caloumn is small then other also get affected and its comes towards left .
    Edited by: jaihind on Mar 6, 2010 12:22 PM

    Hi
    For this u can resolve by using the Formatting characters ......
    This is your layout ..
    s.no| descriptio | UOM | Qty | Rate | AMT |
    01 aaaaaaaaaaaaaaaaaaaaa 11.01 17.28 170000000 2400000
    Assume that   your field names like  
    s.no      |  description  |    UOM      |    Qty      |      Rate      |         AMT       |
    &sno&      &desc&         &UOM&       &Qty&         &rate&         &AMT&
    asseme that  length of these fields(in characters) as per your requirement will be ...
    s.no      |  description  |    UOM      |    Qty      |      Rate      |         AMT       |
    8                  15                  5                8                 10                  15
    For these use formatting characters    like   ...
                  s.no      |  description      |    UOM      |    Qty      |      Rate      |         AMT       |
    1stLine  &sno& ,,  &desc+0(15)&,,  &UOM&       &Qty&        &rate&         &AMT&
    2ndline                 &desc+15(15)&     
    &desc+0(15)&  -  it will print  first 15 characters from 0th position
    &desc+15(15)&- From 15th position it will print 15 characters ..
    Hope you resolve your issue
    Let me know if Any concerns,.......

  • Smartform : Printing Problem , Urgent Please

    Dear All,
    When I tried to print a smartform, I am Getting message 'Spool Request (number xxxxxx ) is created' .
    but It is not printing.
    I am facing this problem only with this form. I could print other forms / Scripts.
    What might be the error ? Please Let me Know ..
    Thanks & Regards
    Venkat
    Message was edited by: venkat Kumbham
    Message was edited by: venkat Kumbham

    Venkat,
    You can do that in two ways. Once is to set it in the USER DEFAULTS. Go to SU01 and you can see a tab for DEFAULTS.. There will be a check box for PRINT IMMEDIATELY.
    Or you can do that in the SMART Form parameters also. In the OUTPUT_OPTIONS parameters ther is a field TDIMMED. Set that to 'X'. That should print the form immediately.
    Regards,
    Ravi
    Note : Please close the thread, and mark the helpful answers if this solves your problem.

  • Priniting problem in script

    Hi friends,
    i am facing a problem in script. i have developed the form
    and it is working fine .in print preview every thing seems to be ok.
    when we try to take a print the right side characters are cutting down by 2
    characters every time.
    i have moved the content to left but the result is the same.
    can any one tell me how to solve the issue.
    Regards,
    Srinivas

    Hi,
    Try to check the lenght of the field/var that you are printing.
    change the alignment doesnt solve the problem.
    Check in your code what is the lenght and if is the same in your form.
    Sample:
    &j_1bprnfli-cfop(4C)&
    prints only 4 digits of the variable j_1bprnfli-cfop.
    Regards.
    Rodrigo Paisante

  • Printing problems with HP Laserjet P2015DN

    We are using SAP Business One software and are trying to print Delivery Slips using HP Laserjet P2015DN. The problem we have is when we use this printer it prints boxes around the entry fields. I have tried several drivers but no luck. Any help would be greatly appreciated. I am using a print server with 2003 opreating system
    Thanks Jim Dyer

    JIm,
    When you say it prints boxes around the entry fields, do you mean for all reports?  If only selected reports have the boxes, check the border for entry fields
    Thanks,
    Gordon

  • HP LaserJet 2100TN printer problems

    I am running OS 10.8.2 and recently added a new DLINK wireless router - none of my iMacs can find the HP LaserJet 2100TN printer.  Not sure if this happened when I installed the new router or the last Apple OS update - both were at approximately the same time and the printer did not work afterwords.  Other network MFP printer does work. I can find the IP address from the router so I know it is connected but when I try to add the printer using the IP address it says it can not find the driver from the downloads server.  I downloaded the driver package from the Apple Support site http://support.apple.com/kb/DL907 and installed the package with no improvement.  (I actually could not find anything to run after installing the package.)  Have shut down, rebooted numerous times to no avail.  I've tried different cables and even direct connecting the printer to the computer via ethernet cable (but did not expect this to work.)  Suggestions?  Why does the add printer effort return an error from the downloads server when the dialog says software is available from Apple?

    I'm glad you finally succeeded. Your post was one I looked at trying to solve the same problem. But the drivers weren't visible for me after rebooting.
    I spent 2 days trying to make my LJ 2100 TN work with OS 10.8.2. The kicker was that when I tried to add the printer to my existing [ethernet] network with my new iMac on Wi-Fi it killed the existing network. No computer could now print! I could still get on-line though.
    I did a lot of research on the net; I called my ISP and did learn how to get the IP numbers on each device; I called Mac Tec, they passed the buck, saying because I wasn't using a Mac router they couldn't help.
    This post is for others that can't see the drivers they just downloaded. I solved my problem today:
    When I tried to add the printer to 'Print & Scan' the 'Add' window comes up; and even though I made the 2.12 download, there were no print drivers to be seen. Apple in it's infinite wisdom left out the 'Advanced' icon in the 'Add' window! Right click the header and add it. Now there is a function to actually search for the print drivers.
    You will have to choose 'Type'. I tried a few but 'Jetdirect' worked best for me. NOTE: your printer should be on before you make your choices in the 'Add' window.
    Add your printer's IP number in the 'URL' field.
    In the 'Use' field, select your proper print driver.
    If you did it all correctly, the 'Add' button will light up and hopefully add a new printer to the 'Print & Scan' window.
    Good luck. [I also had the delete and replace the printer on my other 2 computers in the network to make them able to print again.]

Maybe you are looking for