Problem in check sapscripts printing

Hi  friends,
I am getting this error (The program attempted to interpret the value "*81145.00-" as a number, but since the value contravenes the rules for correct number formats,      
this was not possible.)                                                      
while printing only this doc no 1200425
throught tcode fbz5 .
i had used this code
for calculating TDS.
SELECT belnr
           wt_qbshb
   FROM with_item
   INTO TABLE i_with_item
   WHERE belnr = v_belnr.
    LOOP AT i_with_item.
    V_WT_QBSBH  =  V_WT_QBSBH  +  I_WITH_ITEM-WT_QBSHB.
    ENDLOOP.
    V_TDSVAL   =   V_WT_QBSBH.
    CLEAR V_WT_QBSBH.
    IF V_TDSVAL < 0.
    V_WT_QBSBH  = -1  * V_TDSVAL.
    V_TDSVAL   =  V_WT_QBSBH.
    SHIFT V_TDSVAL RIGHT CIRCULAR.
    ENDIF.
Can any one help me.
points will be rewarded for helpful answers.

Hi,
'Shift' statement can be used on data objects of type string.
Check what type did you declare the variable V_TDSVAL.
Regards.

Similar Messages

  • Payment check Sapscript prints all in one page

    Hi;
    we are facing a problem, days ago we printed payment checks with no problem, we prepare N amount of payment checks and send them to print and work ok.
    Now, if we do the same all payment checks are printed in the first check.
    We already did word documents with payment check size 8.5" x 8.5" page, and prints ok with N pages.
    Any help.
    David Fúnez
    Tegucigalpa, Honduras

    Hi,
    Check whether you are using the same output device for printing or whether some changes have been done in the output device or device type.
    Before printing, check the print preview of the payment cheque, whether it is correctly alligned or not.

  • SAPScript - Print Preview 2 Pages - Physical Print overlap as 1 Page

    HI Experts,
    I have a problem with Invoice SAPScript Printing - where the print preview is good with 2 Pages,
    But when it physical prints out - Only 1 page and overlapping the Second page content to the first.
    Any idea where did I miss out?
    Thank you in Advance.
    Regards,
    CWLIM

    HI ,
    Sheelesh  is right.
    I had both SAPScript and Smartform issue with the overlapping printing.
    What you need to do is to check your page format to see if it is the correct size for the specific printer.
    If it is too big for the printer paper size - it will overlap the printing as 1 page.
    For example : A4 Lanscape printing on normal HP Laser Printer - DINA4 Landscape should be used.
    Or at least when you define your own page format - refer to the correct size and orientation.
    HOpe this helps.
    Thank you all

  • Problems with check printing RTF template

    To BI Publisher Gurus,
    I am working on the check printing RTF template and facing a few issues with page breaks, filling the insufficient invoice lines with template and positioning of the table(s) itself inside the RTF template.
    For page break, am using the following piece of code just before the end of all of my FE loops.
    <xsl:if xdofo:ctx="inblock" test="position()-1<count($inner_group)"><xsl:attribute name="break-before">page</xsl:att:attribute></xsl:if>
    the $inner_group is my group for G_INVOICES to loop through all the invoices of a check in G_CHECKS group.
    The problem I'm facing is, everytime a check is printed its printing a blank page in between. Searched all the earlier forum posts but none of the solutions worked in my case.
    Second issue, for filling the insufficient invoice lines (in my case, am printing 26 invoices per page per check), the call to the blank lines template is repeating twice and found no way to get rid of it.
    Third issue, if the check is running into a second page, the call to the blank lines template does not work and the position of the bottom part of check is getting misaligned.
    I am ready to send my template and the sample XML file to look at. Thanks for your time and effort.
    -Uday

    Hi Tim,
    Hi Tim,
    Could you please send me the sample rtf. We are also using APXPBFEG program for check printing..
    Also I have problem in generating dots(....) in the check where if total invoices lines are 37 and we have only one line of invoice then I have to generate 36 dots (.) in the invoice porition of the check..
    I appreciate your help..
    Thanks
    Krishna
    [email protected]

  • I am suddenly having a problem printing 4x6 photos.  The print as though starting in the middle of an 8x10 sheet.  I've checked and double-checked the print settings.  Anyone else have this problem?

    I am suddenly having a problem printing 4x6 photos.  The print as though starting in the middle of an 8x10 sheet.  I've checked and double-checked the print settings.  Anyone else have this problem?

        jsavage9621,
    It pains me to hear about your experience with the Home Phone Connect.  This device usually works seamlessly and is a great alternative to a landline phone.  It sounds like we've done our fair share of work on your account here.  I'm going to go ahead and send you a Private Message so that we can access your account and review any open tickets for you.  I look forward to speaking with you.
    TrevorC_VZW
    Follow us on Twitter @VZWSupport

  • SAPScript print out Margin problem

    Hi Gurus,
    I have configured a printer already existing to one of my storage location. When I am taking print out of material document, it is not coming correctly. Text is getting wrapped up on right hand side. But the preview of same material document is showing perfectly in spool result.
    I have checked the printer setting, print out is coming correctly for windows.
    I am using HPLaserJet Printer. I have maintained in SPAD- > Output attibutes- > Additional SAPscript & Smart Form Information:- Horizontal Move: 3mm , Vertical Shift: 2 mm. There is no page format maintained in tray info.
    but in Spool request, under "Print with changed parameters", the format under spool request is " DINA4".
    Please guide, if i need to maintain some more settings for the margins.
    Thanks & Regards,
    Sandeep

    Hi,
    For Material document Print out settings refer the below steps..in link
    Re: Printing all items (collective) from material document
    there are lot of threads regrading same answered in the forum have a look for the same
    Once all the settings are done check in MB90 you are selecting the line item and shoting the print.

  • Sapscript MEDRUCK/Zedruck Sapscript printing problem

    Hi,
    I have a problem in SAP version ECC SAP ECC 6.0 with the PO print  program SAPFM06P and the sapscript ZEDRUCK. From within ME23N when I do a print preview of the PO everything looks OK, however when I print it out to a HP Laserjet 1320n there is a strange number '4099' printed to the left of some of the fields, for example in the print preview I see 'Terms of Deliv.: FOB' but on the printed version I see '4099Terms of Deliv.: FOB'.
    These characters appear in other places on the PO as well. We dont have this problem on other sapscripts i.e invoices, quotations etc.
    Message was edited by: Mike D

    Solved used a different PO and all was oK.

  • FCHN check register printing problem

    Hi
    I am trying to print  the output from tcode FCHN.
    However last line item is not printing.
    I am not sure if this is SAP or printer problem. I tried printing from couple of other printers but result is same.
    If you are suggesting me SAPD please be specific on what changes to be made.
    Appreciate your help.
    Thanks,
    Reddy

    Thanks for the reply.
    Where can i check printer page settings?
    Thanks,
    Reddy

  • Sapscript printing only the last value

    Hello,
    Im currently coding subroutine for medruck.. My problem is sapscript is only printing the last value of the item for all items.. For example:
    Item # 1    10 pcs  10,000.00
    Item # 2     5 pcs   10,000.00
    Item # 3     5 Pad  10,000.00
    where actually the value of item 1 and item 2 is not 10,000.. sapscript prints only the price of item # 3 for the  first two items.. here is my code..
      TABLES: konv, ekko, ekpo.
      DATA: BEGIN OF tab OCCURS 0,
          brtwr LIKE ekpo-brtwr,
          ebelp LIKE konv-kposn,
          ebeln LIKE ekko-ebeln,
          knumv LIKE ekko-knumv,
          kbetr LIKE konv-kwert,
    END OF tab.
      DATA: sum TYPE p DECIMALS 2, gross TYPE p DECIMALS 2, val(16) TYPE c, d_knumv LIKE ekko-knumv, tab1 LIKE tab, val1(20) TYPE c,
            ext TYPE p DECIMALS 2, val2(20) TYPE c, extend TYPE p DECIMALS 2.
      REFRESH: tab.
      READ TABLE in_tab INDEX 1.
      CHECK sy-subrc = 0.
      SELECT brtwr ebelp ebeln FROM ekpo INTO TABLE tab WHERE ebeln = in_tab-value.
      LOOP AT tab.
        AT NEW ebelp.
          tab-kbetr = 0.
          ext = 0.
        ENDAT.
        SELECT SINGLE knumv FROM ekko INTO tab-knumv WHERE ebeln = tab-ebeln.
        SELECT SINGLE kbetr FROM konv INTO tab-kbetr WHERE knumv = tab-knumv AND kposn = tab-ebelp                                AND kschl = 'ZDEL'.
        ext = tab-brtwr + tab-kbetr.
        AT END OF ebelp.
          READ TABLE out_tab INDEX 1.
          WRITE ext TO val.
          out_tab-value = val.
          MODIFY out_tab INDEX 1.
        ENDAT.
        CLEAR: tab.
      ENDLOOP.
    i used this code using abap only and it work. there seems to be a problem in sapscript.. Thank u for the help guys..
    Thanks,
    JP

    put ur write_form with in loop...
    loop at itab.
      write_form..
          element = 'ddd'
    endloop.
    in script check ...
    check wheather element is specified there r not
    /e  ddd.
         &itab-   &  &itab-  &

  • WIndows 8.1 printer error: windows cannot print due to a problem with the current printer set up

    My HP OFFICEJET 8500 PRO was working just fine wirelessly until I installed the Windows 8.1 update from the Microsoft.  Now I cannot print at all.  I get an error that says,  "windows cannot print due to a problem with the current printer set up".  I have tried reinstalling and a ton of other solutions to no avail.  Can someone PLEASE Help!

    Hello there, @jesseangelique ,
    Welcome to the Community!
    I would love to help you with the printing issue you're having, since the Windows 8.1 that was done.
    Please run the Print and Scan Doctor. Write me back with the results or post a screen shot of the results and I will have a look at them.
    This diagnostic tool will check for any conflicts that could be causing the issue. The tool will show you a report at the end. If there was a problem that the tool could not fix, you will notice it in the results.
    Also, let me know which Officejet 8500 Model you have:
     HP Officejet Pro 8500 All-in-One Printer - A909a
     HP Officejet Pro 8500 All-in-One Printer - A909b
     HP Officejet Pro 8500 Premier All-in-One Printer - A909n
     HP Officejet Pro 8500 Wireless All-in-One Printer - A909g
    Hope to hear from you!
    R a i n b o w 7000I work on behalf of HP
    Click the “Kudos Thumbs Up" at the bottom of this post to say
    “Thanks” for helping!
    Click “Accept as Solution” if you feel my post solved your issue, it will help others find the solution!

  • Officejet Pro 6830 all in one - screen stuck on "checking for printer updates"

    Windows 7 X64 install
    I ran through the entire installation process and while the printer will print and will scan - the printer is hung on the message "checking for printer updates" with a red x below that message.  I let it set all night and no change.  The printer is setup as a wired network connection and can be seen with any of the tools.  I have not errors on my system.  I have uninstalled the software and reinstalled twice without success.  I tried running a firmware update, but the firmware update states that I have the latest firmware rev.  I even unplugged the printer and plugged it directly into the wall - n o change.  Evertime I startup the printer screen, just hangs on that screen. 
    Please help.

    I have the exact same problem with my new HP Officejet Pro 6830 printer.  Please could you provide a solution else I guess it will have to go back to the shop as I only picked it up this afternoon.
    Setup went ok and it even managed to print a couple of pages.  But next time it started up (with wired ethernet connection) this problem occurred and happens every time ever since.  (It is possible to use the printer for printing and scanning via PC, but the whole time its display is showing the "checking for printer updates" message.)
    This even happens if the ethernet cable is not connected on startup (meaning the printer cannot be used as a standalone printer / copier either at the moment).
    If I press the red cross (which I guess cancels the update searching) then I get a blue screen saying "B871634E" for a second or so, afterwhich I get a black screen with the message "There is a problem with the printer. Turn the printer Off, then On." and cannot do anything else.  (The problem is the same after doing a printer off then on - even when following the "hard reset" procedure already mentioned.)
    On checking the firmware version via the PC utility (while the printer sits there "checking for printer updates"), the PC utility app reported that the firmware was the latest version.

  • Hi there, I cannot open bridge and I get this warning, "Adobe Bridge Cannot be Opened because of a problem. Check with the developer to make sure Adobe Bridge CC works with this version of Mac OS X. You may need to reinstall any updates for this applicati

    Hi there, I cannot open bridge and I get this warning, "Adobe Bridge Cannot be Opened because of a problem. Check with the developer to make sure Adobe Bridge CC works with this version of Mac OS X. You may need to reinstall any updates for this application and Mac OS X" although bridge has been running on my Mac for over a yera. I have installed all current updates for Mac and reinstalled Bridge again from CC and still get the same issue? Any advice?

    Would you please provide details about your setup?
    BOILERPLATE TEXT:
    Note that this is boilerplate text.
    If you give complete and detailed information about your setup and the issue at hand,
    such as your platform (Mac or Win),
    exact versions of your OS, of Photoshop (not just "CS6", but something like CS6v.13.0.6) and of Bridge,
    your settings in Photoshop > Preference > Performance
    the type of file you were working on,
    machine specs, such as total installed RAM, scratch file HDs, total available HD space, video card specs, including total VRAM installed,
    what troubleshooting steps you have taken so far,
    what error message(s) you receive,
    if having issues opening raw files also the exact camera make and model that generated them,
    if you're having printing issues, indicate the exact make and model of your printer, paper size, image dimensions in pixels (so many pixels wide by so many pixels high). if going through a RIP, specify that too.
    etc.,
    someone may be able to help you (not necessarily this poster).
    a screen shot of your settings or of the image could be very helpful too.
    Please read this FAQ for advice on how to ask your questions correctly for quicker and better answers:
    http://forums.adobe.com/thread/419981?tstart=0
    Thanks!

  • Problem with Photoshop Elements Printing

    I have been using Photoshop Elements for a couple of years now and know it pretty well.  Today while attempting to print, a strange problem came up:  After going through the protocol to make a print, just before the image prints PE does a very fast auto correction that basically ruins all the color correction I have made on the image.  How do I disable this function?

    Hi and thanks for your reply. I checked the settings under "Print", "More Options", then "Color Management" and it only has "Print Space", none of the three options that you said I should have.  Am I looking in the wrong place?
    Date: Mon, 3 Sep 2012 11:14:57 -0600
    From: [email protected]
    To: [email protected]
    Subject: Problem with Photoshop Elements Printing
        Re: Problem with Photoshop Elements Printing
        created by 99jon in Photoshop Elements - View the full discussion
      Check your color management by clicking More Options in the print dialog There are basically three options:1) Printer Manages Color2) Elements Manages color3) No color Management Make sure everything is consistent e.g. if you choose Elements manages color make sure color management is switched off in the print driver. 
         Replies to this message go to everyone subscribed to this thread, not directly to the person who posted the message. To post a reply, either reply to this email or visit the message page: http://forums.adobe.com/message/4669848#4669848
         To unsubscribe from this thread, please visit the message page at http://forums.adobe.com/message/4669848#4669848. In the Actions box on the right, click the Stop Email Notifications link.
         Start a new discussion in Photoshop Elements by email or at Adobe Forums
      For more information about maintaining your forum email notifications please go to http://forums.adobe.com/message/2936746#2936746.

  • I have a Canon MX882 and more often than note get an error message saying the printer is not connected. I check the printer and the get the message that the access point is accessed. I have reloaded the software and it worked for awhile. Any ideas?

    I have a Canon MX882 printer and more often than note get an error message that says "Printer not Connected." When I check the printer itself, I get confirmation that the access point is connected. I tried reloading the software and that seemed to have solved the problem for awhile but I'm experiencing the same problem. Any ideas what is causing this?

    Did you delete all receipts with iDVD in the file name  with either a .PKG or .BOM extension that reside in the HD/Library/Receipts folder and from the /var/db/receipts/  folder before installing the new copy?  If not then do so and delete the new application also.
    Click to view full size
    Then install iPhoto from the disk it came on originally and apply all necessary updaters: Apple - Support - Downloads
    OT

  • Font problem in a sapscript

    Hi everybody, I have a problem with a sapscript, I have tried to change the font of the text but it is not possible. It is always with the same format, I have changed in everywhere, I have created new parragraph, new character but it is not changing. Does anybody know if it could be that there is only one kind of fond supported by the system??
    Thanks, in advance

    Hi
    There are some std Charcter formats like BOLD, CENTER like that
    just write a field using this BOLD format and see
    We can create our own paragraph format and define the FONT and use
    Just check you might not be writing the fields correctly with the font.
    if you use format of bold write
    /    <B>&ITAB-KUNNR&</>
    if ZA is paragraph format
    write
    ZA   Purchase Order
    first check some Text field and see other fields.
    Reward points if useful
    Regards
    Anji

Maybe you are looking for

  • Re-Install of 10.4.6 from original DVD will not complete on MacBook Pro

    I purchased a new MacBook Pro 15" laptop around Oct 1, 2006 and I am now unable to use it. It came with 10.4.6 installed. I updated the system to 10.4.7 and 10.4.8 using update packages directly from the Apple site. Then I ran a Security Update to 10

  • Jar only specific file types

    Hi Folks Is there any option to feed my requirement ? I have below folder structure acme/hmtl/1.html acme/html/2.html acme/html/3.css acme/css/2.css acme/css/1.css acme/css/3.html I want to create jar which should contain only html files. But the rec

  • Non-rectangular image cells

    Can the image cells in the print module only be rectangular in shape? I thought about doing diagonal slices for a series om images, but came up short in trying to create one.

  • Flash Player 11 Failed Installation

    I am running window 7 32-bit. I tried installing the flash player 11 update on numerous occasions and failed. I have then tried a clean install as per the advice. On review of the manage add ons the latest version 11.5.502.135 is installed and enable

  • ABAP APIs

    hi can any one tell me how to configure ABAP APIs. Thanx and Regards, Sravan