on 04-13-2011 12:51 PM
Hi Experts,
In the POWL of the Purchasing tab(SRM 7), all the purchase order is displaying. User requirement is that they want only those PO list which belongs to their Purchase Org.
how to acheive this, points will be rewared.
Reg,
Rajesh.
Hi
On POWL user can set their own filter like Pur. Organization by using "change query". This will bring PO's that belong required Pur. Organization and using "settings" on the POWL list user can dispaly hidden columns(Pur. Org is one of the hidden).
with regards
Manjunath
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ,
In one Purch org many users will be there so you want to display all the POs which are created in that Purch org by all the users.
I am sending the sequence of steps to ahieve you requirement.
goto the Feeder class of the PO.
goto-> GET_OBJECTS method ( This method will Have I_USERNAME paramaeter )
Step 1: Read Business Partner Guid for buyer using FM 'BP_CENTRALPERSON_GET'
Step 2: Read Business Partner number from business partner guid ( Step 1 ) BAPI_BUPA_GET_NUMBERS
Step 3 : Get Values of Org Attribute "REQUESTER" by using BBP_READ_ATTRIBUTES
Step 4 : Map Requester => OrgUnit
ls_object = <ls_attr_val>-value.
APPEND ls_object TO lt_object.
Read all User from OrgUnit using FM
CALL FUNCTION 'BBP_OM_STRUC_GET_USER_FROM_ORG'
EXPORTING
start_objects = lt_object
select_bupa = abap_true
authority_check = 'X'
IMPORTING
user_tab = lt_user_tab
Append all lt_user_tab business partner to the selection criteria table...
If any doubts let me know.
Regards,
Devi
Hi Devi,
I have this exact same requirement and it seems to me that your solution will work for us. However, when I try to debug this it does not step in my feeder class (into the method that you mention). My feeder type is SAPSRM_FEEDER_P, which has class /SAPSRM/CL_CLL_PWL_A_PO attached to it - I can verify in debug that this is the case (as it is mentioned in one of the structures) but for some reason it always retrieves it's data from the cache and never goes into the feeder class to retrieve the data. This does not make sense to me.
Can you offer any advice please?
thanks,
Malcolm.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.