Multiple driver program and forms - Reg

Hai Gurus,
               we are using Ecc.5.0 last 5 years. At present we are using out put Excise Invoice printing programs through menu based. The out put printing program are now desinged distribution channel wise.so, now we have arround 5 programs and 4 smart forms and 1 script.
              Now the managment willing to move menu based to standard output determination method. Is it possible to convert it using the old programs and smart forms. if it is possible pl.suggest how to do it. we have tried with single program with smartform.it is working but distribution channel based not possible to do it.We have used program RVCOMFZZ with user exit "USEREXIT_KOMKBV3_FILL".
pl.suggest it.
regards
R.Udayakumar
Edited by: R.UDAYAKUMAR RANGANATHAN on Sep 27, 2011 11:02 AM

hi,
i am sending u the code which i have written in my print program 4 same situation.
we simply declare a table 'TNAPR'.
then on some condition in TNAPR-SFORM initialise different smartforms and pass this in function module .
DATA : inv_code LIKE vbak-vbeln.
BILL_DOC_EXP-SPRAS = 'E'.
BILL_DOC_EXP-VBELN = nast-objky(10).
inv_code = nast-objky(10).
SELECT SINGLE WERKS INTO L_WERKS FROM J_1IEXCHDR WHERE RDOC =
inv_code.
select * from vbrp into table i_vbrp where vbeln = inv_code.
lf_formname = tnapr-sform.
IF L_WERKS = '2000'.
tnapr-sform = 'ZSD_FACTORY_INVOICE'.
ELSE.
tnapr-sform = 'ZSD_FACTORY_EXCISE_INVOICE_PAT'.
ENDIF.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
FORMNAME = tnapr-sform
VARIANT = ' '
DIRECT_CALL = ' '
IMPORTING
FM_NAME = L_FMNAME
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 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.
revert points if useful.
Regards,'
santosh.

