Smart Form-Driver Program

Hi All,
         I have created a driver program and I have two smart forms , The thing is like from one driver program i want to  executed two smart forms where logic is almost same for the both the forms.So put me some code lines if possible .
with regards,
Swathi.K

Hi swathi,
Yes based on conditions you can print the smartform in the driver program.
SELECTION-SCREEN BEGIN OF BLOCK block  WITH FRAME.
PARAMETERS:
p_vintag  RADIOBUTTON GROUP rad1,
p_contag RADIOBUTTON GROUP rad1,
p_rmctag  RADIOBUTTON GROUP rad1,
p_rfrtag  RADIOBUTTON GROUP rad1.
SELECTION-SCREEN END OF BLOCK block.
   IF sy-subrc EQ 0.
*"For Vintag smartform................................................
    IF p_vintag EQ 'X'.
      w_form = 'Y_HFA_VINTAG'.
*"For Containertag smartform..........................................
    ELSEIF p_contag EQ 'X'.
      w_form = 'Y_HFA_CONTTAG'.
*"For Remanufacturedtag smartform.....................................
    ELSEIF p_rmctag EQ 'X'.
      w_form = 'YH_HFA_REMAC'.
*"For Reefertag smartform.............................................
    ELSEIF p_rfrtag EQ 'X'.
      w_form = 'YH_HFA_REEFER'.
Regards,
Sravanthi

