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

run smartform in PRD server

Former Member
0 Likes
1,096

Hello experts,

I maintained a report and corresponding smartform in development server. After these were transported to the PRD, the error showed, 'The function module " " is called, but cannot be found in the library.'. After debugging, I found the form name was not converted using

'SSF_FUNCTION_MODULE_NAME'. At DB Table in PRD, STXFVARI the SAP System for the smartform is PRD. How can I solve the problem? Thanx.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

     EXPORTING

       FORMNAME           = LF_FORMNAME 

     IMPORTING

       FM_NAME            = LF_FM_NAME  

     EXCEPTIONS

       NO_FORM            = 1      "

       NO_FUNCTION_MODULE = 2.     "

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
984

Hi T S,

In PRD,Go to Smartforms, enter the smartform name, click on smartforms->generate. Also you need to activate the Function Module generated. Open your smartform, from Environment->Function Module Name. Go to SE37, put the FM name and click on Activate. This should work! Hope it helps!

Hello experts,

I maintained a report and corresponding smartform in development server. After these were transported to the PRD, the error showed, 'The function module " " is called, but cannot be found in the library.'. After debugging, I found the form name was not converted using

'SSF_FUNCTION_MODULE_NAME'. At DB Table in PRD, STXFVARI the SAP System for the smartform is PRD. How can I solve the problem? Thanx.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

     EXPORTING

       FORMNAME           = LF_FORMNAME 

     IMPORTING

       FM_NAME            = LF_FM_NAME  

     EXCEPTIONS

       NO_FORM            = 1      "

       NO_FUNCTION_MODULE = 2.     "

4 REPLIES 4
Read only

Former Member
0 Likes
985

Hi T S,

In PRD,Go to Smartforms, enter the smartform name, click on smartforms->generate. Also you need to activate the Function Module generated. Open your smartform, from Environment->Function Module Name. Go to SE37, put the FM name and click on Activate. This should work! Hope it helps!

Read only

RaymondGiuseppi
Active Contributor
0 Likes
984

Check first the transport log of the request which contained the Smartforms, (check for activation)

Regards,

Raymond

Read only

Former Member
0 Likes
984

Hi T S,

We have faced this issue before hence try doing this.

In PRD,Go to Smartforms, enter the smartform name, click on smartforms->generate. Also you need to activate the Function Module generated. Open your smartform, from Environment->Function Module Name. Go to SE37, put the FM name and click on Activate. This should work! Hope it helps!

Read only

Former Member
0 Likes
984

Hi,

When you transported the form were all the objects activated & generated properly ? You can re-import the transport request in production again or create another request and include all the activated and generated objects in the TR and then transport the TR.

Hope this helps.

Thanks,

Tooshar Bendale