Configuring output type

Dear experts,
We have attached using NACE smartform for deliveryNote.
I select the output type which is ZD00.
Form preview opens as i have defined preview option only in my code.User goes to Text->Print.
Print is fired .But i get message "output cannot be issued."
Further no entry goes in nast and output type ZD00 comes
yellow triangle.I have used function module for NAST updation.
But it is not working here.I want to define output type ZD00
from my code itself so that i get Output issued succesfully.
and could see green triangle on print out.Simultaneously
nast entry should be populated.
  st_control_parameters-preview = 'X'.
  st_control_parameters-device = 'PRINTER'.
  st_control_parameters-no_dialog = 'X'.
  st_output_options-tddest     = 'ZERP'.
  st_output_options-tdimmed   =  'X'.
CALL FUNCTION FM_NAME
  EXPORTING
  ARCHIVE_INDEX              =
  ARCHIVE_INDEX_TAB          =
  ARCHIVE_PARAMETERS         =
    CONTROL_PARAMETERS         = st_control_parameters
  MAIL_APPL_OBJ              =
  MAIL_RECIPIENT             =
  MAIL_SENDER                =
    OUTPUT_OPTIONS             = st_output_options
    USER_SETTINGS              = ' '
IMPORTING
  DOCUMENT_OUTPUT_INFO       =
  JOB_OUTPUT_INFO            =
  JOB_OUTPUT_OPTIONS         =
  TABLES
    i_header                   = i_heading1
    i_detail                   = i_lipsvbap
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.
CALL FUNCTION 'NAST_PROTOCOL_UPDATE'
  EXPORTING
    msg_arbgb                    = SYST-MSGID
    msg_nr                       = SYST-MSGNO
    msg_ty                       = SYST-MSGTY
    MSG_V1                       = SYST-MSGV1
    MSG_V2                       = SYST-MSGV2
    MSG_V3                       = SYST-MSGV3
    MSG_V4                       = SYST-MSGV4
  EXCEPTIONS
    MESSAGE_TYPE_NOT_VALID       = 1
    NO_SY_MESSAGE                = 2
    OTHERS                       = 3
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.

When a Output type in an apllication doc is configured with a Medium, Partner, Lang and other communication paramters an entry is created in NAST table
so to trigger the output an entry in NAST is compulsory
Output is a link between the Driver Program and the Sapscript,
An output type summarizes messages of the same meaning. It contains parameters that are valid for all its assigned messages, for example appropriate partner functions.
Transmission medium is a medium which the layout will be come out, this may be printout, Fax or Mail
Check this link.
http://help.sap.com/saphelp_nw2004s/helpdata/en/c8/19884743b111d1896f0000e8322d00/content.htm
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?
u2022 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.
u2022 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.
u2022 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.
u2022 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.
u2022 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.
u2022 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).
u2022 Printer driver: You can specify different printer drivers for printing SAPscript documents and ABAP lists.
u2022 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.
u2022 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).
u2022 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.
u2022 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.
Nace

