‎2009 Feb 25 10:04 AM
Dear all,
I have a requirement where user can only view the Purchase Requsition ( in my java application ) which are releasable by them. I am using a customized FM which call the standard FM BAPI_REQUISITION_GETDETAIL. I was told by the MM consultant that i can use this authorization object "M_EINK_FRG ". From wat i've found, this M_EINK_FRG need is having 2 fields, release group and release code. I am abit confusing bout this..what shd i pass in for this 2 fields if i call the FM 'AUTHORITY_CHECK' ?
I suppose each user is having diff release group and release code? how does it actually works...thank you.
Regards,
Joan
‎2009 Feb 25 10:09 AM
Hi,
You need to paas the release group and code of the perticular PO which teh user is trying to Open.
Then system will cross check this (PO rel group and rel code ) agains the one's asiigned or authorized to the user. and the system will given result sy-subrc = 0 if the user has the authority for the PO's relase group and code.
Regards,
Prakash Pandey
Edited by: Prakash Pandey on Feb 25, 2009 11:09 AM
‎2009 Feb 25 10:09 AM
Hi,
You need to paas the release group and code of the perticular PO which teh user is trying to Open.
Then system will cross check this (PO rel group and rel code ) agains the one's asiigned or authorized to the user. and the system will given result sy-subrc = 0 if the user has the authority for the PO's relase group and code.
Regards,
Prakash Pandey
Edited by: Prakash Pandey on Feb 25, 2009 11:09 AM
‎2009 Feb 25 10:14 AM
Hi Prakash Pandey,
thank you for ur explanation.Do you have any idea where i can check about the release group and release code being assigned to the user? thank you.
*points awarded
‎2009 Feb 25 10:20 AM
Hi,
the authority objects are assigned to the user through Roles create in Tcode PFCG.
1st go to tcode SU01 and check which all roles are assigned to your user. Then check individually in all the roles whether the object M_EINK_FRG is included in the role or not. You will see the respective values there.
Regards,
Prakash Pandey
‎2009 Feb 25 10:22 AM