on 2020 Jul 23 5:46 PM
My requirement is to display number of rows of data in List display via clicking on button.
when creating custom event in get_definition and passing that event to button not able to display record in that
I am not able to add rows in CT_DATA table of method GET_DATA, feeder class is custom. Parent class is CL_MDG_BS_GUIBB_LIST.
What needs to be done for that? every time event refreshes and ct_data is blank, even if gets added the row goes greyed out and nothing is in display.
Need to add in flush method? what could be possible solution?
Thanks in Advance
Request clarification before answering.
Hi Pankaj,
LIST UIBB ATS generates reference key, i need to add data in CT_DATA and display in UI.
How to generate key? and how to set data in display?
Thank you
Mitwa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Pankaj,
Yes parent class is already assigned as CL_BS_BP_GUIBB_LIST. Is there any way to set data in display?
On standard new event(new) it is holding data to UI. Could you please help on the same. If you can drop your email id i can share details. Need help urgently.
Thank You
Mitwa
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mitwa,
You can create class attribute and fill that attribute in process_event method where you can also for your custom event.
METHOD process_event.
IF io_event->mv_event_id EQ 'CUSTOM_EVENT'.
"Fill atttribute data.
Endif.
you can set data in method get_data.
METHOD get_data.
IF attribute is not initial.
CT_DATA = attribute.
Endif.
Hi Mitwa,
After changing data(CT_DATA) are you setting parameter EV_DATA_CHANGED = ABAP_TRUE ?
Regards,
Pankaj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
53 | |
6 | |
6 | |
5 | |
5 | |
4 | |
3 | |
3 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.