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

Problem using text element with type TEXT INCLUDE in smartforms

Former Member
0 Likes
485

Hi,

I am working on smartform.

My requirement is to print the text which can range from 1 to 99 (free text). I am using TDNAME, TDOBJECT and TDID from STXH table and putting it in the fields Text Name, Text Object and Text ID of text element created with type "TEXT INCLUDE" in window in smartform.

It works Fine only when I put exact value of TDNAME in Text Name field.

But in my case TDNAME can vary according to value of AENNR from Table AENR.

So I am trying to use a variable called W_TDNAME and pass TDNAME value to it. I am putting this W_TDNAME in the field TEXT NAME. And it says "Inlcude text W_TDNAME does not exist".

HELP ME OUT.

ANSWERS WILL BE AWARDED..

Tushar

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
327

Hi Tushar,

When you see in Text name field, there is a small button at the end of that field. This is to switch the dynamic field value option on. Click that and use the format &field_name& to enter your variable in that field.

Deepak Charanyan

1 REPLY 1
Read only

Former Member
0 Likes
328

Hi Tushar,

When you see in Text name field, there is a small button at the end of that field. This is to switch the dynamic field value option on. Click that and use the format &field_name& to enter your variable in that field.

Deepak Charanyan