Similar Messages

  • Need to configure output type for adobe form

    Hello All,
    I need to configure output type for Adobe Form thru NACE. What would be print program and how do I call my form from that program? and, what would be the FORM routine for that form in NACE?
    I'm little confused, Pls I need your help.
    Thanks in advance,
    Chandra

    Hi,
    Just before few weeks we did this task.
    Say for example if you want to print PO details through ADOBE form instead of normal sapscript layout or standard MEDRUCK, you can follow the following steps.
    1. Design the form in SFP tcode, by passing the necessary inputs through form interface.
    2. Then use tcode tcode NACE and select EF as application and click output types button on the          application tool bar. Select NEU output type and double click processing routines on left side.
    3. Then, in the right side of the screen we can see the calling program and the form (may be sapscript or smartform) whatever used.
    4. For form names we have two options in NACE tcode.
    One is Form and the otherone is PDF/Smartform Form. If you are using adobe form give your form name under PDF/Smartform and also select PDF under the type option in the same screen.
    This worked perfectly for us. But pass the required parameters to the form from the routine used in standard program.
    If any queries please post it.

  • Configure output type in RFQ

    Hi
    can u give me steps how to configure output type for
    Request for Quatation for smart forms
    Regards

    spro-mm-purchasing-messages-output control-message types-define message types for RFQ-maintain message types for RFQ-select output type NEU-select mail title and text-here give the title-select process routines-medium (print output)-programme(SAPFM06P)SAP routine(ENTRY_NEU)-form(MEDRUCK)--select partner roles medium(print output)-function(VN)--save
    in case u r doing ur own z output type then just follow the above procedure and where ever u want to place ur own z format place it there.
    regards,
    indranil

  • Configuration output type for VL02N - creating output type

    Dear Sapguru,
    I want to configure output type for VL02N transaction for IDOC creation,Here scenario is to connect SAP to third party system in IS retail.
    VL02N- Output type configuration In only return delivery case.
    Can anybody guide step by step cycle configuration for output type.Looking forward for your quick reply.
    Note: Output type required for IDOC,to communicate with third party system,not for print function.
    Thanks.

    Dear Anup,
    If my understanding is correct,
    This seems to be a outbound Idoc scenario where Idoc will be sent by SAP to third party for a return delivery notification.
    Output type configuration steps are as follows :
    1) Identify the standard output type (Application - V2, Transmission Medium - 6 ) for e.g. LAVA which is very close to your requirement.
    2) Use this output type as a reference & create a copy output type of your own.
    3) Use a suitable access sequence or create your own access sequence as per your requirement.
    4) Assign access sequence to the output type.
    5) Maintain output determination procedure (connect your output type to a suitable procedure )
    6) Assign output determination procedure. (to your delivery document type)
    7) Maintain required output condition records through T Code - VV21 against your newly created output type.
    8) Set up the partner profiles as per your requirement (T code - WE20)
    9) Check the reflection/ effects of your new output setup at the delivery document level (VL02N).
    You may quickly access these settings through T codes - NACE.
                                                                                  Tables - TNAPR, NAST
    Hope it will help you in the set up.
    BR,
    Anubhav

  • Configuring output types to billing types - billing document

    Hello Experts,
    i want to configure output types say O1, O2 to the billing types F1 and F2. Can you pls explain how should we do that. Whenever we create an invoice, i want to trigger my form...
    i'm not into functional, am an abaper
    Thanks in advance
    Shekhar

    Hi
    If You have create new condition type , then you need to do following configuraions
    Can use T- code NACE or SPRO Sales & Distr-Basic Functions-Output DeterBilling Documents
    1. Otput type assignment to Partner Function can be different from BP ( Since New Condition Type so requirement must be different , otherwise std o/p tpe RD00 can be used).
    2.Assign / Include the condition type in the Output procedure V10000.
    3. Assign the Procedure to your billing document .
    4. T code vv31, maintain condition record for new o/p type
    Regards
    Rohit
    Edited by: bahlrohit1 on Jul 8, 2009 12:03 PM

  • Configure output types

    How do i configure the system for a idoc output type????
    Can someone provide screen shots or step by step approach.
    mail id : [email protected]
    Regards

    HI,
    Check out these for configuration:
    http://help.sap.com/bestpractices/BBLibrary/documentation/A02_BB_ConfigGuide_EN_US.doc
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/198a9243b111d1896f0000e8322d00/frameset.htm
    Thnx
    Chirag

  • Output type configuration for Purchase order

    Dear Friends,
    I want to configure output type for Purchase order in retail system and later want to trigger it in AFS(apparel, footwear solution) system.
    There is integration in IS retail and AFS system.
    I created a PO in IS retail system.
    Let me know the steps how can I get the IDOC triggered when I go and check in PO header. GO to>Messages?
    Any pointers.
    Regards
    Ashu

    Answered.

  • Output type not getting defaulted in PO

    Hi.....
    I have configured output type as printout for purchase order, i have set the default value for message type NEU, even than when i create a PO system is not picking the message type NEU..
    i have also mainatined condition record in MN04 for the purc. document type..
    any other setting need to be maintained....
    Kindly suggest....
    Regards
    Sarfraz

    Hi,
    Please check the following
    1. Condition Table
    SPRO > Material Management> Purchasing -> Message -> Output Control->Condition Tables->Define Condition Table for Purchase Order
    Select:
    Purchasing Doc. Type,
    Purch. Organization,
    Vendor
    2. Access Sequences
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Access Sequences->Define Condition Table for Purchase Order
    3. Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Types->Define Message Type for Purchase Order
    Copy NEU to ZNEU or YNEU
    4. Message Determination Schemas
    4.1. Message Determination Schemas
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Maintain Message Determination Schema
    4.2. Assign Schema to Purchase Order
    SPRO -> Material Management-> Purchasing -> Message -> Output Control->Message Schema->Define Message Schema for Purchase Order-> Assign Schema to Purchase Order
    5. Partner Roles per Message Type
    SPRO -> Material Management-> Purchasing -> Message -> Output Control-> Partner Roles per Message Type ->Define Partner Role for Purchase Order
    6. Condition Record
    Navigation Path: SAP Menu-> Logistics -> Material Management -> Purchasing-> Master data->Messages-> Purchase Order-> MN04-> Create
    Now you create PO (ME21N) and save it. Go to ME22N and print the PO by giving output type ZNEU or YNEU.
    G.Ganesh Kumar

  • Purchase order output type determination

    Hello All,
    We have a requirement where in we need to trigger custom outout type at the header level on Plant. We have added the plant field at header communication structure but the output type is not getting triggered.
    Functionals confirmed that all the condition records and other configs are maintained. While debugg I could find that value is not getting passed to the communication structure.
    Does any one has ever configured output type on Plant at header level.
    Thank you!
    Arvind

    HI,
    You can get some idea by clicking this.
    http://help.sap.com/erp2005_ehp_03/helpdata/EN/75/ee122c55
    c811d189900000e8322d00/frameset.htm
    regards

  • PO - New Output Type to send an email to only One email Address

    Hello Gurus
    We have new requirement to configure Output Type to send PO's to only one mail address.
    We want to send all Purchase Orders of particular Doc Type - 0001 and for one POrg - ABCD to dedicated mail id ( lets say  ( xyz @ gmail com )  ).
    So that we can keep all these PO copies in PDF format at this mail id only (Note: id is not vendor mail id).
    So I would request you all to kindly guide me the steps to proceed for this - How I can configure this new Output type so that every time when we create PO for this criteria it will not get printed to printer but it will sent in PDF format to only one mail id.
    Subject of these mail sent to ( xyz @ gmail com ) should always contain " PO - Number of PO - Vendor Number/name ".
    Thanks
    Animesh Agrawal

    This can be done with the standard form itself.
    first find out the output type u r using.
    Then goto T-code NACE and then choose EF- purchase order and then select the output type u r using.
    Then goto the 'processing Routines' at the lefe side of the screen.
    There u can find out the output forms for this output typr u r using. Here add 'Simple mail-7' in the list and then give the program name and the smartform or the script u r using.
    We can also give the mail texts for this output form.
    After that goto ME22N and then choose the 'Messages' tab and then click the simple mail and in the 'communication method' kindly provide the mail id for which the PO mail has to be sent.
    And then the mail can be viewed in the inbox of the recipient.
    in this way we can sent the PO mail to the corresponding mail address,.
    I guess this will solve ur issue.
    Thanks and Regards
    Siva
    Edited by: Sivaprakash R on Apr 20, 2009 1:00 PM
    Edited by: Sivaprakash R on Apr 20, 2009 1:00 PM

  • Output types

    i want to send purchase order data from sap toxi ..how to configure output types in nace transaction

    Hii Chandra
    NACE is used to create output type while creating the output type you will mention forms, and driver program.
    that will be maintained in the table TNAPR.if you create the output type using NACE then it will be automatically visible in table NAST and TNAPR.
    so check in NAST, TNAPR table
    Output types are added basically by BASIS people
    contact ur basis team
    Output types are represent how you want to output information. In SAP Script context it links the print program with SAP script. Output types are part of Output determination procedure which is linked to the application (e.g. Purchsing). Output types are also linked to Access sequence, which allows you to create condition records so that output types can be processed automatically.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/19884743b111d1896f0000e8322d00/frameset.htm
    By using NACE transaction we will assign Sap script and driver program to O/P type in an aplication for different mediums (like print/fax , mail) .
    Example :
    NACE--> Application EA --> means for PO > check O/P "NEU" (SAP standard)> Medium "Print" --> You can find the Driver program and Sap script associated to it.
    If you have your Own o/p, Script and program. Then you will assign the by using T/code NACE. Then this will appear when you want to print PO or other.
    it is from the link
    Re: about NACE and output types
    also chk this links
    <b>SAP Script   -    NACE
    TNAPR vs NACE
    Condition records in NACE?
    Reward points if helpful
    Regards
    Naresh

  • Procedure for Output types

    Hi Gurus,
    Can any one please tell me the complete procedure for  configuring output type.
    Requiremnt is I have to configure a o/p type for  Order Confirmation  &  Invoice.
    regards,
    Ajoy

    HI,
    Thanks.
    my  ID --- ajitmphadke  athe rate of g mail.com
    I want to know how a output type is configured, what is condition record, partner profile, access sequence.
    Or send reply on same mail
    Thanks
    in advance
    Ajoy

  • Form is printing two times from MRRL, output type ERS

    Hi,
    I have copied the standard script MR_PRINT to custom script and done changes in the script to print the invoice form using MRRL transaction (for output type = ERS). Now I am facing two issues. Please help.
    1) The form is printing two times on ise my custom form and one is the standard form.Checked the configuration output type ERS is assigned to my custom form only.
    2)The form is printing a new invoice document for every line item of a Purchase order. Suppose if a PO has two lines item. MRRL is printing the form 4 times. That is custom form for each line item and standard form for each line item. How to fix the issue.
    Are these the technical issues or configuration isssues. I have done changes to only my custom script layout.
    Regards,
    Sudha

    Please reply. If any one has any idea???

  • Issue output type

    Hi All,
    I've configured output type for sales order.output condition records are also maintained in VV11.
    It's workign fine when I create or change sales order in VA01 or VA02(Issues output type - yellow colour).In turn for this output type we have scheduled background job in WE15 which creates idocs.
    Now when I do PGI or create delivery for the order the same output type has to be proposed for the corresponding order.
    How can I do it?
    FM 'WFMC_MESSAGE_SINGLE'  cannot be used as this FM is triggering the output type to generate idoc directly(same like WE15 ;it generates idoc but no output type is found in SO), but what I need is it has to create output type in sales order with yellow colour.
    IS there any way to do this?Any BAPI or FM?
    Regards,
    Ponraj.s.

    Is there anyone have any updates on the above issue. need your help in this regards

  • Using Output types in Custom Reports

    Hello,
    I have got a requirement to set up two new Outputs which would be used by two different Custom Reports such as Shortage Allocation and Late Shipment notification report,Both these Outputs Both output types need to be linked to the same access sequence.
    New logic would be incorporated through ABAP in these Custom reports where output records from the tables listed above can be read and based on any valid records found within these table create e-mail output for all addresses listed within that output record.
    So far I have come across Output types only used in Transactions(Sales orders/Deliver/Shipment/Billing),Would require your inputs as to how to go about in configuring Output types to be used in Custom programs.
    What would be a required settings which are needed to be done?
    Both thee Custom reports pertain to diferent Applications like shortage reports is a Sales Application whereas Late Shipment notification report is a Transportation related Application,Does these Output types need to configured for one Application(V1) or differently for Multiple Applications(One Output for V1 and other for V7)?
    Appreciate your inputs on this.
    Thanks and Regards
    Mohammed Roshan

    Hi Vemuru Santosh Kumar,
    The Custom Progams are Shortage Allocation Report and Late Shipmnt Notification report,
    These Reports have an Option of Entering Individual Email addresses of Reciepients to whom these reports are needed to be sent,Instead of maintaining thes Email addresses maually and saving through Variants,The Business requires two new Output types created for these programs,which would have the same accesses through which output records would be maintained.
    These output condition records maintained in each access would be read by Custom logic maintained in the above custom programs and these reports would be sent to Emial addresses maintained in the Output condition records.
    Would likeyour inputs as to how to go about in configuring these Outputs?
    Thanks and Regards
    Mohammed Roshan

