cancel
Showing results for 
Search instead for 
Did you mean: 

BP Role - Grouping

Former Member
0 Kudos

Hi all!

I have to do check or somethig else to control in what Grouping user can create BP for certain Role,i.e. when user create BP, he have an opportunity to create in such Grouping, as allowed for the Role. For example i create BP in Role Contact person, and i must have an opportunity to create BP only in Grouping "Groupnig of Contact person"!

how can i do this?

Thanks.

Alex.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Dear Alex,

When you create a BP, you can do so for

1. Organization

2. Person

3. Group.

Transaction code BP will enable you to create business partner. There like account group in SD we have to select 1from the 3 and create BP.

Hope this answer helps.

Regards,

Anirban.

Former Member
0 Kudos

Example:

in system i have 2 Roles: 1. Customer, 2. Contact Person, and 2 Grouping: 0001 - Grouping for Customer and 0002 - Grouping for Contact person.

When i create BP in Role Contact person system must create BP in grouping 0002 automatically or fobird to create contact person in grouping 0001.

Now, i choose grouping myself, while creating BP. i can ctreate BP with any Role in any Grouping.

Thanks.

Alex.

singhsmi
Advisor
Advisor
0 Kudos

Hi Aleksandr,

You can use the BAdI 'BUPA_NUMBER_GROUP' for this purpose. This is called when you choose the role. You need too filter out the number grouping wich you do not want to be selected for this role.

Thanks and warm reagrds,

smita.

sudheer-tammana
Advisor
Advisor
0 Kudos

Hi Aleksandr,

IN the standard coding this can not be achieved by any customizing.

But this can done by performing some coding in the BDT modules.

For example. In the transaction BUS7 a new DCHCK event can be created.

Inside this function module, the module BUP_BUPA_BUT000_GEt and the module BUP_BUPA_BUT100_GET can be used to perform the checks and error message can be raise if the role and grouping doesnt match. hope this helps.

Regards,

Sudheer.

Former Member
0 Kudos

Hi! Thanl you for answers.

If anybode've done this task, can you give me the text of the programm of the check or BADI?

Thank you.

Alex.

Former Member
0 Kudos

Use the following path

spro -> cross application components -> sap business partner -> business partner -> basic settings -> number range & groupings -> define groupings and number ranges.

Select a new entry, give Grouping ID (4 characters), give no. range id (2 chars) and decide whether u want internal or external no. range.

In the next step, same path go to "define number ranges".

When u create a BP, the grouping field can be seen on top-right.

Please reward with points if this helps.