cancel
Showing results for 
Search instead for 
Did you mean: 

Error while passing parameters to a smart form

Former Member
0 Kudos

Hi all,

I have created a simple Smartform where i am trying to pass two import parameters MATNR(like MAKT-MATNR) and MAKTX(MAKT-MAKTX).tHOUGH THE APPLICATION SEEMS TO RUN FINE BUT IT IS GIVING A WARNING ' Field MAKTX has no defined value '.

Please help in solving this.

Regards,

Bhumika

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

hi,

i think u declare that fields globally, and u are not calling them in the program lines where u have written the code , u have to to declare them in the flow logic also above the code where u are write that one. it asks for import / export params and then it works fine try it......

regards

venkat.>>>>>>>>>>>

Former Member
0 Kudos

Thanks all

Former Member
0 Kudos

Thanks shweta,

Actually i tried what you said.Checking only one checkbox 'Pass value' has resolved the issue but now i have one more doubt, could you tell me why is it asking me to check that box for both matnr & maktx field when the error seems to be only with one field maktx....

Regards,

Bhumika

Former Member
0 Kudos

See checking pass value is for when you give any field name to print then it generally takes the value which you assigned in your print program. Here while we declare with out passing the value then the smart form checks for some default value where it throws a warning message.

Hence here no need to assign any manual default value.

Once you checked it now it is expecting you to do the same for even matnr because it may or may not contain any default values.

former_member188005
Contributor
0 Kudos

Bhumika,

While declaring the variable assign blank value. then u will get rid of these warning...

Just assign ' '.

Regards..

Former Member
0 Kudos

I encounter this warning msg in many smart forms that I design, but normally I just ignore the warning message and activate the smart forms. The smart forms work just fine.

Former Member
0 Kudos

in import parameters where you declared your field name you can see two check box there. pass value and optional check box .

you check these two you might not get this error.

Edited by: Swetha on Jul 17, 2008 3:04 PM