Smartform output with Print Parameters Tab

Hi ,
When a smartform layout output is generated , I need the "Print Parameters"( or the "Spool Parameters" tab open , besides the "Print" button and "Print Preview" button . How do I get this ?
Regards,
Sujata

For Japanese characters to dispaly use the font JPMINCHO
For printing use the device type as JPSAPWIN.
Regards
Yogesh
P.s.: Reward points is problem is solved .

Similar Messages

  • New Message output properties - Print parameters

    This is reg output message determination
    When configuring new message type, in properties there is a tab called 'Print', where print parameter field need to be populated with 'Purchasing Group'
    When i mistakenly put blank, messages were generating, green, but not able to transmit
    When Purchase group is give, it working fine
    Can some one please suggest why it is very important and what it exactly do
    Thanks in advance

    Hi,
    In standard SAP,  the print parameters can be defined for:
    Sales organization/distribution channel/division
    Sales organization
    Purchasing group (this is MM related)
    and User
    If you assign print parameters to a purchasing group, you maintain output device for each Purchase group (transmission medium)
    when you keep it blank, system fails to determine output devices and message does not transmit.
    in simple words, assigning purchase group to print parameter in 'Print' tab enables the output devices to assign to purchasing group.
    Regards,
    Pravin

  • O/p style  for smartform changes with printer

    Hi,
    I have a smartform for which I see the print o/p in SP01.When I test with the test printer,o/p looks fine.However when I change the printer at runtime(or select some other printer in sel criteria),then when I see the o/p in SP01,the smartform data is printed in BOLD!
    Can ayone suggest what settings need to be done so that smartform o/p is uniform irrespective of the printer selection!
    I havent made any changes to the smartform smartstyle yet the o/ p is different as mentioned above.
    Thanks!
    Subodh.

    Hi,
    You can refer
    SMARTFORM style changes with printer
    Regards,
    Subramanian

  • Smartforms output problem: printer commands are printed on paper

    Hi ,
    I have created a new page format ( 300 mm * 330 mm ) and i have assigned to a new format in the device type .But what command need to be changed in the printer initialization?
    At present when i print my sap script output it prints out the printer commands.
    Thanks and Regards,
    C.Abhinay

    closing

  • Smartform Output with English & Japanese languages

    Hi All,
    I have to develope a smartform with english and Japanese languages in the output. Login language will be EN. The sap system is a Unicode system. The problem is with the Japanese characters. I could able to view english characters properly in the print preview but Japanese characters are replaced by #. I tried with unicode enabled (code page 4110) printer driver also. Could anybody worked before on this. Please provide me the settings need to be done inorder to print both langauages using a single smartforms.
    Regards
    Vijay

    For Japanese characters to dispaly use the font JPMINCHO
    For printing use the device type as JPSAPWIN.
    Regards
    Yogesh
    P.s.: Reward points is problem is solved .

  • SMARTFORM: PROBLEM WITH PRINTING SAME HEADER IN PAGES FOR A NON-FINISH LIST

    Hi, guys!
    I hope you can help me as well as many other times.
    I have a Smartform which contains a header,body and a footer in a page.
    This is a form for a report, which we have a column header and the positions. the problem is that if a current account haven't finish in that list (see the example)
    ASD
    ASDASDASDASD
    ASDASDASDASD
    MY REPORT
    ACCOUNT      | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |                <-- COLUMN HEADER
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |12.12            |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123123.23    |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.1233      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |21222.23      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.23          |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |1212.12        |
    PAGE 1
    in the next page, we don't want to repeat the columns header. just only continue printing the lines...
    ASD
    ASDASDASDASD
    ASDASDASDASD
    MY REPORT
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.1233      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |21222.23      |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |123.23          |
    123123123     | xxxxxxxxxxx |xxxxxxxxxxx |xxxxxxxxxxx |1212.12        |
    PAGE 2
    Has anyone encourage this issue? What can I do? remember is a smartform.
    please help us!!
    thanx

    Guys.
    Remember that the columns header won't be printed only if the lines per account continues. I mean, the column header printing depends on the number of lines that are being printed.
    If at the end of a previous page the list (for example the positions that belong to this account) still continues for an account, then in the next page the column header musn't be printed, just only continue printing the rest of the positions. As you notice this case would be found in any number of pages during the rest of the report.
    I'm agree with all your solutions but this only functionin some cases for the first page.
    I look forward to hearing from you.
    If I'm clear now, please help me!
    Thanks guys!

  • Smartform output without print dialog window

    i mean..,
    when i clicked execute button in smartforms
    i don't want to give the values in print dialog window (like LP01 and clicking print preview button)
    i want the smart from output when i click on execute button ..,
    so can anybody help me plllllzz.
    Moderator message: please search for available information/documentation before asking, do not use SMS speak.
    Edited by: Thomas Zloch on Nov 10, 2010 1:55 PM

    you can help yourself by searchin the SDN, this has been asked & answered more than once.
    Just a tip on a sidenote: Studying the interface of the FM which calls the smartform can help a lot.

  • Using Smartform after preview print with a selection screen

    Hi experts,
         I am facing with some smartform printing problem.
        Here is the problem:
        We develop an add_on program for printing some FI report and we use F:Front end Printing in SPAD Access Method.
        The problem that we faced is: After enter the TCODE, we select preview into the smartform window.( Display is all right) At this window, when we click Print Icon, the output request directly sent to the printer and the page printed out without giving a selection window for selecting Printers and printing page range (Like standard print configuration).
        What we want is that after displaying the FI report in smartform, we could select the print page range and printers in user's PC.
        Appreciate for your valuable advice.
    BR,
    Derek Yang

    Hi,
    You have to set PREVIEW = 'X', before you see print preview.
    Try this way
      CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname = 'ZTEST_SMARTFORM'
        IMPORTING
          fm_name  = fm_name.
      DATA:ssfctrlop TYPE ssfctrlop.
      ssfctrlop-preview = 'X'. "Needs to be set this. It shows dialog window to set print parameters
      CALL FUNCTION fm_name
        EXPORTING
          control_parameters = ssfctrlop
        TABLES
          it_nfal            = it_nfal.
    Thanks
    Venkat.O

  • How to download a smartform output as excel file WITH EXACT LAYOUT.

    Hi,
         I have searched the forum but could not found any satisfactory answer. I have a smartform with a table, some texts and a logo. I have to write a code which will save the smartform output as excel file in the system keeping the layout of the smartform output EXACT.
    i.e., the excel file will contain the output with EXACTLY THE SAME layout as would have been for a pdf file (if the smartform output is converted to a pdf file) and the client can then edit the fields of the table in the excel file.  How can I achieve this? Please give a suggestion.. Thanks in advance.

    Hi Anirban,
    Your Requirement is to download a smartform to  microsoft  Excel .
    Well unfortunately we can only download data into excel which is in a tabular format i.e stored in internal tables we have function modules to do the same even u can do that using OLE2.
    If u try to download a smartform to Excel only format supported will be ASCII, if u will continue with that the smartforms text's will get downloaded to excel but whole data would be downloaded in a single Cell.
    Code to do the same is -
    >>>>
    CALL FUNCTION 'SSF_GET_DEVICE_TYPE'
      EXPORTING
      i_language = v_language
      i_application = 'SAPDEFAULT'
      IMPORTING
      e_devtype = v_e_devtype.
       CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME                 = w_form
    *   VARIANT                  = ' '
    *   DIRECT_CALL              = ' '
       IMPORTING
         FM_NAME                  =  w_fmname
       EXCEPTIONS
         NO_FORM                  = 1
         NO_FUNCTION_MODULE       = 2
         OTHERS                   = 3
      IF sy-subrc <> 0.
        MESSAGE E002(zcpm) WITH 'Smartform call fails'.
      ENDIF.
    wa_outopt-tdprinter = v_e_devtype.
    wa_ctrlop-no_dialog = 'X'.
    wa_ctrlop-getotf    = 'X'.
      CALL FUNCTION w_fmname "'/1BCDWB/SF00000025'
        EXPORTING
    *   ARCHIVE_INDEX              =
    *   ARCHIVE_INDEX_TAB          =
    *   ARCHIVE_PARAMETERS         =
        CONTROL_PARAMETERS         = WA_CTRLOP
    *   MAIL_APPL_OBJ              =
    *   MAIL_RECIPIENT             =
    *   MAIL_SENDER                =
        OUTPUT_OPTIONS             = WA_OUTOPT
    *    USER_SETTINGS              = ' '
        IMPORTING
    *   DOCUMENT_OUTPUT_INFO       =
        JOB_OUTPUT_INFO            = T_OTFDATA
    *   JOB_OUTPUT_OPTIONS         =
    *    document_output_info       = st_document_output_info
    *    job_output_info            = st_job_output_info
    *    job_output_options         = st_job_output_options
        TABLES
          T_FINAL                    = T_FINAL
          T_ZSDT_WAGONS              = T_ZSDT_WAGONS_1
          T_QTY                      = T_QTY
          T_QTY1                     = T_QTY1
          T_CON1                     = T_CON1
          T_CON2                     = T_CON2
          "T_ZTMM_OUTWB_TXN           = T_ZTMM_OUTWB_TXN
    EXCEPTIONS
       FORMATTING_ERROR           = 1
       INTERNAL_ERROR             = 2
       SEND_ERROR                 = 3
       USER_CANCELED              = 4
       OTHERS                     = 5
      IF SY-SUBRC <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    T_OTF[] = T_OTFDATA-OTFDATA[].
    CALL FUNCTION 'CONVERT_OTF'
    EXPORTING
              format = 'ASCII'
              max_linewidth = 132
    * ARCHIVE_INDEX = ' '
    IMPORTING
              bin_filesize = w_bin_filesize
    TABLES
              otf   = t_otf
              lines = t_pdf_tab
    EXCEPTIONS
              err_max_linewidth = 1
              err_format = 2
           err_conv_not_possible = 3
    OTHERS = 4
    IF sy-subrc <> 0.
    * MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    * WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    if tabix_m = 1.
    *CALL METHOD cl_gui_frontend_services=>file_save_dialog
    *CHANGING
    *filename = w_FILE_NAME
    *path     = w_FILE_PATH
    *fullpath = w_FULL_PATH
    ** USER_ACTION =
    ** FILE_ENCODING =
    *EXCEPTIONS
    *CNTL_ERROR = 1
    *ERROR_NO_GUI = 2
    *NOT_SUPPORTED_BY_GUI = 3
    *others = 4
    *IF sy-subrc <> 0.
    *MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    *ENDIF.
    CALL function 'TMP_GUI_BROWSE_FOR_FOLDER'
    EXPORTING
    WINDOW_TITLE = 'Select A File Folder'
    INITIAL_FOLDER = 'C:\'
    IMPORTING
    SELECTED_FOLDER = W_PATH.
    endif.
    CONDENSE W_PATH.
    concatenate W_PATH '\' wa_final-vbeln '.XLS' into w_FULL_PATH.
    ****************************************************************************Saving the PDF file on to Application server************************
    CALL FUNCTION 'GUI_DOWNLOAD'
      EXPORTING
       BIN_FILESIZE                     = w_bin_filesize
       FILENAME                         = w_FULL_PATH
       FILETYPE                         = 'BIN'
    *   APPEND                          = ' '
    *   WRITE_FIELD_SEPARATOR           = ' '
    *   HEADER                          = '00'
    *   TRUNC_TRAILING_BLANKS           = ' '
    *   WRITE_LF                        = 'X'
    *   COL_SELECT                      = ' '
    *   COL_SELECT_MASK                 = ' '
    *   DAT_MODE                        = ' '
    *   CONFIRM_OVERWRITE               = ' '
    *   NO_AUTH_CHECK                   = ' '
    *   CODEPAGE                        = ' '
    *   IGNORE_CERR                     = ABAP_TRUE
    *   REPLACEMENT                     = '#'
    *   WRITE_BOM                       = ' '
    *   TRUNC_TRAILING_BLANKS_EOL       = 'X'
    *   WK1_N_FORMAT                    = ' '
    *   WK1_N_SIZE                      = ' '
    *   WK1_T_FORMAT                    = ' '
    *   WK1_T_SIZE                      = ' '
    IMPORTING
       FILELENGTH                      = w_filesize
      TABLES
        DATA_TAB                        = t_pdf_tab
    *   FIELDNAMES                      =
    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
    As u said ,u want to download a smartform to Excel it could be done but only if u r using a internal table and exactly printing line by line values in the smartform, But if u are performing calculation in between, using multiple internal table Work areas, structures, etc i.e if whole smartform is developed with many distributed windows , unfortunately it wont be possible to download a smartform to excel in such cases, because the whole output comes from multiple internal tables, calculations, etc all the data is not printed in a tabular manner so in such a case it would be just impossible to download the smartform  to excel.
    But we definitely have a workaround which could be done to download the data into excel.
    you can develop a ALV report with a header and footer u can define the header and footer of the alv according to the smartform and the middle portion would contain the tabular kind of data which u must be using as Smartform table to print the same.
    So if u have a similar kind of smartform with some header data, tabular data, and some footer data, then u can use ALV to do the same thing , advantage with ALV would be that u can easily download the same into excel.
    Other alternative is that u can Convert and download the smartform to PDF  and copy the same to an Excel wooksheet.
    These are all the possibilities with which u can do the same.
    Regards,
    Akash Rana

  • Smartform - Output window (Accept, Cancel, Print, Preview)

    Dears experts,
    when i execute a preview of a Purchase Order, a message windows appears and you can select the diferents message( print, external send) and  Accept, Cancel, Print or Preview.
    I want to do 2 things.
    - I only want to view Accept and Cancelled button in the Output Message window. how can i do it? with the parameters output?
    - I want that when I accept the message with the OK ICON, execute the code to send the purhcase order as email. nowadays, the pdf code is execute when I chose Preview.
    Any idea?
    thanks a lot!

    Hi friend sure.
    You need to increment the index only at the loop no where else and the variable for holding the index value is global.
    If you create before the read every time it gets trigerred.
    After each loop you assign the sy-tabix value to that variable.
    Just like this ,
    v_index = sy-tabix.
    Then at the window just read the table as shown
    READ TABLE t_chq INTO x_chq INDEX v_index.
    This will do friend.
    I will update the flow of my code here, then you many understand it much clear.
    Page1
      Main window (below page1)
        Loop (inside Main win)
          program lines. code : v_index = sy-tabix. v_lines =  lines( t_chq ). (inside loop)
          Condition (inside loop)
             True
                check the v_index < v_lines if true break page, for page break create a command and do it (Inside true condition)
             false
               blank.
      Secondary window (below page1)
        program line (inside sec wind)
        Inside program lines the code is READ TABLE t_chq INTO x_chq INDEX v_index. (inside sec wind)
      Secondary window2  (below page1)
         program line (inside sec wind2)
        Inside program lines some other code. (inside sec wind2)
    This is my logic try like this friend.
    I think for other records its coming fine because since it is an local variable its getting updated some where and also showing 1 bec its always initializing.
    Try this you will get if any issues please revert back to me
    Thanks,
    Sri Hari
    Edited by: srihari.kumar on Jan 6, 2012 11:04 AM
    Edited by: srihari.kumar on Jan 6, 2012 11:05 AM

  • Delimited output of report that contains frames with Print Direction = 'Across'

    Hello all.
    On the header section of my report, I have a frame with Print Direction = 'Across'.
    On screen the output is :
    Value1 Value2 Value3 Value 4
    I want to export this report to excel, by using DELIMITED option. However the output I'm getting is :
    Value1
    Value2
    Value3
    Value4
    e.g., reports is not generating several columns (one for each field), but separate lines.
    Anyone knows how to accomplish delimited output of frames with Print Direction='Across' ?
    Thanks in Advance,
    Octavio

    If you're not generating both bitmap and delimited data from the same report, try using character mode output rather than "delimited". You can create the report to generate the appropriately delimited values to a text file. This will also give you greater control over aspects such as headings.
    Delimited output simply uses the structure of the layout. It doesn't take into account the across/down repeat directions except in the case of matrix.

  • WE03 Output type with print version '3' (Collective Slip)

    I am using output type WE03 with combination of print version 3 (Collective Slip) to print GR slips.
    My requirement is to print all the line items on single page (unless there is no room) .
    However with this output type one line item is printed per page.
    Does anyone manage to print items continously on the page without page break?
    Is there any other output type/print version for that?
    Well, the last option will be to change the print program and sapscript, but I am trying to avoid that...

    Created new print program and replaced sapscript with smartform

  • Issue with printing report texts in Smartform

    Hi ,
    I developed a smartform and a print program. In the title of the smartform I need print a text depend on the company code. For this I prepared this text in the print program like the following.
    case rbkp-bukrs.
      when 'IT10'
        smartform_struct-title = text-010.
    endcase.
    The problem is some times these texts are not printing on the form output. User are mad at this. when they complines me and I go and look at it, it is fine. I don't think this is printer issue. Any clues please let me know.
    Thank you,
    Surya

    Hi Phani,
    Thanks for your reply. In fact both me and user are doing the same. For user some times this text is not showing and some times it is. This is very strange.
    I can do this by keeping it in text element. But for some texts we need to add some other text in between dynamically.
    for example : for BE10 we need to show like,
    CONCATENATE 'This text is prepared on behalf of  (' <vendor name> ') ' some text' INTO w_title_text.
    In this case: I have tried preparing this text in the program lines node. Here the problem is I can able to mention single quote in prepare the text. In the above example it is bold.
    Basically I don't what's happening when printing report texts. But if there is a way to show single quote while prepare text that should be fine.
    Thank you
    Surya

  • Problem with Smartform output

    Hi All,
    We have purchase order output which prints as Smartform. This Smartform is collecting all data in using function module and finally converting it to PDF.
    Sometimes we face a strange issue that all the text get right aligned and windows which are appearing in right side appear in left side on the PDF output. We are using CONVERT_OTF function module to convert OTF file to PDF format.
    Can any body provide me solution / pointers to find out solution for this error?
    Thanks
    Siddarth

    Hi Alexander,
    Users are using language for logon and rest everything as English. They are not using Arabic or Hebrew anywhere.
    Hi Nikolaus,
    In all cases output medium is email and further printer is defined as LOCL only. Further this error is coming when auto email is triggered after purchase order is created. When I try to see print preview of the same PO is appearing correctly. Also this error is coming for random POs not all POs.
    Thanks
    Siddarth

  • Printing Pro*C Outputs with Other Language Text and PCL

    Hi,
    Since I did not find any separate forum for Pro*C, I am posting my query in this forum.
    In our application, using Pro*C programs we are generating reports. These reports contain other language characters such as Arabic, Thai along with printer control characters (PCL). Earlier for the reports that contains only English characters, we have used C program to print the document and now we could not use the same C program because of the presence of other language characters in the output (when the old C program is used for printing, the other language characters are printed as junk).
    Can anyone update me about the options that are available in C or VB or any other third party printing program to print the documents generated in other language as well as with printer control characters.
    Thanks in advance.
    Best Regards,
    Ganesan

    Hey Thanks .
    Does that mean I will put 1900 as character set in that device type and assign it to printer and then print with that ?
    Best
    Ganesh

Maybe you are looking for

  • How can I stop apple mail from autosaving drafts?

    Hello all, I have finally got myself a new computer and been immersed in the "new" way- my old mac was a bit like a volkswagen beetle, old and cranky but very efficient. This new interlaced madness is proving to be very confusing on many levels but h

  • Sent in for Repair on "whine"

    Ok. Got the Macbook yesterday and experienced the noises. I talked to applecare today. They are aware of the display whine and said that I need to have it sent in for repair where they will fix the display inverter. The other issue I told him about w

  • Why can't I change my smart phone to a different phone i own

    I want to deactivate my iPhone 4S and reactivate my Samsung Galaxy S4 on my account but the My Verizon system says I don't have any other Smart Phones on my account. Suggestions besides using a big hammer to get the My Verizon systems attention?

  • T-Mobile UK now charging for tethering!  Is there a workaround?

    I have been using tethering for a few months on my iPhone 4, mostly for email access and limited internet browsing. Yesterday I got a shock. I hooked up as normal but instead of being able to browse, I got a T-Mobile intercept page forcing me to but

  • How to keep thumbnail from backup?

    Hi everyone! I've been looking all over, but I can't find (either in iPhoto or another program) a way to keep thumbnail for backuped iPhoto library on CD. Is there a program that would keep the backuped library's thumbnails available to iPhoto (with