cancel
Showing results for 
Search instead for 
Did you mean: 

how to declare variable in smartforms

Former Member
0 Kudos

Hi,

I have to edit an existing form. I need to add password in the footer. This password will be retrieved from a customized table. I add a variable in the global definition to hold my password value, but i am receiving an error that my field is unknown. Any help will be greatly appreciated. Thanks.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi ,

Check whether u had given that variable in Input parameter or output parameter

or not?

generally we get this kind of error when we miss giving the variables names in

those paramets list, after defining in Global definition.

Thanks

Dinakar.

Answers (2)

Answers (2)

arul_murugan
Active Participant
0 Kudos

hi,

declare the customized table in the global definition global data.

for example

if your customized table name is zpass.

you used the t_final internal table in the printprogram.

declare this in the global data as

t_final type zpass.

declare the local variable in the global data.

if you want to pass the variable from the printprogram declare the local variable in the form interface.

regards

arul

Former Member
0 Kudos

hi nene,

try to define that in form interface.

regards,

seshu.