Authority checks when Z_ORGINCON implemented

Question: Dear All,

We are going to implement the customer specific authorization object Z_ORGINCON in our HRMS system (4.7).

Settings T77S0:
NNCON=1
INCON=0
ORGIN=0
ORGXX=0

Also the modification for this object is planned.

Question:
What happens with authority checks within ABAP's with following syntax after we activate this modification?
AUTHORITY-CHECK OBJECT 'P_ORGIN'

This syntax is quite often used in own developed ABAP's as well as in SAP standard.
Any informatoin about further information (documentations) regarding this question are very appreciated.
Thanks
Peter


[/quote][/list]

Answer:
When you activate the Customer specified HR object the SAP code no longer check P_ORGIN and branches to special code that checks the new object. All the customer built code that hard coded the authority-check for P_ORGIN will continue to work and the New customer supplied HR object will be ignored in the customer ABAPs.

Your programers should have been using the SAP supplied function module to read infotypes which includes the code to determine which object to use. If I recall correctly the function module is something like READ_INFOTYPE
_________________
John A. Jarboe

Answer:
Thanks John

This is just wath I was looking for. One further question:
With the SAP funciton module do you mean the module "HR_CHECK_AUTHORITY_INFTY" ?
Do you have a sample coding how to use it ?

Thanks

Answer:
NO, I mean the one that is used to read the infotype. It is either infotype_read or Read_infotype or something similar. If the other suites your purpose then that may be ok as well but I would rely on the one designed to read the infotype. a simple select fromt he database table may not yield you the same answer as the function module as it takes into account configuration anad flags in the tables.
_________________
John A. Jarboe
Copyright ?2007 - 2008 www.jt77.com