cancel
Showing results for 
Search instead for 
Did you mean: 

Restrict Purchase Order by UserId in SRM

Former Member
0 Kudos

We have a scenario where we need to restrict Purchase Orders by UserID. In shopping Cart, you can rstrict the Req by UserId. But how can we get the same functionality in PO screen where a user can see only the PO created by the same user. We dont want the user to see other PO's created by other users.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Anita,

Implement the method BBP_WF_LIST in the BADI BBP_WF_LIST.

Use the filter type BUS2201 and restrict the list by filtering the field CREATED_BY in the header of the PO, so that your requirement is achieved.

For more information, and for the sample code refer this link.

http://wiki.sdn.sap.com/wiki/display/SRM/Restricting+Search+criteira+results+in+SRM

Hope this helps.

Regards,

Karthik Babu

0 Kudos

One way would be to define purchase groups by each individual buyer. That way each buyer gets the authorisation to view/ modify/ create purchase orders for his purchase group only

(You will have to create one role per purchase group)

The other way is to define the authorisation check per user ID in BADI BBP_AUTHORITY_CHECK, method AUTHORITY_CHECK_PRODOC