cancel
Showing results for 
Search instead for 
Did you mean: 

Driver Program ------ Very Urgent

Former Member
0 Kudos

How to find the Driver program for the smart forms ?

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

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

Answers (6)

Answers (6)

Former Member
0 Kudos

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

Former Member
0 Kudos

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.

Former Member
0 Kudos

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.

Former Member
0 Kudos

hi,

Sorry ... Pass the form name in SFORM field

Regards,

Santosh

Former Member
0 Kudos

Hi!

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

Regards

Tamá

Former Member
0 Kudos

Say, Ex: for invoce i have designed a Smart Form For Invoice as per the client's Requirement. So now if i create/Change the invoice document, my smartform should trigger. How can i achieve this ?

Former Member
0 Kudos

Hi,

What is your exact requirement ?

To find the driver program name or to know how smartform will trigger??

Thanks.

Swati.

Former Member
0 Kudos

Hi,

I u want to make ur smart form trigger then goto NACE transaction.

Please check this link

Best regards,

raam

Former Member
0 Kudos

ok to be clear , in my previous case, how can we make our custom smartform trigger ?

Former Member
0 Kudos

You need to assign your smartform name and driver program name in NACE so that it gets trigerred.

Thanks

Nayan

Former Member
0 Kudos

Hi,

I think you can mke it through NACE Tcode.

Thanks.

Swati.

Former Member
0 Kudos

hi,

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

Regards,

Santosh