Skip to Content
author's profile photo Former Member
Former Member

Driver Program ------ Very Urgent

How to find the Driver program for the smart forms ?

Add a comment
10|10000 characters needed characters exceeded

Related questions

7 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 07:11 AM

    Hi Manjunath,

    Hope it will give clear idea abt trigger of smartform thru driver program.

    Try this in IDES , you will get how the smartform will trigger for specific application thru message control.

    but if you want to pass application table data like VBRK, VBRP,.... you need to identify the exact location

    in PERFORM processing USING us_screen subroutine.

    Program name is RVADIN01

    Routine Name is ENTRY

    SmartForm Name ZSF_RVADIN01 (Your Custom Form)

    step1 : copy your RVADIN01 to ZRVADIN01

    step2 : goto subroutine

    FORM entry USING return_code us_screen.

    *CLEAR retcode.

    *xscreen = us_screen.

    *PERFORM processing USING us_screen.

    *CASE retcode.

    • WHEN 0.

    • return_code = 0.

    • WHEN 3.

    • return_code = 3.

    • WHEN OTHERS.

    • return_code = 1.

    *ENDCASE.

    ---> Here call your SSF_FUNTION_MODULE_NAME.

    ENDFORM.

    step3 : In NACE, Replace the Program name as ZRAVADIN01.

    and smartform name is ZF_RVADINO1.

    step4 : Run invoice transaction and check the output.

    Regards,

    Vishvesh

    if helpful, rewards it.

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      hi,

      ME TOO FACING SAME PROBLEM DRIVER PROGRAM.

      ION 'SSF_FUNCTION_MODULE_NAME'

      EXPORTING

      FORMNAME = 'ZQUATATION'

      • VARIANT = ' '

      • DIRECT_CALL = ' '

      IMPORTING

      FM_NAME = FNAME

      • EXCEPTIONS

      • NO_FORM = 1

      • NO_FUNCTION_MODULE = 2

      CALL FUNCTION FNAME . THIS ONE HOW CAN I GET THAT.

      PLZ TELL ME IT IS VERY URGENT

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 11:10 AM

    hi,

    Check out TNAPR table ..Pass the form name in the field FONAM and get Program name from PGNAM ...

    Regards,

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 11:11 AM

    Hi!

    Check out TNAPR table. Write your smartform name into the SFORM field and you'll get the program.

    Regards

    Tamá

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 11:13 AM

    hi,

    Sorry ... Pass the form name in SFORM field

    Regards,

    Santosh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 18, 2008 at 11:14 AM

    Hi,

    Select PGNAM

    from TNAPR

    into v_program_name

    where SFORM eq 'Smartform Name'.

    Try this.

    If you have input for KSCHL, NACHA, KAPPL give those also, to minimize the selection.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 06:24 AM

    Hi Manjunath,

    If u want to find the smartform for specific driver program go with TNAPR table in SE11.

    If u want to specify your smartform name for driver program,u need to go with NACE->specify Application->select the output type->go with processing routines.Here u can specify the smartform name that u want for that output type.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 19, 2008 at 07:47 AM

    Hi

    If you know the output types than you can find driver program in NACE transaction.

    otherwise

    In TNAPR Table , enter the form name in the FONAME and you will get the program name in PGNAM.

    Hope it will help you.

    Rewards Points if useful.

    With Regards

    Nikunj shah

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.