cancel
Showing results for 
Search instead for 
Did you mean: 

Category in service request in CRm

Former Member
0 Kudos

Hi All

i have a requirement to create a Program in CRM of Service Request Create. but i am not able to find the BAPI for this.

All i found in BAPI CRM_ORDER_MAINTAIN, But there is no option i found to pass the category in the BAPI.

So please help me to add the category in the FM CRM_ORDER_MAINTAIN.

I am having these field on portal, But i am not able to identify from where it is getting create the service request with category

Accepted Solutions (0)

Answers (4)

Answers (4)

Former Member
0 Kudos

Hi Arjun,

If you need all the multi-categorization master details, I don't think any direct procedure exists (Already struggled a lot for this).

Anyway you can use bol programming  with dynamic query -MC_DynaQSchemaByAttributes (not advisable).

and if you want to pass it in crmd_order_maintain you can use  IT_SERVICE_OS.

CRMT_SRV_OSSET_COM-OSSET-SUBJECT.

Hope this will help you.

[Please update if you found any alternative solution.]

Thanks and regards,

Pramod

Former Member
0 Kudos

Hi

Do we need to pass the reference GUID in this table?

Former Member
0 Kudos

Hi Arjun,

Sorry for late response.

Yes you have to pass ref guid.

just put breakpoint in CRM_ORDER_MAINTAIN and change the subject of order in WUI/CRMD_ORDER.

we need to pass different ref guid for each of the following.

IT_SERVICE_OS,

CRMT_SRV_OSSET_COM,

OSSET-SUBJECT,

Please confirm for which ref guid you are asking.

with regards,

Pramod Kumar Mandal.

Former Member
0 Kudos

Hi Sagar

Ok, I will try this. But can you help me to get the categories from master data on the basis of Process/ Transaction Type.

I need all the categories which are assign to the Process Type.

Former Member
0 Kudos

Hi Arjun,

The most important thing you must know about categorization is, it only saves the highest level in database table and not all levels.

E.g.1

if you have to save following values, only D should be passed on to the BAPI and only D will be saved in database table

L1: A

L2: B

L3: C

L4: D

E.g.2

if you have to save following values, only C should be passed on to the BAPI and only C will be saved in database table

L1: A

L2: B

L3: C

L4:

samantak_chatterjee
Active Contributor
0 Kudos

Hi Arjun,

For your requirement you need to first extract the corresponding Catalog Code, Code Groups and Code for the categorization. For each categorization, there will be a mapping Code Group and Code. The catgory table name is : CRMC_ERMS_CAT_CA. Infact, if you search the repository objects with *ERMS* you will get plenty of obejcts which will help you to better understand the catgorization schema. Infact, you can explore the class : CL_CRM_ML_CATEGORY_UTIL. If got a lot of methods which can provide you the necessary information.

Once you have the Catalog Code, Code group and Code, you need to fill the IT_SERVICE_OS Table with the values and call the CRM_ORDER_MAINTAIN API.

For your help, I will say that you put a break point in the CRM_ORDER_MAINTAIN and populate the values of the categories from the UI. You will get to know what needs to be passed to the API. You can also do a WHERE-USED-LIST on the function Module - CRM_ORDER_MAINTAIN to get some references of standard code.

Let me know if you still face some challenges in implementation.

Hope this helps.

Thanks,
Samantak.