on 09-18-2008 6:38 PM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
5 | |
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.