cancel
Showing results for 
Search instead for 
Did you mean: 

Error coming in WEB UI while doing Multilevel categorization

Former Member
0 Kudos

hi,

i have done configuration for multilevel categorization for service request but when i am testing the configuration in WEB UI, the categorization field is greyed out. can anyone please help me with this. Screen shot is attached below

Arti

Accepted Solutions (0)

Answers (6)

Answers (6)

0 Kudos

Hi Arti,

It sounds like you've created all the right components, you just need to assign the category schema to the subject/reason drop downs for the service request.

From the WebUI, using the IC Manager role, choose Category Schemas > then edit the schema you want to apply.  You will need to add two entries to the Application Areas assignment block.  It should look something like the following:

This entry should activate the subject drop-downs.

While this one is for the reasons

Doing it this way will alloy you to maintain the subject AND reason drop-down values utilizing just this one schema.

Hope it helps.

Lars

0 Kudos

Hi Arti,

The Category Schema has to be linked to the Transaction Type.

Please follow the below steps and check if it resolves your issue.

1)Select the Category Schema which you want to link to the Transaction Type.

2)Goto Application Areas.

3)Click on New.

4)Select Service Request from the drop-down for the Application ID.

5)Select the option Transaction Type / Catalog Category from the drop-down for Parameter.

6)Select the Transaction Type which you want to link from the drop-down for Value.

Regards.

Deepak Ramchandran.

former_member226908
Participant
0 Kudos

Configuration steps:

1. CRM -> CRM Cross Application Componenets -> Multilevel Categorization_ Assign Transaction Types to Catalog Categories

2. CRM -> Settings for Activities -> Define Activity Reasons _ Define Code Group Profiles - (Use Catalog A1 Activities: Reason for Subject Categorization and Catalog C Damage for Reason Categorization. Define all the Code Groups and Codes. Also create code group profile in this path)

3. CRM -> Settings for Activities -> Define Activity Reasons _ Define Subject Profile (Define your subject profile and give the code group profile created above in here)

4. WEBUI -> Login IC_MANAGER role -> Categorization Schemas

Create the Categorization Schemas and give the Codes and Application Areas

former_member210661
Active Contributor
0 Kudos

Hi Arti Verma,

try this go to main window class there is a method SET_VIEW_GROUP_CONTEXT redefine this method write this code.

if me->view_group_context is NOT BOUND and

      iv_first_time = abap_true.

     if iv_parent_context is INITIAL.

       CREATE OBJECT view_group_context

             type cl_bsp_wd_view_group_context.

     ENDIF.

   ENDIF.

and go to your form view class do_prepare_out write this logic.



me->view_group_context->set_all_editable( ).


then go to your field get_i_method.

   rv_disabled = 'FALSE'.

try this will work.


Thanks & Regards,

Srinivask.

Former Member
0 Kudos

Hi Arti - Please refer to the thred below. I think you are missing the configuration portion where you'll assign your categories to transaction type.

http://scn.sap.com/thread/1389734

Former Member
0 Kudos

Hi,

I have checked all the configuration part then also its not working. Can you please send me the complete config steps so that i can re-check. Don't send me the thread as i have already cross-checked with all the threads available in SDN

Regards,

Arti

Former Member
0 Kudos

Hi,

You can change the value of lv_enabled = false, in the below class/method logic of component  BTCATEGORY/CATEGORIES:

CL_BTCATEGO_CATEGORIES_IMPL--> DO_PREPARE_OUTPUT:

LOOP AT lt_ddlb_flags ASSIGNING <ddlb_flags>.

      lv_tabix = sy-tabix.

      WRITE lv_tabix TO lv_input_ready_name+3(2).

      ASSIGN typed_context->btcategoryfirst->(lv_input_ready_name) TO <flag>.

      IF lv_enabled EQ abap_true.

        <flag> = <ddlb_flags>-status.

      ELSE.

        <flag> = abap_false.

      ENDIF.

    ENDLOOP.

Thanks

Former Member
0 Kudos

Hi Arti,

  As per my understanding,you can check for this issue in two places.

1. In Get_I Method of that particular field, make sure that you set RV_DISABLED = 'FALSE'.

2. In UI Configuration Tool, select the field and click on show field properties.It will display the properties, in that check whether display only option is unchecked

FYI in Get_I method, if its in display mode we should set RV_DISABLED = 'TRUE'.

Hopefully option 1 will work, Let me know if you have any queries

Thanks & Regards

Gokul Ragunathan

Former Member
0 Kudos

Hi Gokul,

It's not working. Could you tell me that do i need to maintain any additional setting from the configuration point of view wrt to catalog, code, code group profile and subject profile.

Regards,

Arti

Former Member
0 Kudos

Hi Arti,

  I am not sure whether we need to do any additional configuration for catalog, code etc... Can you share you code which you have written in Get_I method. Also in UI configuration tool, in field property for that field display only option is unchecked rite?

Thanks & Regards

Gokul Ragunathan

Former Member
0 Kudos

Hi

Here is the code

method get_i_cat01.
   rv_disabled = 'TRUE'.
   if cat01_input_ready eq abap_true.
     rv_disabled = 'FALSE'.
   endif.
endmethod.

Former Member
0 Kudos

can you please put only one statement

RV_DISABLED = 'FALSE' and try

Former Member
0 Kudos

Hi Arti,

In get_i_cat01 method, you comment all code, and only keep RV_DISABLED = 'FALSE' and check it. If it works

method get_i_cat01.

RV_DISABLED = 'FALSE'.

ENDMETHOD.

if it works for you, then add the following code

method get_i_cat01.

RV_DISABLED = 'TRUE'

.

;

if current->is_property_readonly( 'CAT01' ) = ABAP_FALSE.

RV_DISABLED = 'FALSE.

endif.

Thanks & Regards

Gokul Ragunathan

Former Member
0 Kudos

Hi,

Done the changes. Do you have any idea of doing configuration settings related to categorzation because it is still not working.

Thankx

Former Member
0 Kudos

Hi Arti,

Kindly check the html page of the view. I mean check the htm page of this view for configutaion whether its <chtmlb:overviewFormConfig .....> or <chtmlb:config....>. Its should be <chtmlb:config... >, if its <chtmlb:overviewFormConfig...> kindly change it and check

Thanks & Regards

Gokul Ragunathan

Former Member
0 Kudos

hi,

I have checked with this still it is not working. Can you send me the step by step configuration of multilevel categorization so that i can check my config settings.

Regards,
Arti