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

field display

Former Member
0 Likes
1,076

Hi,

I have one field 'SAKTO' in my internal table with value '0006200000'. When I loop into my work area, the value is '**********'.

Both internal table and work area are declared using the same table type.

Can anyone please suggest.

Thanks

Roshan

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,047

i think you are displaying it within control break statement like with in AT end , at last etc.

11 REPLIES 11
Read only

Former Member
0 Likes
1,047

i hope u ar using control break statement(at-new, at-first,etc) move the same into another work area and do.

this is the functionality of control break statement.

regards

prabhu

Read only

Former Member
0 Likes
1,047

Hi

Are you using any control break statements, and this field in the work area is after the control-break stmnt field?

If yes, then you need to read this record using index to get the values of all fields which are to the right of the control-break field.

Regards

Raj

Read only

santhosh_patil
Contributor
0 Likes
1,047

Hi,

U may be using any control break events like at new... at end with in the loop

check it out.

--Patil

Read only

Former Member
0 Likes
1,047

hi,

are you trying to to use any control break statements in loop??

if so read the table after at new

loop at itab into wa.

at new field1.

<b>read table itab into wa index sy-tabix.</b>

endat.

endloop.

Read only

Former Member
0 Likes
1,047

Hello,

I think u r using the control break statement inside the loop of the table.

Do like this.


loop at itab.
wa_itab = itab.  " Check here
at end of field1.
endat.
endloop.

Vasanth

Read only

Former Member
0 Likes
1,048

i think you are displaying it within control break statement like with in AT end , at last etc.

Read only

Former Member
0 Likes
1,047

Hi,

One possible reason for this can be that u might be using Control break processing statements like AT NEW, AT END OF etc.

Regards,

Himanshu

Read only

Former Member
0 Likes
1,047

Hi ,

Are you using the write statement in AT NEW , or any such condition.

If yes then first move it to a temp varaible and then use AT NEW e.t.c

Regards,

Arun

Read only

Former Member
0 Likes
1,047

hi,

use like this.

data: wa_itab like itab.

loop at itab.

move itab to wa_itab.

...

...

at new (field-name)

endat.

...

...

endloop.

regards

prabhu

reward if it is helpful

Read only

Former Member
0 Likes
1,047

thx a lot guys! i'm using a control break and did not pay attention to it. it has solved my problem.

thx again

Read only

Former Member
0 Likes
1,047

thx all. points assigned to Prabhu