Sapscript - LPD error

Hai All,
In Sap Script i developed a from with 3 sub windows. While taking printout i receive a error in LPD as
Error:Unable to start print job, Windows rc = -1, Error = Overlapped I/O operations is in progress.
Please help me...
regards
Arun

For this just check with placement of windows in script.If windows overlapped we'll get such errors.

Similar Messages

  • Printing a sapscript gives error .

    Hi
    I have created a new sapscript  to print a tax invoice .When i preview it i can see it fine .
    Also when in the print options  put locl and print it .It gets printed to the printer that i have allocated in my local .
    But when i change the print options to put the name of the printer directly it gives me an error saying that Device type PLAIN does not support page format DINA4.
    It is the same printer but when put as local it prints but when we put the number directly it does not print and gives as error .
    Any suggstions ?
    Thanks in advance
    Anjali

    Hi,
    There is used another driver in SAP . With LOCLl you mostly use your windows printer driver. Your other printer choice uses a sap printer driver.
    You should check that one because that one makes trouble (tranaction SPAD).
    Gr., Frank

  • SAPScript runtime error

    Hi all,
    I have the below code.
        CALL FUNCTION 'WRITE_FORM'
            EXPORTING ELEMENT = KOPF_TITLE
                      WINDOW = 'MAIN'.
    In SAPSCRIPT
    /E KOPF_TITLE
    /:BOX YPOS '6' CM WIDTH '20' CM HEIGHT '2' CM FRAME 10 TW
    Requestor:&LTAK-BNAME&,,,,,,,,Cost Center:&REQ_KOSTL&
    However whenever I reached until exporting element = kopf_title, I get the runtime error. I do not understand why this runtime error is occurred as I have already declared KOPF_TITLE in SAPSCRIPT. 
    Runtime Errors         GETWA_NOT_ASSIGNED                                                          
    Date and Time          10/10/2008 07:29:33                                                                               
    Short text                                                                               
    Field symbol has not yet been assigned.                                                       
    Anyone knows why? Please advice.
    Thanks in advance.

    Hi,
    As in your code the Text element is not in single quotes,
            CALL FUNCTION 'WRITE_FORM'
            EXPORTING
                      ELEMENT = 'KOPF_TITLE'
                      WINDOW = 'MAIN'.
    so keep the Text element name in single quote and execute.
    Regards
    Bala Krishna

  • SAPSCRIPT Import Error

    I am not sure if im doing the right thing because this is my first time to do this. I tried exporting my sapscript form (using RSTXSCRP) going to my hard drive and it was successful and it is named "sapscript.scr". I tried importing it and i failed.
    What am I suppose to put on the Object name field? I am not sure if I am doing the right thing. I am thinking that the object name will be the new sapscript form name since I am performing IMPORT. Am I right? Pls correct me.
    Ple see screenshots below:
    import page:
    http://i150.photobucket.com/albums/s116/painkiller2007/sapscript_import.jpg
    error page:
    http://i150.photobucket.com/albums/s116/painkiller2007/sapscript_error.jpg
    Thanks in advance.

    Your file contains the definition of the form as Z_RVORDER01 and you are trying to upload the form with the name Z_SAPSCRIPT003. That's why system gives you this error.
    If you want your ultimate form as Z_SAPSCRIPT003.. then do this:
    1. IMPORT Z_RVORDER01 with same name from the file..
    2. Copy this Z_RVORDER01  to Z_SAPSCRIPT003
    SE71 > Utilities > Copy from Client
    Form name - Z_RVORDER01 
    Source client - your current client
    Target form - Z_SAPSCRIPT003
    3. Activate  Z_SAPSCRIPT003
    4. Delete Z_RVORDER01 through SE71.
    Regards,
    Naimesh Patel

  • SAPScript code error

    Hi All!
    I want to write the next code in a SAPScript form and I receive the marked error.
    /: IF ((&MSEG-XAUTO& NE 'X' AND &MSEG-BWART NE '309') OR              
       <b>AND, OR or end of condition expected                       </b>        
    =  (&MSEG-XAUTO& EQ 'X' AND &MSEG-BWART EQ '309')) .  
    The tag column is the error?
    Thank you for your answer.
    Best regards,
    Florina

    Thanks Santosh.
    I have the ENDIF. I copy all the code:
    /:   IF ((&MSEG-XAUTO& NE 'X' AND &MSEG-BWART NE '309') OR            
    =    (&MSEG-XAUTO& EQ 'X' AND &MSEG-BWART EQ '309')) .                
    M                                                                     
    L    &MSEG-MATNR&                                                     
    M                                                                     
    L    &MSEG-CHARG&                                                     
    /:   IF &MSEG-MATNR+4(7)& EQ '0000-00'.                               
    M     &EKPO-TXZ01& &MABDR-MAKTX(30)&                                  
    /:   ELSE.                                                            
    M     &MABDR-MAKTX(30)&                                               
    /:   ENDIF.                                                           
    /*   Boxã: &BOXA& /  &GEST&                                           
    M                                                                     
    L    &MSEG-LGORT&/&MABDR-LGPBE&                                       
    /*   &MABDR-LGPBE&                                                    
    /:   IF &MSEG-KDPOS& NE '000000'.                                     
    M    &MSEG-KDAUF&/ &MSEG-KDPOS&                                       
    /:   ENDIF.                                                           
    /:      IF &MSEG-LIFNR& EQ SPACE.                                     
    L    &FURNIZOR&                                                       
    /:      ELSE.                                                         
    M    &mseg-lifnr&                                                     
    /:      ENDIF.                                                        
    /*   ECHIV.LA:                                                        
    M    &ECHIV&                                                          
    /*   &EINA-IDNLF&                                                     
    /*   &CODFRZ&                                                         
    /:   ENDIF.                                                           
    Florina

  • Sapscript form error

    Hi ,
      I am working on goods receipt / goods issue slip .
    I used output type WA01 and copied the standard form to zform.When i designed my layout ,after the configurations  my form is attached to the standard program SAPM07DR.
    for goods receipt it is attached to the program in wa01, and for goods issue to the program in we01.
    But when i execute the t-code mb02, its creating express message saying update terminated by the author xxxxxx.
    from sm13, it points to error message 426 element kopf   or 427 WINDOW KOPF.
    some times its hitting other forms and dispyaing messgs w1kopf or we2kopf .
    my func people are telling that the output type which we created is already used by some one in my project with the same program name.
    when they attach my form to this , its working.But when we take out their form and attach my form to the program in that out type , its creating express documents.
    do i need to copy SAPM07DR program into zprogram and then attach my form to that.
    thx.

    It is not required to copy into zprogram.
    Just goto form paniter transaction,you need to uncomment the text element.
    Looks like you or someone commented the text elements,these are mandatory.
    just uncomment the text element ,you can comment the the below text or paragraph format.
    Thanks
    Seshu

  • Error including INCLUDE text

    Hi experts,
    I'm new at sapscript. I need to print the company logo on a label.
    I've read many posts everywhere and the task seems pretty simple.
    Somehow, I'm getting an error that I can't google anywhere while doing the sapscript check: "Error including INCLUDE text".
    I'm using the standard enjoy logo.
    The only command line is:
    /: INCLUDE ENJOY OBJECT TEXT ID ST LANGUAGE EN
    I'm mantaining the label text at OMCF.
    Any clue?
    Thanks in advance.
    Best regards,
    André Costa

    Hi ,
    /: INCLUDE ENJOY OBJECT TEXT ID ST LANGUAGE EN
    Here you are including the   Enoy Logo   but you have to check the Object name  for that logo  And text id
    go through this  link
    [http://www.sap-img.com/ts001.htm]
    Let me know if any concerns.....

  • Error: Remote host did not accept data file

    Went to tiger 10.4.4 and cannot print. Wireless connection to HP photosmart 1215 via SMC 2804 router was working with Gimp print driver - photosmart 1100 (1215 driver never did work). After months of fooling around after Jaguar to Tiger upgrade and similar printer failure, I was finally able to get this option (hp 1100) to work. Now, another update and no printing AGAIN. G5 iMac, other mac - G4 iMac - doesn't work after update either. What is going on??
    iMac G5   Mac OS X (10.4.4)  

    That seems to be an LPD error message, so you could try setting the printer up as either IPP or JetDirect, if the interface supports either one.

  • F9N3 Error log

    Hi,
    The user is trying to run the transaction F991, but he is not able to complete it as he is getting the error as "Account XXX for Bank Area XXXX" being edited by end of day processing run.
    I have checked that the error is related to program RFBKBSST for the T code F9N1 / F9N7.
    In F9N3, I could see that there are list of errors for the erroneous accounts being created around an year ego while running F9N1/F9N7 -
    1.SAPscript form error for account XXXX (internal acct no. 130), BkPoAr BGTR"
    2. There are already bank statements with posting date after 30.09.2010
    3. No bank statement could be output for account XXXX, bank area BGTR
    Can anybody please throw light as to how these errors can be recitified to be able to complete F991 successfully?
    Regards,
    S.Sumana

    Hi
    Any inputs on this query please?
    Regards,
    S.Sumana

  • Windows Server 2008r2 Printer Sharing

    Hi folks,
    I have a Windows Server 2008r2 set up as my workstation and I'd like to share the printer with my wife's MacBook. I've set up Printing Services on WS2008r2 and enabled IPP, LPD and everything else I could think of.
    The printer sharing works, our other laptop which is Win7 can use it normally, but setting up the share on a Mac is a whole new kettle of fish.
    I couldn't get it to connect via IPP, Mac keeps insisting on port 631 even though IPP is running on port 80 here. I have no idea what to put into the address field, if I copy/paste the URL the Mac doesn't recognise it. If I just put in the server name it's happy but insists on connecting to port 631.
    Next came LPD which seems to work, Mac connects to the server and picks up the printer. Which brings me to the next problem. If I use standard generic postscript driver then nothing happens, printer gets switched on on the server and stops. An event log entry reports an LPD error:
    "The Line Printer Daemon (LPD) service received commands in an invalid format from 192.168.2.106 and refused the print job. This can occur if the Line Printer Remote (LPR) client is incompatible with the Windows LPD service and Request for Comments (RFC) 1179. Try printing using a different LPR client."
    The printer is a Canon Pixma iP5200R. If I switch the printer options from generic postscript to a Canon printer it will print but it only uses about 60% of the space, so everything is shrunk on the page. It does print the full content of the page, just makes everything smaller. I managed to get this far by selecting one of the BJC (Bubblejet) models from the drop-down list.
    I've installed Canon's driver for iP5200 from their site but it's not available anywhere on the Mac. How do I tell the Mac to use a different driver?
    I feel I'm getting close to fixing this, but now the problem is in Macland and I'm not too familiar with it.
    Anyone got any suggestions? Any help would be appreciated!
    Thanks!

    I'm going to apologize first because I don't have a real solution and my post will sound negative, but my experience may give some insight.
    My experience is that Apple didn't get Windows printing "done right" until 10.5. Prior to that, I could never print to a Canon S800 printer attached to a Vista Ultimate machine. With the printer attached to a XP machine, I could print, but it would often fail. (Just no output and OSX saying printer was offline.) This was with a G3 B&W with 10.3 and a iMac with 10.4. And like you, I did try the IPP and LPD settings but just never got a usable setup.
    Then I got a Macbook Pro with 10.5. Printing worked fine straight out of the box to the same S800 printer on Vista. Mac Mini with 10.5 worked also. Upgraded both to 10.6 and printing still works. Even a clean reload of 10.6 on the Macbook, Windows printing is fine. Also to a Epson R280 attached to the same Vista machine.
    Windows 2008, having more in common with Vista and Win7, I'd guess that you may be having similar issues to me. I don't know of any fix, other than 10.5. If you have a friend with a newer Mac, then you can test it. (Otherwise, if you can upgrade your Mac to 10.5 or 10.6. But testing with a friend's Mac would save the cost of buying an OSX upgrade if it didn't work.)
    Like I said, no real solution, other than possibly upgrading to 10.5/10.6. So maybe just a pointer to a different line of thinking. Good luck!

  • Windows Server 2008r2 Printer Sharing over vlan

    Hi folks,
    I have a Windows Server 2008r2 set up as my workstation and I'd like to share the printer with 4 new macs. I've set up Printing Services on WS2008r2 and enabled IPP, LPD and everything else I could think of.
    The printer sharing works, our other laptop which is Win7 can use it normally, but setting up the share on a Mac is a whole new kettle of fish.
    I couldn't get it to connect via IPP, Mac keeps insisting on port 631 even though IPP is running on port 80 here. I have no idea what to put into the address field, if I copy/paste the URL the Mac doesn't recognise it. If I just put in the server name it's happy but insists on connecting to port 631.
    Next came LPD which seems to work, Mac connects to the server and picks up the printer. Which brings me to the next problem. If I use standard generic postscript driver then nothing happens, printer gets switched on on the server and stops. An event log entry reports an LPD error:
    "The Line Printer Daemon (LPD) service received commands in an invalid format from 172.16.8.106 and refused the print job. This can occur if the Line Printer Remote (LPR) client is incompatible with the Windows LPD service and Request for Comments (RFC) 1179. Try printing using a different LPR client."
    The printer is a Brother hl-6050D/DN series. If I switch the printer options from generic postscript to a Brother printer it will print but it only uses about 60% of the space, so everything is shrunk on the page. It does print the full content of the page, just makes everything smaller. I managed to get this far by selecting one of the BJC (Bubblejet) models from the drop-down list.
    I've installed Brother's driver for 5060D/DN from their site but it's not available anywhere on the Mac. How do I tell the Mac to use a different driver?
    I feel I'm getting close to fixing this, but now the problem is in Macland and I'm not too familiar with it.
    Anyone got any suggestions? Any help would be appreciated!+
    Thanks!

    I'm going to apologize first because I don't have a real solution and my post will sound negative, but my experience may give some insight.
    My experience is that Apple didn't get Windows printing "done right" until 10.5. Prior to that, I could never print to a Canon S800 printer attached to a Vista Ultimate machine. With the printer attached to a XP machine, I could print, but it would often fail. (Just no output and OSX saying printer was offline.) This was with a G3 B&W with 10.3 and a iMac with 10.4. And like you, I did try the IPP and LPD settings but just never got a usable setup.
    Then I got a Macbook Pro with 10.5. Printing worked fine straight out of the box to the same S800 printer on Vista. Mac Mini with 10.5 worked also. Upgraded both to 10.6 and printing still works. Even a clean reload of 10.6 on the Macbook, Windows printing is fine. Also to a Epson R280 attached to the same Vista machine.
    Windows 2008, having more in common with Vista and Win7, I'd guess that you may be having similar issues to me. I don't know of any fix, other than 10.5. If you have a friend with a newer Mac, then you can test it. (Otherwise, if you can upgrade your Mac to 10.5 or 10.6. But testing with a friend's Mac would save the cost of buying an OSX upgrade if it didn't work.)
    Like I said, no real solution, other than possibly upgrading to 10.5/10.6. So maybe just a pointer to a different line of thinking. Good luck!

  • Regarding SLIN scope

    hi guys,
    Do SLIN/SCI programs check for below errors too?
    1-BAPI related errors
    2-ABAP Query related errors
    3-SAPSCRIPT/SMARTFORMS errors
    4-IDOC related errors.
    Please suggest if any alternatives to find the upgrade error exist in programs using above.
    Thanks.
    Ambichan.

    Hi,
    You use this function to perform static checks, which are too time consuming for the normal syntax check. The extended program check returns both errors and warnings and it is possible to run either individual specialized tests or one whole standard check.
    It check only for Reports, Module Pools, Class & Interfce.
    Regards,
    Amit
    Reward all helpful replies.

  • Xerox Phaser 4500 : "remote host did not accept file (32)"

    Am trying to print to our networked Xerox Phaser 4500DT at work. Set it up as an LPR printer as I did with Tiger (setting it up as IPP gives a permission denied error when you try to print), and printed a test page. Worked fine.
    Try to print any sort of useful document, however, and I get a "remote host did not accept file (32)" error, when it's spooled about 20% of the document. Anybody run into this, or have any ideas?
    I've tried Leopard's built-in 4500 driver, and the Leopard driver from the Xerox website (which seems to be the same version anyway). I've also tried the trick of putting "lp" in the queue name field, which seems to have been the cause of this error for some people. No joy for me, though.

    That seems to be an LPD error message, so you could try setting the printer up as either IPP or JetDirect, if the interface supports either one.

  • Sapscript Error

    HI Gurus!
    i m geting an error while running a sapscript program -" Form ZREJECTNOTEin language EN is not active and has no errors ".
    Can u plz help me.
    Regards
    Rahul

    Hi,
    The script which you mentioned in the threas not active in the EN launguage eventhough you are running it in EN launguage. so copy it in EN launguage and aactivate it
    Regards
    Sudheer

  • Error while calling PERFORM in SAPSCRIPT

    Hi all,
    I am encoutering a error while calling a perform in sapscript.
    Does anyone know what is the main cause?
    The shortdump description is:
    Short text                            
        Missing parameter with PERFORM.   
    I do not know what is missing here.
    /: PERFORM GET_SPRAS IN PROGRAM ZPFI_F150_DUNN
    /: USING &MHNK-KUNNR&
    /: CHANGING &GV_SPRAS&
    /: CHANGING &GV_LAND1&
    /: ENDPERFORM
    *&      Form  GET_SPRAS
    FORM GET_SPRAS TABLES intable   STRUCTURE itcsy
                          outtable  STRUCTURE itcsy
                          outtable2 STRUCTURE itcsy.
      DATA: lv_kunnr LIKE kna1-kunnr.
      CLEAR: GV_SPRAS.
      lv_kunnr = intable-value.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = lv_kunnr
        IMPORTING
          output = lv_kunnr.
      SELECT SINGLE LAND1 SPRAS INTO (gv_land1, gv_spras) FROM KNA1
        WHERE KUNNR = lv_kunnr.
      IF sy-subrc = 0.
        READ TABLE outtable INDEX 1.
        outtable-value = gv_spras.
        MODIFY outtable INDEX 1.
        READ TABLE outtable2 INDEX 1.
        outtable2-value = gv_land1.
        MODIFY outtable INDEX 1.
      ENDIF.
      IF gv_land1 EQ 'DE'.
        CLEAR: GV_LAND1,
               GV_SPRAS.
      ENDIF.
    ENDFORM.

    Hi,
    Though there are a lot of importing parameters, you should give only one structure for outtable, and read as index 1 and index 2.
    FORM GET_SPRAS TABLES intable   STRUCTURE itcsy
                                              outtable  STRUCTURE itcsy.
      DATA: lv_kunnr LIKE kna1-kunnr.
      CLEAR: GV_SPRAS.
      lv_kunnr = intable-value.
      CALL FUNCTION 'CONVERSION_EXIT_ALPHA_INPUT'
        EXPORTING
          input  = lv_kunnr
        IMPORTING
          output = lv_kunnr.
      SELECT SINGLE LAND1 SPRAS INTO (gv_land1, gv_spras) FROM KNA1
        WHERE KUNNR = lv_kunnr.
      IF sy-subrc = 0.
        READ TABLE outtable INDEX 1.
        outtable-value = gv_spras.
        MODIFY outtable INDEX 1.
        READ TABLE outtable INDEX 2.
        outtable-value = gv_land1.
        MODIFY outtable INDEX 2.
      ENDIF.
      IF gv_land1 EQ 'DE'.
        CLEAR: GV_LAND1,
               GV_SPRAS.
      ENDIF.
    ENDFORM.
    Edited by: Srinivas Kalluri on Mar 30, 2009 5:00 AM
    Edited by: Srinivas Kalluri on Mar 30, 2009 5:10 AM

Maybe you are looking for

  • MacBook to iMac server connection

    I have been connecting my Macbook to my iMac successfully via server connection for years. After installing SL on my Macbook I cannot connect to my iMac (still has 10.5.8 on it) anymore. I can see my iMac in the sidebar in Finder but, but somehow it

  • Acrobat X combines several images into one when exporting to HTML

    I'm trying to export a PDF that contains a table of text and images to HTML. When I do, Acrobat correctly places the text in an HTML table. The individual images, however, are combined into a single image and appear outside the table. Here's a sample

  • Another Address Book label question

    Is there a way in the address book label printing to select the position of one label to be printed on, let's say, a 30 label sheet of Avery standard? Many times I just want to print one address label but have a sheet of labels that have several labe

  • No sound guy seem to know the answer, LOGIC AND VIDEO

    so I thought I would repost it here!! LOGIC AND VIDEO I have video playback droupouts, even with just a few tracks Using Blackmagic DeckLink HD Extreme™ video card. Video is QT DV PAL, Sound 48K,... usual (for europe). Is there some kind of buffer se

  • Having Problems Upgrading To OS X 10.9.3

    Hi, My iMac is currently running OS X ML 10.8.5 I'm trying to "download and clean install" my iMac to OS X Mavericks 10.9.3 But each time I open the App Store and click on download, an "error message: You have updates availavle for other accounts. Si