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

ALV issue

Former Member
0 Likes
820

After creating ZIW38 from Iw38.. we added few more fields to the output Table. ALV output is distorted.. the results are shuffling with all the customized fields.. Please suggest if know the reason..

1 ACCEPTED SOLUTION
Read only

uwe_schieferstein
Active Contributor
0 Likes
786

Hello

I assume you have added a few more fields to the itab definition of your OUTTAB (used to hold the ALV list data).

Furthermore, you have added these new fields at the end of the fieldcatalog definition. In order to ensure the "right" order of the columns I usually add the following coding at the end of the fieldcatalog generation:


LOOP AT gt_fcat INTO ls_fcat.
  ls_fcat-col_pos = syst-tabix.
  MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
ENDLOOP.

Regards

Uwe

After creating ZIW38 from Iw38.. we added few more fields to the output Table. ALV output is distorted.. the results are shuffling with all the customized fields.. Please suggest if know the reason..

5 REPLIES 5
Read only

former_member156446
Active Contributor
0 Likes
786

look in the field catalog you are using

Read only

Former Member
0 Likes
786

Hello Anand,

Check inputs to fieldcatalog table. if they are proper or not?

Thanks,

Augustin.

Read only

uwe_schieferstein
Active Contributor
0 Likes
787

Hello

I assume you have added a few more fields to the itab definition of your OUTTAB (used to hold the ALV list data).

Furthermore, you have added these new fields at the end of the fieldcatalog definition. In order to ensure the "right" order of the columns I usually add the following coding at the end of the fieldcatalog generation:


LOOP AT gt_fcat INTO ls_fcat.
  ls_fcat-col_pos = syst-tabix.
  MODIFY gt_fcat FROM ls_fcat INDEX syst-tabix.
ENDLOOP.

Regards

Uwe

Read only

0 Likes
786

Hi Uwe and augustarian,

Thanks guys. You both solved my issue, actually Uwe was more specific,,, so thanks very much..

Read only

0 Likes
786

Hi ,

i have copied the program of IW38 RIAUFK20 to ZRIAUFK20 after executing ZRIAUFK20 in the selction screen

dropdown for all selections is missing .

the output screens of RIAUFK20 and ZRIAUFK20 but while executing through T-code is different the dropdown for alla selctions in application toolbar is missing .

please suggest some solution .

thanks ,

kamalakar