on 07-25-2014 1:54 PM
Hi All ,
This could be a simple question , but i have tried i couldn't get the solution .
In the FPM , i have the form UIBB and List UIBB ,
I can able to edit in form uibb but i couldn't have the edit options in LIST UIBB , eventhough all fields in list UIBB are input fields,
please share , if u have screenshots will be greatful .
Thanks,
Pradeep.
Hi Mohan,
If you want to change the type of cell editor , you can change it by clicking on the desired column in the hierarchy panel and changing the Display Type to Input/Text/DDBK , as applicable.
http://www.saptechnical.com/Tutorials/WebDynproABAP/GUIBB/List4.htm
Regards,
Harsha
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please check the value in eo_field_catalog get_definition, whether you have assigned it correctly or not.
And it seems since there is no data in table, it is displaying like that , just add a entry to it and check , if it is behaving the same.
eo_field_catalog ?= cl_abap_tabledescr=>describe_by_data( it_table).-> Get definition.
if iv_eventid->mv_event_id = 'FPM_START'.-> GET_DATA
INSERT INITIAL LINE INTO it_table INDEX 1.
ev_data_changed = abap_true.
ct_data = it_table.
endif.
Regards,
Harsha
Hi Harsha & Ragav ,
Thanks for your comments , i have checked the list UIBB feeder class , in that i am popukating field catalog , and in get method i am getting the records, so now i can able to edit the list ,
But , if the get_data table is initial , i.e if i dont have records to display at the time the screen is not editable
This values has been populated from get)data , so i can able to edit , and also please note , the 2nd row is not editable and no colowns in 2 nd row. why and how to get the second row editable
If i don't have values (records) from get_data , i am getting follwoing screen
Non editable no columns
Hi Pradeep,
As per your screen second line is not editable because it contain only one line item.
If you add one more line item again you can edit send line also.
If your requirement is to add a line item then you can follow below step.
1. Create a button like add in list uibb.
2. then catch event (add button) in get_Data method and insert initial line i.e append initial line into ct_data.
3. added line is visible in your out i,e list uibb so you can enter some value into it.
Regards,
Ragavendra
Hi ,
If you want to have some editable rows in your Table, based on your requirement try adding few initial lines to CT_data, as follows in get_data method.
if iv_eventid->mv_event_id = 'FPM_START'.-> GET_DATA
DATA lv_index type I.
lv_index = 1.
DO 5 times.
INSERT INITIAL LINE INTO it_table INDEX lv_index.
lv_index = lv_index+1.
ENDDO.
ev_data_changed = abap_true.
ct_data = it_table.
endif.
Also in UIBB configurations, change the visible row count and col count and check if it can help.
Regards,
Harsha
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.