Output type to tcode

I got a driver program and layout.created a z output type in NACE.now i want the script to get attached to a transaction wherein the layout should appear after clicking issue output to-> and print preview.

Hi Ganesh,
Go to t-code NACE, select output types and go for change mode. there you can enter your driver program name as well as form name. and go for your t-code where you are desired to take printout.
Feel free to ask if you have any doubts.
Regards,
Vijay

Similar Messages

  • What are the output type and Tcodes?+

    What are the output type and Tcodes?

    hi,
    ex-how to config output type.
    You will assign output types using Transaction NACE.
    Do the follow steps to assign output type
    1)Select Application Type V2 which will have description Shipping.
    2)Click on Output types button.
    3)Go to change mode by pressing Ctrl+F4.
    4)Select one output type which already exists
    5)Do Copy As(F6)
    6)Give your output type against Output Type field.
    7)Under General data Tab, Give Program and Form routine and Save the data.
    i think it a work of functional guy but at senior level i think it is not a big deal for abaper.
    Check the following documentation
    In NACE t-codewe have the application for each one. based on the application output type can be defined, based on output type script and print progrma can be defined.
    If suppose data can be read from EDI then we should go for condition records.
    So whenever we execute the script first composer checks the output type and then execute the program. in program whenever opn form FM will be populate then script will open first. After that again program till another FM will populate if it then script will populate........like it is cycle proces. Composer does all these things and at last it will submit that output to spool.
    Go to the Transaction NACE.
    choose the related sub module.. like billing or shipping
    doubel click on Output Types
    Choose the Output Type for which whcih you wanted your script to trigger
    Then select the Output Type and double click on Processing Routine
    Then go to create new entries--> Select the Medium (1- print output), then enter your Script and Print Program detls --> Save and come out
    Now go to the Transaction (for which you have created the output type)... Issue output--> Select the output type --> Print....
    Device Types for SAP Output Devices (Detail Information)
    Definition
    The device type indicates the type of printer to be addressed. When you define an output device, choose the name of the device type that was defined in the SAP System for your printer model, such as Post2 for a PostScript printer. In the case of frontend printing under Microsoft Windows, you can also use the generic (device-independent) device type SWIN.
    The system uses the information in the device type to convert a document from the internal SAP character representation (spool request in OTF or in text format) to a device-specific, print-ready data stream (output request). Since a device type specifies attributes that apply to all devices of a certain model, it can be shared among device definitions. For example, all devices in the SAP spool system that are compatible with Hewlett-Packard LaserJet IIID printers would use the HPLJIIID device type.
    You should not confuse the device type with the printer driver. The device type is the total of all attributes of an output device that the SAP System must know to control the output device correctly, such as control commands for font selection, page size, character set selection, and so on. These attributes also include the printer driver that SAPscript/Smart Forms (the SAP form processor) should use for this printer. The SAPscript printer driver that is to be used for devices of this type for output formatting is therefore only an attribute that the device type specifies.
    How do I choose the correct device type?
    • In most cases, the SAP System already provides the appropriate device type for the printer type for the printer model that you want to use.
    These standard device types are completely defined and need no modification or extension before you use them in device definitions.
    • You can also download missing device types from the sapserv server. For a current list of the supported device types, see SAP Note 8928 in the SAP Service Marketplace.
    • Most printers can be controlled using a generic format, such as PostScript. They can be switched to a mode that is compatible with one of the standard printers for which an SAP device type is available. In this case, a supported model is emulated.
    • Almost all printers are delivered with Microsoft Windows printer drivers. The system can control these printers with the generic (device-independent) device type SWIN. The Microsoft Windows spool system then performs the processing of the print data.
    • If the specified device types are not available, and generic device types cannot be used, you must create your own device type or edit a copy of an existing device type. We recommend that only those with specialist knowledge of the SAP Spool System and printer driver code do this. For more information, see Defining a New Device Type .
    Attributes of a Device Type
    A device type is distinguished by the attributes listed below. If you change an existing device type or create a new device type, you must change at least some of these attributes.
    • Character set: A character set specifies the codes with which characters must be represented in the print-ready output stream (output request). This code replaces the generic SAP characters set that is used internally by the SAP spool system (spool request).
    • Printer driver: You can specify different printer drivers for printing SAPscript documents and ABAP lists.
    • Print controls: Print controls represent printer operations, such as boldface or changing the font size. These print control are replaced by printer-specific commands during the creation of the output request from a spool request.
    • Formats: Formats specify the format supported by the SAP system. The system differentiates between SAPScript formats (DINA4 and LETTER) and ABAP list formats (X_65_132 = 65 rows/132 columns).
    • Page format: A page format is the interface between a format and SAPscript. It specifies the paper dimensions with which SAPScript can calculate the row and column lengths.
    • Actions: Actions are output device-specific commands that are required for the implementation of a format. The action printer initialization, for example, can contain a printer command with which the number of rows on a page is defined. There is a set of actions for every format supported by a device type.
    regards
    siva

  • How to attach custom output type to tcode VT02N

    HI All,
    My requirement to  create a new print program, form and output type i.e. to be attached to transaction VT02N when called.
    Please help to resolve
    -  How we create new output type
    -  Attach smartform/ spascript to the output type
    -  Take print of the smartforms using output type .
    there is some predefined output type in different application like in application v7 we are using the output type ALTR and there is smartrform associated with that output type but unable to take the print of that smartform.
    Regards,

    How we create new output type
    Copy the existing std output type to some Z*** output type
    menu path
    IMG Guide - Logistic Execution - Transportation - Basic Transportation Function - Output Control - Maintain Output Determination for shipment -Maintain Output Types
    Attach smartform/ spascript to the output type
    onthe same screen of output type click on processing routine folder on right and under form field assign ur smartform
    Take print of the smartforms using output type
    Either create a condition record (dont remember the tcode but u can search from SAP menu)  or while creating shipment doc...assign the ouput type (in shipment doc screen, from menubar  Goto ->Output ).......do not forget to specify the communication mode ie logical destination
    take printout from VT02n screen( initial screen goto-> output) or using VT70
    Regards
    Jagdish
    Edited by: jagdish parihar on Jan 23, 2008 11:31 AM

  • Output type for tcode : F150

    Hi ,
    I am working with customer dunning letter - tr. F150
    I want to attach a modified zform to it .
    ( acopy of standard dunning into z with some layout changes )
    How to configure it / what is the output type for it / what is the application  type for dunning form?
    Regards
    Rajesh

    Hi,
    Assign in the IMG (SPRO) menu....
    Financial Accounting
    Account Receivable and Accounts payable
    Business transactions
    Dunning
    Printout
    All req configuration is done here...
    Regards
    Stu

  • Attaching output types  to Tcode

    hi everyone,
        can any one please tell me the settings for attaching output type which we give in NACE that must be attached to ME21N that means when ever a PO is created that must be printed or e-mailed...... what ever it may be, according to the output type given in NACE for all PO's,instead of creating message type for every PO in ME21N.
    THANKS IN ADVANCE

    hi here is another example  ,
    1. We can send files with attachment.
    However, There is some trick involved
    in the binary files.
    2. I have made a program (and it works fantastic)
    ONLY 6 LINES FOR EMAILING
    BELIEVE ME
    ITS A FANTASTIC PROGRAM.
    IT WILL WORK LIKE OUTLOOK EXPRESS !
    3. The user is provided with
    a) file name
    b) email address to send mail
    and it sends ANY FILE (.xls,.pdf .xyz..)
    Instantaneously !
    4. Make two things first :
    1. Include with the name : ZAMI_INCLFOR_MAIL
    2. Report with the name : ZAM_TEMP147 (any name will do)
    3. Activate both and execute (2)
    4. After providing filename, email adress
    5. Code for Include :
    10.08.2005 Amit M - Created
    Include For Mail (First Req F16)
    Modification Log
    Data
    DATA: docdata LIKE sodocchgi1,
    objpack LIKE sopcklsti1 OCCURS 1 WITH HEADER LINE,
    objhead LIKE solisti1 OCCURS 1 WITH HEADER LINE,
    objtxt LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objbin LIKE solisti1 OCCURS 10 WITH HEADER LINE,
    objhex LIKE solix OCCURS 10 WITH HEADER LINE,
    reclist LIKE somlreci1 OCCURS 1 WITH HEADER LINE.
    DATA: tab_lines TYPE i,
    doc_size TYPE i,
    att_type LIKE soodk-objtp.
    DATA: listobject LIKE abaplist OCCURS 1 WITH HEADER LINE.
    FORM
    FORM ml_customize USING objname objdesc.
    Clear Variables
    CLEAR docdata.
    REFRESH objpack.
    CLEAR objpack.
    REFRESH objhead.
    REFRESH objtxt.
    CLEAR objtxt.
    REFRESH objbin.
    CLEAR objbin.
    REFRESH objhex.
    CLEAR objhex.
    REFRESH reclist.
    CLEAR reclist.
    REFRESH listobject.
    CLEAR listobject.
    CLEAR tab_lines.
    CLEAR doc_size.
    CLEAR att_type.
    Set Variables
    docdata-obj_name = objname.
    docdata-obj_descr = objdesc.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addrecp USING preceiver prec_type.
    CLEAR reclist.
    reclist-receiver = preceiver.
    reclist-rec_type = prec_type.
    APPEND reclist.
    ENDFORM. "ml_customize
    FORM
    FORM ml_addtxt USING ptxt.
    CLEAR objtxt.
    objtxt = ptxt.
    APPEND objtxt.
    ENDFORM. "ml_customize
    FORM
    FORM ml_prepare USING bypassmemory whatatt_type whatname.
    IF bypassmemory = ''.
    Fetch List From Memory
    CALL FUNCTION 'LIST_FROM_MEMORY'
    TABLES
    listobject = listobject
    EXCEPTIONS
    OTHERS = 1.
    IF sy-subrc 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'LIST_FROM_MEMORY'.
    ENDIF.
    CALL FUNCTION 'TABLE_COMPRESS'
    IMPORTING
    COMPRESSED_SIZE =
    TABLES
    in = listobject
    out = objbin
    EXCEPTIONS
    OTHERS = 1
    IF sy-subrc 0.
    MESSAGE ID '61' TYPE 'E' NUMBER '731'
    WITH 'TABLE_COMPRESS'.
    ENDIF.
    ENDIF.
    Header Data
    Already Done Thru FM
    main Text
    Already Done Thru FM
    Packing Info For Text Data
    DESCRIBE TABLE objtxt LINES tab_lines.
    READ TABLE objtxt INDEX tab_lines.
    docdata-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objtxt ).
    CLEAR objpack-transf_bin.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = 'TXT'.
    APPEND objpack.
    Packing Info Attachment
    att_type = whatatt_type..
    DESCRIBE TABLE objbin LINES tab_lines.
    READ TABLE objbin INDEX tab_lines.
    objpack-doc_size = ( tab_lines - 1 ) * 255 + STRLEN( objbin ).
    objpack-transf_bin = 'X'.
    objpack-head_start = 1.
    objpack-head_num = 0.
    objpack-body_start = 1.
    objpack-body_num = tab_lines.
    objpack-doc_type = att_type.
    objpack-obj_name = 'ATTACHMENT'.
    objpack-obj_descr = whatname.
    APPEND objpack.
    Receiver List
    Already done thru fm
    ENDFORM. "ml_prepare
    FORM
    FORM ml_dosend.
    CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
    EXPORTING
    document_data = docdata
    put_in_outbox = 'X'
    commit_work = 'X' "used from rel. 6.10
    IMPORTING
    SENT_TO_ALL =
    NEW_OBJECT_ID =
    TABLES
    packing_list = objpack
    object_header = objhead
    contents_bin = objbin
    contents_txt = objtxt
    CONTENTS_HEX = objhex
    OBJECT_PARA =
    object_parb =
    receivers = reclist
    EXCEPTIONS
    too_many_receivers = 1
    document_not_sent = 2
    document_type_not_exist = 3
    operation_no_authorization = 4
    parameter_error = 5
    x_error = 6
    enqueue_error = 7
    OTHERS = 8
    IF sy-subrc 0.
    MESSAGE ID 'SO' TYPE 'S' NUMBER '023'
    WITH docdata-obj_name.
    ENDIF.
    ENDFORM. "ml_customize
    FORM
    FORM ml_spooltopdf USING whatspoolid.
    DATA : pdf LIKE tline OCCURS 0 WITH HEADER LINE.
    Call Function
    CALL FUNCTION 'CONVERT_OTFSPOOLJOB_2_PDF'
    EXPORTING
    src_spoolid = whatspoolid
    TABLES
    pdf = pdf
    EXCEPTIONS
    err_no_otf_spooljob = 1
    OTHERS = 12.
    Convert
    PERFORM doconv TABLES pdf objbin.
    ENDFORM. "ml_spooltopdf
    FORM
    FORM doconv TABLES
    mypdf STRUCTURE tline
    outbin STRUCTURE solisti1.
    Data
    DATA : pos TYPE i.
    DATA : len TYPE i.
    Loop And Put Data
    LOOP AT mypdf.
    pos = 255 - len.
    IF pos > 134. "length of pdf_table
    pos = 134.
    ENDIF.
    outbin+len = mypdf(pos).
    len = len + pos.
    IF len = 255. "length of out (contents_bin)
    APPEND outbin.
    CLEAR: outbin, len.
    IF pos < 134.
    outbin = mypdf+pos.
    len = 134 - pos.
    ENDIF.
    ENDIF.
    ENDLOOP.
    IF len > 0.
    APPEND outbin.
    ENDIF.
    ENDFORM. "doconv
    CODE FOR PROGRAM
    5.
    REPORT zam_temp147 .
    INCLUDE zami_inclfor_mail.
    DATA
    DATA : itab LIKE tline OCCURS 0 WITH HEADER LINE.
    DATA : file_name TYPE string.
    data : path like PCFILE-PATH.
    data : extension(5) type c.
    data : name(100) type c.
    SELECTION SCREEN
    PARAMETERS : receiver TYPE somlreci1-receiver lower case.
    PARAMETERS : p_file LIKE rlgrap-filename
    OBLIGATORY.
    AT SELECTION SCREEN
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    CLEAR p_file.
    CALL FUNCTION 'F4_FILENAME'
    IMPORTING
    file_name = p_file.
    START-OF-SELECTION
    START-OF-SELECTION.
    PERFORM ml_customize USING 'Tst' 'Testing'.
    PERFORM ml_addrecp USING receiver 'U'.
    PERFORM upl.
    PERFORM doconv TABLES itab objbin.
    PERFORM ml_prepare USING 'X' extension name.
    PERFORM ml_dosend.
    SUBMIT rsconn01
    WITH mode EQ 'INT'
    AND RETURN.
    FORM
    FORM upl.
    file_name = p_file.
    CALL FUNCTION 'GUI_UPLOAD'
    EXPORTING
    filename = file_name
    filetype = 'BIN'
    TABLES
    data_tab = itab
    EXCEPTIONS
    file_open_error = 1
    file_read_error = 2
    no_batch = 3
    gui_refuse_filetransfer = 4
    invalid_type = 5
    no_authority = 6
    unknown_error = 7
    bad_data_format = 8
    header_not_allowed = 9
    separator_not_allowed = 10
    header_too_long = 11
    unknown_dp_error = 12
    access_denied = 13
    dp_out_of_memory = 14
    disk_full = 15
    dp_timeout = 16
    OTHERS = 17.
    path = file_name.
    CALL FUNCTION 'PC_SPLIT_COMPLETE_FILENAME'
    EXPORTING
    complete_filename = path
    CHECK_DOS_FORMAT =
    IMPORTING
    DRIVE =
    EXTENSION = extension
    NAME = name
    NAME_WITH_EXT =
    PATH =
    EXCEPTIONS
    INVALID_DRIVE = 1
    INVALID_EXTENSION = 2
    INVALID_NAME = 3
    INVALID_PATH = 4
    OTHERS = 5
    ENDFORM. "upl

  • How to link newely created output type to newely created tcode

    Hi ,
    Actually i have created new output type ZONS for tcode ZMRKO
    Now i want link this output type to tcode ZMRKO for my new company code.
    Answer please......
    Prashanth.v
    Edited by: prashanth.venkategowda on Jul 26, 2010 1:14 PM

    from other source

  • Mass update output type

    dear all,
    pls advice how to mass update the output type in sales order. thanks

    Dear jo jo,
    You need to maintain the condition records for the output type through TCode --> VV11, in case the order has already been created and the print is not coming then you need to manually go into every sales order (change mode) and set the record in Go To --> Output.
    Reward Points if it helps,
    Regards,
    N
    Edited by: Nitesh Nagpal on Apr 10, 2008 5:49 PM

  • Set Output Type Of STO

    Dear All,
    We want to set output type of STO for STO printout
    We maintain ZPO5 output type into Tcode MN04 at company level condition record for PO and STO both, but still when we create STO, STO output type not came.
    Kindly guide.
    Regards,
    P Choksi

    hi
    Standard document type for STO is UB u may using ZUB .Please verify you have condition record maintained for UB/ZUB condition type.
    You can use MN04 to create new condition record and test again.
    use NACE to check ur configuration
    refer following
    MB90- GR Print
    Edited by: Kunal Ingale on Jun 29, 2010 12:19 PM

  • Output Type Default for Sales Document Header

    Hello,
    I have defined the Output Type ZTER and have assigned it to a print program and a form.  Now when I go to transaction VA03, in the Menu Bar select Sales Document -> Issue Output to, I don't see my new Output Type ZTER present.  I have to manually add it using VA02 and Extras -> Output -> Header -> Edit in order to add this Output Type. 
    My question is, how can I make it default to show when I select the Menu Bar (Sales Document -> Issue Output To) and then a prompt box comes up to allow the user to select.
    A bit of addition information, I have already maintained the Output Condition
    Thanks.
    Edited by: jamison2004 jordan2004 on Aug 26, 2008 10:57 AM

    Hi jamison,
    please check output determination and you need to maintain condition records(like with sales organization and condtion type etc)of  output type via tcode NACR. while saving the sales order it will condition records and populate output types automatically.
    Tks... Venkat

  • Which tcode is using the output type

    Hi experts,
    Is there any way (tcode/table) to determine which tcode will use an output type?
    Ex: Our client has a request to modify a smartform. Supposed that I can determine the printing program and output type. But how do I know this output type used in which tcode?
    Thanks.

    Hi
    It depends on which business transaction the output has to be run.
    Every business transaction can have own trx to run the print.
    For example for the purchase order you can use ME9F, for the bill is VF31, but if the trx is not standard it's not easy to find out it.
    Anyway every print can be run by std report RSNAST00.
    For only the logistic print (so for module SD and MM) the output type is managed by trx NACE (or see table TNAPR), but other modules have an own way to manage the print, so there isn't a sure way to know your issue, only the experience.
    Max

  • Output type for the tcode f.27

    Hi All,
    Can any body please suggest what is the standard output type for the tcode f.27(Customer Statements).
    Thanks in advance,
    Nagendra

    Hi Brad,
    Thanks for reply.
    My requirement is to get the out put of f.27 in pdf format in french or english.
    Please let me know is there any FM and how to start work on this issue.
    Thanks in advance,
    Nagendra

  • Output type triggered by which tcode

    Hi,
    1. Could anyone tell me how can I determine one output type is triggered by which tcode?
    2. Please give me step by step to create new output type for new SD document type, for ex Contract, and how to populate it in VA43?
    Thanks.

    Hello,
    New Output type can be created by,
    SPRO --> SD --> Basic Functions --> Output Control --> Output Determination --> Output Determination Using the Condition Technique --> Maintain Output Determination for Sales Documents --> Maintain Output Types
    But before doing all the things you need to maintain which kind of output you want for sales documetns
    For sales documents the output condition can be maintained by VV11, delivery documents it is VV21 and for billing it is VV31.
    Prase

  • How to know the output type for particular tcode

    Hi
    how to know the output type for the VL10D & VAL TCODES.
    Can anybody help me out.
    Thanks and Regards
    Krishnarao

    Hi Krishna,
    GO to NACE and select your application and click on output types and in the next screen select your output type and and dbl click on Processing routines.
    Here you will come to know about which driver program is used for which smartform or Script.
    and for Program details you can refer table: REPOSRC
    Regards,
    Sachin

  • Tcode for output types LQCA, LQCB and QCA

    Hi ALL,
               I need appropriate transaction code for the output types LQCA, LQCB and QCA for getting print preview.
    Please help me on this.
    Regards,
    J.

    Thanks Viswa for your quick reply. But in VL02N I could not find how get print preview for item only. I mean I am having output type which is for item only and there is no output for header to this item.
    In example , LQCA and LQCB are not availabe under HEADER output type list. They are in item output type list only.
    Please let me know how to see print preview for this output types.
    Regards,
    Jp.

  • For some sales orders output type is not showing even thoug configured in N

    Hi ,
    I have 100 sales orders out them 10 sales orders out put type is not appearing in VA02->goto->OUTPUT->HEADER->EDIT
    In Tcode : NACE every thing is configured accordingly.
    As an abaper what can I do.

    Hi,
    1. go to transastion VA02.
    2. enter the sales order number for which you are not getting the output type
    3. go to > extras>output--> header >edit> you will get the output messages window
    4. In Application tool bar you find the ICON i (determine analysis ) or press cntr+F1.
    5. in analysis out put you will find the reason why the output type is not getting selected.

Maybe you are looking for

  • Selection-screen design

    Hi everyone, I am working on a project for which I have to design a selection-screen. The requirement is such that there are 3 obligatory fields to be filled by the user, which are as follows: P_LAUFD(parameter,obligatory-date), P_LAUFI(parameter,obl

  • Official Unlock from ATT Problems

    I have iPhone 4 and have received permission from ATT for unlock. They told me just to restore my phone from iTunes and I would get a message stating phone is unlocked. I have restored 2 or 3 times and have received no such message. Anybody had any e

  • Need help on quicksorting LinkedLists

    Ok so I have my code below. It's just standard methods for a linkedlist but we weren't allowed to use LinkedList itself. I know how quicksorting works but I don't know how I can make two separate lists to recursively sort those and then connect them

  • License code - how do I find it?

    I currently run ZENWorks imaging 4.0 at one of my locations, and I would like to install the ZENWorks imaging and WoL services on another one of my Netware 6.5 sp2 servers at a different location. Problem is that I am having trouble locating my licen

  • Incoterms in Quotation

    Hi Experts: System will auto input incoterms base on sold-to party when a quotation is created. Can the setting be changed to base on ship-to party ?? Shwan