cancel
Showing results for 
Search instead for 
Did you mean: 

How can I limit the User not to create OPPT for a given BP grouping

Chris_Schutz
Active Participant
0 Kudos

Hi ,

We did create a Business Partner grouping (BUT000-BU_GROUP) and wish to block the user to create an Opportunity ( Transaction Type OPPT ) for this Business Partner grouping ?

How can we do that ?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

You can do this with the help of BADI

Customer Relationship Management  Transactions  Settings for Opportunities  Business Add-Ins  Business Add-In for Opportunity: Header Data

You will have to do enhancements for opportunity header data.

Please use the BADI : CRM_OPPORT_H_BADI:

In this BADI use the method : CRM_OPPORT_H_CHECK

With this you can carry out additional checks - the results of these checks can be copied as error messages. Here you can check the grouping of the business partner you are entering in the transaction and if e.g. grouping of the BP is u201CXu201D the error message can be triggered u201COpportunity can not be created for this BPu201D.

Please let me know if this helped in resolving your problem

Regards

Dinesh

Chris_Schutz
Active Participant
0 Kudos

Dinesh ,

Thank you , I thing that will work . But the tables/structures : IS_OPPORT_H_WRK or IT_INPUT_FIELD_NAMES do not have the BP number ? How can I retrive it ?

Thank you .