on 2023 Nov 24 6:35 AM
Hi Team,
Added custom fields in the RIHQMEL_LIST structure to display in ALV for IW28/29 tcode.
Also added logic in BADI_EAM_SINGLELEVEL_LIST badi to populate data.
In debug i can see the fields and data is getting populated but in ALV output the field is not getting dispalyed.
Please suggest.
Thanks in advance,
Divya.
Hello divyavani.c
Check the note 586523 - Customer-defined fields in list editing - once customs fields are added, you need to reset ALV buffers with the BALVBUFDEL report.
Best regards
Dominik Tylczynski
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Dominik Tylczynski
Thank you so much for the reply. Even after running BALVBUFDEL report field is not getting appeared.
Please suggest.
Thanks in advance,
Divya.
Hello divyavani.c
It's hard to tell without access to your system.
What is the problem actually: that you don't see the custom field in IW28/IW29 or that the field is empty? The RIHQMEL_LIST shows that the custom field has been added correctly.
I would advise the following:
1. Put a break-point in the BAdI implementation, i.e. here:
If the execution stops there, it means that the NAME_TEXTC field has been added to the ALV list field catalog.
2. Check if the custom field can be added with ALV layout maintenance in IW28/IW29.
3. If the field is visible, but empty, you need to fill the field in the FILL_ADD_FIELDS method of the BAdI.
Hi Dominik Tylczynski,
I have added code in FILL_ADD_FIELDS method of the BAdI. But still did not get field displayed in the ALV.
Also in debug i could see the values are getting populated and in alv structure i can see the field.
Please suggest what can be done.
Thanks in advance,
divyavani.c
Your name is wrong. You should rename NAME_TESTC into ZZNAME_TESTC as per ABAP development rules (reserved namespace YY or ZZ).
Clear all types of buffers (restart the server if you don't know how to do it) and restart your program.
Contact SAP support if note 586523 - Customer-defined fields in list editing - is not sufficient.
Of course, as Raymond and Dominik said, did you make sure that you have adapted your ALV layout (menu ALV Layout Management) to display the custom fields?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
109 | |
8 | |
8 | |
6 | |
5 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.