cancel
Showing results for 
Search instead for 
Did you mean: 

Assigning Employee to Sold-to Parties

Former Member
0 Kudos

Hi Experts,

I have created authorizations for Accounts, with this an employee can see, only those sold-to parties which he is responsbile for.

Now the huge task is assigning employees to the sold-to party, becuase there are around 300 employees each employee might be responsible for 500 sold-to parties. That means a minimum of 1,50,000 assignments.

Is there any functional module? What would be the easiest way to achieve the same?

Any Inputs are greatly appreciated.

Thanks & Regards

Rohan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rohan,

currently we are implementing CRM7.0 for Nippon Painting, we also would like to realize the authorization mode like you said what is employee can only see the customers which he is responsible for.

could you give me some guide on this?

thanks a lot!

nicolas_busson
Active Contributor
0 Kudos

Dears,

Just for your information depending on your CRM version SAP delivers a standard program to do this kind of employee assignement for you, based on the rule modeler...

Kindly check the release notes of CRM7.0.

Regards,

Nicolas.

Former Member
0 Kudos

Hi

You can write your own program for that using FM BAPI_BUPR_RELATIONSHIP_CREATE .

Regards

Radek

Former Member
0 Kudos

Hi Radek,

Thanks & appreciate your reply....

I am close enough....to implement this FM BUPR_RELATIONSHIP_CREATE, but not.

Here is the code I kept, when I execute , it runs succesfully but when I go and check in Business Partner the relationship is not assigned, any points on this?

TABLES : BUT050, BUT020, tbz9.

CALL FUNCTION 'BUPR_RELATIONSHIP_CREATE'

EXPORTING

iv_partner_1 = '0006001487'

iv_partner_2 = '0002000145'

iv_relationship = 'ZEMR'

*iv_date_from =

*iv_date_to =

iv_testrun = ' '

iv_x_save = 'X'.

*TABLES

*et_return = gt_return.

*PERFORM disp_error USING gs_warning.

*COMMIT WORK AND WAIT.

CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'

  • EXPORTING

  • WAIT =

  • IMPORTING

  • RETURN =

.

Thanks a lot in advance.

Rohan

Former Member
0 Kudos

HI

good advice :] - uncomment bapi return table and check in debug mode the returned messages.

try to do commit with wait parameter.

possibly, but not so sure, you should give as parameter not concrete relationship type, but its higher type.

In customizing while creating relationships type you had to assign to it relationship type from higher hierarchy.

Regards

Radek