‎2010 Apr 21 7:24 AM
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
‎2010 Apr 21 7:29 AM
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
‎2010 Apr 21 7:31 AM
Thanks for ur reply.
Yes. Every this has been transported successfully.
Regards,
Maverick
‎2010 Apr 21 7:33 AM
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
‎2010 Apr 21 7:37 AM
Thanks Premchander Arumugam fir ur suggestion.
I hv called the smartform in the same way u hv suggested.
Regards,
Maverick
‎2010 Apr 21 7:35 AM
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....
‎2010 Apr 21 7:41 AM
Thanks Lokesh,
I did same and it displayed error msg as
'Error during generation of form 'formname' '
Regaqrds,
Maverick
‎2010 Apr 21 7:44 AM
Check if any of the objects which are used in smart form (like z objects) are still to be transported to QA.
Regards
Vinod
‎2016 Apr 15 10:09 AM
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.
‎2020 Nov 13 8:47 AM
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