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

sapscript and print program

Former Member
0 Likes
896

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!

8 REPLIES 8
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
858

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

Read only

Former Member
0 Likes
858

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.

Read only

0 Likes
858

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

Read only

Former Member
0 Likes
858

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 .

Read only

Former Member
0 Likes
858

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,

Read only

Former Member
0 Likes
858

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

Read only

Former Member
0 Likes
858

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

Read only

hymavathi_oruganti
Active Contributor
0 Likes
858

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