Application Development 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: 

How to find Print Program in Scripts?

former_member193471
Active Contributor
0 Kudos
110

Hello Friends,

If I know the Script Name and Corresponding Tr. Code, How can I find Print Program?

Thanks & Regards

Sathish Kumar

5 REPLIES 5

Former Member
0 Kudos
74

in tcode NACE if you know the application name choose that and click output type.

here chose your output type and click perocessing routines..

or check table TNAPR.

regards

shiba dutta

Former Member
0 Kudos
74

this can be done by table TNAPR.

or using NACE transaction

The table is TNAPR

here you can query the table with the field

FONAM = 'Smartform name'. which will give you the corresponding program name.

u can also try the following function modules but i think tnapr will do it

SAPSCRIPT_SELECT_PROGRAM

SAPSCRIPT_USELIST_LIST_PROGS

Former Member
0 Kudos
74

hi satish,

You will find details in the TNAPR table.

The tnapr table has the field for Form name. The program is triggered through output mechanism. When user creates the output type in any transaction and saves it , the output processing program(RSNAST00) picks the data from NAST and calls the picks the processing program name from TNAPR based on the output type(KSCHL). The form name in the TNAPR will be the triggering point for the print program.

If you donot find entry in TNAPR then you can find print program by displaying the Form in SE71 and goto menu Form->check Texts. Select the include res check box and press enter. you will get the print program name.

even you can check it in NACE transaction.

some layouts can be triggered from the transaction.we dont execute the print program directly.

For Example,

to display PO layout, we will goto ME22N/ME21N transction and we will select the output type and say PRINT PREVIEW.that time,your Print program will be executed and in turn your layout.

for some layouts,we directly execute the print program by using a transaction code.that program will have some selection parameters and we will give them and execute it.

regartds,

keerthi

Former Member
0 Kudos
74

This is a simple solution, but easiest way to do it.If u know tcode, go to se93,give tcode name & display, u wil find the corr prog for it.

Former Member
0 Kudos
74

Hi

go to se71 enter the form name whose print program u want to find

click DISPLAY button

go to menu

Form-->

check-->

Text

A pop up window will come

and then ENTER

u will find the print programs using this form .

give points if u satisfy with the answer !