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

Function Module Generation Error - Smartform

Former Member
0 Likes
3,081

Dear Experts,

I hv called a smartform in my report which is working fine in development server.

but when i run my report in quality server it display an error msg as

" unable to generate the form 'formname'.

And also when open my smartform using smartforms tcode in quality server, it display a msg as

'No function module has been generated yet'

Can any one help in this issue.

thanks in advance.

Regards,

Maverick

9 REPLIES 9
Read only

Former Member
0 Likes
1,636

Hi,

have you checked whethere Transport is successful from DEV to Quality. All smart form style has been include in the Transport Request number. check and let me know

Read only

0 Likes
1,636

Thanks for ur reply.

Yes. Every this has been transported successfully.

Regards,

Maverick

Read only

Former Member
0 Likes
1,636

hello,

in quality server for same form new function module will generate .

in such case, in developement server u should call the smart form in program like

given below

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

FORMNAME = < pass the smart form name>

  • VARIANT = ' '

  • DIRECT_CALL = ' '

  • IMPORTING

  • FM_NAME = < here u will get the generated fm name into variable>

  • EXCEPTIONS

  • NO_FORM = 1

  • NO_FUNCTION_MODULE = 2

  • OTHERS = 3

.

IF SY-SUBRC <> 0.

  • MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

  • WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

now call function < variable name> "'/bc123456ca'

try this it will work out in dev, qual and prod.

Edited by: Premchander Arumugam on Apr 21, 2010 12:04 PM

Read only

0 Likes
1,636

Thanks Premchander Arumugam fir ur suggestion.

I hv called the smartform in the same way u hv suggested.

Regards,

Maverick

Read only

Former Member
0 Likes
1,636

Hi,

Pls try this:

Go to Tcode - Smartforms In production system or where u r having generationg error.

on the first screen you find Generate Option in Manu Bar under SmartForms.

Hence in SmartForms -> Generate

Generate it and check might be problem will solve......

Lokesh....

Read only

0 Likes
1,636

Thanks Lokesh,

I did same and it displayed error msg as

'Error during generation of form 'formname' '

Regaqrds,

Maverick

Read only

0 Likes
1,636

Check if any of the objects which are used in smart form (like z objects) are still to be transported to QA.

Regards

Vinod

Read only

fprokopiuk
Active Participant
0 Likes
1,636

The best way to get more information in such case is to open form and run check (Ctrl+F4) on system where error occurs. Sometimes if configuration is not the same on test and development environment it causes error, for example:

Text ID XXXX for text object VBBP does not exist

On development server it is properly configured but on quality it is not available so it causes problem with form generation.

Read only

prateek_dhawan18
Participant
0 Likes
1,636

The main reason for this is the missing objects in quality or production. open smartform. from menu bar , click on smartform and select check from the drop down. it will give you the error responsible for non generation of smartform