2007 Mar 30 4:57 AM
Hello Friends,
If I know the Script Name and Corresponding Tr. Code, How can I find Print Program?
Thanks & Regards
Sathish Kumar
2007 Mar 30 5:02 AM
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
2007 Mar 30 5:04 AM
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
2007 Mar 30 5:18 AM
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
2007 Mar 30 5:22 AM
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.
2007 Mar 30 6:36 AM
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 !