on 2010 Oct 13 9:22 PM
Hello experts!
We are implementing SAP CRM 7.0 and we have the following requirement:
According to the value of a field that is selected (Drop-down list box) the rest of the fields vary according to the value selected. We are using an Activity object to model the requirement. There are many fields (85% custom and 15% standard) that depend on the value selected in the drop-down list box, aproximatelly 65 for each option and they are different data types.
For example:
Drop-down: if we select Option/value "A", then the fields that should appear below are
Field 1
Field 2
Field 3
...
...
Field 65
Drop-down: if we select Option/value "B", then the fields that should appear below are
Field 66
Field 67
Field 68
...
...
Field 130
Many thanks in advance,
Pablo
Pablo,
Maintain 2 configurations for that view of 65 fields. Depending on the dropdown value, call either of the configurations. The configs can be distinguished by the combination of Role Config Key and Object Key.
You can create an Object Key in SPRO->CRM-> UI Framework-> UI Framework Definition->Define UI Object Types
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Amar,
Would you please elaborate a little more about your advice? I think your answer could be the one that best fits our requirements. Because I do not want to create another Transaction Type to use it as part of the UI Configuration by using it as an "Object Subtype". Because if I do it in this way I will be creating another transaction type wiht no purpose other than to use it in the UI Configuration. That is the reason why I found your advice of creating an UI object type a better solution.
The point is that we are using the BT126_APPT object type. And I want to create two copies of this one to use them in the two configurations I need according to the 2 values that can be selected in my drop-down list box field. Because according to the value selected, different assignment blocks should be shown.
When I enter the SPRO node to create UI Object Types, there is no example of how the standard BT126_APPT is modeled (Call back Class; Genil Component; BOL Object name; etc)
Many thanks for your help in advance.
Pablo
Edited by: Pablo Grossi on Oct 26, 2010 4:14 PM
Pablo,
In SPRO, just create the z object type with object type name and description. Other details are not required. The object type would then be available for selction during new configuration creation in BT126_APPT views. So you would have 2 configs, one is <DEFAULT> and the other is this Z one. In DO_CONFIG_DETERMINATION of the view, you can code to select either of these configs based on a condition. Maybe you can just set a flag in first view when the selection is made. Read the flag and retreive required config in this view.
Hi,
another option: create a view set, where you put your DDLB on one view and based on the value in your DDLB you switch between different view areas of the view set having different views assigned.
Best Regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
1) define an event for the first dropdown in the get_p method ie., of Field 1
2) In the get_i method of the second dropdown n so on get the value of the 1st dropdown and then set the field to be enabled or disabled accordingly.
Regards,
Shobhit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
1 | |
1 | |
1 | |
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.