cancel
Showing results for 
Search instead for 
Did you mean: 

SmartForms - Text Module

0 Kudos

Hello,

how can I include dynamically text modules in my text node. I tried like this:

->GLOBAL DEFINTIONS

Global data:

textmodule type string

Under Initialization:

i give manually the name of my text module "foot"

textmodule = 'foot'.

->TEXTNODE

Field Name: &TEXTBAUSTEIN&

When I want to activate I get the failure: Type specification "STRING" not allowed.

My aim is to set different textmodules for several cases.

Has anybody of the you an idea for me, please?!?!

With kind regards

gokselin

View Entire Topic
naimesh_patel
Active Contributor
0 Kudos

Change your defination to CHAR70 as the text module name will not be greater than 70 characters.

SO,

L_TEXTNAME TYPE CHAR70

... TEXT node

......&L_TEXTNAME&

Regards,

Naimesh Patel

0 Kudos

Dear Naimesh,

I thank you very much for the quick reply.

But I also get the same failure message: Type specification "CHAR70" not allowed.

And the name of the text module is less than 20 letters.

I would like to know what the reason for this failure is.

As I told you in the Initialization-Screen I set my variable "L_TEXTNAME = 'TB_FOOT' " to test it. After I have a positive test I will give the names of the text modules by the interface. That means, in my report I set up the name of the right text node for my smartform.

Maybe we both can try it again with a new solution.

With kind regards

gokselin