‎2006 Jun 25 10:38 AM
Hi guys,
Got to know that when we use get pernr it automatically checks for the autherization on pernrs to view data.
Would like to know who all have access to see which pernrs? Can i get any ideas on this....
Thanks in advance
Abhi
‎2006 Jun 25 10:48 AM
Triggers the associated events when data is read in an executable (type 1) program using a logical database.
node is a node in the logical database that is assigned to the report (type 1 program) in the program attributes. You must declare the node in the report using the NODES statement (or the TABLES statement, if the node is of the type "table").
The node node corresponds to a data object of the same name.
node is available for processing during the flow of the logical database. Moreover, you can also make reference to the fields from the node that lie on the access path for node in the logical database associated with the report - unless the node is of the dynamic dictionary type.
Notes
You can use the event "GET dbtab." only once in the report.
The GET events are implemented internally as FORM routines. This makes all data objects declared with DATA local, that is, they are only recognized and addressable within the event. This also applies to AT SELECTION-SCREEN ....
The logic is somewhat different for nodes of the dynamic dictionary type. You must declare these nodes in the report using the NODES node TYPE type statement. In this case, type a dictionary type from the logical database for the node node - that is, the type of the data object node assigned to the node node can differ in different reports. In this case, the data object node is local to the -GET event and has the structure type. Outside the -GET event, a (global) data object node also exists and has the static type assigned to the node. The actual data is, however, returned in the local field node and is available only within the -GET event.
Example
The program uses the logical database F1S which has a structure where the table BOOKING appears below the table FLIGHT.
NODES: SFLIGHT, SBOOK.
GET SFLIGHT.
WRITE: SFLIGHT-CARRID,
SFLIGHT-CONNID,
SLFIGHT-FLDATE,
SFLIGHT-PLANETYPE.
GET SBOOK.
WRITE: SBOOK-BOOKID,
SBOOK-CUSTOMID,
SBOOK-ORDER_DATE.
‎2006 Jun 25 10:50 AM
Generally, authorization checks in reporting do not differ from those in the transactions. Since data access in reporting is always of the read type, the system checks for a read authorization; this means the authorization group must be R or *.
In some situations, you may want to use a simplified authorization check when running reports. The object RPABAP is required for the check as well as the object RPORGIN ; if these authorizations are available, a simpler and faster check is performed.
Reward points if it helps
Regards
Gunjan
If the report cannot read certain personnel data due to lack of authorization, the data for these persons is not processed at the GET PERNR event. A note appears at the end of the list stating the number of persons who were skipped due to lack of authorization.
Message was edited by: Gunjan Kumar
‎2006 Jun 25 10:53 AM
Hi,
This link will solve all ur doubt..it completely explains the authorization concept in Get Pernr event:
http://help.sap.com/saphelp_47x200/helpdata/en/a8/b9b83b5b831f3be10000000a114084/frameset.htm
Reward points if it helps
Regards
Gunjan
‎2006 Jun 25 11:07 AM
Hi Abhi,
Request u to close the thread if ur query is answered .
if u r unable to view the flowchart ..give me ur id, i'll send it at the earliest.
Regards
Gunjan
‎2006 Dec 05 12:39 PM