on 10-29-2011 5:14 PM
Good day!
My purpose is to add user-defined fields for elements and phases. I do it via enhancing appropriate standard tables ( /RPM/ITEM_D, DPR_PHASE).
I have implemented a field based on domain in tables /RPM/ITEM_D and DPR_PHASE.
At Element interface I see that field generated as dropdown box and at Phase interface the same field is generated as inputfield with searchhelp.
Is there any option in SPRO where I can set type of screen object of the field (dropdownbox / checkbox / inputfield) ?
For now I have to do it at runtime in WDDOMODIFYVIEW method of the view - I'm deleting unwanted element in the table VIEW->ELEMENTS, creating a desired one and placing it in that table. I find this approach horrible...
Can I get the same results in other way?
Resolved by myself.
In method WDDOMODIFYVIEW a method wd_comp_controller->mr_view_services->render_dynamic_view is called.
To output a checkbox for a field in standard table (/RPM/ITEM_D, INM_INITIATIVE) the domain should have type XFELD.
In other ways, if a field have domain, it would be shown as dropdownbox.
Field without any domain would be shown as inputfield.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
77 | |
9 | |
9 | |
7 | |
7 | |
7 | |
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.