cancel
Showing results for 
Search instead for 
Did you mean: 

UI Table Element vs ALV for Table Edit App

mike_mcinerney
Participant
0 Kudos

Iu2019ve coded some of the tutorial examples. Now Iu2019m ready to put together an app.

I need to present the user with a table of data. The app allows a user to set a new responsible person based on his pernr (employee number) . Here's what a record might look like:


Field1                            r/o
Field2                            r/o
Field3                            r/o
Current Responsible PERNR         r/o 	
Current Responsible NAME          r/o 	
New Responsible PERNR             r/w    (needs a search help as well)
New Responsible NAME              r/o to user, but app will derive value from NEW pernr and fill it in 	

New Responsible PERNR and New Responsible NAME are initially blank.

It seems that I can go with a table UI element or ALV.

It seems that I can set columns read-only or editable in either.

What do people use?

Is one preferable to the other?

Are table UIs just too 'old school'?

I welcome comments and opinions from the group.

...Mike

Edited by: Michael McInerney on Nov 20, 2009 2:17 PM

Accepted Solutions (1)

Accepted Solutions (1)

Chaitanya_Priya
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi Mike,

I feel ALV is the better option to use since

1.Normal table also has functions of ALV but you need to code them manually. in UI table element i.e the options like sort,filter

for ALV no special coding is needed.

2.You can even personalize your own settings by using SETTINGS.

3.Tool bar is which has options of ADD,DELETE etc are present in ALV .just activation of the tool bar is needed.

Priya

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Michael,

In my opinion, i would go for ALV because of the following reasons.

1. Ease of coding, i we have a large number of records, but only a few to update, the code becomes more easier. This is because ALV has a standard functionality which automatically checks which records have been updated and gives us the column and row number for that. We don't need to check for changes in the fields.

2. Better look and feel compared to UI elements.

3. Standardized approach...... better to use Standard SAP functionality

4. More Functionality with minimal coding. eg we can use views, filters and custom views. All are provided and just need to be called.

Hope that provided some insight into ALV advantages 🐵

Best Regards,

Mz

Former Member
0 Kudos

HI,

Both can be used as per your requirement..

In Addtion to this...ALV has some standard functionaly whcih can be resued...while doesnot have them..

They may include export, printing, column settings, filtering, sorting etc functionalities...

Whatever is possible with TABLE is possible with ALV aslo..

Better go ahead with ALV ..

Regards,

Lekha.