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

Dialog Screen fields

Former Member
0 Likes
621

Hi All ,

I am relatively very new to dialog programing

I have created a screen with about 7 fields , 6 fields correspond to one table and 1 corresponds to another table . I have set them as dictonar fields on the screen . While accesing them in PAI to save .

I can acces the 6 fields which correspond to one table but the other field .

Says the Variable not declared

in PAI

Ls_field1 = table1-field1 .

Ls_field1 = table1-field1 .

Ls_field1 = table1-field1 .

Ls_field1 = table1-field1 .

Ls_field1 = table1-field1 .

Ls_field1 = table2-field1 .

SAYS table2-field is not declared . Do I have to declare this somewhere . Any help would be great

Thanks

Vinay

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
584

Hi,

Declare the field in the TOP include.

4 REPLIES 4
Read only

Former Member
0 Likes
584

Ls_field1 = table2-field1 .

in here both are of same data type and length ? .

Br,

Vijay.

Read only

Former Member
0 Likes
585

Hi,

Declare the field in the TOP include.

Read only

0 Likes
584

Thanks All.

Vinay

Read only

Former Member
0 Likes
584

hi,

why dont you give the 7th field on screen a different name.

and then declare it in top.

regards.