Skip to Content
0
Former Member
Sep 07, 2007 at 02:12 PM

Suggestions required..!

20 Views

Hello All,

Well first of all sorry for not marking this as a question as i am just looking out for suggestions from you'll....

Well here's the case...We have a specific business requirements, in which there is a report being shown in BSP(using tableView) and a few columns are editable(rendered as inputFields, using iterator)...Thats pretty simple...

But wheather the fields are editable or not depends upon the users ROLE, and this is not the standard sap role, but this is a field in one of our custom master table.

Secondly, if the user has authorization, to edit, a field, then we have to check for a few values, in the same table, and if the criteria is met, then it becomes editable, else it becomes non-editable....eg, a column value is X, it becomes editable, else non-editable, and the value X is also an inputfield...

Also the users want everything dynamic...so at the max a page refresh, and if he populated X in first column, then after the page refresh, the column should be turn editable...

I am currently applying all of this logic in the iterator, specifically, RENDER_CELL_START method, coz according to me, this is what is best...Unfortunately, since the development is almost over, so we can't change a lot of things, but just wanted your valuable inputs if what i am doing is a good approach or a bad approach...This is for future use in other projects that I might work on....

Thanks in anticipation..

Have a great weekend...!

Cheers,

Tatvagna Shah.