2006 Nov 22 9:03 AM
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?
2006 Nov 22 9:07 AM
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?
2006 Nov 22 9:06 AM
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
2006 Nov 22 9:06 AM
2006 Nov 22 9:07 AM
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
2006 Nov 22 9:07 AM
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
2006 Nov 22 9:11 AM
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