Geting the output type of spool requests

Hi all:
I was wondering how to get the output type (called Message type "KSCHL" in table NAST) for a certain spool request (those are saved on table TSP01). It seems like these tables are unlinkables each other. When I print a smartform, I choose the output type (mail, printing, fax, etc.) but when I check the spool request on SP01 transaction, there aer not way to review the output type (KSCHL). Any idea? Thank you so much .

Hello Gilberto,
U can get the output type of any billing doc or sales doc or invoice or purchase order thru table
NAST.
Re,Manas

Similar Messages

  • Output Type and Spool!

    Hi!
    Any ideas, if there is any map between a Output type created under VF02 and a spool processed?
    For Eg: If I create 3 Output types Z1, Z2 and Z3 and at background 3 Spools are created then how do we isolate what is the spool number for Z1, Z2 and Z3.
    Any thoughts?

    In our system, we can see the spool number while displaying the process log from VF02 transaction, in which we can see message number VN342 "Message output with spool request number &". I don't know if there is some customizing/some conditions to generate it or not.
    Check in your system if you have this message in the log. If yes, then, to retrieve this spool number, follow these steps :
    - Read all records from NAST table where KAPPL = "V3" and OBJKY = SD invoice number. Also apply a filter on the output type KSCHL
    - Get record with latest timestamp (by DATVR and UHRVR fields)
    - call function module CM_F_INITIALIZE_AND_LOAD with parameters APLID = "WFMC" and NUM = NAST-CMFPNR, which reads all messages for the invoice number and put them into memory
    - call function module CM_F_MESSAGES_GET with parameter APLID = "WFMC", it returns messages from memory
    - select message VN342, spool is in MSGV1

  • 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

  • Problem with the Output Type and Transaction ME9F

    Hi,
          I have an Output Type (xyz) and Program (abc).
          If for ME21N i give the output type ( xyz ) the n am able to get the Spool and 
          Printout.
          If for ME9F i give the output type ( pqr) then am able to get the Spool and 
          Printout.
          Problem is :---
          when am using O/P Type ( xyz ) for ME9F then am abel to process but am
          not able to get the spool and not even printout.
          I want to know where it can be wrong.
          It's a high priority object.
    Kindly help me out.
    Thanks,
    Zia.

    hi Zakir,
    1.check the output type under
    apllications  'EF' IN transaction  NACE.
    2.select that ef and press the push button output types .
    3. now check ur output for is present here or not ..
    just click the position button and give ur output type ..
    4. when u find ur output type .. select that o/p type and click processing routined on the left side where u will see ..
    when u do this
    u ll see the details like
    output type . the output type  "
    application . 'EF'
    and the mode of medium .
    1. print out
    2. fax .
    6. edi etc.
    this is the way to check what are the mediums present for the output type ..
    check whether u r <b>entries (xyz) and (pqr) are having medium 1.</b> 
    if its missing  then assign it ..
    regards,
    VIjay

  • 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

  • Many smart outputs outputs under 1 spool request?

    hai,
    iam executing the smart form for 10 customers(for sales orders).
    how can i get all these 10 outputs under one spool request?
    and if i execute the smart form ,i should not get the PRINT dailog screen.Directly , it should go to spool....how?
    regards,
    vrlreddy

    Hi,
    When calling your smartform FM, pass value 'X' for parameter user_settings as below.
    CALL FUNCTION lf_fm_name
               EXPORTING
                          archive_index        = toa_dara
                          archive_parameters   = arc_params
                          control_parameters   = ls_control_param
                          mail_recipient       = ls_recipient
                          mail_sender          = ls_sender
                          output_options       = ls_composer_param
                          user_settings        = 'X'
    This means standard user setting is used instead of asking for print parameter through PRINT dailog screen.
    Regards,
    Teddy

  • Allform outputs under one spool request?

    hai,
    iam executing the smart form for 10 customers(for sales orders).
    how can i get all these 10 outputs under one spool request?
    and if i execute the smart form ,i should not get the PRINT dailog screen.Directly , it should go to spool....how?
    regards,
    vrlreddy

    Hi,
    When calling your smartform FM, pass value 'X' for parameter user_settings as below.
    CALL FUNCTION lf_fm_name
               EXPORTING
                          archive_index        = toa_dara
                          archive_parameters   = arc_params
                          control_parameters   = ls_control_param
                          mail_recipient       = ls_recipient
                          mail_sender          = ls_sender
                          output_options       = ls_composer_param
                          user_settings        = 'X'
    This means standard user setting is used instead of asking for print parameter through PRINT dailog screen.
    Regards,
    Teddy

  • Is there a way to change the output type for Email Remittance Program?

    Hello,
    We are trying to implement Separate Remittance Program.The seeded output type is PDF( I have checked the output type for send separate remittance concurrent program) however the
    email which we receive looks like a regular email I mean with a normal text .  Is there a way to get the output in different type like excel,attachment,pdf.
    Any inputs would be highly appreciated.
    Thanks,
    Sushma

    Currently there is a bug raised
    Bug 8208646 : R12 UNABLE TO SEND SEPARATE REMITTANCE ADVICE AS EMAIL ATTACHMENT IN PDF.
    If you want to customize this process you need to create data definition,new rtf template and bursting program to send pdf as attachment.

  • Update LIKP table while saving the output type in VT02N transaction

    Hi All,
    I have a requirement where i have to update Delivery Priority(LPRIO) field in LIKP table while saving the output type in VT02N transaction. I am not able to use the BAPI "BAPI_OUTB_DELIVERY_CHANGE" or FM "WS_DELIVERY_UPDATE" because, when we save the output type the programs that are configured in NACE are triggered in update mode and hence i will get a roll back error.
    Let me know other ways of updating the table at the time of saving output type for shipment transaction VT02N.

    This could be a result of one of the following reasons:
    1: Incorrect smart form/routine assigned in the output configuration (NACE)
    2: Serial number range of the delivery expired
    3: The default settings of the user (SU01) processing the delivery is missing the default printer name.
    Hope this is helpful
    Manish

  • Maintaining the Output type in the PO from Sales Order

    Hi experts,
    I have developed one application for Sales Order that..there is one link of Purchase order in the Sales order.if i click on PO in the sales order.it goes to me22n screen.if i will maintain the output type in the PO and Click on SAVE button.it gives some error like (No update of sales order 100001 from purchase
                                     order (error V1 275)).
    cud u help me to solve the above issue.its very urgent.
    is there any way to change to va02 to va03...when i am going  from va02 to me22n
    thanx in advance
    regards,
    hpp

    May be because when saving the PO, it's trying to update some sales order related data too and it's locked by you. Try using the save button in output type maintenance screen, or open the sales order in display mode and call ME22N and try maintaining the output type.
    or try using LEAVE TO TRANSACTION ME22N from VA02.
    Regards
    Sridhar
    Message was edited by:
            Sridhar K

  • Print program for the smartform for selecting the output type (email/fax)

    Hi All,
    Requirement :I have to create a print program for the smartform where the output type may be print out,email or fax ,so i need to put the condition for selecting the output type (like printout,email,fax).
    can any body please let me know how  to put the condition for selecting the desired  output type ?
    Thanks in advance
    Rahul

    Hi
    It is not the output type that has to be changed
    it is the MEDIUM which you have to change and configure
    for printout medium is 1
    for FAX medium is 2
    for MAIL it is 7.
    so instead of printout change the medium to 2 or 7 for the same output type and attach to the same driver program and smartform/form.
    Reward points for useful Answers
    Regards
    Anji

  • Problem in sending Fax from the Output type - SAP Script

    Hi Team,
    I am facng a problem with SAP Script while sending the Fax from the output type. I am able to see the entire output in my outbox. But in the fax machine it is only printing the Main window. I checked with some other outputs which are using the Fax option, they are printing fine. Driver program is the Z program. Can anyone give me some Idea?
    Regards,
    Sasidhar

    Hi Sasidhar,
    Have you tried with different fax machine.
    Regards,
    Atish

  • Assigned the output type with AR also,It is printing in ENGLISH Only.

    Hi,
    I have written a Z Smartforms and Z print program.
    I have used ZRV56TD00(Copied from standard program RV56TD00),Inside it I have submitted the program(Z print Program) for the shipment number for the transaction code VT03N.
    It is now printing the form in english well and good.
    Now I want the same to work for the ARABIC.
    I had done the arabic translation in SE63 and If I run the program It is printing only in English.
    When the assigned the output type with AR also,It is printing in ENGLISH Only.
    Suitable answers will be rewarded.
    Regards
    Manohar S
    Edited by: Manoj on Jun 17, 2008 4:13 PM
    Edited by: Manoj on Jun 17, 2008 4:14 PM
    Edited by: Manoj on Jun 17, 2008 4:15 PM

    Hi Manoj,
    Goto transaction NACE and check wether you have mentioned the language in Mail title and texts for the particular message type.
    let me know if you require in more detail.
    Regards,
    Sharath

  • In which table could i find the Output Type information

    such as Output type name..corresponding processing routine Program name etc..
    IF we are talking about the Output type in Delivery's term. thx

    Try the table TNAPR you will get all details.
    Deepak

  • Trigger the  output  type

    Hello ,
    I  forgot  to  create  a  condition  record  for  output  type  for  sales orders........
    Is  there  any  program  that  I  can  retrigger  the  Output  type  now  for  existing  orders?
    Thanks and  best  regards
    L

    Hi,
    Yes,you can process this output again by using the program "RSNAST0D".
    Goto the T.Code "SE38".
    Enter the program name as "RSNAST0D".
    Enter the Application as "V1(If it is Sales)".
    Enter the object Key as "00 followed by your Sales Order Number"(total should be 10 digits).
    Enter the output type.
    Select your appropriate Transaction medium.
    Selection type as "2(Repeat processing)".
    Execute.
    For Billing,you can use the same program or the T.Code "VF31".
    Regards,
    Krishna.

