Error in printing SAP Script

Dear All,
I need some help frm u gurus.
Theres a Z-SAP Script that I made.........the same is running fine in quality but when transported to production client it gives error in PERFORM START_FORM USING FORMNAME LANG 'MAIN'. saying that the form doesnot exist in language 'EN'.
What can be the problem?? Any suggestion....?
Thnx.

just check it out whether you will have properly released and whether it is reached to the destination client.
one more thing check in language option of that script in se71 screen in language option whether english is maintained.
if further information please reply
rewards points if useful

Similar Messages

  • Error while printing (SAP spool error)

    Hi,
    I have configured a printer of type 'C : Direct Operating System Call'. On printing a page, an error occurs with the following log entries
    SAP spool error log
    =====================
    Print request processing log
    The host spool is reporting errors
    Windows/NT error 1775: "A null context handle was passed from the client to the host during a remote procedure call."
    Errors occurred processing this print request
    Error during print request output. l_rc = 1
    There may be no printout
    Please. can someone help me out here.
    Thanks!
    Regards,
    Angad

    Ok I am upgrading from R/3 46C to ECC 6.0, on the 46c system the printers are configured as follow:
    Device type          HPLJ4    : HP Laserjet 4 series
    Spool server          sapprod1_PRD_00       sapprod1
    Device class          Standard printer
    Host spool access method C: Direct operating system call
    Host printer          
    srtroot03.startek.com\srt-dc-c4-sharp
    Host name          sapprod1
    On the ECC 6.0 system the printers are configured as follows:
    Device Type          HPLJ4    : HP Laserjet 4 series
    Spool Server          srtsapeccdev1_DEV_00
    Server Description
    Host               srtsapeccdev1
    Device Class          Standard printer
    Host Spool Access Method C: Direct operating system call
    Host printer          
    srtroot03.startek.co\srt-dc-c4-sharp
    HostName          srtsapeccdev1
    The 46c system prints just fine, on the ECC 6.0 systems; I can not get the printers to work.  I have made sure that the hosts file on the ECC server has the printer host address, and I get the following error back:
    SAP spool error log
    =====================                                                     
    Print request processing log
    The host spool is reporting errors
    Windows/NT error 5 [
    srtroot03.startek.com\srt-dc-c4-sharp]: "Access is denied."
    Errors occurred processing this print request
    Error during print request output. l_rc = 1
    There may be no printout
    The access to the Printer Host is wide open, what do I need to do to resolve this issue.

  • PO Print SAP scripts:Grand total field -- High priority

    Hi experts
    In a PO print out, For example in one line item ,I have conditions printed as below
    Line iem 1.
    Gross price -- 1000
    VAT% 40
    Service Tax -
    123.36
    Net. Incl. Disc. 1163.36
    Line iem 2.
    Gross price -- 500
    VAT% 20
    Service Tax -
    61.8
    Net. Incl. Disc. 581.8
    Grand total----
    1500
    (desired tgrand total 1163.36+581.8)
    I have many line items like this and the total of all conditions at individual line item printed is correct.
    But at the bottom of the PO print, in the "Grand Total" the sum of only the Gross values is printed (Not the total of the Net. Incl. vlaues of line items).
    I got info from our developer that we are using SAP scripts (not smart forms).
    Please guide me if anyone has come accros a issue like this and got the answer. This is urgent.
    Thank you
    MRao

    To calculate grand totals and sub totals in sap scripts you have to use subroutines.
    Say if you have to add the unit price (KOMVD-KBERT) then in the main window where ever that value is picked write this routine
    /: DEFINE &TOT_PRICE&
    /: PERFORM F_GET_PRICE IN PROGRAM <subroutine prog name>
    /:USING &KOMVD-KBERT&
    /:CHANGING &TOT_PRICE&
    /:ENDPERFORM
    Then write the variable where ever you want it to be printed (mostly grant total will be in footer window)
    Then create subroutine pool program and you have to write the following code.
    FORM F_GET_PRICE tables int_cond structure itcsy
                                               outt_cond structure itcsy.
    data : value type kbert.
    statics   value1 type kbert.
    Read int_cond table index 1.
    value = int_cond-value.
    value1 = value1 + value.
    Read outt_cond table index 1.
    outt_cond-value = value1.
    Modify outt_cond index 1.
    ENDFORM.
    I have given a rough example,
    Note:Int_cond-value and outt_cond-value are characters.
    Close the thread once your question is answered.
    Regards,
    SaiRam

  • Getting the error in the sap script

    Hi,
    I am running the Tcode f.26, which uses the standard sap script named F_DUZI_01. When running I am getting the error:
    Element 0031 window INFO is not defined for
    F_DUZI_01
    Please suggest what should i do or what could be the reason behind the problem.

    Hi,
    Check the Script whether that element is being used or not. Such  errors raise when you called the elements in the program without delcaring in the script.
    Please close the thread, if solved
    Regards,
    Aditya

  • Error while displaying SAP script

    Hi,
      I was trying to display a SAP script by passing the values.
    When i click the preview button from the Dialog window It's displaying error called "CALL CONTAINED error (ADS(2)) "
    Can anyone explain why this problem is coming and what we want to do for making it work.

    Hi,
    Check for the data types of the variables you are passing values.
    There can be any data miss match.
    Regards,
    Rajesh Kumar

  • Printing sap script to spool by skipping print parameter window

    Hi all,
    I am trying to print an output (derived from sap script) directly from program to spool and then fetch the spool request and download it to PDF. This should happen automatically when the end user executes the program by giving required inputs. Can any one guide me on this ?
    Rgds,
    Praveen

    Hi all,
    I got the problem solved. Thanks for all who replied and supported me. This is how i solved it. This is not the full code. I am not giving declaration part here. But this is the main blocks which is going to work.
    Data: purdocno TYPE string,
                        v_len_in TYPE i.
    PERFORM open_from.
        LOOP AT it_itab.
          ON CHANGE OF it_itab-ebeln.  
              PERFORM start_form.
              PERFORM write_form.
              PERFORM end_form.
          END ON.
        ENDLOOP.
    PERFORM close_form.
    PERFORM convpdf.
    FORM convpdf.
        CALL FUNCTION 'CONVERT_OTF'
         EXPORTING
           format                      = 'PDF'
    *       MAX_LINEWIDTH               = 132
    *       ARCHIVE_INDEX               = ' '
    *       COPYNUMBER                  = 0
    *       ASCII_BIDI_VIS2LOG          = ' '
           PDF_DELETE_OTFTAB           = 'X'
         IMPORTING
           BIN_FILESIZE                = v_len_in
    *       BIN_FILE                    =
          TABLES
            otf                         = i_otf
            lines                       = i_pdf
         EXCEPTIONS
           ERR_MAX_LINEWIDTH           = 1
           ERR_FORMAT                  = 2
           ERR_CONV_NOT_POSSIBLE       = 3
           ERR_BAD_OTF                 = 4
           OTHERS                      = 5.
        purdocno = s_ebeln+3(10).
        concatenate 'c:\' purdocno '.pdf' INTO purdocno.
        CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
    *      BIN_FILESIZE                    =
          filename                        = purdocno
          FILETYPE                        = 'BIN' " important
    *    IMPORTING
    *      FILELENGTH                      =
         tables
           data_tab                        = i_pdf
         EXCEPTIONS
           FILE_WRITE_ERROR                = 1
           NO_BATCH                        = 2
           GUI_REFUSE_FILETRANSFER         = 3
           INVALID_TYPE                    = 4
           NO_AUTHORITY                    = 5
           UNKNOWN_ERROR                   = 6
           HEADER_NOT_ALLOWED              = 7
           SEPARATOR_NOT_ALLOWED           = 8
           FILESIZE_NOT_ALLOWED            = 9
           HEADER_TOO_LONG                 = 10
           DP_ERROR_CREATE                 = 11
           DP_ERROR_SEND                   = 12
           DP_ERROR_WRITE                  = 13
           UNKNOWN_DP_ERROR                = 14
           ACCESS_DENIED                   = 15
           DP_OUT_OF_MEMORY                = 16
           DISK_FULL                       = 17
           DP_TIMEOUT                      = 18
           FILE_NOT_FOUND                  = 19
           DATAPROVIDER_EXCEPTION          = 20
           CONTROL_FLUSH_ERROR             = 21
         OTHERS                            = 22.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDFORM.

  • Error when including SAP Scripting Control

    Hello,
    I was using SAP Scripting Control in VB with SAPGUI 620 without any problems. I upgraded my SAPGUI to 640 (patch level 8). Now, I am not able to include the SAP Scripting Control (sapfewse.ocx) in Visual Basic. Whenever I try to include it, I get an error "Circular dependencies between modules". Am I doing something wrong?
    I also installed the patch level 20 but I still get the same error.
    Any help would be highly appreciated.
    Thanks.

    Hi Vishal,
    please upgrade to the latest 640 patch. The problem was fixed, I think patch 11 should work fine.
    Best regards,
    Christian

  • Printing sap script for multiple customers

    Hi,
    I have a requiremnt to print the form for multiple customers. How should i use the sap script function modules? i.e. in which sequence?
    for example customer A has 5 pages. customer B has 4 pages.
    after printing 5 pages of the customer A, it should print 4 pages of the customer B.
    regards,
    CK

    To print accroding to your requirment you should modify your driver program like this...
    Sort <Internal table by KUNNR.
    LOOP AT <internal table>
    AT NEW KUNNR. "Customer..
    **Call Function module OPEN_FORM
    END AT.
    AT END OF KUNNR.
    ***Call function CLOSE_FORM
    ENDAT.
    ***Call all your Write_FORM
    ENDLOOP.
    Regards,
    SaiRam

  • Problem in multiple page printed (SAP Script )

    Hi Experts ,
    In SAP Script print ,
    First page print is perfect on preprinted stationary ,but
    Second page data is getting printed 2-3 cm up.
    Please tell me various reason for this ...
    Thanks
    Sonal

    Hi Sonal ,
    This happens with your predefined stationary .
    Are you declaring it in the same window where your declaring your data ?
    If yes, Try taking another variable window and keep all your predefined sationary there and then call it evry time you call your window with data .
    Or, It can be with the Text element try giving 2 empty lines before the text element it solves your problem!
    Hope it helps!
    Much Regards,
    Amuktha .
    Edited by: Amuktha Naraparaju on Feb 9, 2009 9:57 AM

  • Junk Characters on first two pages of Cheque Printing SAP Script.

    Hi All
    I implementing cheque printing for one of our client's Oman based subsidiary. I have copied the standard SAP Script F110_PRENUM_CHCK into a Z-Form and maintained its original language as EN. I have commented out all the unnecessary peices of information in all the windows and customised as per my requirement.
    Now the problem that i am facing is that when i execute this script through the standard driver program RFFOUS_C, i am getting junk characters on first two pages of the script. The info displayed comes in the HEADER and MAIN Windows. The desired output is coming in the 3rd, 4th and 5th pages.
    Please let me know how should i get rid of these junk characters.
    Regards
    Harsh
    PS: All info printed is in English only.

    Hi
    Thanks for your response.
    Yes, the remittance advice header info is getting printed in the HEADER Window and its contents in the tabular structure are in the MAIN Window.
    I am passing EN as the language.
    Adding to this, the report RFFOUS_C gets executed and i am checking the spool that is created which has the junk characters on the first two pages.
    Regards
    Harsh

  • Problem while printing SAP Script

    Hi All,
    I have one scenario, in which I have to copy the Standard SAP Script  form (HR_ALL_FIX) client '000' and import in the development server as custom SAP script(ZHR_ALL_FIX)  and making change in main window the text. Instead of  "Yours Faithfully" text I have changed it to 'Warm Regards'.
    When I try to view the print preview of the script from PP40 tcode,  the output is overlapped.
    Instead of 'warm regards' to be displayed at the end of the page, its being printed in between somewhere.
    No other changes I have made.
    Any inputs and help will be really helpful.
    Thanks in advance

    I am still facing the problem . tried everything. Have only changed the language while copying from DE to EN.
    Also, just creating a Z form without ANY change at all( even the printer used to check print preview is the same)... and attaching it to OOVM transaction and then checking the print preview - TEXT comes randomly (in different order)
    Any help will be really appreciated and rewarded..
    Awaiting help.
    Edited by: HeenaChampaneri on Apr 15, 2010 8:39 AM

  • Question on Printing SAP Script

    Hi Group,
    I have an urgency in printing a SAPScript. I would like to know how to change the printer settings to hold the page of a particular size for printing.
    Please let me know the procedure to achieve this and also the transaction(s) relating to this configuration.
    My requirement:
    I want to create some settings to a SAP Script page and I want to use the same configuration (of the page) while running the driver program.
    My Issue is:
    I have a page(SAP Script) in which I want to print exactly 3 cheques for the page.
    But, currently, I am able to get only one cheque getting printed and remaining 2/3 of the page is getting wasted. So I want to do the configuration accordingly to achieve my task.
    Please let me know your valuable inputs.
    Thanks & Regards,
    Vishnu.

    We don't include the audit trail content in the specification print out.   I recommend using a BI Publisher contextual report that you can launch from the specification.  You can learn more about custom reporting in the extensibility pack reporting guide.

  • Printing SAP Script from PCUI

    Hi,
      How shall we print Sapscripts from PCUI.
    Thanks and Regards,
    Abdul Raheem .S

    Abdul, is it not a valid option to translate your SAPScript to a Smartform? This is much easier to handle and also follows SAP's future development. Tiest.

  • Element missing error message in sap script

    I have added some extra text elements ibn my Script and transported it into Quality.
    I can see those added elemetns through SE71. But when i run the transaction if i see in debugging mode iam not able to see the added elements in the script.
    I have write_form FM to each element.
    Please advice?
    Regards,
    Vinay.

    It has 7 versions.
    Client   Version                      Lang O.lng     Description
    010      Active                       DE   EN        Lieferschein
    010      Active                       EN   EN        Delivery Pick List
    010      Active                       FR   EN        Delivery Pick List
    010      Active                       IT   EN        Delivery Pick List
    010      Active                       PT   EN        Delivery Pick List
    010      Active                       ES   EN        Delivery Pick List
    010      Active                       FI   EN        Delivery Pick List

  • Problem in printing SAP Script Page Numbering

    Hi All,
    Am facing a problem like : Page Numbering in one of my form is getting printed from 0 (I mean initializing from 0).
    Eg : Page 000 of 003
           Page 001 of 003
           Page 002 of 003
    I want to get printed as :
          Page  001 of 003
           Page 002 of 003
           Page 003 of 003
    Could you pls help me in this regard.
    Thanks In Advance.
    Thanks,
    Madhu.

    Hi,
    You can solve this problem by setting the page counter mode to "start" and the numbering type as "Arabic", in the page attributes.
    Regards,
    Ajith V

