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

how to clear edidd structure..

Former Member
0 Likes
696

hi,

i have a data declaration

data t_edidd type edidd.

in my include, i am using

clear t_edidd-sddata.

in ECC 6.0 this errors during syntax check and says , t_edidd is a table without a header line and therefore has no component called sddata.

now how do i clear the values in t_edidd-sddata ?

thks

1 ACCEPTED SOLUTION
Read only

former_member194669
Active Contributor
0 Likes
674

Here edidd not contains any field called SDDATA please change


clear t_edidd-sdata.

a®s.

hi,

i have a data declaration

data t_edidd type edidd.

in my include, i am using

clear t_edidd-sddata.

in ECC 6.0 this errors during syntax check and says , t_edidd is a table without a header line and therefore has no component called sddata.

now how do i clear the values in t_edidd-sddata ?

thks

3 REPLIES 3
Read only

Former Member
0 Likes
674

data t_edidd type edidd with header line.

Read only

Former Member
0 Likes
674

For a table without a header line you would use the commands....

LOOP AT T_EDIDD INTO....

or

READ TABLE T_EDIDD INTO.....

It is the field after the INTO statement you need to clear.

Read only

former_member194669
Active Contributor
0 Likes
675

Here edidd not contains any field called SDDATA please change


clear t_edidd-sdata.

a®s.