2006 Aug 23 11:28 AM
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.
2006 Aug 23 11:30 AM
hi,
chcek TNAPR table by passing the Form name as Smartform name.
Regards
Ashok P.
2006 Aug 23 11:31 AM
In the transaction NACE, you can find the smart form and its associated driver program for a required transaction.
2006 Aug 23 11:32 AM
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...
2006 Aug 23 11:32 AM
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
2006 Aug 23 11:56 AM
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
2006 Aug 23 12:00 PM
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.
2006 Aug 23 2:14 PM
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.
2006 Aug 23 2:30 PM
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
2006 Aug 23 12:17 PM
Hi,
use tnapr table or nact transaction to find
driver program name.
Regards
Amole