2019 Apr 01 10:27 AM
Hi Experts,
I have two SAP systems with the same program.
The column Nome 2 is displayed in the ALV grid of the system1 but in the ALV grid of the system2 is hidden and when select the details you could see the Nome 2 value in both sistems.
the program use Field catalog to pass a list of fields to display in ALV. and the CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'.
System1:
System2:
I would be very pleased if someone have any suggestions that could solve it.
Regards,
Nataly
2019 Apr 01 10:41 AM
Hi, Nataly!
You can try to create a default variant that includes your missing field after display the ALV or modify field attributes after creating the field catalog into the code before calling to tle ALV FM.
I suppose that you are using the REUSE_ALV_FIELDCATALOG_MERGE FM for the fieldcatalog because you are using REUSE_ALV_GRID_DISPLAY FM to display the data.
Personally, I would use the set_table_for_first_display method of the cl_gui_alv_grid class (I can show you an example if you need it).
You would have a much more dynamic ALV.
Please tell me if this helps or if you need more detailed answer,
regards!
2019 Apr 01 11:01 AM
Did you already check/look for