cancel
Showing results for 
Search instead for 
Did you mean: 

multirow entry in TABLE ui elements in abap-webdynpro

Former Member
0 Kudos

Hello,

i am new to abap webdynpro.

I have requirement like :-

I have a table UI elements in webdynpro abap with multiple columns. i have to entry some value in more than one row for each column in runtime. i am able to fill the first rowduring runtime ,

could any tell me how fill the the nexrow onwards in the run time.

For example :- In table i have column1(Emp Number) and column 2 (Emp Name).

during runtime i have to enter 10 employe details(empnumber and emp name) in Table UI elemets in webdynpro ABAP. i am able to fill the first row and next row onwards , the rows are disable.

could any one tell me how to enable the rest of the rows so that i can able to fill the rows.

Thanks in adv.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi All,

i put some extra ligic their.

So now it is working for me

thanks

ChandraMahajan
Active Contributor
0 Kudos

Hi,

i guess you want all rows in editable mode. check http://wiki.sdn.sap.com/wiki/display/WDABAP/HowtoeditconditionallyrowofaALVtableinWebDynprofor+ABAP to achive the required functionality with few modfications as per your requirment.

Thanks,

Chandra

Former Member
0 Kudos

Hello Chandra,

Mine is normal Table UI in webdynpro ABAP. it is not ALV table. So wii it work in my case ?

Thanks

ChandraMahajan
Active Contributor
0 Kudos

Hello Chandra,

> Mine is normal Table UI in webdynpro ABAP. it is not ALV table. So wii it work in my case ?

>

> Thanks

Then you can have your cell editor of Inputfield UI element type or textEdit UI element type. in that case it will be editable.

Thanks,

Chandra

Former Member
0 Kudos

Hello Chandra,

I have alredy done that only.

But in that case only first row is getting enable.

But i have to enable multiple rows.

Could you please tell me how to enable multiple rows in the table UI.

Thanks....

Rakshar

ChandraMahajan
Active Contributor
0 Kudos

you will have Table property as SelectionMode. set it to Multi or multiNoLead.

Thanks,

Chandra

Former Member
0 Kudos

Hello Chandra,

After settingg this i am getting a dump during runtime

Note

*The following error occurred in system DT1 : Error in TABLE "TBL_CREATE_PART_NUMBER" of view "Z0MM_CRT_NEW_PART_NUM.MAIN": The table permits multiple selelection, but the bound data node "CRT_PART_NUM" does not permit this*

The error occurred on application server rb3dt1a0_DT1_24 and in work process 4 .

The termination type was: RABAX_STATE

The ABAP call stack was:

Method: RAISE_FOR of program CX_WDR_ADAPTER_EXCEPTION======CP

Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C3STANDARD==============CP

Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP

Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C8STANDARD==============CP

Method: IF_NW7_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program /1WDA/C7STANDARD==============CP

Method: IF_WDR_VIEW_ELEMENT_ADAPTER~SET_CONTENT of program CL_WDR_VIEW_ADAPTER===========CP

Method: IF_WDR_NW7_DELTA_RENDERER~CALCULATE_DELTA_BLOCKS of program CL_WDR_VIEW_ADAPTER===========CP

Method: PROCESS_DELTA_BLOCKS of program CL_WDR_WINDOW_CONTENT_ADAPTER2CP

Method: IF_WDR_NW7_DELTA_RENDERER~CALCULATE_DELTA_BLOCKS of program CL_WDR_WINDOW_CONTENT_ADAPTER2CP

Method: SET_CONTENT of program CL_WDR_NW7_INT_WIN_ADAPTER====CP

could youplease tell me the reason.

Thank

Rakshar

ChandraMahajan
Active Contributor
0 Kudos

Hi,

for your node have Selection property set to 0..n as well.

Thanks,

Chandra

Former Member
0 Kudos

Hi,

still is not working.

Thank

Rakshar

Former Member
0 Kudos

it should be something to do with your table UI properties , for example, are the UI's(cell editors ) read_only property set to false. It looks like,based on lead_selection the cell's are set to read_only false.

You have to try to set the cell_editor property read_only to false for the column's you want to edit .