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

What could be the problem

Former Member
0 Likes
572

Hi all,

Although the alv was displaying the data of internal table, itabpernr, it does not do display it now.

I have tried many times and could not succeed it to display data.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = l_REPID

IS_LAYOUT = L_LAYOUT

IT_FIELDCAT = l_fieldcat[]

*IT_SORT = GT_SORT[]

I_CALLBACK_USER_COMMAND = G_UCOMMAND

i_callback_pf_status_set = g_status

I_SAVE = 'A'

IS_VARIANT = VARIANT

I_GRID_TITLE = string

*IT_EVENTS = T_ALV_EVENTS

TABLES

T_OUTTAB = itabpernr[]

EXCEPTIONS

PROGRAM_ERROR = 1

OTHERS = 2...

Here is the function...itabpernr has the fields of persno,name, surname.

What strange is that REUSE_ALV_LIST_DISPLAY displays the data but just persno.

It is something comedy.

What is happening?

Thanks.

Hi all,

Although the alv was displaying the data of internal table, itabpernr, it does not do display it now.

I have tried many times and could not succeed it to display data.

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = l_REPID

IS_LAYOUT = L_LAYOUT

IT_FIELDCAT = l_fieldcat[]

*IT_SORT = GT_SORT[]

I_CALLBACK_USER_COMMAND = G_UCOMMAND

i_callback_pf_status_set = g_status

I_SAVE = 'A'

IS_VARIANT = VARIANT

I_GRID_TITLE = string

*IT_EVENTS = T_ALV_EVENTS

TABLES

T_OUTTAB = itabpernr[]

EXCEPTIONS

PROGRAM_ERROR = 1

OTHERS = 2...

Here is the function...itabpernr has the fields of persno,name, surname.

What strange is that REUSE_ALV_LIST_DISPLAY displays the data but just persno.

It is something comedy.

What is happening?

Thanks.

4 REPLIES 4
Read only

pavel_parshenkov2
Participant
0 Likes
548

Hi,

1) check your fieldcat[] attributes for **** column.

(may be tech='X' etc).

2) check default layout in ALV. (may be this column is hid in ALV report).

Best Regards.

Read only

Former Member
0 Likes
548

Hi,

Check if all the filed names to be displayed are there in l_fieldcat[].

If yes, check if someone has set a variant to select a particular layout in the ALV. you can check that in ALV output.

Read only

Former Member
0 Likes
548

can you check in your fieldcatalog.

the fields mentioned are all in capital.

wa_fieldcat-tabname = 'I_FINAL1'.

wa_fieldcat-fieldname = 'LDDAT'.

wa_fieldcat-seltext_m = 'Loading Dt'.

APPEND wa_fieldcat TO i_fieldcat.

CLEAR wa_fieldcat.

Read only

former_member435013
Active Participant
0 Likes
548

Hi,

reset ALV Buffer with report BALVBUFDEL

regards

Walter Habich