Similar Messages

  • Smart forms driver program name for SF_LB_INVOICE

    hi abapers
                pls help me to find the driver programs for a standard smart forms like (SF_LB_INVOICE).
    i need the driver program name of this smart form.
    thnks
    pardeep

    Hi ,
    Goto Global Settings -> Form Attributes
    In the Form Attributes,click the General attributes tab you will find the package name of the smartform.
    Regards
    DV

  • Problem in smart forms &Driver program..urgent....

    Hi friends ,
              I am having 4 windows  in a page ,
              I am having 4 wa as wa1, wa2, wa3, wa4 in my driver program of SF.
    for ex my itab is hving 10 lines , i am passing first line of my itab to wa1 and print in First window of  page 1, second line to wa2 and second  window /page1....
    4 line of itab to wa4 dispaly in 4 th wind/pag1.
    5,6,7,8, lines of itab in again wa1,wa2, wa3 ,wa4 into window 1,2,3,4 of page 2 and
    9,10 lines of itab in wa1,wa2 into win1 , win 2 of page 3. For ex my itab can hve 'n' lines....this is the scenerio...
    my question is .........
    1. how can i always take 4 line pass in wa1 , wa2 3 & 4 , then go for next four , then rest ........in my driver program....
    2. In Sf after complition of 1st four in page 1 , how it will move next four to page 2, rest in page 3.....
    can any one help me ...it is very urgent....advance thanks,
    Reagrds
    LAkshmi..)....

    Hi ,
    Goto Global Settings -> Form Attributes
    In the Form Attributes,click the General attributes tab you will find the package name of the smartform.
    Regards
    DV

  • Smart form driver program for VF23

    hi any one can tell me is there a standard driver program for a smartform to run  transaction VF23. There is a Standard SAP script program named RVADIL01 . Is there a similar driver program for Smartform for the same Invoice List Transaction .

    Hi swathi,
    Yes based on conditions you can print the smartform in the driver program.
    SELECTION-SCREEN BEGIN OF BLOCK block  WITH FRAME.
    PARAMETERS:
    p_vintag  RADIOBUTTON GROUP rad1,
    p_contag RADIOBUTTON GROUP rad1,
    p_rmctag  RADIOBUTTON GROUP rad1,
    p_rfrtag  RADIOBUTTON GROUP rad1.
    SELECTION-SCREEN END OF BLOCK block.
       IF sy-subrc EQ 0.
    *"For Vintag smartform................................................
        IF p_vintag EQ 'X'.
          w_form = 'Y_HFA_VINTAG'.
    *"For Containertag smartform..........................................
        ELSEIF p_contag EQ 'X'.
          w_form = 'Y_HFA_CONTTAG'.
    *"For Remanufacturedtag smartform.....................................
        ELSEIF p_rmctag EQ 'X'.
          w_form = 'YH_HFA_REMAC'.
    *"For Reefertag smartform.............................................
        ELSEIF p_rfrtag EQ 'X'.
          w_form = 'YH_HFA_REEFER'.
    Regards,
    Sravanthi

  • How to find ADOBE form driver program

    Hi,
    How to find out ADOBE form driver program. I have form name and interface name. I want to know driver program.
    Thanks
    Ramesh

    Hi,
    You can the following two ways.
    1)Go to your Interface or the Form which you have created -> Use Display object list to see form and Print program that are linked to that Interface.
    2) You can use NACE transaction->
    Select the application type, and Click Output Types->
    Choose the Output type and Click on Processing Routines
    Here you can find the Driver program and and the Corresponding PDF Form.
    Regards,
    Amit.

  • How to get material number in smart form driver prog attached to MM01:NACE?

    Hi,
    I have attached driver program of smart form to MM01 usinfg nace.
    On save smart form should get generated.
    Can anybody guide me how to get material number from MM01 in driver program on saving MM01.
    as of now am not getting values in smart form.
    What additional lines to be coaded in driver program to get material number.
    Thanks.

    hi,
    use nast table in your import paramaters of smart forms.
    In the Nast table you can find a field with object key which holds the Material Number.
    Hope this helps.
    Thanks,
    subash

  • Smart forms - print program rvaddn01

    Hi
    Kindly some one let me know how to do smart forms for packing list layout using the standard print program
    RVADDN01.Expecing a quick answer.
    Thanks in advance.
    Regards

    Hi Surya,
      The standard Smartform Layout is the <b>LE_SHP_DELNOTE</b>
    And the standard Driver program is <b>RLE_DELNOTE</b>.
    You can use these things for a Packlist.
    Hope this works very well...
    Cheers,
      Sampath....

  • Smart form Driver Prog For Printing Invoice Lists

    Hi Sap Gurus,
    I am using the standard Sap drver prog RLB_invoice which is used for all invoices(ie Invoice,credit,debit,cancellation).Now,plz can anayone let me know the driver pgm used for printing invoice list smartform.
    will the RLB_INVOICE serve my purpose or is there any other Prog.
    Thanks in advance.
    Points will be rewarded for successfull answers

    Hi,
    For Invoice
    Form name = LB_BIL_INVOICE
    Driver Program = RLB_INVOICE
    Regards
    Edited by: K.P.N on Jan 9, 2008 2:53 PM

  • Adobe form driver program

    Hi gurus,
    How can i find the driver program for an adobe form.I have the required adobe form names by F4 help in transaction SFP.I want to find out their corresponding driver programs.how can this be done?

    Hi Sam,
    Similar to Smartforms, the print program for adobe forms use a standard function module to determine the name of the generated adobe form function module.  The module is called FP_FUNCTION_MODULE_NAME, so if you do a where-used on this module it will give you a list of the programs that generate adobe forms.  It's not a exact link to your form, but it will give you a smaller target.
    Regards,
    Nick

  • Export Documents - Smart Forms - Print program

    Hello,
    I searched the sap notes to find standard print programs from SAP for the export documents with message type:
    FECO
    FETR
    FEEU
    The smart forms are easy to find.
    They are FT_COM_FEEU, FT_COM_FETR, FT_COM_FECO.
    But I don´t find the print programs belonging to the forms.
    Greetings
    Mark

    If you look at the SMARTFORMS they are all blank.
    I would create your own SMARTFORMS and call them in a similiar way as the example programs listed below :
    SF_EXAMPLE_01
    SF_EXAMPLE_02
    SF_EXAMPLE_03
    Hope this helps.
    Cheers
    Colin.

  • About interactive forms driver program

    Hello Everyone,
          I want driver program sample code for interactive forms, if any one is having any good example of this than plz send me on following mail id:
    "[email protected]"
    Thanx & Regards,
    Rahul Talele

    Hi Rahul,
                  Check the program...
                   SAPBC480_DEMO.
    Regards,
    Omkaram.

  • Re : forms driver program

    Hello Gurus,
    Can any one help me out in getting the print program to related form.
    Is there any table which stores the form and related program.
    Thanks,
    Feroz.

    hi,
    <b>TNAPR</b> table contains the forms and it's related print progtam.
    regards,
    Ashok reddy

  • Smart form print program

    hi,
    im using version ECC 6.0.these standard programs /smb10/fm06p & /smb40fm06p
    doent exist in my SAP.please help how to extract those programs,im working on purchase order.

    Please refer note no 852250. Some workaroud is there. Some bugs are there you have to fixed the same download instruction given in zip file [attached in the note]

  • LBBIL_INVOICE. Billing Data: Transfer Structure to Smart Forms

    Hi...
    Can u please help me out in my query regading how the data passes to
    LBBIL_INVOICE. Billing Data: Transfer Structure to Smart Forms.
    I have an smartform which runs through VF01/VF02/ VF03 while pressing the print preview button.
    But if i try to run it directly from driver program, no data wil be displayed. Now i have the requirement to detach from VF03.. and make it to run directly from my driver program.
    what shall i have to do to achieve this. Should i have to take all the internal tables saparately or else can i use LBBIL_invoice structure itself.
    If i can use that structure itself, how to make the data flow into it.  Pls help me.
    In my codeing these includes were there. is there anything related , is the data passes because of these includes
    INCLUDE rlb_invoice_data_declare.
    definition of forms
    INCLUDE rlb_invoice_form01.
    INCLUDE rlb_print_forms.
    Pls clarify my dobut...
    Thanks in advance,
    Hema

    1. These are normal structure
    2. you can use anywhere but they designed for forms currently.
    3. Yes ,it works like it will look at NAST Table -> nast table will connect the TNAPR Table -> tnapr will have smart form print program.
        so smart form program calls smartform and it will show output
    4. you can create your own structure and use them into anywhere like report program or forms..
    5. you can see example simple form name SF_EXAMPLE_01 ,program name is SF_EXAMPLE_01 ,you can design your own form and print program.
    Thanks
    Seshu

  • Smart forms customizing

    i want to customize the smart form ..for sd commercial invoice
    i have copied standard smart and driver program ...
    i facing complexity in changing driver program their   3 include structures r there ...how to know  it is to change r to delete .
    i want some advice that what is the procedure to approach for standard ones .

    Hi Raghu,
    Firstly you need to get the Program name and FORM routine name from NACE configuration which could obtain from functional consultant or elsewhere.
    Next, you need to look for entry routine in the FORM routine so that you can capture the NAST-OBJKEY.
    And then based on the nast-objkey select you relevant data from relevant tables and view it using SSF_FUNCTION_MODULE_NAME funtion module.
    Regards,
    Dep

Maybe you are looking for

  • Mini display port to DVI problems

    Hello community, I have a question regarding the connection from an iMac via the mini display port to a DVI input at a TFT monitor. I have an older TFT monitor and now I connected the iMac with this monitor via mini display port -> DVI adapter -> DVI

  • How to determine the connection string to a SQLite database, in C# code

    Hello. I'm trying to figure out how to specify the connection string to a SQLite database, I would like to access using the following code: string connectionString = null; SqlConnection connection; SqlCommand command; SqlDataAdapter adapter = new Sql

  • Automatic Payment Program Issues

    <h4>I have been trying to do the configuration for automatic payment and I keep getting this same error after the payment proposal is run. The payment proposal is created but all the invoices are put on the exception list. To help with the diagnosis

  • Organization Structure Transport

    Hello, Could you provide me steps as how to transport "Organization Management Structure" from one client to other client. If you have document pls send me at [email protected] Thanks in advance Anand

  • Windows 7 and Bridge.

    It's showing that Camera Raw 5.5 is in use, however not sure if the installation was correct since there's NO documentation that I can find on here about WINDOWS 7 whatsoever. Anyone?