Similar Messages

  • Assigning customised purchase order driver program and form ?

    Hi ,
    I have a created my own driver program  and form form for purchase order.........after developing where should i assign it..
    i tried in nace but im getting the following error :
    Processing routine ENTRY_NEU in program ZSK_PO does not exist.
    wats the error i have made ?
    thanks,
    Siva.

    Hi
    You have to attach in the NACE itself. Check IF your program is activated and did you use:
    Form ENTRY_NEU.
    "all your code should be here.
    ENdform.
    IN your program??
    Regards,
    VIshwa.
    Edited by: Vishwa Sri Hari on Oct 22, 2008 4:18 PM

  • Driver programs and print programs

    please give the imp print programs and driver programs of these print  programs?

    Driver programs varies, you can use standard ones or customise it.
    For Example, Some Driver programs related to FI, start with RF*
    Goto SE38 ,RF* press F4 , read the description.
    Select documentation of desired driver program and you can see the corresponding form name to it and use of the program.
    Reward points if useful.
    Regards,
    SaiRam

  • Driver program and a print program

    hi all,
    wat is the basic difference between a driver program and a print program in scripts.
    How do we do modification for FI scripts
    Thanks & Regards,
    Saroja.

    hi Saroja,
    Driver program or print program both r same... u can call either driver program or print progam.
    Modifying the scripts depends upon your requirement,
    basically if u have standard scripts better to copy it to zscript then make the chages like adding company logo or adding the company address or adding the terms and conditon what ever u asked to do then use the same print program write the extra logic in a subroutine in an executable program and call this routine in the script.
    This is the method to modify the scripts with out modifying the print program because sometimes its not advisable to change the print program or
    u can copy the print program to z program and u can add u r extra logic into it
    ~~Guduri

  • How find print program and form name from the spool list

    Hi,
          I have a requirement to find print program and form name from the spool list.
    I got the list of programs and forms from TNAPR table, I also want to find out any custom program sending the form directly to the spool.
    Cheers
    Sam

    Hi
    Try TSP01-Suffix2
    Regards
    Raj

  • FBZ5 Print Program and form

    Hello All,
    I would like to modify the print program and form layout for Transaction FBZ5.  Can anyone please tell me what is t
    Thanks.

    Hi,
    Nothing to do with FBZ5 transaction. Since this transaction allows you to regenerate the check (output/Spool request), which is already generated earlier through transaction F-58 and not printed correctly.
    Here you can choose either to generate a new check number or regenerate a old check spool output by selecting menu item cheque->Print...
    If you want to change the standard output form F110_PRENUM_CHCK, you need to developa new form with help of your ABAP guy.
    Hope this clarifies your doubt.
    Get back to me for further assistance in this regard.
    Thanks,
    Srinu

  • Driver Program and Script

    Hi,
    I have a script and corresponding driver program. How do I check at what point a window in a script is getting printed. Because, I can see values in the driver program which are not getting printed in the script ( in an address window in this case). There is no 'write_form' with that address window name in the driver program. Please guide me.
    Thanks & Regards,
    Vishnu Priya

    Hi Priya,
    The write Form function module has attributes like
    window name,
    text element
    and the variable consisitng of data,
    This is the place where you window gets called
    Reward if use full.
    karthick

  • How to find out the driver program and script for print preview for PO

    Hi All,
    We are getting some text output on the print preview of a purchase order.
    How can we determine the driver script and the corresponding print program for this.
    Can you please guide on this.
    Thanks in advance.
    Regards,
    Sanjeet

    Hi,
    check with  below table
    TNAPR   ---  Processing programs for output
    and NACE Transaction code
    NACE  --  out types
    Regards,
    Madhu

  • Purchase order driver program and configuration for nace

    i have copied the medruck in script and i need to write the driver program for that and need to configure to nace can any one tell me how to do this.

    Hi Rocky,
    Below are steps to configure:
    1. Go to transaction NACE
    2. Select EF application, click on output types
    3. Select Output type NEU and double click on processing routines
    4. Here you can give ur driver program name and script name
    Hope it will solve the problem.
    Regards
    Krishnendu

  • Packing list - Driver Program and Layout set name for Smartform

    Hi ,
    Anybody knows about print program and Layout set name for PACKING LIST in Smartform.
    Regards,
    Kumar S

    Hi Bhuvaneswari,
    For Creating Adobe Interactive form, you need the below configuration:
    Server side:
    Server running on ABAP/Java stack configured with ADS
    For ADS Configuration, follow the below link:
    https://service.sap.com/~form/handler?_APP=01100107900000000342&_EVENT=REDIR&_NNUM=0000894009&nlang=E
    Client Side:
    The required Reader version depends on your usage situation.
    For SAP Interactive Forms by Adobe, we generally recommend the following:
                  Adobe Acrobat Version 7.0. 9 or higher
                  Adobe Reader Version 7.0.9 or higher
    If you require forms for one of the scenarios listed below, you must use Reader 8.1.
    These are:
    Forms in Web Dynpro applications that are integrated at runtime using xACF (Active Components Framework) ZCI (Zero Client Installation).
    Forms in scenarios that use digital signatures.
    If you use interactive forms in Web Dynpro for Java and these interactive forms are included using ZCI (Zero Client Installation) at runtime, you must read Note 1055911. Note 1055911 specifies the required reader version and contains further detailed information.
    Reward points if found helpful.
    Regards,
    Arafat

  • Wher e  to assign print program  and  form name

    our client  is having  sap4 
    can any one  tell  me were  to assign print program 
    for  dunning  and the   form also
    thanks
    sreekumar

    Hi,
    Path to assign dunning form :
    Financial Accounting>Accounts Receivable and Accounts Payable>Business Transactions>Dunning>Printout>Assign Dunning Forms
         1     F150_DUNN_01          
         2     F150_DUNN_01          
         3     F150_DUNN_02          
         4     F150_DUNN_02          
    Best Regards
    Ashish Jain

  • Print program and form for f-02

    hi gurus,
    how to attach zprogram and zform to tcoe f-02.
    thanks,
    rameshwar

    Hi,
    TRY to check it in TNAPR table by giving input as OUTPUT type.
    Kishi.

  • Dunning report driver program

    Hi,
       I see a dunning sap script z_asia_dunning assigned in Dunning procedure.  I am interested in knowing the driver program for this dunning script. 
      I searched in SDN and failed to get this information.  Please let me know how to get a driver program for dunning report.
    Thanks in advance
    Sudhaker

    ok it IS possible
    and well the table where those connections of driver programs and form are stored is (i hope you learned that by now from the earlier posts) TNAPR.
    you are a developer, so it´s not really neccesary for you to have a transaction to chance some record in a database table.
    I would propose the TA SE16N with the fcode &sap_edit.
    then just fill in your new (copied) driver program and save

  • Driver program is not getting triggered

    Hi Experts ,
    I have assigned driver program and form under the application ME to the output type WE01 and WE02 and WE03 .But my program is not getting triggered.
    How to check whether the Form entry is getting or not ?
    i have also tried putting the break point in the program.
    Please suggest .
    Thanks

    Hi Kartik,
    Thanks a lot !
    Update for you ......
    By refereing std prog i have written the form routine like below.
      FORM entry USING ent_retco ent_screen.
      xscreen = ent_screen.
      CLEAR ent_retco.
      PERFORM check_input USING nast-objky.
      ent_retco = retco.
        perform fetch_data.
        perform print_control.
    ENDFORM.
    form check_input using objky.
    nast_key = objky.
      select single  werks from  t001w into t001w-werks where werks = NAST_KEY-p_werks.
      if sy-subrc ne 0.
       message 'ENTER VALID PLANT' type 'E'.
    endif.
    endform.                    "check_input
    But i am not able to debug the code...
    Break point is not triggering the code.

  • Print(Driver) Program for HRTMC_TALENT_PROFILE_PDF

    Hi Friends,
    Can anyone please help me to find out the Print(Driver) Program for the adobe form .HRTMC_TALENT_PROFILE_PDF.
    Like scripts will be maintained in NACE where driver program and form will be maintained for Adobe Form?
    Regards,
    Sree

    Hi,
    have a look at table <b>TNAPR</b> to check the print program assigned to your smartform/sapscript.
    Best regards.

Maybe you are looking for