cancel
Showing results for 
Search instead for 
Did you mean: 

Hardcode Sales Employee in BP search

0 Kudos

Hello Experts,

I need help in order to ensure that sales employees have access to only Business Partners that contain their SlpCode. What I would like is the following:

User Opens Sales Order form

User clicks into CardCode textbox and hits tab

SAP displays only BP's for whom the assigned sales employee is the user logged in (instead of displayting list of all BP's)

Is there a way to permanently 'hardcode' a filter on the list of BP's to show only the current user's Business Partners?

Accepted Solutions (0)

Answers (3)

Answers (3)

kothandaraman_nagarajan
Active Contributor
0 Kudos

Hi,

Run below query and assign it to sales order customer code field. If your sales employee code equal to BP sales employee code, then this query will retrieve BP code and BP name.

SELECT T0.[CardCode], T0.[CardName] FROM OCRD T0 WHERE T0.[SlpCode] = $[ORDR.slpcode]

Thanks.

former_member205766
Active Contributor
0 Kudos

Hi Dennis

Try the below way

1.  In BP Selection screen Click Form Settings

2.  In List of Settings - Select Sales Employee Code in First Row.

3.  Click OK then reopen again now Sales Employee will come first

With Regards

Balaji Sampath

Former Member
0 Kudos

Hi,

You define the bp master as a group means if you are using 9.0 and above then define the numbering series for customers and set the authorization for that. then that BP will display for the users.

Hope this will help you.

Regards,

Shan.

Former Member
0 Kudos

Hai,

Please set as default sales employee in Particular Business Partner Master Data.

Please refer screen shot for your references.