Output types in SAP script

Hi  experts,
                  what are output types ? and how can we fetch the name of script program and SAP script layout using output type only.
                                         For  example if the out type is LD0010 the how can i get the program name and script name of this particular output type.

Use TNAPR table. Enter your ouputtype in KSCHL.
Then you can see NACHA - Message transmission medium i.e., Printout / fax / etc 
                           KAPPL - Application ie.e, sales / shipping,
                           PGNAM - Program name,
                           FONAM- Form name

Similar Messages

  • How to generate a Spool based on output type in SAP Script

    Hi all,
    Is it possible to generate a spool based on output type for a SAP Script (without explicitly trigger in Tcode VF02 and selecting output type from there )
    Actually a background job will be scheduled to process output types selected in VF01 / VF02
    When output type is ZABC in the background a work flow is called pdf is generated

    Any suggestions please

  • Regarding Creation of Output types for SAP SCRIPTS

    Hi All,
    I want to create new output types for my SAP Script.
    What is the procedure for creating new <b>Z - Output Type</b>.
    Like <b>ZA01 for Sales Order</b>.
    What is the procedure can any body help me in this regard.
    It is not to use <b>ZA01</b> in <b>NACE</b> & connect Print Program & Layout set against Form Entry.
    It is for creation of <b>ZA01 Output</b> Type itself.
    If anybody knows the procedure please post the steps.
    Also please mention will there be any diffrence in creation from <b>Module to Module</b> (or) <b>Transaction (Vs) Transaction</b>. Just like <b>Sales Order (Vs) Purchase Order (Vs) Production Order</b>.
    Thanks in advance.
    Thanks & Regards,
    Rayeez.

    hi Shaik,
    Steps for output type:
    Go to NACE Transaction
    Select V1 - Sales.
    Click Output type
    In edit mode , click on new entries.
    Give output type as ZA01 with some descp.
    Then enter  , then u need to give the Access seq. as 0010
    Rest proprties are more and less similar to the BA00 standard output type in V1 only.
    After that u need to give the processing routines.
    In that u need to give the Program name
    followed by Form routine name
    In this way u can create the output from NACE tran.
    Let me know if u want anything else.
    Cheers
    Rewrd points, if found helpful

  • Output type in SAP Script

    hi all,
    what is this output type?why it is needed?
    i have developed a print prog for exise invoice
    but not used output type anywhere to see the output of the form.
    so my question is when this output type is reqired and when not?
    whther i should create output type for the above print program also. whether it is good practice to have output type? if yes why and how can we create output type for my above program?
    thanks & regards
    sanjeev
    Message was edited by: sanjeev singh

    Hi,
    quite interesting question, but difficult to put it in nutsehll.
    Definition
    An output type (or also a "condition type") summarizes messages of the same meaning. It contains parameters that are valid for all its assigned messages, for example appropriate partner functions.
    BA00 (order confirmation), MAIL (internal message), KRML (credit limit exceeded)
    Use
    For each transmission medium, one form routine in a program is assigned to the output type. This form routine is called for processing the message (message status record).
    For transmission medium 7: SAPoffice mail you can assign the output type title and text of mails which are used as default values in the condition records, that is to say, in the messages.
    Try this link.
    http://help.sap.com/saphelp_nw04/helpdata/en/c8/19884743b111d1896f0000e8322d00/content.htm
    Feel free to revert back.
    --Ragu

  • Out Put type for sap script or smartforms

    hi,
    Actually, i want out put type, application, SAP Script or Smartform name and program name of transaction code          ( F.64 ). i.e. correspondance Maintain request.
    Thank You...

    Manoj,
    In SPRO follow this path.
    Form 16A
    Financial Accounting
    Global settings
    withholding tax
    Extended Witholdong tax
    POstings
    India
    Withholding tax certificates for vendors
    maintain no.groups and script forms.   
    For cheques and Payment Advisory.
    Go to FBZP
    click on printmethods in company code
    click on position
    give Company code and payment method
    then in the next screen double click on the payment method
    This way you will get to see the forms assigned to it.
    For Forms for Correspondence.
    Financial Accounting
    ---Global settings
    correspondence
    define form names for correspondence print.
    K.Kiran.

  • Output types in SAP HR

    Hi Experts,
    How to assign the Adobe forms to Output types in SAP HR, and what is the use of assigning the forms(Scrips or Smart forms or Adobe forms )to the output types.
    and finally what is an output type, and how they are useful.
    Questions:
    1. particularly what are the output types available for hiring action in HR.
    2. How to assgin custome FORM for a output type.
    3. where can we find output type in hr.
    4. how to maintain output types for a particular transaction in HR.
    Thank you,
    B. Raghu prasad

    Hi,
    This is HR specific issue. Please go to [HR Forum |SAP ERP Human Capital Management (SAP ERP HCM);
    Regards,
    Vincent

  • Output documents and SAP Scripts

    We have an ever increasing problem with Sap Scripts and driver programs for Output Documents. There is a lot of hard coded stuff in the driver programs based on output type.
    I
    If nast-kschl = 'XX'
    Do something
    elseif nast-kschl = 'YY'
    Do something else
    Endif
    This is causing a lot of maintainance problems. Logically, such conditional behavior is required. We need to execute different logic for different output types. Similarly there are hard coded conditions based on parameters.
    for e.g.
    select * from knvk where kunnr = hardcoded and abtnr = hardcoded
    The problem is that all this custom hard coded logic is dispersed through out the program and it becomes difficult to maintain them.
    I was wondering how folks on SDN have tackled this problem at your various clients.

    S Kumar -
    I think you may have misunderstood my original question.
    Consider this scnerio:
    If nast-kschl = 'XX'
         var1 = A
         var2 = B
    elseif nast-kschl = 'YY'
         var1 = C
         var2 = D
    Endif
    This is a simplified version of what the problem is. There are many output types and many different business logic that are conditionally applied. This is creating havoc in my driver programs. Plus these are 10 year old driver programs. They have been maintained over and over again and numerous changes have taken place.
    We would not want to face a similar issue for our next implemention and am wondering what the best solution to this problem would be. Going Smartforms? Would that help?

  • Missing fields in the output while using SAP SCRIPT

    Hi,
    I am working on an issue where we are using F110 to print some checks, and for this we have created a custom sap script and we are using a std driver program RFFOUS_C, we have also maintianed a custom subroutine pool ZRFFOUS which will retrieve the missing data for the sap script which was not there in the std. program. Now we have applied a SP to our system and since then we are having a problem...when we are printing the chechks its missing some fields.
    Surpisingly, it is happening for all scripts like Dunning, invoice......
    These scripts are working good in production which is not applied patches.
    I have tried in all ways, did debug, data is there in tables and scripts are exactly same as in production.
    Could you please share any ideas regarding this? What would be the effect of patches?
    Thanks
    Sha

    Hi ,
    I think u r printing the Check through the Tr Code F110.
    In that program u r using the Standard Driver Program RFFOUS_C and u create a New Sap script.
    and also u also mantained the custom subroutine pool ZRFFOUS .  when ru giving printing u are  not able to print some  field.
    In this case  when u using the Standard driver Program RFFOUS_C in that program there is a Include Progran  * RFFORI01---- check  , 
    in this program it is calling the Standard Form (F110PRENUM_CHCK) i--e t042e-zforn .as shown in the below and it is calling the function module 'OPEN_FORM'._
    Please copy  the form  asZF110_PRENUM_CHCK and  and do the changes in that form . and we need to maintained the Form as Company code level  -- and it will shown this Table T042E (Company Code-Specific Specifications for Payment Methods)
    Please go to Transaction Code FBZP  and U can maitained the  New Sap Script Form Company Code Level.
    one thing while u calling your new subroutine pool ZRFFOUS  Please call  this subroutine in  your Sap Script form then only u can see all values in your Check.  and Actvate the Sap script .
    Like U can call your new  subroutine ZRFFOUS  in your New Sap script Program.
    /E   CHECK
    /:   PERFORM XXXXXXX IN PROGRAM XXXXXX''                  
    /:   PERFORM CHECK_NAME IN PROGRAM  ZRFFOUS
    /:   USING &XXXXXXX&                      
    /:   CHANGING &XXXXXX&                   
    /:   ENDPERFORM                              
    In the subroutine pool ZRFFOUS   u have to call  as
    FORM CHECK_NAME TABLES t_data_in  STRUCTURE itcsy
                                                   t_data_out STRUCTURE itcsy.
    xxxxx
    xxxxx
    xxxxx
    ENDFORM.
    In this case  when u using the Standard driver Program RFFOUS_C in that program there is a Include Progran  * RFFORI01---- check  , 
    in this program it is calling the Standard Form (F110_PRENUM_CHCK) i--e t042e-zforn .
        open check form
          CALL FUNCTION 'OPEN_FORM'
               EXPORTING
                    form     =  t042e-zforn
                    device   = 'PRINTER'
                    language = t001-spras
                    options  = itcpo
                    dialog   = space
               EXCEPTIONS
                    form     = 1.
          IF sy-subrc EQ 1.                "abend:
            IF sy-batch EQ space.          "form is not active
              MESSAGE a069 WITH t042e-zforn.
            ELSE.
              MESSAGE s069 WITH t042e-zforn.
              MESSAGE s094.
              STOP.
            ENDIF.
          ENDIF.
    I thing it will help u to solve this issue.
    Thanks.
    Gagan

  • How to change output type of MI21 transaction ?

    Hi All,
    Whenever I am executing the MI21N transaction, its default output type is SAP Script.I want to get this output as a SMARTFORM. How can I do that ? Kindly advise on the same.
    Regards,
    Ankur Mishra

    Hi Ankur Mishra,
       Are you planning to print Physical Inventory Documents through Smart forms (MI21)? As this is related to MM, please post your question on SAP MM forum.
    With Regards,
    Srinivas

  • Attachment of output type to Invoice

    Each type after i create a Invoice i have to go into Header and assign the output type (RD00) for printing purpose is there any other method wher i can give it commonly,  so that i dont have to go and give it every time i create an Invoice. Like some mass attachment//... Please help me frnds.

    Hi,
    Output determination works as per follows:-
    1.First you will have to create a output type.
    2.Assign output program to this output type either SAP script or Smartform.
    3.Assign this output type in output determination procedure along with the desired access sequence.
    4.Assign this output determination procedure to your document type Order/Delivery/Billing
    5.Maintain the condition record for the access sequence or you can maintain manualy in order/delivery/Billing
    6.You can also add the output type manually in the order/Delivery/Billing.
    Reward points if helpful.
    Regards,
    Amrish Purohit

  • Mulitple Smartforms for single output type

    Hi Experts,
    I have 4 programs and 4 smartforms and One output type Z999.
    Depends on Company code i need to generate appropriate smartform using VF02.
    ( 4 programs & 4 smartforms means,
      US invoice, US Creditmemo, Canada Invoice and Canada creditmemo).
    Is it possible to assign 4 smartforms & 4 programs in NACE transaction in single output type?
    If it is not possible what is the way? Please adivise me.

    Hi,
    I don't think so that you can not do it directly. But there is a workaround for your problem. You can define your output type as SAP script and enter program name and entry routine. You can ignore a SAP script name because you are going to use Smartforms. In this entry routine you will call different Smartforms based on company code of your document.
    But why don't you use different output types for different documents? That would be the best solution.
    Cheers

  • SAP Script Output in Arabic Language

    Hi,
    I am running Transaction FBCJ, I am getting the output in a SAP Script in English Language. I want the same output in Arabic Language.
    Please suggest me what do I need to do, in order to get the form output in Arabic Language?
    Thanks and Regards,
    Ishaq.

    Hi
    Have you created the Script form in ARABIC language or English Language
    While creating the form in SE71 you can create in your own language and see the outputs
    or use the SE63 for texts transformation into other languages.
    If the Arabic Language is activated in the system it should come.
    Reward points if useful
    Regards
    Anji

  • Output types for script

    Hi All
    pls tell output types and script name and driver program for
    1.packing llist for export customer
    2.addtional dunning lever (level3)
    pls geve reply fot that
    Regards
    M.Srinvas

    Hi
    Goto NACE tcode or TNAPR table and see the Output type and Program, script for Packing List
    Script = RVDELNOTE
    Program = RVADDN01
    For dunning
    form = F150_DUNN01
    Program = SAPF150D2
    Regards
    Anji

  • Smartform/Sap script output to Text file/PDF/WORD

    Hi,
    I need to download/transfer the output of smartforms/sap script to text file/pdf file or word file.How do i do that?
    Do I need to create a new output device?
    thnx in advance
    chirantan

    Hi,
    Go through the following Code
    Mail a sapscript
    SAPscript: Autotmatically e-mail as PDF
    How to convert sapscript(Purchage order) inot pdf format & send in  mail
    Check the following Code
    REPORT ZRICH_0003.
    DATA: ITCPO LIKE ITCPO,
          TAB_LINES LIKE SY-TABIX.
    Variables for EMAIL functionality
    DATA: MAILDATA   LIKE SODOCCHGI1.
    DATA: MAILPACK   LIKE SOPCKLSTI1 OCCURS 2 WITH HEADER LINE.
    DATA: MAILHEAD   LIKE SOLISTI1 OCCURS 1 WITH HEADER LINE.
    DATA: MAILBIN    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILTXT    LIKE SOLISTI1 OCCURS 10 WITH HEADER LINE.
    DATA: MAILREC    LIKE SOMLREC90 OCCURS 0  WITH HEADER LINE.
    DATA: SOLISTI1   LIKE SOLISTI1 OCCURS 0 WITH HEADER LINE.
    PERFORM SEND_FORM_VIA_EMAIL.
          FORM  SEND_FORM_VIA_EMAIL                                      *
    FORM  SEND_FORM_VIA_EMAIL.
      CLEAR:    MAILDATA, MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
      REFRESH:  MAILTXT, MAILBIN, MAILPACK, MAILHEAD, MAILREC.
    Creation of the document to be sent File Name
      MAILDATA-OBJ_NAME = 'TEST'.
    Mail Subject
      MAILDATA-OBJ_DESCR = 'Subject'.
    Mail Contents
      MAILTXT-LINE = 'Here is your file'.
      APPEND MAILTXT.
    Prepare Packing List
      PERFORM PREPARE_PACKING_LIST.
    Set recipient - email address here!!!
      MAILREC-RECEIVER = '[email protected]'.
      MAILREC-REC_TYPE  = 'U'.
      APPEND MAILREC.
    Sending the document
      CALL FUNCTION 'SO_NEW_DOCUMENT_ATT_SEND_API1'
           EXPORTING
                DOCUMENT_DATA              = MAILDATA
                PUT_IN_OUTBOX              = ' '
           TABLES
                PACKING_LIST               = MAILPACK
                OBJECT_HEADER              = MAILHEAD
                CONTENTS_BIN               = MAILBIN
                CONTENTS_TXT               = MAILTXT
                RECEIVERS                  = MAILREC
           EXCEPTIONS
                TOO_MANY_RECEIVERS         = 1
                DOCUMENT_NOT_SENT          = 2
                OPERATION_NO_AUTHORIZATION = 4
                OTHERS                     = 99.
    ENDFORM.
         Form  PREPARE_PACKING_LIST
    FORM PREPARE_PACKING_LIST.
      CLEAR:    MAILPACK, MAILBIN, MAILHEAD.
      REFRESH:  MAILPACK, MAILBIN, MAILHEAD.
      DESCRIBE TABLE MAILTXT LINES TAB_LINES.
      READ TABLE MAILTXT INDEX TAB_LINES.
      MAILDATA-DOC_SIZE = ( TAB_LINES - 1 ) * 255 + STRLEN( MAILTXT ).
    Creation of the entry for the compressed document
      CLEAR MAILPACK-TRANSF_BIN.
      MAILPACK-HEAD_START = 1.
      MAILPACK-HEAD_NUM = 0.
      MAILPACK-BODY_START = 1.
      MAILPACK-BODY_NUM = TAB_LINES.
      MAILPACK-DOC_TYPE = 'RAW'.
      APPEND MAILPACK.
    Creation of the document attachment
    This form gets the OTF code from the SAPscript form.
    If you already have your OTF code, I believe that you may
    be able to skip this form.  just do the following code, looping thru
    your SOLISTI1 and updating MAILBIN.
      PERFORM GET_OTF_CODE.
      LOOP AT SOLISTI1.
        MOVE-CORRESPONDING SOLISTI1 TO MAILBIN.
        APPEND MAILBIN.
      ENDLOOP.
      DESCRIBE TABLE MAILBIN LINES TAB_LINES.
      MAILHEAD = 'TEST.OTF'.
      APPEND MAILHEAD.
    Creation of the entry for the compressed attachment
      MAILPACK-TRANSF_BIN = 'X'.
      MAILPACK-HEAD_START = 1.
      MAILPACK-HEAD_NUM = 1.
      MAILPACK-BODY_START = 1.
      MAILPACK-BODY_NUM = TAB_LINES.
      MAILPACK-DOC_TYPE = 'OTF'.
      MAILPACK-OBJ_NAME = 'TEST'.
      MAILPACK-OBJ_DESCR = 'Subject'.
      MAILPACK-DOC_SIZE = TAB_LINES * 255.
      APPEND MAILPACK.
    ENDFORM.
         Form  GET_OTF_CODE
    FORM  GET_OTF_CODE.
      DATA: BEGIN OF OTF OCCURS 0.
              INCLUDE STRUCTURE ITCOO .
      DATA: END OF OTF.
      DATA: ITCPO LIKE ITCPO.
      DATA: ITCPP LIKE ITCPP.
      CLEAR ITCPO.
      ITCPO-TDGETOTF = 'X'.
    Start writing OTF code
      CALL FUNCTION 'OPEN_FORM'
           EXPORTING
                FORM     = 'ZTEST_FORM'
                LANGUAGE = SY-LANGU
                OPTIONS  = ITCPO
                DIALOG   = ' '
           EXCEPTIONS
                OTHERS   = 1.
      CALL FUNCTION 'START_FORM'
           EXCEPTIONS
                ERROR_MESSAGE = 01
                OTHERS        = 02.
      CALL FUNCTION 'WRITE_FORM'
           EXPORTING
                WINDOW        = 'MAIN'
           EXCEPTIONS
                ERROR_MESSAGE = 01
                OTHERS        = 02.
    Close up Form and get OTF code
      CALL FUNCTION 'END_FORM'
           EXCEPTIONS
                ERROR_MESSAGE = 01
                OTHERS        = 02.
      MOVE-CORRESPONDING ITCPO TO ITCPP.
      CALL FUNCTION 'CLOSE_FORM'
           IMPORTING
                RESULT  = ITCPP
           TABLES
                OTFDATA = OTF
           EXCEPTIONS
                OTHERS  = 1.
    Move OTF code to structure SOLI form email
      CLEAR SOLISTI1. REFRESH SOLISTI1.
      LOOP AT OTF.
        SOLISTI1-LINE = OTF.
        APPEND SOLISTI1.
      ENDLOOP.
    ENDFORM.
    Regards
    Sreeni

  • Printing sap script to spool by skipping print parameter window

    Hi all,
    I am trying to print an output (derived from sap script) directly from program to spool and then fetch the spool request and download it to PDF. This should happen automatically when the end user executes the program by giving required inputs. Can any one guide me on this ?
    Rgds,
    Praveen

    Hi all,
    I got the problem solved. Thanks for all who replied and supported me. This is how i solved it. This is not the full code. I am not giving declaration part here. But this is the main blocks which is going to work.
    Data: purdocno TYPE string,
                        v_len_in TYPE i.
    PERFORM open_from.
        LOOP AT it_itab.
          ON CHANGE OF it_itab-ebeln.  
              PERFORM start_form.
              PERFORM write_form.
              PERFORM end_form.
          END ON.
        ENDLOOP.
    PERFORM close_form.
    PERFORM convpdf.
    FORM convpdf.
        CALL FUNCTION 'CONVERT_OTF'
         EXPORTING
           format                      = 'PDF'
    *       MAX_LINEWIDTH               = 132
    *       ARCHIVE_INDEX               = ' '
    *       COPYNUMBER                  = 0
    *       ASCII_BIDI_VIS2LOG          = ' '
           PDF_DELETE_OTFTAB           = 'X'
         IMPORTING
           BIN_FILESIZE                = v_len_in
    *       BIN_FILE                    =
          TABLES
            otf                         = i_otf
            lines                       = i_pdf
         EXCEPTIONS
           ERR_MAX_LINEWIDTH           = 1
           ERR_FORMAT                  = 2
           ERR_CONV_NOT_POSSIBLE       = 3
           ERR_BAD_OTF                 = 4
           OTHERS                      = 5.
        purdocno = s_ebeln+3(10).
        concatenate 'c:\' purdocno '.pdf' INTO purdocno.
        CALL FUNCTION 'GUI_DOWNLOAD'
         EXPORTING
    *      BIN_FILESIZE                    =
          filename                        = purdocno
          FILETYPE                        = 'BIN' " important
    *    IMPORTING
    *      FILELENGTH                      =
         tables
           data_tab                        = i_pdf
         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.
        IF sy-subrc <> 0.
    *     MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
        ENDIF.
    ENDFORM.

Maybe you are looking for

  • Need Help! Passing an array of objects to a method, dont understand

    Hi, i need to make a method called public Server[] getServers() and i need to be able to see if specific server is available for use. I have this so far: public abstract class AbstractServer protected String serverName; protected String serverLocatio

  • New features added, old features removed

    I've seen many users who has asked why the new firmware removed some good features and so on... So I have this thread, and hope that answer you all. the phone ROM is basically fix, say 128MB ROM and the available ROM for user is 44MB (say in the spec

  • Very imp MRP

    HI EXPERTS, 1)iam creating a material with 4 mrp views and i selected automatic reorder point planning with fixed lot size proceedure .while saving the data  iam getting a error message which says that i need to maintain forecasting data.so my questi

  • HOW CAN I MARK A CHECKBUTTON USING ABAP CODE?

    HOW CAN ALL THE CHECKBOXES IN MY ALV BE MARKED WHEN I CLICK ON A BUTTON?

  • Purchasing data of material

    When I Create a standard order based on material T-FS101.The material master T-FS101, a bill of material and a work plan have already been created. Message comes "Purchasing data of material T-TS101 is not maintained". Please tell me how to maintain