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

To find smartform/script name

Former Member
0 Likes
1,821

Hi Guys,

While excuting the report,the output comes in smartform,i think they have used smartforms/script,How to find out that script/smartform name used in reports?

Warm Regards,

Mohandoss P.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,478

if it is scripts search for open_form FM

if smartforms sarch for this SSF_FUNCTION_MODULE_NAME

FM........

Reward IF........

Regards

Anbu

Hi Guys,

While excuting the report,the output comes in smartform,i think they have used smartforms/script,How to find out that script/smartform name used in reports?

Warm Regards,

Mohandoss P.

7 REPLIES 7
Read only

GauthamV
Active Contributor
0 Likes
1,478

hi,

check the table TNAPR.

Read only

Former Member
0 Likes
1,479

if it is scripts search for open_form FM

if smartforms sarch for this SSF_FUNCTION_MODULE_NAME

FM........

Reward IF........

Regards

Anbu

Read only

Former Member
0 Likes
1,478

good day friend.

In order for you to see all the PRINT PROGRAMS together with its corresponding FORMS (whether done in Sapscript or SmartForms), use the tcode NACE.

Once you execute this tcode(NACE), it will display all the applications.The thing that Im not sure is, the way it was organized.

For you to have a clear overview, i will give a sample. Just follow the steps i will provide and after which, you can do your own search of the print program.

1. Type tcode NACE.

2. Select EF --->purchase Order.It must be highlighted.

3. Click "Output Type" above. A new window will appear afterwards.

4. In this new window, Select NEU -->purchase Order.

5. Once it is highlighted, click "Processing Routines" found at the left side of the window.

6. After which, a new display list appears.

7. In this display list, double click the name of the program under the tag "Print output".

8. The particulars of that program appears.

9. Finally, Click the name of the program and the "PRINT PROGRAM" you want to view appears thereafter.

Plz reward if this is helpful.

good luck.

Read only

Former Member
0 Likes
1,478

Hi ,

There will be function module used in the report for calling the smartform called SSF_FUNCTION_MODULE_NAME

This function module takess the name of the smartform as input parameter.

Read only

JoffyJohn
Active Contributor
0 Likes
1,478

first activate debugging in sapscript at tcode :SE71

(Utilities menu)

If its a sapscript program the control goes to sapscript program during the running of the report.

Else in the report program find function module call for function module

SSF_FUNCTION_MODULE_NAME

the value of FORMNAME field gives the form name of the smartform program.

Read only

Former Member
0 Likes
1,478

hi,

table TNAPR .

Read only

asik_shameem
Active Contributor
0 Likes
1,478

Hi

SCRIPT:

Goto SE71 -> Utilities -> Activate Debugger.

And execute your report. It it triggers you can find the form name in Debugger.

SMARTFORMS:

Goto FM SSF_FUNCTION_MODULE_NAME and put a break point in the FM and execute your report. There FORMNAME is the smartform name.