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

PRINTPROGRAM FOR SMARTFORM

Former Member
0 Likes
487

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

4 REPLIES 4
Read only

Former Member
0 Likes
448

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

Read only

Former Member
0 Likes
448

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.

Read only

0 Likes
448

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...

Read only

0 Likes
448

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..