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: 

ALV Grid Problem after Release Upgrade

jan_ladwig
Explorer

Hello all,

after the release upgrade to version 2021, all of a sudden the table of an ALV grid is not displayed anymore.

Release 1909:

Release 2021:

There were no changes made to the code. The Container Name equals the name of the Custom Control in the Dynpro, the output table and the field catalogue are populated correctly.

Do you have any idea what could be the problem? Did something change with the Upgrade?

Code:

  IF gs_custom_container IS INITIAL.

CREATE OBJECT gs_custom_container
EXPORTING
container_name = gs_container.
CREATE OBJECT gs_grid
EXPORTING
i_parent = gs_custom_container.

CALL METHOD gs_grid->set_table_for_first_display
EXPORTING
i_structure_name = 'GS_POPGRP'
is_layout = gs_layout
CHANGING
it_outtab = gt_popgrp
it_fieldcatalog = gt2_fieldcat.

CALL METHOD gs_grid->set_ready_for_input
EXPORTING
i_ready_for_input = 1.

ENDIF.
1 ACCEPTED SOLUTION

jan_ladwig
Explorer

We found the solution: We removed the value 'X' from the layout parameter frontend (structure lvc_s_layo-frontend) which is passed to the set_table_for_first_display method. If we leave it empty everything works as expected in the new release version 2021.

5 REPLIES 5

FredericGirod
Active Contributor
0 Kudos

Did you try to update Microsoft Edge / Microsoft Explorer ?

jan_ladwig
Explorer
0 Kudos

Hi, this problem occurs in SAP Business Client 7.70 / SAP Logon. So we're talking about a regular dynpro and not a web dynpro / Fiori Application here

Sandra_Rossi
Active Contributor
0 Kudos

ALV still exists, so the culprit is probably your code. GS_POPGRP is an existing DDIC structure in SE11?

jan_ladwig
Explorer
0 Kudos

Not in SE11, but it exists as a locally defined structure in the report, so there should be no problem with it...

jan_ladwig
Explorer

We found the solution: We removed the value 'X' from the layout parameter frontend (structure lvc_s_layo-frontend) which is passed to the set_table_for_first_display method. If we leave it empty everything works as expected in the new release version 2021.