Maybe you are looking for

  • "Your video is turned off" on Skype for Mac

    Recently, my iMac is displaying "Your video is turned off" when I try to videoconference with some other Skype users. I have Skype 6.3 installed. My wife is overseas for 6 months, and she is using a MacBook with Skype 2.8 installed. She refuses for p

  • Increase the size of the net order value

    Hai, i want to increase the size of the net order value, actually the net order length is 9 charector's but i want to increase the length up to 12 , is any possiablity is there, and another one is today i released one lostdated po. nextday i check th

  • Add Tax IDs to BP on SAVE (new)

    I'm trying with the following code to add a Tax ID to the BP while I'm saving it (New). But I don't get the BP ID. BUPA_NUMBERS_GET doesn't return BP ID. 'BBP_BUPA_GET_NUMBER' doesn't return BP ID. How can I solve this issue? Best regards. METHOD if_

  • Error : Bigger type length than Maximum

    Hi I am using JBOSS Server-with ORACLE 10g-xe(express edition),Thru prepare statement it works well,But thru callable statement it is not working .I am getting the following error Bigger type length than Maximum . I am using jdbc:oracle:thin@host_nam

  • Displaying Image in Document Category Created through N2T6

    Hi Experts,        I am Creating a Document Category in ISH from Tcode N2T6 i want to display the image on the Screen Created  for Document   Category.          Please let me know how to display image in document category. Regards, Rajesh