Application Development 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: 

Internal Table values are not visible in ALV grid

Hi everybody,

I wanted to add some field to iqs9 report, I attached 6 fields to QMSM table and I gave value to them in IQS9 transaction program. the values are in the internal table that program pass to REUSE_ALV_GRID_DISPLAY function , the fieldcatalog table is OK and all of my fields are in it, but when program execute the function, the values of my fields don't display in grid. Please help me if you can.

thanks.

1 ACCEPTED SOLUTION

former_member199214
Participant
0 Kudos

Hi Ebrahimi,

     Are u getting the Layout?

Regards,

Sindhuja.

12 REPLIES 12

Former Member
0 Kudos

Check you don't have a default layout active.

0 Kudos

I think it is not layout problem, because all of my fields are displaying in alv, but they don't have any value.

gaurav_tripathi3
Explorer
0 Kudos


Hi Ebrahimi,

Please check again your field catalog - Fields Name ..(Should be in Capital Latter - Ex :- 'MAKTX' )

Some time if fileds are not defined properly then this probelm comes..

hope this help you..

Regards,

Gaurav

0 Kudos

hi Tripathi

I checked all of my fields in fieldcatalog table and all of my fields are Capital Mode like DKTXT.

former_member226419
Contributor
0 Kudos

Hi,

Code pls?

Br

Sumeet

former_member199214
Participant
0 Kudos

Hi Ebrahimi,

     Are u getting the Layout?

Regards,

Sindhuja.

0 Kudos

I inserted some codes in subroutine CALL_LISTVIEWER_F14 in program RIQSMEL2 (iqs9) tcode

before call function 'REUSE_ALV_GRID_DISPLAY', I gave some values to my fields( new fields that I attached to QMSM table) and those values are in internal table (object_tab), when function 'REUSE_ALV_GRID_DISPLAY' is called, my values and other fields values are in internal table and every thing is OK, but I don't know why when i add my fields to alv layout, it brings my fields without any values!!!!!

0 Kudos

Hi Alireza

Pleae provide us the following info

  • The table which is used to display output is OBJECT_TAB have you added your fields in this internal table..?
  • When in debugging do you see values filled in OBJECT_TAB table.
  • Did you use implicit enhancement to add your code..?

Thanks

Nabheet

0 Kudos

Hi nabheet

1) this internal table has a main structure  rqmqmsm1 , i couldn't add my fields to this structure (because it gave me runtime error when i run the program), because of this I had to add my fields to qmsm structure.

2) before calling function 'REUSE_ALV_GRID_DISPLAY'( when the program wants to call this function)

3) because i couldn't use implicit enhancement in this routin, unfortunately I used modification.

0 Kudos

Hi Alireza

If you look the the ddeclaration of OBJECT_TAB(this is the table where ooutput is displayed you will need fields here) . What dump you were getting when you added via append structure. You can also add via implicit enhancement in OBJECT_TAB. QMSM is not part of OBJECT_TAB right..?

You could have used implicit enhancement in PERFORM text_nachlesen_l. to update OBJECT_TAB

Thanks

Nabheet

0 Kudos

My problem solved with your solution.

thank you very much.

Former Member
0 Kudos

Hi Alireza ,

I am mentioning some of the probability that cause this issue .

  • Internal table getting cleared before the REUSE_ALV_GRID_DISPLAY function call
  • Set i_callback_program = sy-repid
  • check whether the field catalogue and internal table have the same structure.(order also need to be the same)

With Regards ,

Juneed Manha