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

Problem in ALV grid display

Former Member
0 Likes
805

Hi Experts,

I am using the following code for ALV grid display

  • Display in ALV

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = W_REPID

I_SAVE = 'X'

IS_LAYOUT = W_LAYOUT

IT_FIELDCAT = T_FIELDCATALOG[]

TABLES

T_OUTTAB = T_FINAL

EXCEPTIONS

PROGRAM_ERROR = 1

OTHERS = 2.

I added two new fields to the existing report. Those two fields are reflected in T_FIELDCATALOG and T_FINAL.

But in the Display it is showing only the previous fields.. Fields which I added are not getting displayed.

Please advice on this issue.

Thank in advance,

Vivenchandar.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
781

Viven,

Execute the program "BALVBUFDEL" to reset the ALV buffers. Then re-run your program and see.

Manoj

Hi Experts,

I am using the following code for ALV grid display

  • Display in ALV

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = W_REPID

I_SAVE = 'X'

IS_LAYOUT = W_LAYOUT

IT_FIELDCAT = T_FIELDCATALOG[]

TABLES

T_OUTTAB = T_FINAL

EXCEPTIONS

PROGRAM_ERROR = 1

OTHERS = 2.

I added two new fields to the existing report. Those two fields are reflected in T_FIELDCATALOG and T_FINAL.

But in the Display it is showing only the previous fields.. Fields which I added are not getting displayed.

Please advice on this issue.

Thank in advance,

Vivenchandar.

6 REPLIES 6
Read only

Former Member
0 Likes
781

Can you post the code.

Regards,

Prakash.

Read only

Former Member
0 Likes
781
Read only

Former Member
0 Likes
782

Viven,

Execute the program "BALVBUFDEL" to reset the ALV buffers. Then re-run your program and see.

Manoj

Read only

0 Likes
781

If I copy( Ctrl + F5) the Same program to another program it is working, but the original program is not working...

Read only

0 Likes
781

Hey Viven,

Just an idea, Is there a pre-defined layout for the old program which doesn't display two extra fields?

Regards,

Vivek

Read only

Former Member
0 Likes
781

Hi,

Activate the new fields added to the table, T_FINAL.

Refresh the whole function again.

Debug & check if you have these two new fields in internal table.

Hope it helps you.

Regards

Madhavi.