‎2013 Oct 24 11:58 AM
Dear all
My smartforms working good in dev and in qas environment , i moved that to prd . when i excute(f8) thro smartforms t code im getting error
'Message no. SMARTFORMS210'. how to rectify that
thanks
‎2013 Oct 24 12:08 PM
Dear Karthik,
This error means the smartform at production client is not generated successfuly. this is because either there are some dependant object not available in production system.
In order to find the generation error, you do the following at production;
Go to SMARTFORMS transaction.
type your form name and without choosing change or display in the menu options you will find
Smartforms-->Generate.
Let me know what is your result.
Regards,
Venkat
‎2013 Oct 24 12:01 PM
When you go inside smartform what is the status of it Active/Inactive or what. ? Please add a snapshot
‎2013 Oct 24 12:09 PM
i have added new codes in exixting smartform and i moved to prd ,,when i debug thro se38 im seeing new codes in dev and qas but not in PRD
‎2013 Oct 24 12:20 PM
please go to smartform and check the status of smartform it must be deactivated.
You have used some object in your coding which is not production.
‎2013 Oct 24 12:01 PM
Check whether your TRs are moved successfully(transport logs)?
Also check whether any styles/other objects used in smartforms exist or not?
‎2013 Oct 24 12:08 PM
Dear Karthik,
This error means the smartform at production client is not generated successfuly. this is because either there are some dependant object not available in production system.
In order to find the generation error, you do the following at production;
Go to SMARTFORMS transaction.
type your form name and without choosing change or display in the menu options you will find
Smartforms-->Generate.
Let me know what is your result.
Regards,
Venkat
‎2013 Oct 24 12:13 PM
Dear venkat ,
Thanks for ur reply
im getting error
Message no. SMARTFORMS210
‎2013 Oct 24 12:17 PM
‎2013 Oct 24 12:20 PM
Dear Karthik,
It means, some code you have written is havng compilation errors. Review all your code in the form.
1. Look for Global declaration variables in the form.. Is there any dependant objects.
2. Check all interface variables in the form
3. Check all code sections inside the form
It is very clear that some dependant objct, that referred inside your form is not existing in production.
Check the transport error as well
Rgards,
Venkat
‎2013 Oct 24 12:37 PM
Dear Karthik
can you confirm your transport logs does not have any error.
Please post the transport logs.
‎2013 Oct 24 12:40 PM
Dear karthik,
Wil you please write down the description of the message. It will be right below the no.
regards,
‎2013 Oct 24 12:42 PM
Thanks for all ur replies
I have found the sol ,, i have missed one data dictionary object,,that was the problem
‎2015 Sep 03 10:07 AM
Thanks for giving the solution, I got the same problem and I found during upgradation some Z tables are missing in quality server which are used in smartform.
Just skip the error in debug mode by changing l_return value to 0 and it will generate the function module with error,
now check the generated program in se38, you will find missing objects
‎2013 Oct 24 12:47 PM
Hi karthik m,
im getting error
Error during generation of form 'Z_inv'
Message no. SMARTFORMS210
Check Table Type created for Smartform where moved to PRD or not ?
‎2013 Oct 24 1:03 PM
Hi Karthik,
Smartforms are client-indepenedent - which means once they generate a FM on activation, this FM runs them in any client.
If you F8 your smarform in 'SMARTFORMS', you will see your FM name, which then you must be calling in your driver program. This auto-generated FM name, when called in your driver program, provides export and import parameters as defined in your smartform (Form Interface - Import, Export, Tables, Exceptions).
So, how would it be, if we allow SF to generate FM name dynamically and then store them in some variable in the driver program ?
Heres how we do it in driver program- this should help:
DATA: SFNAME TYPE TDSFNAME,
FM_NAM TYPE RS38L_FNAM.
SFNAME = 'YOUR_SMARTFORM_NAME'.
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME' "FM to import Smartform FM
EXPORTING
FORMNAME = SFNAME "your SF name
* VARIANT = ' '
* DIRECT_CALL = ' '
IMPORTING
FM_NAME = FM_NAM "FM generated
EXCEPTIONS
NO_FORM = 1
NO_FUNCTION_MODULE = 2
OTHERS = 3.
Now in "Pattern" give "FM_NAM".
It will populate all the parameters s defined in Form Interface of your SF... Also, everytime you change any parameters (add/remove fields, change types) in Form Interface of SF, you must recall "FM_NAM" and then provide parameters accordingly.
Regards,
KS
‎2013 Oct 24 1:06 PM
‎2013 Oct 24 1:08 PM
When i started typing it wasnt answered And well, i just wanted to add my inputs.
Regards,
KS
‎2013 Oct 24 1:10 PM
‎2020 Nov 13 8:46 AM
The main error for this is the missing objects in the system. go to smart forms in menu bar and then select check.
It will give you the error which is not letting your smart form to be generated.
‎2021 Sep 10 7:07 AM
Hi Prateek,
Thank you very much.
Your solution solved my probem.
Regards,
Sai Gopala Krishna.