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

Populate Screen Field

Former Member
0 Likes
582

Hello,

Its been a while since I did any dialgue programming and I can't remember how to do the following.

I have created a field on the screen say 'ABC' which is just output only. It does not relate to a field

from any database table.

How can I populate this field? In the PAI I am trying to say 'ABC' = text.

But I get the error that 'ABC' is unknown. i.e. it expects it to be a database field.

Does anybody know how I can get areound this??

Many thanks

Andy

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
485

Hi,

Go to the TOP Include and declare the field.

Say 'X' is the field that you have added to your layout.

Declare it as


DATA: X TYPE i.   "or whatever is the data type

Hi,

Go to the TOP Include and declare the field.

Say 'X' is the field that you have added to your layout.

Declare it as


DATA: X TYPE i.   "or whatever is the data type

2 REPLIES 2
Read only

Former Member
0 Likes
486

Hi,

Go to the TOP Include and declare the field.

Say 'X' is the field that you have added to your layout.

Declare it as


DATA: X TYPE i.   "or whatever is the data type

Read only

0 Likes
485

Hi mate,

Many thanks for the reply. It works a treat .

Star man !!

Thanks

Andy