Maybe you are looking for

  • JDBC Sender - Different number of records selected and updated.

    Hi people, We have a JDBC -> Abap proxy scenario. The JDBC sender is pooling an Oracle database to retrieve data from a table X, each 30 minutes. The select and update statements in jdbc sender are below SELECT FIELD1, FIELD2, FIELD3 FROM MY_TABLE WH

  • Image not appearing in bursted email

    Hi all, I have a logo I included on our report that disappears when you burst by email. We use lotus notes and the reportbeing bursted is html. Anybody else run into this? I have tried bmp, jpg, and gif to no avail.

  • User-defined info structures

    Hi, How are info structures populated? Where does the data come from? I have a problem with the stock quantity being displayed in the report because in RWBE, there are no stocks being reflected but using MCG3 and choosing the info structure, I'm gett

  • ST03N in BW ending in time out error

    Hi, only a particular user in the BW system is getting the time_out, Memory related dumps while executing the transaction ST03N to check the BI workload. I guess the user has given a 'user defined time selection' and this setting has got saved for hi

  • IPad not charging or displaying on iTunes

    I have had my iPad aroun 5 months now & about 3 weeks ago I plugged it in to charge (plugged into the mains) & it said Not Charging, so it clearly recognises it's plugged in, & then today I updated iTunes & went 2 sync my iPad & iTunes or my PC won't