on 05-24-2012 4:06 PM
Hi Experts,
I am implementing the BADI BBP_F4_READ_ON_ENTRY method GET_BOBUSER for restricting the user selection. Where can I check the standard functionality code there are various values required like PARTNER,PARTNER_GUID,USERNAME,NAME_FIRST,NAME_LAST,BUILDING,FLOOR which I am not sure as how the values should be retrieved.
I would like to implement the same standard functionality in this badi with some of custom restrictions. Can someone point to standard code which can be reused. Thanks.
Hello ,
You would have to do a SELECT like following:
SELECT A~PARTNER A~PARTNER_GUID A~NAME_FIRST A~NAME_LAST
A~TITLE_ACA1
C~BUILDING C~FLOOR C~ROOMNUMBER C~IH_MAIL
C~TEL_NUMBER C~TEL_EXTENS
FROM BUT000 AS A INNER JOIN ADRP AS B
ON A~PERSNUMBER = B~PERSNUMBER
Please take a look at FM BBP_GET_BOBUSERS_F4 . This is where in standard the list of BUy on Behalf users is prepared.
Look from line 270 onwards. You find couple of SELECT Queries per DB type.
Regards,
Sushil.
Please assign points if you find my answer helpful / solves your issue.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.