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

PAI - Values from screen to program

Former Member
0 Likes
1,158

Hello all,

in the PAI, i could pass the values from the screen fields to the fields in the program.. But I could not pass the values to the data declared in the structure or work area in the program. Is it possible?

Moreover, will the screen values automatically pass to the program fields when they have same dictionary reference?

Please clarify.

Thank You.

Karthi M R.

3 REPLIES 3
Read only

nirajgadre
Active Contributor
0 Likes
851

HI,

You can pass the areen values directly try to create the screen fields by using diretory or program field option and select the option from program.

So you will get the all the data defined in the global dat declaration. set the properties as per your requirement. so when you entered the value on the screen, this value will be avaiable in the vaiable in the code.

Read only

Former Member
0 Likes
851

For transfer of value from program to screen or screen to program take place, the necessary criteria is the variable name in program and screen should be same. Otherwise value won't flow.

Regards

DPM

Read only

Former Member
0 Likes
851

Hi,

Declare the Data of the screen fields in The global Or TOP include,

so the screen data will be available thorugh out the Program and it includes.

Or use the FM DYNP_VALUES_READ by passing the screen name , it will fetch all the field names and values.

Prabhudas