Application Development 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: 

Default value in i/o field in M progrm

Former Member
0 Kudos

hi! all

how to set default value to i/o fields

i have 5nos of i/o fields were all the 5 fields are obligatory, but i need to display those fields with default value. how to set the default value to i/o fields.

Regards,

Nagulan

5 REPLIES 5

Former Member
0 Kudos

Two ways to do is:

1. In PBO event assign the values.

2. In Screen Painter, double click for attributes and give the value in TEXT field.

Regards

Eswar

Former Member
0 Kudos

hi,

you can set the default values in the layout, by double clicking on each field.

plz reward if helpful..

Edited by: ritika malhotra on Feb 11, 2008 6:43 AM

Former Member
0 Kudos

Hi,

Under PBO module.

assign your values to screen fields.

Ex:

PBO

Module xxxxxxxxx OUTPUT.

double click on xxxxxxxx and in between

assign you r values to screen elements.

Former Member
0 Kudos

When decalring any parameter in a selection screen or same as element of screen use defualt keyword.

PARAMETERS file LIKE rlgrap-filename default 'C:hhhh'..

Former Member
0 Kudos

Hi dude,

For dictionary fields use the following statement,

SET PARAMETER ID 'Parameter ID' FIELD 'Field Name'.

Also,SPA Field Attribute in the screen layout will also be useful.

Reward if useful.

Regards,

Lakshmanan