I am new to ABAP and currently working on an ALV Grid using Object-Oriented ALV (OOPs ALV) in SAP ABAP. I have two columns in my ALV, both of which are dropdowns:
- Data Type: This column has dropdown options – “Number” and “Text”.
- Conversion: This column’s dropdown options should depend on the selection in the “Data Type” column.
Here’s the behavior I need:
- If “Number” is selected in the “Data Type” column, the “Conversion” column should show dropdown options like “Sum” and “Division”.
- If “Text” is selected in the “Data Type” column, the “Conversion” column should show dropdown options like “Upper” and “Lower”.
How can I implement this dynamic dropdown behavior in an ALV Grid using the OOPs approach? Any guidance would be appreciated.