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

internal table field

Former Member
0 Likes
425

how to pass a default value for an internal table field while declaration pls help me

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
406

Hi,

data : temp(20) type c <b>value 'ABCDEF'</b>.

When Declaration of Work are also we give like,

Data : Begin of Wa,

Name(20) value 'SEN',

age type I value '25',

End of wa,

Itab like table of wa.

THANKS,

REWARD IF HELPFUL.

2 REPLIES 2
Read only

Former Member
0 Likes
407

Hi,

data : temp(20) type c <b>value 'ABCDEF'</b>.

When Declaration of Work are also we give like,

Data : Begin of Wa,

Name(20) value 'SEN',

age type I value '25',

End of wa,

Itab like table of wa.

THANKS,

REWARD IF HELPFUL.

Read only

Former Member
0 Likes
406

you can do like this

data : begin of itab occurs 0,

matnr like mara-matnr value '1001',

mtart like mara-mtart,

end of itab.

regards

shiba dutta