Skip to Content

ALV Grid showing asterisks

My object of class cl_gui_alv_grid is for some reason showing asterisks instread of the underlying itab data Any hints where I might look to figure out what mystical combination of values I may have enabled.

I can say that the grid was editable at one point and this happens when it is in non-edit mode .



Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Mar 05, 2009 at 08:21 PM

    Do you have used any at new or at end comand in your progarm,


    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Mar 05, 2009 at 09:37 PM

    Hi Michael,

    Kuntal is right. This might be because of wrong table structure and its usage within control level statemnts (AT... ENDAT), but not only. To fix it, ensure you have structure correctly applied. Start defining your fields from the widest range data to the tightest ones (for key fields). I.e. you have such structure.

    Field1 Field2 Field3 Field4 Field5

    First three fields describe organizational assignment, the two latter keeps data for them (and are no imporant so I skipped them below).

    Now field1 should be your enterprise level, field2 your company level, field3 department level.

    Assuming above the table should have following data:

    Enterprise Company1 Dep1

    Enterprise Company1 Dep2

    Enterprise Company2 Dep1

    Enterprise Company2 Dep2

    These four rows define Enterprise stucture, starting from the widest (left) to the tightest (right) units.

    The table should be sorted according to field1, field2 and field3 respectively.

    What you probably have in your table is something like this:

    Enterprise Dep1 Company1

    Enterprise Dep2 Company1

    Enterprise Dep1 Company2

    Enterprise Dep2 Company2

    Which in turn produces **** in place of Company1 and Company2. Switching the columns solves the problem.

    What is more, for ALV you can achieve similar results even with the correct strcuture. By setting wrong sort order (field1, field3, field2) and later subtotals you are likely to get similar results (with asterisk). Ensure this is also set properly.



    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.