Script print preview

hi all,
i am seeing the print preview in tcode recpa520, giving company code,f8,press print preview. i am seeing the invoice print preview,i want to find the output type,application type,form name for this.in this tcode there i no messages option to see the output type.
recpa520 is tcode for invoice correspondence. can any body help me how to find the script name,output type,application type for this.
thank in advance
siva

Hi Siva,
         Can you tell me please, wheather its a "Z" driver program or Standard driver program.
         After execution of the program/transaction code go for <b>systems</b>> then for <b>Status></b> then you can find the <b>program name.</b> You can go into that and search for  the <b>Open_form</b>. Before Open form set the <b>BreakPoint</b> there you can find the form name which will pass during run time through variable.
         other option is that go for <b>NACE</b> transaction and see for <b>routine,</b> <b>for example</b> If it is invoice then it will be Billing. select your that<b> area</b> and click on <b>Output type button.</b> there you can see the output types You can go in that and see for program and form name, then you can confirm the output type.
reward point if it is helpful.
Regards
Sagun Desai.

Similar Messages

  • '#' unexpectedly inserted into output fields in script print preview

    Hello Experts,
    I came across a problem that confused me so much that when i try to see the print preview of a script form, the output fields in Main window were all printed with '#' inserted, as below:
    the output is like 7#8#0#0#0#....but it should be 7800017167
    and also, for other fields like date and amount, the same problem occurs.
    But the most weird thing is that, the issue only occurs in the Main Window of the second page of the form, but not in the first page although they share the same  Main Window. And what's more, it only happened in the Testing System, I can not replicate them in develop system...
    I know it may be a very isolate problem, but i just want to try my luck to see if any of you could shed me some light~
    Thanks!

    Hi Siva,
             Can you tell me please, wheather its a "Z" driver program or Standard driver program.
             After execution of the program/transaction code go for <b>systems</b>> then for <b>Status></b> then you can find the <b>program name.</b> You can go into that and search for  the <b>Open_form</b>. Before Open form set the <b>BreakPoint</b> there you can find the form name which will pass during run time through variable.
             other option is that go for <b>NACE</b> transaction and see for <b>routine,</b> <b>for example</b> If it is invoice then it will be Billing. select your that<b> area</b> and click on <b>Output type button.</b> there you can see the output types You can go in that and see for program and form name, then you can confirm the output type.
    reward point if it is helpful.
    Regards
    Sagun Desai.

  • Unicode Sap Scripts - Print preview contains overwriting

    Hi All ,
    After doing unicode test, the program output when i see in print preview gives me unreadable charecters and overwritings . Earlier version 4.6 c did not had this problem ... i am new to sap scripts any  help is highly appreciated.
    regards,
    Amarnath Reddy.

    Amarnath Reddy,
    SAP GUI code page you can check in the following way:
    open SAP GUI, put cursor on your system item, click 'properties', 'change' or 'settings' (not sure how it is called) and you will get it.
    I am not an expert in basis but to check application server code page you can run report RSPARAM1 and search for parameter that contain 'codepage' in its name (for example install/codepage/appl_server).
    Perhaps that the reason of your problem,
    Kind regards,
    Tomasz Kozerski

  • How to find out the driver program and script for print preview for PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    Hi,
    check with  below table
    TNAPR   ---  Processing programs for output
    and NACE Transaction code
    NACE  --  out types
    Regards,
    Madhu

  • Ho to find script and the related print program for print preview of PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    U Can check Driver program and form related to that program table is TNAPPR
    Goto NACE t.code
    Selct Application ---> click on output types
    then u wil get one window there select proper output type and
    double click on  processing  routines u wil get form name and related driver program name also
    Plz try this....
    Edited by: Upender Verma on Feb 9, 2009 1:33 PM
    Edited by: Upender Verma on Feb 9, 2009 1:37 PM

  • Convert OTF along with Print preview in SAP Script

    Hello All,
    I was getting a print Preview for the sap script, now with the new requirement, I had to capture otf data too in OPEN_FORM. so I have added  "TDGETOTF = X", and that gives me otf data which I am converting it to PDF. now the problem is I am not getting preview anymore. my requirement is to have both, Preview and otf data. I have tired serching in forums and also used a function module SSFCOMP_PDF_PREVIEW, but no luck. what am I missing here. Please suggest.
    Thanks-
                                            TDPAGESLCT                                       
                                            TDCOPIES                                             1
                                            TDDEST                                             LOCL
                                            TDPRINTER                                       
                                            TDPREVIEW                                             X
                                            TDNOPREV                                       
                                            TDNOPRINT                                       
                                            TDNEWID                                             X
                                            TDDATASET                                             SAP11
                                            TDSUFFIX1                                             LOCL
                                            TDSUFFIX2                                             1000
                                            TDIMMED                                       
                                            TDDELETE                                       
                                            TDLIFETIME                                             7
                                            TDSCHEDULE                                       
                                            TDSENDDATE                                             00000000
                                            TDSENDTIME                                             000000
                                            TDTELELAND                                       
                                            TDTELENUM                                       
                                            TDTITLE                                       
                                            TDTEST                                       
                                            TDPROGRAM                                       
                                            TDSCRNPOS                                             000000000000000
                                            TDCOVER                                             D
                                            TDCOVTITLE                                       
                                            TDRECEIVER                                             ABCDEFGH
                                            TDDIVISION                                       
                                            TDAUTORITY                                       
                                            TDARMOD      
    TDIEXIT                                       
    TDGETOTF                                             X
    TDFAXUSER                                       
    TDRDIDEV                                       
    TDNOARMCH                                       
    TDFINAL                                       
    RQPOSNAME                                       
    BCS_REQST                                       
    BCS_STATUS

    Maybe you can call the form twice - once with tdgetotf = 'X', the second time with it blank.

  • Not able to print the script form from print preview

    Hi Experts,
    I need to print one of the script form from print preview. As per the req. first i need to generate a print preview of this form and if required should be able to print it from this preview.
    i am able to generate print preview and also able to see the print option but when i try to print it is going to the spool (which i dont want). I want it to be printed directly to the printer instead of sending it to the spool.
    Please suggest me
    The way i coded it is
    DATA: arcpar TYPE arc_params,
                pripar TYPE pri_params.
    CALL FUNCTION 'GET_PRINT_PARAMETERS'
        EXPORTING
          layout                 = 'X_65_132'
          line_count             = 65
          line_size              = 132
        IMPORTING
          out_parameters         = pripar
          out_archive_parameters = arcpar
          valid                  = val
        EXCEPTIONS
          archive_info_not_found = 1
          invalid_print_params   = 2
          invalid_archive_params = 3
          OTHERS                 = 4.
      pr_options-tddest = ''.
      pr_options-tdpreview = 'X'.
      pr_options-tdnoprint = ''.
      pr_options-tdsuffix1 = 'STUFF'.
      pr_options-tdsuffix2 = matnr.
      pr_options-tdimmed = ''.
      pr_options-tdlifetime = '2'.
      pr_options-tdprogram = Form-name.
    CALL FUNCTION 'OPEN_FORM'
        EXPORTING
          device   = 'PRINTER'
          dialog   = space
          form     = "purchase or"
          language = sy-langu
          OPTIONS  = pr_options
        EXCEPTIONS
          canceled = 01
          device   = 02
          form     = 03
          OPTIONS  = 04
          unclosed = 05.
      CALL FUNCTION 'START_FORM'.
    ENDFORM.                    " open_and_start_form
    Thank you.

    Hi,
       Just pass the value 'X' to "pr_options-tdimmed" field.Try this.
    I hope,it help you
    <=<< Sharing Knowledge is a way to Innovative  >=>>
    By,
      Yoga

  • Print preview issue with invoice script

    Hi folks
    i am working on preparing UTP for a invoice script(modification of standard one).
    here when i am running the billing document number in VF02 i am not able to see the print preview.
    i would like to know what should i do on this as i need a printpreview to prepare  UTP on this layout.
    when i select the message type(output type) of that layout and press the option print preview nothing is happening.
    when i say print in the status bar it is giving success message and when i saw in the spool the status is in waiting.
    can anyone let me know what i need to do ?
    thanks in advance

    Hi
    Do u know the o/p type  of the script ?
    if not ist see the out put type by going to Tcode NACE
    after thatjust go through the steps...
    1 vf02 > give a doc no-> enter
    2
    from menue bar chose GOTO> Header> output
    3.
    now give the output type . medium -> printout press enter
    4
    save and go bck to 1st screen of vf02
    from menue bar chose billing document--> issueoutput type
    chose select the printout and select print preview.
    rewards if useful
    Regards
    Sachhi

  • Print preview is different from print in scripts

    Hi,
    i am  having issue in alignment of sap script .i have adjusted my form output based on print preview .but when i am taking the output i  am having alignment issue .Not only that there are some missing column boundaries in printout.
    Now i cant make alignment based on printout because i am having 12 column in output and its difficult to take printout everytime i check for alignment.

    Hi,
    Please check whether the printer name is same in preview and printout generally we are checking the preview
    on our windows printer(LOCL) where as your client may cheak the printouts in some other printer in your print
    preview also please change the printer what he is using for printouts.
    Some times margins may cut due to the settings in the printer we must maintain some space for borders.
    Coming to your allignment point  the space for spaces  and fonts it may vary from printer to printer so
    create multiple windows to design the text in the pattern you exactly required instead
    everything in one single window or atleast write them in different lines and if possible avoid any spaces are there
    before your text.
    Thnaks,
    Phani.

  • Script form configured to VA01,VA02 & VA03..help me with Print preview?

    Hello,
    Very Good afternoon!
    There is a Script form which is configured to VA01, VA02, VA03.
    I have difficulty to access Print preview from Va01/va02/va03.
    I am able to access it through T-code SOST.
    It is correctly configured in Nace.
    When I go to T-code VA02 and provide appropritae saled Order number then it will take me to the next screen there...
    I had clicked on Extras>Output>Header-->Print Preview.
    It says that Output could not be issued.
    When I click on Extras>Output>Header-->Edit
    It will display the Output type, Medium, Print Output and 
    Partner function. I see that it is displaying in yellow color. Genrally it should be green in color.
    Can anyone guide me what are the things that I need to check in this window genrally to access Print preview.
    Do i need to check anything here in Nast table...?
    Please suggest...
    Any suggestion would be appreciated.
    Thanks & Regards,
    Developer.

    Hello Sathya,
    Thank you for your response!
    Sathya- It is correctly configured. it has something to do in the NAST TAble. If it is not configured properly in the NACE then it will not show the out put in the T-code SOSt.
    Can you please suggest what I can chcek in the NSAT table or plz tell the standard way to configureing the Output type in this path.
    VA03 > Extras->Output>Header>Edit.
    Here you have to give its settings....Please chek..
    Any suggestions will be apprecaited.
    Thanks & Regards,
    Developer.

  • Difference in LOCL print preview for same script in two different systems

    Hi All,
    When I am testing a dunning letter ( Custom sapscript) in my testing system the LOCL print preview is correct...When I am testing  it in my development system by taking print preview from LOCL it is not printing a uline and some line item headers...
    There is one text element for printing line item header.
    U1....ULINE(73)
    T0    &vline& ....&T_MATNR&..
    T3    &vline&
    UL   &ULINE(73)
    IN Development sytame in print preview every thing is perfect except the above portion the first uline and vline are not getting printed and as a result next vline and uline are dispalyed a bit above .. I am unable to understand why one uline is not printed but the othe one is printed as we are using HELVE12 in both cases and above all  why in test system this problem is not occuring..
    I checked and am 100% sure there is no difference between the layout versions in the two sapscripts...Also checked most of the SPAD configs in two systems and found them same..
    Can you give me any idead about the reason for the diffrence in print preview as in both cases it will consider the printer installed on the local desktop....
    Just we use citrix metaframe to log in SAP but that should not be the reason as thne problem would be in both system..
    Please help me out...
    Thanks and Regards
    Sweta

    Hi ,
    I already mentioned that I am selcting LOCL ( Device type Sapwin)  in both cases so in both cases it is considering the printer installed on the local system...
    Can anyone tell me specific spad config or anything else which I need to compare in both systems..

  • In PO script values not flowing in Print out ( print preview is ok)

    hi,
                                I am modifying MEDRUCK so that I can place a new Window to display <i><u>PO text</u></i>   . I am using FM 'READ_TEXT' to get the <i><u>PO text</u></i> .  In <b>print preview</b> I can display the <u><i>PO text</i>,</u> but in <b>print out</b> <i><u>PO text</u></i> is missing .    Can you please help me .
    Regards ,
    Antony .

    Hi
    The following statements in the Main window of Medruck are responsible for printing the Header and Item texts of the PO
    Header_Text
    /: INCLUDE &T166K-TXNAM& OBJECT &T166K-TDOBJECT& ID &T166K-TDID&  LANGUAGE LANGUAGE &EKKO-SPRAS& PARAGRAPH IX
    Item_text
    /: INCLUDE &T166P-TXNAM& OBJECT &T166P-TDOBJECT& ID &T166P-TDID& LANGUAGE &EKKO-SPRAS& PARAGRAPH IX
    And they are maintained under the text elements HEADER_TEXT and ITEM_TEXT
    so if you want these texts to be printed in your window corresponding text elements have to be used along with the Include statements
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Alternative to Print preview in Script

    Hi all,
      i can not see the print preview for my form. its showing <i>'No authorization for output device LP01'</i>.
    <b>Is there any alternative to display the print priview</b>.using the OPEN_FORM Function module

    I  DON'T  KNOW  ABT  ANY ALTERNATIVE  METHOD  BUT ...
    for  this  eror  just   go to to basis  person he  will do that don't  have  to  worry...
    otherwise  if  u want to do  some r&d try with transaction<b> SPAD</b> .

  • Condition type freight is not getting displayed in print preview

    Hi,
    I created PO, and while seeing its print preview:
    Condition type freight is not getting displayed.
    Where i missed?
    Uts

    hi,
    Inddition to M/08...(As given above)...
    Also do check the smart form or SAP script...used for the output...check it with the ABAPer...whether the field is liable for o/p or not??
    Smart form is attached at message type of message determination..
    Regards
    Priyanka.P

  • Canon printer / unable to print a brcode / print preview ..

    Hi ,
    After all those sdn searching and googling i still not in the correct way
    Barcode is not getting displayed in either print preview or in print output .
    1. SAPSCRIPT-BARCODETEST - (so10) standard text is displaying barcode in atleast in print preview .
    2. *In smartform *is displaying barcode in print preview .
    3. In sap scripts  unable to get print preview . (Wt am lookin for )
    4. Printer device / output types is perfect .
    If i could atleast see a print preview with barcode that would atleast solve ma issue ..
    Tried with several sdn  ways .and . tired of installing barode s/ws and barcode.dll
    Printer is canon IR 3570 ..
    regards ,

    does the canon IR 3570 support barcodes (or through your .dll or whatever)?
    If so, did you correctly define your barcode in SAPScript as a character format?  Did you choose/insert the barcode name in the barcode field?  In the layout, do you have the character format and barcode field?.  In the example below, a barcode B3, described of 3of9 would output the barcode in the ITEM_LINE element:
    /E ITEM_LINE
    /    ,,<B3>&VBDPA-MATNR& < / >  -note:remove the spaces....
    You can control the length like <B3>&VBDPA-MATNR(12)&< / >

Maybe you are looking for