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

VALUE

Former Member
0 Likes
629

HI,

how should I write the code when I want a field to be entered, if not entered then a constant field has to be filled in automatically?

thanks!

5 REPLIES 5
Read only

Former Member
0 Likes
605

report ychatest.

parameters : p_matnr like mara-matnr default '1000000'.

default value will be given , if u want u can change that

Read only

Former Member
0 Likes
605

Hi Raj,

declara that field like this :

Parameters : d_matnr like mara-mater value '000000000000001'.

Reward points if helpful.

Regards,

Hemant

Read only

Former Member
0 Likes
605

Hi,'

if u r using parameters then their is addition for that : default ....

and if u r using select-options then the same applies to it.

Reward points if useful..

Regards

Nilesh

Read only

Former Member
0 Likes
605

Hi!

Required:

Parameters : p_matnr like mara-matnr OBLIGATORY.

Required with default value:

Parameters : p_matnr like mara-matnr DEFAULT '1001' OBLIGATORY.

Regards

Tamá

Read only

Former Member
0 Likes
605

Hi Raj,

declara that field like this :

Parameters : d_matnr like mara-mater default '000000000000001'.

if user donot enter any value .default value will be taken into consideration.

Reward points if helpful.

Regards,

Hemant