Hierarchy
⤷
⤷
Properties
| Class | CL_GRFN_API_SESSION | |
| Short Description | Session Management for GRC APIs | |
| Super Class | ||
| Instantiability of a Class | 0 | Private |
| Final |
General Data
| Message Class | ||
| Program status | ||
| Category | 0 | |
| Package | GRFN_API_SERVICES | GRC Foundation API Services |
| Created | 20080123 | SAP |
| Last change | 20141106 | |
| Shared Memory-enabled | ||
| Fixed point arithmetic | ||
| Unicode checks active |
Forward declarations
| # | Type group / Object type | Type | Type Description |
|---|---|---|---|
| 1 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 2 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) | |
| 3 | Forward declaration interface (INTERFACE i DEFINITION DEF... | Forward declaration interface (INTERFACE i DEFINITION DEF... |
Interfaces
Class CL_GRFN_API_SESSION has no interface implemented.
Friends
| # | Friend | Modeled only | Created on | Description |
|---|---|---|---|---|
| 1 | CL_GRRM_AGGREGATION_TRIGGER | 20110919 | Handles risk/analysis aggregation |
Attributes
| # | Attribute | Level | Visibility | Read only | Typing | Associated Type | Initial Value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | Static Attribute | Private | Type reference (TYPE) | YT_INSTANCE_POOL | 20080312 | ||||
| 2 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRFN_AUTH_ENGINE | Authorization infrastructure | 20081112 | |||
| 3 | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRFN_CLOSE_CHECK_ENGINE | Check one object is closed or not | 20100720 | |||
| 4 | Static Attribute | Private | Type reference (TYPE) | YT_LOCK_OBJECT | Newly created lock for the session | 20110915 | |||
| 5 | Instance attribute | Private | Type reference (TYPE) | YT_MODEL_POOL | 20080312 | ||||
| 6 | Instance attribute | Private | Type reference (TYPE) | YT_OBJECT_POOL | 20080312 | ||||
| 7 | Instance attribute | Private | Type reference (TYPE) | SY-DATUM | begin date | 20100226 | |||
| 8 | Instance attribute | Private | Type reference (TYPE) | SY-DATUM | end date | 20100226 | |||
| 9 | Instance attribute | Public | Type reference (TYPE) | GRFN_API_SESSION_ID | ID of GRC session | 20080409 | |||
| 10 | Instance attribute | Private | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080312 | |||
| 11 | Instance attribute | Private | Type reference (TYPE) | GRFN_TF_YEAR | Timeframe Year | 20080312 | |||
| 12 | Instance attribute | Private | Type reference (TYPE) | GRFN_TIMEFRAME | Timeframe | 20080312 | |||
| 13 | Instance attribute | Private | Type reference (TYPE) | GRFN_SESSION_VOLUME | The data volume for the session | 20080409 |
Methods
| # | Method | Level | Visibility | Method type | Description | Created on |
|---|---|---|---|---|---|---|
| 1 | Instance method | Public | Method | add model info to mt_model_pool, only for unit test purpose | 20120418 | |
| 2 | Instance method | Public | Method | Checks authorization for specified object | 20080304 | |
| 3 | Instance method | Public | Method | PFCG based Authorization check for AC objects. | 20100226 | |
| 4 | Instance method | Public | Method | Authorization check over the three generic regulations | 20100211 | |
| 5 | Instance method | Public | Method | PRIVATE: Check lock for given object and current timeframe | 20110915 | |
| 6 | Static method | Public | Constructor | 20081212 | ||
| 7 | Instance method | Public | Method | Discards all unsaved changes withing the session | 20080123 | |
| 8 | Static method | Public | Method | 20120620 | ||
| 9 | Instance method | Public | Method | Closes the session | 20080123 | |
| 10 | Instance method | Public | Constructor | CONSTRUCTOR | 20080123 | |
| 11 | Instance method | Public | Method | Returns start and end date of the session timeframe | 20080130 | |
| 12 | Instance method | Public | Method | PC Compatibility: Date & Timeframe of Session | 20080409 | |
| 13 | Instance method | Public | Method | Get API class instance of an entity | 20080228 | |
| 14 | Instance method | Public | Method | Determines agents for a certain agent slot | 20080528 | |
| 15 | Instance method | Public | Method | Determines agents for roles/sort sequence (no agent slot) | 20110218 | |
| 16 | Instance method | Public | Method | Returns the data volume for the session | 20080409 | |
| 17 | Instance method | Private | Method | 20081112 | ||
| 18 | Instance method | Private | Method | 20100720 | ||
| 19 | Instance method | Public | Method | Injects a ticket (work item) into the authorization system | 20080716 | |
| 20 | Instance method | Public | Method | To differentiate corporate and ordinary orgunit | 20080813 | |
| 21 | Instance method | Public | Method | Checks whether an object is locked | 20080820 | |
| 22 | Instance method | Public | Method | Returns the Session's language | 20100409 | |
| 23 | Instance method | Public | Method | Marks an object as changed | 20080409 | |
| 24 | Instance method | Public | Method | Marks an object as deleted | 20080514 | |
| 25 | Instance method | Public | Method | Marks an object as locked | 20080409 | |
| 26 | Instance method | Public | Method | Retruns a (maybe buffered) model instance | 20080123 | |
| 27 | Instance method | Public | Method | After sign-off, the object is frozen, read-only to users | 20080409 | |
| 28 | Instance method | Public | Method | Check if the object exists or not | 20090115 | |
| 29 | Static method | Public | Method | Opens a new session | 20080123 | |
| 30 | Static method | Public | Method | Opens a new session for the single day | 20081203 | |
| 31 | Static method | Public | Method | CAUTION - Read the comment in the code | 20110421 | |
| 32 | Static method | Public | Method | Opens a session with specified session ID | 20080409 | |
| 33 | Instance method | Public | Method | Revokes a ticket's authorizations from system | 20080716 | |
| 34 | Instance method | Public | Method | Saves all unsaved changes within the session | 20080123 | |
| 35 | Instance method | Private | Method | Persist all lock entries | 20111020 | |
| 36 | Instance method | Public | Method | Set lock for given object and current timeframe | 20110915 | |
| 37 | Instance method | Public | Method | Sets the data volume for the session | 20080409 |
Events
Class CL_GRFN_API_SESSION has no event.
Types
| # | Type | Visibility | Typing | Associated Type | Description | Created on | Type Source |
|---|---|---|---|---|---|---|---|
| 1 | ACTIVITY | Public | Type reference (TYPE) | CHAR2 | Activity for authorization check | 20080304 | |
| 2 | YS_LOCK_OBJECT | Private | See coding | 20111020 | begin of ys_lock_object,
mandt type mandt,
object_id type grfn_api_object_id,
valid_to type grfn_validto,
explain_otr type sotr_alias,
end of ys_lock_object
|
||
| 3 | YT_LOCK_OBJECT | Private | See coding | 20110915 | yt_lock_object type table of ys_lock_object
|
Method Signatures
Method ADD_MODEL_CLASS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20120418 | |||
| 2 | IV_CLASSNAME | Call by reference | Type reference (TYPE) | CLASSNAME | Reference type | 20120418 |
Method ADD_MODEL_CLASS on class CL_GRFN_API_SESSION has no exception.
Method AUTHORIZE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | User is authorized to perform activity | 20080409 | |||
| 2 | I_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20080627 | |||
| 3 | I_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity for which the authorization is checked | 20080409 | |||
| 4 | I_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object for which the authorization is checked | 20080409 | |||
| 5 | I_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | Activitiy for which the authorization is checked | 20080409 | |||
| 6 | I_ORGUNIT | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080409 | |||
| 7 | I_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Regulation | 20080919 | |||
| 8 | I_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | Subentity | 20080910 |
Method AUTHORIZE on class CL_GRFN_API_SESSION has no exception.
Method AUTHORIZE_PFCG Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_AUTH_OBJ | Call by reference | Type reference (TYPE) | AGOBJECT | Auth. Object in User Master Maintenance | 20100226 | |||
| 2 | IV_FIELD1 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | |||
| 3 | IV_FIELD10 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100304 | |||
| 4 | IV_FIELD2 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | |||
| 5 | IV_FIELD3 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | |||
| 6 | IV_FIELD4 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | |||
| 7 | IV_FIELD5 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | |||
| 8 | IV_FIELD6 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | |||
| 9 | IV_FIELD7 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | |||
| 10 | IV_FIELD8 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | |||
| 11 | IV_FIELD9 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | |||
| 12 | IV_USER | Call by reference | Type reference (TYPE) | UNAME | User Name | 20100227 | |||
| 13 | IV_VALUE1 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | |||
| 14 | IV_VALUE10 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100304 | |||
| 15 | IV_VALUE2 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | |||
| 16 | IV_VALUE3 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | |||
| 17 | IV_VALUE4 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | |||
| 18 | IV_VALUE5 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | |||
| 19 | IV_VALUE6 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | |||
| 20 | IV_VALUE7 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | |||
| 21 | IV_VALUE8 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | |||
| 22 | IV_VALUE9 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | |||
| 23 | RV_AUTHORIZED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20100226 |
Method AUTHORIZE_PFCG on class CL_GRFN_API_SESSION has no exception.
Method AUTH_GEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_ANY_AUTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100407 | ||||
| 2 | E_PC_AUTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100211 | ||||
| 3 | E_RM_AUTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100211 | ||||
| 4 | I_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | 20100211 | ||||
| 5 | I_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | 20100211 | ||||
| 6 | I_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | 20100211 | ||||
| 7 | I_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | 20100211 | ||||
| 8 | I_SUBENTITY | Call by reference | Type reference (TYPE) | GRFN_SUBENTITY | 20100211 |
Method AUTH_GEN on class CL_GRFN_API_SESSION has no exception.
Method CHECK_LOCKED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_GRFN_API_BASIS | Basis interface for the GRC API | 20110915 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20110915 |
Method CLASS_CONSTRUCTOR Signature
Method CLASS_CONSTRUCTOR on class CL_GRFN_API_SESSION has no parameter.
Method CLASS_CONSTRUCTOR on class CL_GRFN_API_SESSION has no exception.
Method CLEANUP Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_CLEAN_ALL | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080228 |
Method CLEANUP_ALL Signature
Method CLEANUP_ALL on class CL_GRFN_API_SESSION has no parameter.
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20120815 |
Method CLOSE Signature
Method CLOSE on class CL_GRFN_API_SESSION has no parameter.
Method CLOSE on class CL_GRFN_API_SESSION has no exception.
Method CONSTRUCTOR Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_ID | Value transfer | Type reference (TYPE) | GRFN_API_SESSION_ID | ID of GRC session | 20080409 | |||
| 2 | IV_LANGUAGE | Value transfer | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080312 | |||
| 3 | IV_TF_YEAR | Value transfer | Type reference (TYPE) | GRFN_TF_YEAR | Timeframe Year | 20080312 | |||
| 4 | IV_TIMEFRAME | Value transfer | Type reference (TYPE) | GRFN_TIMEFRAME | Time Frame | 20080312 |
Method CONSTRUCTOR on class CL_GRFN_API_SESSION has no exception.
Method DATES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_RESULT | Value transfer | Type reference (TYPE) | GRFN_S_TF_DATES | Timeframe details | 20080312 |
Method DATES on class CL_GRFN_API_SESSION has no exception.
Method DATE_INTERVAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RS_DATES | Value transfer | Type reference (TYPE) | GRFN_S_DATE_INTERVAL | PC Compatibility: Date and Timeframe | 20080409 |
Method DATE_INTERVAL on class CL_GRFN_API_SESSION has no exception.
Method GET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080312 | |||
| 2 | RO_RESULT | Value transfer | Object reference (TYPE REF TO) | IF_GRFN_API_BASIS | Basis interface for the GRC API | 20080312 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080228 |
Method GET_AGENTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IT_EXCLUDE_USER | Call by reference | Type reference (TYPE) | GRFN_T_USER_LIST | Users to be excluded on object itself | 20080528 | |||
| 2 | IV_AGENT_SLOT | Call by reference | Type reference (TYPE) | GRFN_AGENTSLOT | Agent Slot | 20080528 | |||
| 3 | IV_ALL_GROUPS | Call by reference | Type reference (TYPE) | INT4 | 1 | 0 = all groups | 20081211 | ||
| 4 | IV_NO_FALLBACK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Do not return fallback user | 20100608 | ||
| 5 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080528 | |||
| 6 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081210 | |||
| 7 | RT_AGENT | Value transfer | Type reference (TYPE) | GRFN_T_AGENT | List of Agents | 20080528 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080528 |
Method GET_AGENTS_BY_ROLES Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_AGENT | Call by reference | Type reference (TYPE) | GRFN_T_AGENT | List of Agents | 20110418 | |||
| 2 | ET_USER_ROLE | Call by reference | Type reference (TYPE) | GRFN_T_ROLE_LIST | User - roles | 20110418 | |||
| 3 | IT_EXCLUDE_USER | Call by reference | Type reference (TYPE) | GRFN_T_USER_LIST | Users to be excluded on object itself | 20110218 | |||
| 4 | IT_ROLES_SEQUENCE | Call by reference | Type reference (TYPE) | GRRM_OB_T_ROLES_SEQUENCE | Roles sequence | 20110218 | |||
| 5 | IV_ALL_GROUPS | Call by reference | Type reference (TYPE) | INT4 | 1 | 0 = all groups | 20110218 | ||
| 6 | IV_NO_FALLBACK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Do not return fallback user | 20110218 | ||
| 7 | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20110218 | |||
| 8 | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20110218 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20110218 |
Method GET_VOLUME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_VOLUME | Value transfer | Type reference (TYPE) | GRFN_SESSION_VOLUME | The data volume for the session | 20080409 |
Method GET_VOLUME on class CL_GRFN_API_SESSION has no exception.
Method INIT_AUTH Signature
Method INIT_AUTH on class CL_GRFN_API_SESSION has no parameter.
Method INIT_AUTH on class CL_GRFN_API_SESSION has no exception.
Method INIT_CLOSE Signature
Method INIT_CLOSE on class CL_GRFN_API_SESSION has no parameter.
Method INIT_CLOSE on class CL_GRFN_API_SESSION has no exception.
Method INJECT_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WORKITEM | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20080716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080716 |
Method IS_CORPORATE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080813 | |||
| 2 | IV_ORGUNIT_VIEW | Value transfer | Type reference (TYPE) | GRFN_ORG_VIEW_ID | Organization View ID | 20100525 | |||
| 3 | IV_REGULATION_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081209 | |||
| 4 | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20080813 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20081209 |
Method IS_LOCKED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080820 | |||
| 2 | RV_LOCKED | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20080820 |
Method IS_LOCKED on class CL_GRFN_API_SESSION has no exception.
Method LANGUAGE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | RV_LANGUAGE | Value transfer | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20100409 |
Method LANGUAGE on class CL_GRFN_API_SESSION has no exception.
Method MARK_CHANGED Signature
Method MARK_CHANGED on class CL_GRFN_API_SESSION has no parameter.
Method MARK_CHANGED on class CL_GRFN_API_SESSION has no exception.
Method MARK_DELETED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080514 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080514 |
Method MARK_LOCKED Signature
Method MARK_LOCKED on class CL_GRFN_API_SESSION has no parameter.
Method MARK_LOCKED on class CL_GRFN_API_SESSION has no exception.
Method MODEL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_MODEL | Value transfer | Type reference (TYPE) | CLASSNAME | Reference type | 20080312 | |||
| 2 | RO_RESULT | Value transfer | Object reference (TYPE REF TO) | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20080312 |
Method MODEL on class CL_GRFN_API_SESSION has no exception.
Method NOT_CLOSED Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | E_CLOSED_UNTIL | Call by reference | Type reference (TYPE) | GRFN_DATE | The last date of the lock period | 20100718 | |||
| 2 | E_NOT_CLOSED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE not closed; ABAP_FALSE closed | 20100718 | |||
| 3 | I_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080409 | |||
| 4 | I_ORGUNIT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | The Org-Unit which I_OBJECT belong to if I_OBJECT is local | 20080409 | |||
| 5 | I_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Regulation ID | 20081015 |
Method NOT_CLOSED on class CL_GRFN_API_SESSION has no exception.
Method OBJECT_EXISTS Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_OBJECT | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20090115 | |||
| 2 | RV_EXISTS | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20090115 |
Method OBJECT_EXISTS on class CL_GRFN_API_SESSION has no exception.
Method OPEN Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BEGDATE | Value transfer | Type reference (TYPE) | SY-DATUM | DO NOT USE in GRC2010 | 20100301 | |||
| 2 | IV_ENDDATE | Value transfer | Type reference (TYPE) | SY-DATUM | DO NOT USE in GRC2010 | 20100301 | |||
| 3 | IV_LANGUAGE | Value transfer | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080312 | |||
| 4 | IV_TF_YEAR | Value transfer | Type reference (TYPE) | GRFN_TF_YEAR | Timeframe Year | 20080312 | |||
| 5 | IV_TIMEFRAME | Value transfer | Type reference (TYPE) | GRFN_TIMEFRAME | Time Frame | 20080312 | |||
| 6 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20080312 |
Method OPEN on class CL_GRFN_API_SESSION has no exception.
Method OPEN_DAILY Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_DATE | Value transfer | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20081203 | |||
| 2 | IV_LANGUAGE | Value transfer | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20081203 | |||
| 3 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20081203 |
Method OPEN_DAILY on class CL_GRFN_API_SESSION has no exception.
Method OPEN_INTERVAL Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_BEGDATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20110421 | |||
| 2 | IV_ENDDATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20110421 | |||
| 3 | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20110421 | |||
| 4 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20110421 |
Method OPEN_INTERVAL on class CL_GRFN_API_SESSION has no exception.
Method OPEN_WITH_ID Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_SESSION_ID | Value transfer | Type reference (TYPE) | GRFN_API_SESSION_ID | 20080409 | ||||
| 2 | RO_INSTANCE | Value transfer | Object reference (TYPE REF TO) | CL_GRFN_API_SESSION | Session Management for GRC APIs | 20080409 |
Method OPEN_WITH_ID on class CL_GRFN_API_SESSION has no exception.
Method REVOKE_TICKET Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_WORKITEM | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20080716 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080716 |
Method SAVE Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | ET_ID_MAP | Call by reference | Type reference (TYPE) | IF_GRFN_API_MODEL=>YT_ID_MAP | 20110722 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20080228 |
Method SAVE_LOCK Signature
Method SAVE_LOCK on class CL_GRFN_API_SESSION has no parameter.
Method SAVE_LOCK on class CL_GRFN_API_SESSION has no exception.
Method SET_LOCK Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IO_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_GRFN_API_BASIS | Basis interface for the GRC API | 20110915 | |||
| 2 | IV_EXPLAIN_OTR | Call by reference | Type reference (TYPE) | SOTR_ALIAS | Reason explanation for locking (for UI) | 20110915 |
| # | Exception | Resumable | Description | Created on |
|---|---|---|---|---|
| 1 | Generic GRC API exception | 20110915 |
Method SET_VOLUME Signature
| # | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
|---|---|---|---|---|---|---|---|---|---|
| 1 | IV_VOLUME | Value transfer | Type reference (TYPE) | GRFN_SESSION_VOLUME | The data volume for the session | 20080409 |
Method SET_VOLUME on class CL_GRFN_API_SESSION has no exception.
History
| Last changed by/on | SAP | 20141106 |
| SAP Release Created in | 300 |