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 programming

Former Member
0 Likes
677

hi,

How to get default values on module pool program screen ?

thanks in advance .

5 REPLIES 5
Read only

Former Member
0 Likes
638

You can use DYNP_VALUES_UPDATE to update field in a screen.

Greetings,

Blag.

Read only

RaymondGiuseppi
Active Contributor
0 Likes
638

In the PBO call an "Initialization" module, in the module check a flag to initialize fields only once.

Regards

Read only

Former Member
0 Likes
638

Hi,

write one module in PBO like,

MODULE Initialization.

inside this module write the code for default value

MODULE Initialization.
name = 'A'.
AGE = '21'.

ENDMODULE.

cheers

shibu

Read only

Former Member
0 Likes
638

Hi,

This is not working .

Where we have to initialize, inside PBO or outside PBO ?

Pls explain in detail .

Edited by: Kaladhar Reddy on Apr 16, 2008 8:11 PM

Read only

0 Likes
638

Hi Kaladhar,

You can default the screen field values in the PAI of the previous screen where you are calling the next screen.

Say you have screen 1000 and 2000. You want to default screen fields of screen 2000, Then u need to initialize your fields in PAI of screen 1000 and then call screen 2000.

Initialize screen fields.

SET SCREEN 2000.

LEAVE SCREEN.

If it is your first screen, then do it before do CALL SCREEN 1000.

Initializing fields in PBO wouldnt work as every time you change something, it will default back to the original value.

Reward points if helpful.