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

difference bwt default and value

Former Member
0 Likes
708

Hello frnds

what is the difference between below two statements:

data : f(5) value 'sap',

f(5) default 'sap'.

thnks,

SUnny

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
662

DEFAULT is used to put values in the Selection-screen parameters.

VALUES is used to put the values in the variables.

Regards,

Naimesh Patel

3 REPLIES 3
Read only

naimesh_patel
Active Contributor
0 Likes
663

DEFAULT is used to put values in the Selection-screen parameters.

VALUES is used to put the values in the variables.

Regards,

Naimesh Patel

Read only

asik_shameem
Active Contributor
0 Likes
661

Hi,

data: name type char10 value 'Hello'.

*data: name type char10 default 'Hello'. "it throws syntax error

parameters: p_name type char10 default 'Hello'.

Read only

Former Member
0 Likes
661

thnks ... answers rewarded