cancel
Showing results for 
Search instead for 
Did you mean: 

How to view Contact Person's Occupations in WEB UI

Former Member
0 Kudos

Hi Experts,

While creating Contact Person, you have a provision to select Occupation (drop down list) of a Contact Person. This works fine in SAP GUI, but in WEB UI, the drop down values are not displaying. I activated the Occupation field in assignment block using personalization option, still you can view only blank input field.

Any suggestions or pointers will be highly appreciated....

Cheers,

Peter J.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Peter,

In order to see the values you have to create a design Layer in Customizing with the rigth BOL object name and assign in step "Design" the Occupation field in BOL Attribute name.

As next go to trans. BSP_WD_CMPWB with the rigth component for Contact person, select the view where the Occupation field is assigned. Double click on ti and go to Context/Context Node/select the context node where the Occupation field is assigned and attributes. In attribute Occupation rigth click and select "Assignment to Design Layer". First choose the design layer you created previously in Customizing and then asssign the Attribute (BOL). Save.

Now you will be able to see the value list.

Hope this helps!

Best regards,

Roula

Former Member
0 Kudos

Hi Roula,

Could you kindly let me know - how to find out the right BOL Object & attribute as you mentioned for :

Component = BP_Cont

View = Contact Details

Context Node = Header

Attribute = struct. Occupation

Thanks for your help...

Cheers,

Peter J.

Former Member
0 Kudos

Hi Peter,

Go to configuration. Choose "Show Available fields" and open the Header folder. There are two fields for Occupation. The one is an Input field and the other one a picklist. Add the fields in the view. Now you are able to see the dropdown menu. The only problem is that the values are not visible.

Best regards,

Roula

Former Member
0 Kudos

Hi Roula,

That the question what I asked - how we can view the Occupation drop down list values in WEB UI...

Any input will be highly appreciated...

Cheers,

Peter J.

Former Member
0 Kudos

Hi Experts,

Still the problem is not solved. Your kindly assistance will be highly appreciated..

Cheers,

Peter J.

Former Member
0 Kudos

Hi Gurus,

Any pointers on this issue....

Cheers,

Peter J.

Former Member
0 Kudos

Peter,

what is the approach to make occupations available in CRM web UI.

i have occupations field in GUI but you made available in WEB UI.

How to make it available in web UI

Thanks,

priya

Former Member
0 Kudos

Peter,

what is the approach to make occupations available in CRM web UI.

i have occupations field in GUI but you made available in WEB UI.

How to make it available in web UI

Thanks,

priya

Former Member
0 Kudos

Peter,

what is the approach to make occupations available in CRM web UI.

i have occupations field in GUI but you made available in WEB UI.

How to make it available in web UI

Thanks,

priya

Former Member
0 Kudos

Hi Priya,

Still I am waiting for some inputs on this, I will update you - if I solve it by myself...

Cheers,

Peter J.

Former Member
0 Kudos

Hi Peter,

Check the customizing:

Tr: SPRO>IMG>Cross-Application Components>SAP Business Partner>Business Partner > Persons>Occupations-->Maintain Occupations is maintained.

Best Regards,

Vishant

Former Member
0 Kudos

Hello Peter,

Find the technical details of the field by pressing F2 button on the Web UI. You will get to know the Component, View, Context node and attribute details. Put a break point in the GET_V and GET_P method of this attribute.. in these method the code to get the drop down table values will be present.

From here just go head.. I believe u should be able to find this while debugging.

Regards,

Nag

Former Member
0 Kudos

Hi Nag,

Following is the code in GET_V and GET_P methods (both are in yellow color), could you kindly let me know - how to add break point (I am not a technical person)....

METHOD GET_V_OCCUPATION.

  • message 3489071 2006

DATA:lt_ddlb TYPE bsp_wd_dropdown_table.

IF gr_ddlb_occupation IS NOT BOUND.

CREATE OBJECT gr_ddlb_occupation EXPORTING iv_source_type = 'T'.

  • Get values for OCCUPATION

CALL METHOD cl_crm_uiu_bp_cust_get=>get_values_for_field

EXPORTING

iv_fieldname = 'OCCUPATION'

RECEIVING

rt_value = lt_ddlb

EXCEPTIONS

  • error_occurred = 1

OTHERS = 0.

APPEND INITIAL LINE TO lt_ddlb.

IF sy-subrc = 0.

gr_ddlb_occupation->set_selection_table( it_selection_table = lt_ddlb ).

ENDIF.

ENDIF.

rv_valuehelp_descriptor = gr_ddlb_occupation.

ENDMETHOD.

METHOD get_p_occupation.

CASE iv_property.

WHEN if_bsp_wd_model_setter_getter~fp_fieldtype.

rv_value = cl_bsp_dlc_view_descriptor=>field_type_picklist.

ENDCASE.

ENDMETHOD.

Thanks for your prompt response....

Cheers,

Peter J.