on 08-28-2008 11:48 AM
Dear Experts,
There is a requirement of displaying data based on field.
Suppose If service order is related to Computer then we need to capture details related to computer and If it is for Laptop then we need to capture details for laptop.
In short screen attributes should get changed based on type of service order.
One methord can be to copy default configuration and create two configuration one with BUS2000116 and other with BUS2000116 and transaction type ZSRV. Can we select configuration during runtime based on attribute in details view for order type?
Or can we hide fields in UI during runtime based on value in attirbute? If yes can you suggest some sample code.
Thanks
Hello pankaj,
You can create several configurations of the view and dynamically change configurations using the following method of the controller:
DO_CONFIG_DETERMINATION
with this code:
CALL METHOD me->set_config_keys
EXPORTING
iv_object_type = lv_objstype " your configuration key
iv_propagate_2_children = 'X'.
Best Regards,
Yevgen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks Experts.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
8 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.