cancel
Showing results for 
Search instead for 
Did you mean: 

smart form

Former Member
0 Kudos

Hi friends,

I have smart form name(Z..) I want to find out the print program corresponding to that form. Please tell me how to find out the print program. In the table TNAPR I am not able to see any print program name corresponding to the smart form which I am checking.

Thanks to all.

Accepted Solutions (0)

Answers (5)

Answers (5)

Former Member
0 Kudos

consider a scenario

u hve developed a smart form in 'SMARTFORMS' transaction as 'zpurchaseorder'.

if u want to assign it to standard printprogram .....

oneway of doing this is .....

goto nace

select EF ( application type)

click on output type ...select outtype NEU( new po printout) and click on processing routines ... in the screen u will find

MEDIUM : 1

SHORTTEXT : Print output

PROGRAM : sapfm06p

FORMROUTINE :entry_neu

FORM :

SMARTFORM : zpurchaseorder

give it and save it ..it will ask for request number give u r own request number and save it .....then u r smartform n program name in TNAPR table it would be there ....then go to me22n n check with print preview

another way of doing this is

goto SE38

give 'RSNAST00' ( Selection Program for Issuing Output )

in this program search the fields sform ,pgnam,ronam(these r the fields for formname,programname,routine name) ........

search for sform in program rsnast00 u will find in line no: 816

859 tnapr-sform = nast-pfld3.

keep a break point here.

when u hit on printpreview in me22n it will take u into debugger editor with rsnast00 program ....where u can assign u r program name,smartform name,routine name .............(remember u need assign u r smartform name)

ok

like this u can assign u r zsmartform to u r printprogram .

unless and untill u give it nace or rsnast00(runtime) u wont find the zsmartform entry in tnapr table ....

i hope u r clear now

rewards would be helpful

bye

Former Member
0 Kudos

hi babji ,

first let me know u r form belongs to which of these things sales, purchase order,shipping,billing,invoice........................

Former Member
0 Kudos

Hi,

TNAPR table contains program names for the smartforms which has defined condition type. Bcoz., condition type field is the keyfield in that table. For normal smartforms this table doesn't contain program name.

Reward if found useful.

Former Member
0 Kudos

Just tell please a little bit more. At least in which module this form is used?

Maybe it's a customer form and it's printed in some Z-program or maybe it's printed in some business transaction?

former_member189629
Active Contributor
0 Kudos

HI Babji,

If it is a custom smart form, u need to write the driver pgm yourself. If its a standard form and u copied to Z, u'll find the pgm in nace.

Close this thread.. when your problem is solved

Reward if Helpful

Regards

Karthik