on 07-15-2008 10:04 AM
Hello all, I am working in SRM 4.0 and when I go to approval tab on web transaction and I try to add a substitute, I press this button, then I select active substitution and I put on substitute field value Z* for example, when I click on Find button, system shows me all users for all countries in the company. How can I do to the system shows me only the users that appears in a country? For example in this case only for Spain (this is a company code in my organizational structure)
Thanks
Rosa
Hi. I have never seen it used, but try BADI WF_SUBSTITUTE method MAINTAIN_SUBSTITUTE.
It has an error message table you could populate if the user selected does not belong to the same company code as the user logged on. It passes you the substitute ID and you have SY-UNAME for the user logged on and you can use function BBP_READ_ATTRIBUTES to compare.
Regards,
Dave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi. No, if you put Z* it should show you all users in all company codes who's details start with a Z.
I think it checks user ID, first name and last name, so any user with a Z at the start of any of these should be returned.
If it is giving you users who have not got Z at the start then raise a message with SAP, it must be a bug.
Regards,
Dave.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.