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

sap script

Former Member
0 Likes
475

Hi

How can I know the print program of a sap script form.

if i do some changes in sap script do i need to activate the print program as well , pls guide.

kind regards

Anup

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
452

Method1) Go to TNAPR table and pass the form name to get the program name.

Method2) Do a Check on the sapscript (Chose from menu Form->Check->Definition and Form->Check->Texts). You would get a pop up with the name of the print program/s

Regards,

Ravi

5 REPLIES 5
Read only

Former Member
0 Likes
452

if u have only changed the existing layout of the script then no change but if u have creatd new window or new text element (which wil take value from prgrm) then yes u have to change ur print program as well..

Read only

Former Member
0 Likes
452

Hi,

debugg the sapscript and check the value of sy-repid to get the program name.

No you do not need to activate the print program , if you change the script.

Regards

Arun

Read only

Former Member
0 Likes
452

No need to activate the print program if u changed the script.

Read only

Former Member
0 Likes
452

Hi Anupam,

You need to activate the the print program every time u change the form.

To find the print program:

GO to SE71 and enter the form name and click display button.

In the menu FORM >CHECK> TEXT.

This will diplay all the print programs apppended to the form.

If it is function pool .

With the know Formname use the TNAPR table and find out the routine name.

Put the breakpoint in the routine.

regards,

keerthi

Read only

Former Member
0 Likes
453

Method1) Go to TNAPR table and pass the form name to get the program name.

Method2) Do a Check on the sapscript (Chose from menu Form->Check->Definition and Form->Check->Texts). You would get a pop up with the name of the print program/s

Regards,

Ravi