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: How to get a where used list.

Former Member
0 Likes
5,171

Hi everyone,

It is possible to find from where a sapscript form is called?

I'm working with a form writen by someone else and I want to know which data is passed to the form when is called but sapscripts doesn't have a where-used-list command to locate it.

Any help will be appreciated!!!

Hi everyone,

It is possible to find from where a sapscript form is called?

I'm working with a form writen by someone else and I want to know which data is passed to the form when is called but sapscripts doesn't have a where-used-list command to locate it.

Any help will be appreciated!!!

4 REPLIES 4
Read only

Former Member
0 Likes
2,166

Hi,

Sapcsript is called from a driver program.In the driver program it is called with Function Module OPEN_FORM.

Then all the data is passed to the form from the program with the FM WRITE_FORM.

For knowing the program name if you know form name or vice versa,you can check it in table TNAPR.

Read only

Former Member
0 Likes
2,166

hi,

open the script, go to the menu option <b>FORM->CHECK->TEXTS</b> it will give a dialog box with a list of print programs where its was calling .

Generally while developing these type of programs form name and program name have the similar names to avoid this type of confusion.

Hope this help.

Read only

0 Likes
2,166

Hi,

You can also check for it in the table TNAPR..

Regards,

Suresh Datti

sorry didn't realise Phani had already mentioned this Table...

Message was edited by: Suresh Datti

Read only

Former Member
0 Likes
2,166

Hi orlando,

1. open layout in display mode thru se71.

2. FORM--->CHECK---->TEXTS.

3. it will display small window.

4. click ok

5. again it will display a window,

in which it will list out

the programs, which are using this layout !

regards,

amit m.