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

Control ALV: Problem with Fieldcat buffer

Former Member
0 Likes
847

I have developed an ALV report using grid controls.

However when i change the fieldcatalog(moving coloumns order and so....) and run again i dont see the effect on the list. I tried logging off and in but still same problem. Also is passed below buffer parameters also.

What could be the issue with controls?

Any hint/ideas greatly appreciated.

Thanks.

CALL METHOD GRID_100->SET_TABLE_FOR_FIRST_DISPLAY

EXPORTING

I_BYPASSING_BUFFER = 'X'

I_BUFFER_ACTIVE = ' '

IS_VARIANT = gv_variant

I_SAVE = gv_save

IS_LAYOUT = x_layout

CHANGING

IT_OUTTAB = <gt_table>

IT_FIELDCATALOG = it_fieldcat[]

IT_SORT = it_sortcat[]

EXCEPTIONS

INVALID_PARAMETER_COMBINATION = 1

PROGRAM_ERROR = 2

TOO_MANY_LINES = 3

others = 4

1 ACCEPTED SOLUTION
Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
769

Hi Raj, please make sure a layout variant is not being applied to the output either internally in the program or when the ALV is display. Check layout manangement for any "Default" layouts. This could be your problem.

Regards,

Rich HEilman

6 REPLIES 6
Read only

Former Member
0 Likes
769

Hi Raj,

Did you activated your code after did changes to it??

If not make it active and test once again.

Thanks,

Vinay

Read only

0 Likes
769

Oh man...i did activated.

Read only

RichHeilman
Developer Advocate
Developer Advocate
0 Likes
770

Hi Raj, please make sure a layout variant is not being applied to the output either internally in the program or when the ALV is display. Check layout manangement for any "Default" layouts. This could be your problem.

Regards,

Rich HEilman

Read only

0 Likes
769

there you go....thanks Rich Abap Man .

Read only

0 Likes
769

Ah ha!!!!! I knew it. I have seen this a couple times before and it always comes down to a default variant faking you out. I remember this because, I had this same problem, it took me 2 days and countless head-->wall sessions before it clicked.

Glad it worked out for ya.

Regards,

RIch Heilman

Read only

0 Likes
769

I just wanna let everyone know that <b>today</b> i suffered the same and exactly issue like in this entry. It was really causing me to bang my head -> wall like Rich....

I couldn't see my result after i insert a new column and move a column...

yeah, guys out there, when you move your ALV fieldcat... make sure you check your layout management tooo...

otherwise you go around the world to look what's going on!....

phew... thanks to this post... oh god!

william wilstroth

William Wilstroth