Maybe you are looking for

  • Mail sent from iPad not appearing on desktop (windows) pc

    Have had to change my BT Yahoo email account to BT Mail so on the iPad deleted the BT yahoo account and then added the BT mail account.  Problem is that mail sent from iPad no longer appears on the (windows) pc. What am I missing ipad iOs 7.1.2

  • Web Dynpro migration

    Dear experts. I'm planning the migration from our current version (NW 7.0 SP13) to the 7.3, but I have some questions about it, and I hope you can help me. =) - Is it possible, migrate from NW 7.0 to 7.3 using some kind of tool? Or must I rewrite all

  • My mac desktop computer won't start and just beebs

    My mac desktop computer won't start it just beens loudly.   I don't have any lights showing on the keyboard but can hear the drive switching on.  I have unplugged the computer, waited and replugged and waited and then turned it on again without and r

  • N8 Sync with Windows Live!!!

    Hi All, Any idea if N8 can be synced with Windows Live or not yet?? It really s***s that I am not able to sync with Windows live still after such a long time. Is Nokia going to wake up ever?? Siddhartha

  • Hide email addresses

    When using SBO mailer to emaill a distribution list from SAP Business One, is itpossible to hide the email adreeses? When i send an email about a promotion to a group of customer, i do not want customer A to see customer B's email address.