cancel
Showing results for 
Search instead for 
Did you mean: 

Changing Screen configuration based on field.

Former Member
0 Kudos

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

Accepted Solutions (1)

Accepted Solutions (1)

yevgen_trukhin
Advisor
Advisor
0 Kudos

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

Answers (2)

Answers (2)

Former Member
0 Kudos

Thanks Experts.

Former Member
0 Kudos

Dear Pankaj,

I am facing similar kind of problem now.

Can you pls post the steps that you followed to achieve this.

Thanks in advance

S.Meganadhan

Edited by: Meganadhan sundaram on Jul 21, 2010 1:18 PM

CarstenKasper
Active Contributor
0 Kudos

Hi,

we had this topic twice this week. I explained in here thoroughly.

cheers Carsten