cancel
Showing results for 
Search instead for 
Did you mean: 

smartforms problem

Former Member
0 Kudos

Hi experts,

Iam trying to display data through smartforms standard table.

In the global data i have declared t_det with refrenece to structure.

In the table Main area i have created one text and passing T_DET-LABST(It is MARD_LABST qty)field.

While executing the form it is through the error that

"Reference field T_DET-LABST unknown in form."

What might be the reason?

reward guaranteed

thanks

kaki

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Kaki,

I too got the same error.

It is because you are refering to a quantity field.

When creating structure you must have given a reference table for this field.

It checks the values of your data in the specified table. That's why!

Instead you can create another ZMENG field and give reference to this field.

Former Member
0 Kudos

Hi Wenceslaus G,

In the structure i have createD ZMENG.But still it is asking the reference field.Can u tell me step by step what i need to do?

thanks

kaki

Former Member
0 Kudos

The simplest solution is to create one more element in your structure of Component Type CHAR20.

And after retrieving the data from the table....

Copy the Quantity field into this field.

And use this field for displaying in the smartforms. This is how I solved my problem earlier.

Regards,

Wenceslaus.

Former Member
0 Kudos

Hi Wenceslaus G,

Thanks u,

Full points alloted...

kaki

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi,

Go to Global Definition-Global Data,

declare the character variable with output length equal to that of your field.

In the program, use this as the input parameter and the variable you have declared as output parameter.

Please let us know if your issue is resolved.

Best Regards,

Anjali

jayanthi_jayaraman
Active Contributor
0 Kudos

Hi,

In Global Definition,there is a tab called Currency/Quantity fields.

Try declaring the field there with reference.

Former Member
0 Kudos

hi Kaki,

did you create the structure in se11..

did you assign the reference field for it..

regards

satesh

Former Member
0 Kudos

Hi,

Pass the field into a variable and then print this variable.You will get it displayed.

Regards,

Gayathri