‎2006 Aug 31 4:33 PM
hi,
is there any fn module like "SAPSCRIPT_SELECT_PROGRAM" whihc will give the print program name if i give the sap script form name.i need to know if there is any fn module availabe to find out print prgm for the smartform.i have tried in tnapr table n also in nace.but i couldnt find out.i need the print prgm for the smartform "RE_CN_020".
thanx in advance
‎2006 Aug 31 4:39 PM
Hi,
You can check in NACE to see if any program and this Smartform are assigned to any output type.
As far as i know, there is no such FM to give print program for a given Smartform.
Regards,
Raj
‎2006 Aug 31 4:40 PM
hi,
Get the function module name (Environment -> function module name ) that is generated for this smartform.
Goto SE37-> give the function module name and click on Where used list button, you can get the driver program of smartform.
If it is dynamically called, you can find any entries in where used list.
Regards,
Sailaja.
‎2006 Aug 31 4:55 PM
thanx for the reply.i tried with where used list but the prgm is called dynamically.any help would b greatful.i guess everysmartform will definetly have one printprgm.i have been searching for this all day.pls help...
‎2006 Aug 31 6:06 PM
HI Rahul,
1. check the table tnapr, there give the form name and check for the entries.. may be u will find the program name in that table.
2. go to the form editor in sapscript or smartform and in menu item Goto--> change editor...
which displays the editor in command display mode.
and on the right side in application toolbar... there is a button called program symbols.. clcik on that .. a popup will pop up with print program ( if it is assigned and executed my print program).
rewards if it helps..