Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to find Driver program for a smartform

Former Member
0 Likes
11,143

Dear Friends,

I'm new to smartforms. Can any of you tell me how to find the Driver prog for a smartform.

Many thanks in advance.

Thanks & regards,

Raghuveer K.

Dear Friends,

I'm new to smartforms. Can any of you tell me how to find the Driver prog for a smartform.

Many thanks in advance.

Thanks & regards,

Raghuveer K.

9 REPLIES 9
Read only

Former Member
0 Likes
3,678

hi,

chcek TNAPR table by passing the Form name as Smartform name.

Regards

Ashok P.

Read only

Former Member
0 Likes
3,678

In the transaction NACE, you can find the smart form and its associated driver program for a required transaction.

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
3,678

Hi,

If ur smartform attached to some Y or Z driver Program, then it is difficult to find out. Becauce FM for Smartform is changed at runtime. Our Y or Z Program get current FM for SmartForms by FM 'SSF_FUNCTION_MODULE_NAME'.

In table TPANR, U can find those smartforms & Program names which are attached with some output type.

check it out..

cheers,

simha.

Mark all the helpful answers...

Read only

Former Member
0 Likes
3,678

Go to the smartforms transaction.

Chose from menu Environment->Function Module.

Note the name of the fm.

Go to se37.

Place the cursor on the Fm name and do a where-used-list.

You will find the programs which use that fm.

or you can find it in NACE transaction

or in the table tnapr.

Regards,

ravi

Read only

Former Member
0 Likes
3,678

Dear Friends,

Thanks for your replies. I checked the TNAPR table and Nace transactions. By using TNAPR table, we can check the SAP Scripts but not for Smart Forms. Even I guess Nace transaction also wont work.

Could you please suggest me any other way.

Regards,

Raghuveer

Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
3,678

Hi,

Try using the function module generated by ur program and check it with where used -list..

may be it may solve ur problem...

cheers,

Simha.

Read only

0 Likes
3,678

hi,

Use the FM generated by your program to find the program. You can check that in the where used -list..

You cannot check it in NACE or TNAPR table as some configuration needs to be done before they gets saved here.

Regards,

Richa.

Read only

0 Likes
3,678

If the application uses message control to print the smartform, then chekc in TNAPR, TNAPR-PGNAM is program name and TNAPR-SFORM is smartform.

If you are trying to look for SAP standard program for SAP smartform, get the development class/Package name of the smartform from general attributes, and look for the best matching program name in the dev class in SE80.

That's one way to find.

Do a where used list on fm SSF_FUNCTION_MODULE_NAME, and search for the smartform name in the resulting programs. if you are lucky, you can find it quickly.

There's no defined process to fine print program for a smartform.

Regards

Sridhar

Read only

Former Member
0 Likes
3,678

Hi,

use tnapr table or nact transaction to find

driver program name.

Regards

Amole