cancel
Showing results for 
Search instead for 
Did you mean: 

finding smartform where used list

Former Member

Hi sap sdn fans,

How to find program name using smartform

i tried tnapr and se37 (where used list) options

but it is not showing any results

in tnapr it is displaying error no table entries found

i want alternative to find driver program name using smartform.

Regards

udaya bhasker bandi

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Uaday,

What Mr. Florian Kemmer said is correct.

"where used"-list for smartforms is not possible at all.

You can find smartforms name via two ways.

Go to transaction SMARTFORMS.

Environment menu->Function module name or use Function module to find samrtform name.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = 'SAMRT Form NAME'

IMPORTING

fm_name = gv_smartform

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

But if you want to find driver program for that then ,

CLICK FORM INTERFACE-> select Data dictionary object and where use list.

You can as well check table TNAPR.

Former Member
0 Kudos

Actually I think it is possible.

When you use the 'SSF_FUNCTION_MODULE_NAME'

you use this parameter.

You can scan the ABAP code searching 'SAMRT Form NAME' (with the name of your smartform of course) with an appropiate program.

Then, discart those lines where it is used as a comment.

Former Member
0 Kudos

Sorry Arthor, but no it is NOT possible. otherwise i would had made myself the work to post it.

Like i said in my first post the formname in the call 'SSF_FUNCTION_MODULE_NAME' is generic, means you got a variable here and no literal.

Variables ONLY have a value while in runtime, so there is no where-used-list for smartforms and never will be.

regards

Former Member
0 Kudos

a "where used"-list for smartforms is not possible.

Smartforms calls are in 99% of the cases generic and so you will not be able to get a "where used"-list.

you can as well check table TNAPR, just be sure to use the appropriate field for your smartform name (SFORM)

fields FONAM - FONAM5 are just for sap-script forms.

DavidLY
Advisor
Advisor
0 Kudos

Hello,

You can try FM: SSF_FUNCTION_MODULE_NAME.

Regards,

David