cancel
Showing results for 
Search instead for 
Did you mean: 

Added Custom fields not getting displayed in ALV - IW28/IW29

former_member277887
Participant
0 Kudos
844

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,

iw29-badi.png

Divya.

Accepted Solutions (0)

Answers (2)

Answers (2)

DominikTylczyn
Active Contributor

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

former_member277887
Participant

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.

DominikTylczyn
Active Contributor
0 Kudos

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.

former_member277887
Participant
0 Kudos

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,

Divya.fill-data.pngfieldcat-iw29.png

DominikTylczyn
Active Contributor
0 Kudos

Hello divyavani.c

I'm pretty sure that the field is available in IW28/IW29 and you just need to enable it with ALV variant definition.

Sandra_Rossi
Active Contributor

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.

Sandra_Rossi
Active Contributor

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?

raymond_giuseppi
Active Contributor
0 Kudos
  • Did you already check for some already defined 'default variant' which wont display new fields.
  • Check the actual field catalog using The Consistency Check