‎2006 Aug 16 11:19 PM
How to know which program is associated with a given sapscript?
I heard that we can get this info from TNAPR table or NAST , but if so, can you tell me which field values are to be filled here to get the required answer?
Thanks in advance!
‎2006 Aug 16 11:24 PM
The print progam and sapscript form are tied to output types. You need to know what output type you are working with in order to find the print program and form.
You can also use transaction NACE to view the output types and print programs/ forms.
What output type are you talking about?
Regards,
Rich Heilman
‎2006 Aug 16 11:24 PM
HI Krishen,
Go to TNAPR table,to the selection-screen and enter the form name or the progname or the output type.You can get the corresponding formnames and the driver programs associated with the output type.
Thanks,
Vamsi.
‎2006 Aug 17 1:46 AM
Hi,
1) use this function module and specify the form name:-
<b>SAPSCRIPT_SELECT_PROGRAM</b>
2) Or try using another FM
<b>SAPSCRIPT_USELIST_LIST_PROGS</b>
3)Or goto se11 and display contents of table TNAPR and TTXFP specifying the form name field
Cheers
VJ
If this helps and answers ur question mark points and close the thread
‎2006 Aug 17 11:24 AM
Hi,
Goto TNAPR and provide the name
of the output type in the kschl(output type)
press F8, and you'll get the required form name
and program .
‎2006 Aug 17 11:29 AM
Hi,
You find the settings in NACE only for MM/SD related modules,if you are searching the forms/driver programs in any other module, then you have to use the relevant transactions to do so,
Rgds,
‎2006 Aug 17 11:42 AM
Hello Krishnen
Please check table TTXFP with form name and you would get the list of abaps/transaction for it ..also there is field called last use where a X in the field denotes usage of the particular abap for the form.
If you have an output type assocaited for printing etc and that case you can find the entry in TNAPR table.
Regards
anurag
Message was edited by: Anurag Bankley
‎2006 Aug 17 11:45 AM
Hi,
You can also do a syntax check in SE71 for the given script. do a check for texts (FORM ->Check ->Texts then say ok), then it will ask you to select the print prgram , in this case you may have one or more print programs. if it is one then that is the Print program.
Regards
vijay
‎2006 Aug 17 11:53 AM
in transaction NACE,
SELECT THE APPLICATION AND THEN CLICK ON OUTPUT TYPES
now , SELECT AN OUTPUT TYPE AND CLICK ON PROCESSING ROUTINES, U CAN FIND THE FORM ROUTINE ATTACHED TO THE FORM