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

Finding print pgm for a smartform

Former Member
0 Likes
1,010

Hi Experts,

How to find a print pgm for a custom developed.smartform.It does not have any output type.So we can not search in table TNAPR.

If i take the FM of that smartform which i get when form is activated,

and click on Where used list,it is giving "does not found in any pgms .posibilly dynamic calls..?

So can any body tell me is there any other way?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
954

If its a custom smart form and has not been configured yet, its going to be difficult.

1. Scan the ABAP source and search for the smart form name, becuase the developer would have used it some where, SEARCH by the FORM name and not by the function module generated.

Else look at the all the programs where SSF_FUNCTION_MODULE_NAME is being called. It has to be one of the programs , and see what is the form name that is being passed to SSF_FUNCTION_MODULE_NAME. In one of the programs you form name will be passed.

Regards,

Ravi

Note Please mark all the helpful answers

Message was edited by:

Ravikumar Allampallam

Hi Experts,

How to find a print pgm for a custom developed.smartform.It does not have any output type.So we can not search in table TNAPR.

If i take the FM of that smartform which i get when form is activated,

and click on Where used list,it is giving "does not found in any pgms .posibilly dynamic calls..?

So can any body tell me is there any other way?

5 REPLIES 5
Read only

Former Member
0 Likes
954

1)transaction NACE.

2) If u know the driver program than in debugger mode u know the form name in function <b>SSF*......</b>

CALL FUNCTION <b>'SSF_FUNCTION_MODULE_NAME'</b>

EXPORTING

formname = <b>G_FORMNAME</b>

IMPORTING

FM_NAME = G_FM_NAME.

G_FORMNAME- GIVE U THE FORM NAME.

kishan negi

Read only

gopi_narendra
Active Contributor
0 Likes
954

Regards

- Gopi

Read only

Former Member
0 Likes
955

If its a custom smart form and has not been configured yet, its going to be difficult.

1. Scan the ABAP source and search for the smart form name, becuase the developer would have used it some where, SEARCH by the FORM name and not by the function module generated.

Else look at the all the programs where SSF_FUNCTION_MODULE_NAME is being called. It has to be one of the programs , and see what is the form name that is being passed to SSF_FUNCTION_MODULE_NAME. In one of the programs you form name will be passed.

Regards,

Ravi

Note Please mark all the helpful answers

Message was edited by:

Ravikumar Allampallam

Read only

Former Member
0 Likes
954

hi,

use one of the ways.

1) you can get it in se80.

2) excecute the smartform, u will have the fm generated there is a where used button which would retrive the used program of that function module

the first is advisable

santhosh

Read only

Former Member
0 Likes
954

Hi

It's not easy to do that, if the smartform is custom you can use the program RSRSCAN1 to search a string in a program: the string to be searched is smartform name.

If the smartform is standard, you can say us what it should print, perhaps someone knows in which table is managed.

TNAPR table manages only the print for logistic (so SD & MM), but the rest of SAP modules have own tables.

Max