SAPScript form printing twice

Hi Experts,
I have a sapscript form being used in transaction LT31. When LT31 printing is executed, the form is always being printed twice. Where should I start investigating on this?
Thanks in advance!

Check the variant, I guess in variant you will have an options...
Regards,
SaiRam

Similar Messages

  • About include text in sapscript form printing

    hi experts:
        I am learning about form printing,the control command-include,for example:INCLUDE ZTEST OBJECT TEXT ID ST.
    the question is:how to ceate the text?
       thanks

    Hi,
    Standard text are used to include a Fixed Note or Rules or regulation document in SAPSCRIPT.
    You can include this text any where in your SAPSCRIPT, just by using include text.
    It is created in SO10 transaction, Where you can create the standard text. Object Name --> Starting with Z, Text ID --> ST, Language --> EN
    Just enter the text you want to display inside the editor and save it.
    Then go to sapscript editor --> in Menu Include --> Text --> Standard.
    It wil get included.
    Hope this may be useful..
    Regards,
    Prashant

  • Sapscript form print as PDF

    Hello,
    is there a way to setup a printer that we can print sapscript form into a PDF file?
    We don't want to go over the spool request and use RSTXPDFT4.
    I have already setup a printer with device type PDF1, Host Spool Access Method F:Printing on Frontend Computer and Host Printer __Default. But for some reasons it doesn't work. We are running SAP Enterprise 470.
    Any help?
    Thanks
    Anne

    You must choose a FILE printer. See these notes:
    [Note 576973 - Creating a file printer on a Windows PC|http://service.sap.com/sap/support/notes/576973]: steps to add a Windows (if it's Vista, see note 1164132) printer of type Generic/Text only, and to create an output device in SAP to print to this printer. It does not explain that we may just change the port of an existing printer.
    [Note 1164132 - Front-end printing on Windows printer with FILE port|http://service.sap.com/sap/support/notes/1164132]: note 576973 applied to Windows XP and before, but it doesn't work anymore on Windows VISTA because the dialog box to enter the file name is no more displayed. A change in SAPGUI 7.10 was made (and it works only with access method G) to display a SAP dialog box to enter file name.

  • Sapscript form prints #

    Hi,
    Pls reply back if you have come across such a sapscript issue before.
    Sometimes(Not always) all the contents in a sapscript print out (also the print preview) prints all characters as # . Each and every character on the form prints as '#### .....' .
    Printer used - Xerox WorkCenter
    Printer Driver - HP Laserjet 4 Series PCL - 5
    Let me know the soln in case anybody has come across such an issue before.
    Thanks,
    ashok

    Hi Ashok,
    Can you give some details, like is this happening for only specific printers or font+font size combination as SAPScript recognizes fonts with specific sizes for e.g. Font HELV has font sizes recognized by 10 and 8, 9 - HELV is not recognized by the Script.
    As for me I think this problem might be solved by changing Printer Configuration.
    Thanks
    Anirban M.

  • Physical Inventory SAPscript form printing.

    Hi Friends,
    we have developed a SApscript form and print program for physical inventory documnet . and we r using z transaction code to run this..
    now the requiremnt is . the same form and print program need to be called when they  run the transactions MI03, or MI01 or  MI02.
    it seems to be there are no Output types related to physical inventory.
    Could any one of you guide me how to do assign this custom form and program to these transactions.
    Its bit urgent.
    thanks in advance.
    Jeyaseelan.G

    Dear all,
    I think I've got the answer (even though it is 3 years after question was posted).
    Let me re-cap the problem:
    1) A set of SAPscript form and print program (beginning with 'Z') for physical inventory document are developed
    2) This set of SAPscript form and print program produce similar printout as that in T-code: MI03, or MI01 or MI02
    3) The SAPscript form is copied from "INVENT" or "INVENT_VKBW" and the print program is copied from "RM07IDRU" or "RWWVINVB"
    4) However, there is no output types available for configuration for user to print physical inventory document using this new set of SAPscript form and print program
    Am I correct ?
    The re-solution is:  Maintain the output types entries (program, form) in table "T159N"
    1) T-code: MI01 , MI02, MI04 will call T-code: MI21 when user selects to print physical inventory document
    2) T-code: MI21 will call print program "RM07IDRU" (this is maintained in T-code SE93)
    3) Program RM07IDRU" will call SAPscript "INVENT" or "INVENT_VKBW" (this is maintained in table "T159N")
    Hence, if you develop new sets of SAPscript form and print program (by copying from "INVENT" or "INVENT_VKBW" / "RM07IDRU" or "RWWVINVB"), try table "T159N".
    Simon

  • Sapscript form printing

    i am having a problem with a sapscript form for payment advice. its in germany but i want it in english. how do i convert it to english. the name of the form is F110_D_DTA. Its a standard form. if there is anyone who has this form in english please send it to my email: [email protected]

    Hi Chingarande,
    You can also try this.
    GO to SE71->Administrative Data. In language Attributes change the option "Translate to all languages" from "Do not ranslate".
    Ashven

  • My sapscript form prints a blank page...

    Hello experts,
    I am currently modifying a sapscript wherein it prints a page that doesnt contain any data in its main window. How do I prevent this? Again, thank you guys and have a nice day!

    Hi Viraylab,
    Assign a text element say it is 'TEST' to that window, and try to call the write_form with that text element.
    CALL FUNCTION 'WRITE_FORM'
    EXPORTING
       ELEMENT                        = 'TEST'
       FUNCTION                       = 'SET'
       TYPE                           = 'BODY'
       WINDOW                         = 'MAIN'
    IMPORTING
      PENDING_LINES                  =
    EXCEPTIONS
      ELEMENT                        = 1
      FUNCTION                       = 2
      TYPE                           = 3
      UNOPENED                       = 4
      UNSTARTED                      = 5
      WINDOW                         = 6
      BAD_PAGEFORMAT_FOR_PRINT       = 7
      SPOOL_ERROR                    = 8
      CODEPAGE                       = 9
      OTHERS                         = 10
    IF sy-subrc <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    Then whatever u write after this text element will get displayed on that particular window.

  • My sapscript form gets printed twice in PRD.

    Hello experts,
    We are currently facing a problem here. We just transported our sapscript tp PRD yesterday and today the users complained that the printout is always printed twice. But on our testing in DEV and QAS that isn't the case. Can you please give me possible causes of this problems and suggestions. Help would be greatlt appreciated.
    Again, thanks a lot guys and have a nice day!

    Check the output condition record which is generating the output, it might have been set to issue 2 outputs (number of copies). Output condition records are not transportable and can be maintained directly in production, that gives more reason to belive that things might work different across landscape.
    If you cannot figure out where to look for and exhaused all your options, debug the print program and check what is getting pass to FM OPEN_FORM call in "Number of copies".
    Thanks,
    Shashi Reddy

  • Duplicate printing In SAPScript form

    In SAPScript form, is it possible to print the same page twice in one go without creating the same window twice?
    There is a specific requirement that we need to print the same content twice.
    Thanks for your kind help.
    Ashish

    In the OPEN_Form function module you can pass the no. of copies OPTIONS-TDCOPIES.

  • Need  to show three diff sheets in a smart form , first to be printed twice

    Hi
    I need to show data in a smart form where I have 3 different sheets
    •     Process order request
    •     BoM
    •     Assembly
    where the first sheet will be printed twice .
    as header in each case we have order no , produced material order qty , qty produced etc with the title changing for each sheet . main window we have diff data depending on each form like it will b changing for process order req, bom , assembly .
    how to do that & I need to print each layout in 2 diff language.
    plz help.
    useful answers will be rewarded.
    Thanks

    Create three pages . The first and the last are static and the second variable.
    The first page repeat with a loop twice. The headers of the second pages and next has a window static (the header) and other variable .
    If you have two languages repeat the operation. Call the smartform with a parameter called language by example

  • Priting same SAPscript form on different printer: different results

    Hi,
    my client has different printer models and is claiming now that the forms appear different.
    Do I have to create a SAPscript form for each printer type?
    Is there a way to use the same form for all printer models?
    Would we have the same problem using SMARTFORM?
    Thanks for your help in advance!!!
    thomas

    Hi.
    You should not have one SAPscript for each printer type. Thats not really a good idea. I would first of all try to do some tests with different device types on your output devices.
    I don't think converting to SMARTFORM is the way to go if you don't feel like you have to. It is much easier to experiment with the device types.
    BR
    Niklas

  • Print on the last page of a Sapscript form

    Hi,
    Is it possible (and how) to print something (a filed of an internal table) only to the last page of a sapscript form?
    Thanks

    Hi
    if you want to print something at the end of a page....
    You can write it as this...
    in the main window...
    in the data element write it...
    /E END_DATA
    /: IF &PAGE&  EQ  &SAPSCRIPT-FORMPAGES&.
    &W_VALUE&.
    /: ENDIF.
    SAPSCRIPT-FORMPAGES variable is a system variable which stores the total pages.
    PAGE variable stores the current variable accordingly it will check for last page and print it.
    Now call it in the driver program .
    Regards.

  • Printing Street4 Street5 in SAPScript form BA00

    Hello All,
    I am trying to print additional lines of street address (i.e. Street4 and Street5) in the sales order confirmation SAPScript form (BA00) output. I see that the structure VBDKA is being used to display the Ship-to-party address details. However, it does not have the additional street fields in it.
    How can I print these additional street lines?
    Any help will be greatly appreciated.
    Thanks,
    Rugmani

    In the INFO1 page of the SAPScript form I inserted the following code:
    /:   IF &VBDKA-LAND1_WE& NE &SPACE&.               
    /*   * Ship-To Address (not identical to Sold-To)  
    /:   ADDRESS DELIVERY PARAGRAPH AS                 
    /:     ADDRESSNUMBER &VBDKA-ADRNR&                               
    /:   ENDADDRESS         
    /:   ELSE.               
    /*   * Output Partner (Sold-To)                                               
    /:   ADDRESS PARAGRAPH AS                                                     
    /:     TITLE    &VBDKA-ANRED&                                                 
    /:     NAME     &VBDKA-NAME1&, &VBDKA-NAME2&, &VBDKA-NAME3&, &VBDKA-NAME4&    
    /:     STREET   &VBDKA-STRAS&                                                 
    /:     POBOX    &VBDKA-PFACH&  CODE &VBDKA-PSTL2&                             
    /:     CITY     &VBDKA-ORT01&, &VBDKA-ORT02&                                  
    /:     POSTCODE &VBDKA-PSTLZ&                                                 
    /:     COUNTRY  &VBDKA-LAND1&                                                 
    /:     REGION   &VBDKA-REGIO&                                                 
    /:     FROMCOUNTRY &VBDKA-SLAND&                                              
    /:   ENDADDRESS                                                               
    /:   ENDIF.                                                                   
    However, I do not see the additional street lines filled in the form output.
    Is there something wrong with my code? I think VBDKA structure does not accomodate the additional street lines. Is there any other structure that I can use? Do I have to change anything in the print program?
    Thanks,
    Rugmani

  • Printing SapScript form in background

    Hi.
    How can i print a sapscript form when i launch its program via job????
    Thanks in advance

    Hi Javier,
    Did your print program has been designed such a way that the pop up will not appear asking for the print options if you want to run as a Job.I think if this is taken care, then the required details can be displayed in the spool. Give a try.
    Hope this helps.
    Thanks,
    Srinivasa

  • Printing SAPSCRIPT FORM vai RFC---URGENT

    Hi All
    I have a requirement where i am calling a Function moule (  present in destinataion system ) via RFC , from the source system.
    Inside the Function module , i have requirement to call/submit a print program for a script form (Considering that the Form and Print program are in destination system).
    Doing this, is there a way to have the SAPSCRIPT output ( ie a Spool) captured or copied in the source system?
    Any pointers on the above would be of great help.
    Thanks
    Pankaj

    Dear all,
    I think I've got the answer (even though it is 3 years after question was posted).
    Let me re-cap the problem:
    1) A set of SAPscript form and print program (beginning with 'Z') for physical inventory document are developed
    2) This set of SAPscript form and print program produce similar printout as that in T-code: MI03, or MI01 or MI02
    3) The SAPscript form is copied from "INVENT" or "INVENT_VKBW" and the print program is copied from "RM07IDRU" or "RWWVINVB"
    4) However, there is no output types available for configuration for user to print physical inventory document using this new set of SAPscript form and print program
    Am I correct ?
    The re-solution is:  Maintain the output types entries (program, form) in table "T159N"
    1) T-code: MI01 , MI02, MI04 will call T-code: MI21 when user selects to print physical inventory document
    2) T-code: MI21 will call print program "RM07IDRU" (this is maintained in T-code SE93)
    3) Program RM07IDRU" will call SAPscript "INVENT" or "INVENT_VKBW" (this is maintained in table "T159N")
    Hence, if you develop new sets of SAPscript form and print program (by copying from "INVENT" or "INVENT_VKBW" / "RM07IDRU" or "RWWVINVB"), try table "T159N".
    Simon

Maybe you are looking for

  • SharePoint Connection not available with Visual Studio 2013

    I've installed Visual Studio 2013 in my SharePoint 2010 environment. When I try to add the existing SharePoint Connections I've used in Visual Studio 2010 there is always the same error: Remote SharePoint site connections are not supported. The Share

  • Presentation variable in iframe/narrative view/Go URL

    I am able to see the peresentaion variable declared in Dashboard Prompt in narrative view. But when I put in iframe with narrative in Go URL then i am not able to filter the report based on presentation variable Values..." The page throws error 'saw.

  • HT1454 Iphone to TV?

    I recieved a gift movie from "12 Days" app.  My iphone is too small to watch it with my grandson on.  Is there a way we can watch it on the TV?

  • Help with alpha transparency

    Can some one help me with changing a MC from 0% alpha to 100% alpha in actionscript?

  • Doubt about interfaces in "final Runnable closerRunner = new Runnable()"

    Till this date i think that interfaces can not be instantiated because they dont define methods.But one line of code found in a sample program(creating splash screen)creates lots of confusions to me.The line is as follows: final Runnable closerRunner