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

Error in smartform : Message no. SMARTFORMS210

former_member211992
Active Participant
0 Likes
10,435

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

1 ACCEPTED SOLUTION
Read only

venkateswaran_k
Active Contributor
0 Likes
6,872

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

19 REPLIES 19
Read only

nabheetscn
SAP Champion
SAP Champion
0 Likes
6,872

When you go inside smartform what is the status of it Active/Inactive or what. ? Please add a snapshot

Read only

0 Likes
6,872

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

Read only

0 Likes
6,872

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.

Read only

Former Member
0 Likes
6,872

Check whether your TRs are moved successfully(transport logs)?

Also check whether any styles/other objects used in smartforms exist or not?

Read only

venkateswaran_k
Active Contributor
0 Likes
6,873

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

Read only

0 Likes
6,872

Dear venkat ,

Thanks for ur reply

im getting error

Error during generation of form 'Z_inv'

Message no. SMARTFORMS210

Read only

0 Likes
6,872

check this link please

http://scn.sap.com/thread/1386210

Read only

0 Likes
6,872

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

Read only

0 Likes
6,872

Dear Karthik

can you confirm your transport logs does not have any error.

Please post the transport logs.

Read only

Former Member
0 Likes
6,872

Dear karthik,

Wil you please write down the description of the message. It will be right below the no.

regards,

Read only

former_member211992
Active Participant
0 Likes
6,872

Thanks for all ur replies

I have found the sol ,, i have missed one data dictionary object,,that was the problem

Read only

0 Likes
6,872

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

Read only

former_member209120
Active Contributor
0 Likes
6,872

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 ?

Read only

Former Member
0 Likes
6,872

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

Read only

0 Likes
6,872

Hi KS

The thread has been asnwered.

Thanks

Nabheet

Read only

0 Likes
6,872

When i started typing it wasnt answered And well, i just wanted to add my inputs.

Regards,

KS

Read only

0 Likes
6,872

cool..ok..

Read only

prateek_dhawan18
Participant
6,872

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.

Read only

6,872

Hi Prateek,

Thank you very much.

Your solution solved my probem.

Regards,

Sai Gopala Krishna.