Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

CRM - How to get assignments for a user?

Former Member
0 Kudos
203

Hi All,

I have a requirement to retrieve all CRM assignments for a specific user ID in the system.

Is anyone aware of a function module set that can accomplish this?

I'm on CRM 5.0.

Thanks!

Roman

1 ACCEPTED SOLUTION

former_member181966
Active Contributor
0 Kudos
101

Try

• CRM_ISA_SEARCH_IUSERS

• CRM_ISA_GET_ALL_IUSERS

Hope this’ll give you idea!!

<b>P.S award the points.!!! DOn`t forget :)!!!!</b>

Good luck

Thanks

Saquib Khan

"Knowledge comes but wisdom lingers!!"

"Some are wise and some are otherwise"

5 REPLIES 5

former_member181966
Active Contributor
0 Kudos
102

Try

• CRM_ISA_SEARCH_IUSERS

• CRM_ISA_GET_ALL_IUSERS

Hope this’ll give you idea!!

<b>P.S award the points.!!! DOn`t forget :)!!!!</b>

Good luck

Thanks

Saquib Khan

"Knowledge comes but wisdom lingers!!"

"Some are wise and some are otherwise"

0 Kudos
101

Thanks Saquib for the quick responce.

However, I am looking for a list of assignments based on a specific user. This would probably be an assignment-related function module.

Thanks anyway.

0 Kudos
101

Also Try

BBP_BUP_CREATECP

Thanks

SK

0 Kudos
101

Sorry, I should have mentioned earlier but I am looking for CRM Service Order assignments..

0 Kudos
101

Look at OSS note # 664096 FAQs: CRM Service Data Exchange

also see oss note # 856513

<b>FYI</b>

Symptom

The user tries to assign distribution channels to a service master in the product master maintenance in CRM (Transaction COMMPR01). The button 'assign' is not active.

The service master is downloaded from SAP R/3. This can be verified in COMMPR01 with the menu GOTO > source systems.

Prerequisite:

The customer uses the scenario 'External Procurement' from the Service Industry Extension in CRM 4.0.

Reason and Prerequisites

Missing functionality.

Remark regarding a subsequent upgrade to CRM 5.0:

With CRM 5.0 a standard solution via customizing is possible. After maintaining the entries in CRM 5.0 the BADI implementation (from this note) can be deactivated.

Solution

Neither the assignment nor the change of other data is allowed, because the service master is coming from a different system.

The solution is to change the field with the origin to the local value during the import of the service masters.

Prerequistes:

1. Number ranges

Check in IMG that the numbers used in SAP R/3 for service masters are allowed in CRM as external values. Path in IMG:

- CRM

- Master Data

- Products

- Settings for Product Type

- Number Assignment

- Define Number Ranges for Services

2. Implement the BADI product_customer2

2a. Check if other implementations exist already

- Transaction SE18 Defintion name 'product_customer2'

- Use in the Menu Implementation > Overview

- Usually the list should be empty. Otherwise contact the

person, who did the implementation. You will need to

implement the method MAP_R3_TO_CRM_SERVICE, which is probably not

used by the present implementation.

2b. Implementation

- If no further implementations exist, create your own implementation.

Only an implementation for the method MAP_R3_TO_CRM_SERVICE is

needed.

The coding should look like:

METHOD if_ex_product_customer2~map_r3_to_crm_service .

  • switch always to the own logical system for servicemaster in order

  • to allow the assignment of distrbutionchannnels

CALL FUNCTION 'OWN_LOGICAL_SYSTEM_GET'

IMPORTING

own_logical_system = cs_product_bdoc-header-com_product-logsys

EXCEPTIONS

OTHERS = 0.

ENDMETHOD.

2c. Activate the method and the class of the BADI

2d. Activate the BADI Implementation in transaction SE19.

3. Results

When a new service master is created in SAP R/3 it appears/behaves in SAP CRM as having been created in this system. SAP R/3 should still be the leading system for attributes like short text and long text.

Hope this’ll give you idea!!

<b>P.S award the points.!!! DOn`t forget :)!!!!</b>

Good luck

Thanks

Saquib Khan

"Knowledge comes but wisdom lingers!!"

"Some are wise and some are otherwise"