Hierarchy
⤷ GRC (Application Component) Governance, Risk and Compliance
⤷ GRFN_API_SERVICES (Package) GRC Foundation API Services
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 | ABAP | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
2 | GRFN0 | Type group use (TYPE-POOLS tp) | Type group use (TYPE-POOLS tp) |
3 | IF_GRFN_API_MODEL | 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 | GT_INSTANCE_POOL | Static Attribute | Private | Type reference (TYPE) | YT_INSTANCE_POOL | 20080312 | |||
2 | MO_AUTH | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRFN_AUTH_ENGINE | Authorization infrastructure | 20081112 | ||
3 | MO_CLOSE | Instance attribute | Private | Object reference (TYPE REF TO) | CL_GRFN_CLOSE_CHECK_ENGINE | Check one object is closed or not | 20100720 | ||
4 | MT_LOCK | Static Attribute | Private | Type reference (TYPE) | YT_LOCK_OBJECT | Newly created lock for the session | 20110915 | ||
5 | MT_MODEL_POOL | Instance attribute | Private | Type reference (TYPE) | YT_MODEL_POOL | 20080312 | |||
6 | MT_OBJECT_POOL | Instance attribute | Private | Type reference (TYPE) | YT_OBJECT_POOL | 20080312 | |||
7 | MV_BEGDATE | Instance attribute | Private | Type reference (TYPE) | SY-DATUM | begin date | 20100226 | ||
8 | MV_ENDDATE | Instance attribute | Private | Type reference (TYPE) | SY-DATUM | end date | 20100226 | ||
9 | MV_ID | Instance attribute | Public | Type reference (TYPE) | GRFN_API_SESSION_ID | ID of GRC session | 20080409 | ||
10 | MV_LANGUAGE | Instance attribute | Private | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080312 | ||
11 | MV_TF_YEAR | Instance attribute | Private | Type reference (TYPE) | GRFN_TF_YEAR | Timeframe Year | 20080312 | ||
12 | MV_TIMEFRAME | Instance attribute | Private | Type reference (TYPE) | GRFN_TIMEFRAME | Timeframe | 20080312 | ||
13 | MV_VOLUME | 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 | ADD_MODEL_CLASS | Instance method | Public | Method | add model info to mt_model_pool, only for unit test purpose | 20120418 |
2 | AUTHORIZE | Instance method | Public | Method | Checks authorization for specified object | 20080304 |
3 | AUTHORIZE_PFCG | Instance method | Public | Method | PFCG based Authorization check for AC objects. | 20100226 |
4 | AUTH_GEN | Instance method | Public | Method | Authorization check over the three generic regulations | 20100211 |
5 | CHECK_LOCKED | Instance method | Public | Method | PRIVATE: Check lock for given object and current timeframe | 20110915 |
6 | CLASS_CONSTRUCTOR | Static method | Public | Constructor | 20081212 | |
7 | CLEANUP | Instance method | Public | Method | Discards all unsaved changes withing the session | 20080123 |
8 | CLEANUP_ALL | Static method | Public | Method | 20120620 | |
9 | CLOSE | Instance method | Public | Method | Closes the session | 20080123 |
10 | CONSTRUCTOR | Instance method | Public | Constructor | CONSTRUCTOR | 20080123 |
11 | DATES | Instance method | Public | Method | Returns start and end date of the session timeframe | 20080130 |
12 | DATE_INTERVAL | Instance method | Public | Method | PC Compatibility: Date & Timeframe of Session | 20080409 |
13 | GET | Instance method | Public | Method | Get API class instance of an entity | 20080228 |
14 | GET_AGENTS | Instance method | Public | Method | Determines agents for a certain agent slot | 20080528 |
15 | GET_AGENTS_BY_ROLES | Instance method | Public | Method | Determines agents for roles/sort sequence (no agent slot) | 20110218 |
16 | GET_VOLUME | Instance method | Public | Method | Returns the data volume for the session | 20080409 |
17 | INIT_AUTH | Instance method | Private | Method | 20081112 | |
18 | INIT_CLOSE | Instance method | Private | Method | 20100720 | |
19 | INJECT_TICKET | Instance method | Public | Method | Injects a ticket (work item) into the authorization system | 20080716 |
20 | IS_CORPORATE | Instance method | Public | Method | To differentiate corporate and ordinary orgunit | 20080813 |
21 | IS_LOCKED | Instance method | Public | Method | Checks whether an object is locked | 20080820 |
22 | LANGUAGE | Instance method | Public | Method | Returns the Session's language | 20100409 |
23 | MARK_CHANGED | Instance method | Public | Method | Marks an object as changed | 20080409 |
24 | MARK_DELETED | Instance method | Public | Method | Marks an object as deleted | 20080514 |
25 | MARK_LOCKED | Instance method | Public | Method | Marks an object as locked | 20080409 |
26 | MODEL | Instance method | Public | Method | Retruns a (maybe buffered) model instance | 20080123 |
27 | NOT_CLOSED | Instance method | Public | Method | After sign-off, the object is frozen, read-only to users | 20080409 |
28 | OBJECT_EXISTS | Instance method | Public | Method | Check if the object exists or not | 20090115 |
29 | OPEN | Static method | Public | Method | Opens a new session | 20080123 |
30 | OPEN_DAILY | Static method | Public | Method | Opens a new session for the single day | 20081203 |
31 | OPEN_INTERVAL | Static method | Public | Method | CAUTION - Read the comment in the code | 20110421 |
32 | OPEN_WITH_ID | Static method | Public | Method | Opens a session with specified session ID | 20080409 |
33 | REVOKE_TICKET | Instance method | Public | Method | Revokes a ticket's authorizations from system | 20080716 |
34 | SAVE | Instance method | Public | Method | Saves all unsaved changes within the session | 20080123 |
35 | SAVE_LOCK | Instance method | Private | Method | Persist all lock entries | 20111020 |
36 | SET_LOCK | Instance method | Public | Method | Set lock for given object and current timeframe | 20110915 |
37 | SET_VOLUME | 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 | Importing | IO_MODEL | Call by reference | Object reference (TYPE REF TO) | IF_GRFN_API_MODEL | Interface for handling of GRC API models | 20120418 | ||
2 | Importing | 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 | Returning | E_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | User is authorized to perform activity | 20080409 | ||
2 | Importing | I_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | Data Part for GRC Object Types | 20080627 | ||
3 | Importing | I_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | Entity for which the authorization is checked | 20080409 | ||
4 | Importing | I_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object for which the authorization is checked | 20080409 | ||
5 | Importing | I_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | Activitiy for which the authorization is checked | 20080409 | ||
6 | Importing | I_ORGUNIT | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080409 | ||
7 | Importing | I_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Regulation | 20080919 | ||
8 | Importing | 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 | Importing | IV_AUTH_OBJ | Call by reference | Type reference (TYPE) | AGOBJECT | Auth. Object in User Master Maintenance | 20100226 | ||
2 | Importing | IV_FIELD1 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | ||
3 | Importing | IV_FIELD10 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100304 | ||
4 | Importing | IV_FIELD2 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | ||
5 | Importing | IV_FIELD3 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | ||
6 | Importing | IV_FIELD4 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | ||
7 | Importing | IV_FIELD5 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | ||
8 | Importing | IV_FIELD6 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | ||
9 | Importing | IV_FIELD7 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | ||
10 | Importing | IV_FIELD8 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | ||
11 | Importing | IV_FIELD9 | Call by reference | Type reference (TYPE) | AGRFIELD | Field name of an authorization | 20100226 | ||
12 | Importing | IV_USER | Call by reference | Type reference (TYPE) | UNAME | User Name | 20100227 | ||
13 | Importing | IV_VALUE1 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | ||
14 | Importing | IV_VALUE10 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100304 | ||
15 | Importing | IV_VALUE2 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | ||
16 | Importing | IV_VALUE3 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | ||
17 | Importing | IV_VALUE4 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | ||
18 | Importing | IV_VALUE5 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | ||
19 | Importing | IV_VALUE6 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | ||
20 | Importing | IV_VALUE7 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | ||
21 | Importing | IV_VALUE8 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | ||
22 | Importing | IV_VALUE9 | Call by reference | Type reference (TYPE) | AGVAL | Authorization value | 20100226 | ||
23 | Returning | 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 | Exporting | E_ANY_AUTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100407 | |||
2 | Exporting | E_PC_AUTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100211 | |||
3 | Exporting | E_RM_AUTH | Call by reference | Type reference (TYPE) | ABAP_BOOL | 20100211 | |||
4 | Importing | I_DATAPART | Call by reference | Type reference (TYPE) | GRFN_DATAPART | 20100211 | |||
5 | Importing | I_ENTITY | Call by reference | Type reference (TYPE) | GRFN_API_ENTITY_ID | 20100211 | |||
6 | Importing | I_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | 20100211 | |||
7 | Importing | I_OPERATION | Call by reference | Type reference (TYPE) | GRFN_API_OPERATION_ID | 20100211 | |||
8 | Importing | 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 | Importing | 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 | CX_GRFN_EXCEPTION | 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 | Importing | IV_CLEAN_ALL | Value transfer | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | 20090218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | 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 | CX_GRFN_EXCEPTION | 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 | Importing | IV_ID | Value transfer | Type reference (TYPE) | GRFN_API_SESSION_ID | ID of GRC session | 20080409 | ||
2 | Importing | IV_LANGUAGE | Value transfer | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080312 | ||
3 | Importing | IV_TF_YEAR | Value transfer | Type reference (TYPE) | GRFN_TF_YEAR | Timeframe Year | 20080312 | ||
4 | Importing | 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 | Returning | 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 | Returning | 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 | Importing | IV_OBJECT_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080312 | ||
2 | Returning | 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 | CX_GRFN_EXCEPTION | Generic GRC API exception | 20080228 |
Method GET_AGENTS Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IT_EXCLUDE_USER | Call by reference | Type reference (TYPE) | GRFN_T_USER_LIST | Users to be excluded on object itself | 20080528 | ||
2 | Importing | IV_AGENT_SLOT | Call by reference | Type reference (TYPE) | GRFN_AGENTSLOT | Agent Slot | 20080528 | ||
3 | Importing | IV_ALL_GROUPS | Call by reference | Type reference (TYPE) | INT4 | 1 | 0 = all groups | 20081211 | |
4 | Importing | IV_NO_FALLBACK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Do not return fallback user | 20100608 | |
5 | Importing | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080528 | ||
6 | Importing | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081210 | ||
7 | Returning | RT_AGENT | Value transfer | Type reference (TYPE) | GRFN_T_AGENT | List of Agents | 20080528 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | 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 | Exporting | ET_AGENT | Call by reference | Type reference (TYPE) | GRFN_T_AGENT | List of Agents | 20110418 | ||
2 | Exporting | ET_USER_ROLE | Call by reference | Type reference (TYPE) | GRFN_T_ROLE_LIST | User - roles | 20110418 | ||
3 | Importing | IT_EXCLUDE_USER | Call by reference | Type reference (TYPE) | GRFN_T_USER_LIST | Users to be excluded on object itself | 20110218 | ||
4 | Importing | IT_ROLES_SEQUENCE | Call by reference | Type reference (TYPE) | GRRM_OB_T_ROLES_SEQUENCE | Roles sequence | 20110218 | ||
5 | Importing | IV_ALL_GROUPS | Call by reference | Type reference (TYPE) | INT4 | 1 | 0 = all groups | 20110218 | |
6 | Importing | IV_NO_FALLBACK | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_FALSE | Do not return fallback user | 20110218 | |
7 | Importing | IV_OBJECT_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20110218 | ||
8 | Importing | IV_REGULATION_ID | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20110218 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | Generic GRC API exception | 20110218 |
Method GET_VOLUME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Returning | 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 | Importing | IV_WORKITEM | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20080716 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | Generic GRC API exception | 20080716 |
Method IS_CORPORATE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_OBJECT_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080813 | ||
2 | Importing | IV_ORGUNIT_VIEW | Value transfer | Type reference (TYPE) | GRFN_ORG_VIEW_ID | Organization View ID | 20100525 | ||
3 | Importing | IV_REGULATION_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20081209 | ||
4 | Returning | RV_RESULT | Value transfer | Type reference (TYPE) | ABAP_BOOL | 20080813 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | Generic GRC API exception | 20081209 |
Method IS_LOCKED Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | IV_OBJECT | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080820 | ||
2 | Returning | 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 | Returning | 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 | Importing | IV_OBJECT_ID | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080514 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | 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 | Importing | IV_MODEL | Value transfer | Type reference (TYPE) | CLASSNAME | Reference type | 20080312 | ||
2 | Returning | 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 | Exporting | E_CLOSED_UNTIL | Call by reference | Type reference (TYPE) | GRFN_DATE | The last date of the lock period | 20100718 | ||
2 | Exporting | E_NOT_CLOSED | Call by reference | Type reference (TYPE) | ABAP_BOOL | ABAP_TRUE not closed; ABAP_FALSE closed | 20100718 | ||
3 | Importing | I_OBJECT | Call by reference | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20080409 | ||
4 | Importing | 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 | Importing | 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 | Importing | IV_OBJECT | Value transfer | Type reference (TYPE) | GRFN_API_OBJECT_ID | Object ID | 20090115 | ||
2 | Returning | 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 | Importing | IV_BEGDATE | Value transfer | Type reference (TYPE) | SY-DATUM | DO NOT USE in GRC2010 | 20100301 | ||
2 | Importing | IV_ENDDATE | Value transfer | Type reference (TYPE) | SY-DATUM | DO NOT USE in GRC2010 | 20100301 | ||
3 | Importing | IV_LANGUAGE | Value transfer | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20080312 | ||
4 | Importing | IV_TF_YEAR | Value transfer | Type reference (TYPE) | GRFN_TF_YEAR | Timeframe Year | 20080312 | ||
5 | Importing | IV_TIMEFRAME | Value transfer | Type reference (TYPE) | GRFN_TIMEFRAME | Time Frame | 20080312 | ||
6 | Returning | 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 | Importing | IV_DATE | Value transfer | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20081203 | ||
2 | Importing | IV_LANGUAGE | Value transfer | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20081203 | ||
3 | Returning | 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 | Importing | IV_BEGDATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20110421 | ||
2 | Importing | IV_ENDDATE | Call by reference | Type reference (TYPE) | SY-DATUM | Current Date of Application Server | 20110421 | ||
3 | Importing | IV_LANGUAGE | Call by reference | Type reference (TYPE) | SY-LANGU | Language Key of Current Text Environment | 20110421 | ||
4 | Returning | 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 | Importing | IV_SESSION_ID | Value transfer | Type reference (TYPE) | GRFN_API_SESSION_ID | 20080409 | |||
2 | Returning | 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 | Importing | IV_WORKITEM | Call by reference | Type reference (TYPE) | SWW_WIID | Work item ID | 20080716 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | Generic GRC API exception | 20080716 |
Method SAVE Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Exporting | ET_ID_MAP | Call by reference | Type reference (TYPE) | IF_GRFN_API_MODEL=>YT_ID_MAP | 20110722 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | 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 | Importing | IO_OBJECT | Call by reference | Object reference (TYPE REF TO) | IF_GRFN_API_BASIS | Basis interface for the GRC API | 20110915 | ||
2 | Importing | IV_EXPLAIN_OTR | Call by reference | Type reference (TYPE) | SOTR_ALIAS | Reason explanation for locking (for UI) | 20110915 |
# | Exception | Resumable | Description | Created on |
---|---|---|---|---|
1 | CX_GRFN_EXCEPTION | Generic GRC API exception | 20110915 |
Method SET_VOLUME Signature
# | Type | Parameter | Pass Value | Optional | Typing Method | Associated Type | Default value | Description | Created on |
---|---|---|---|---|---|---|---|---|---|
1 | Importing | 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 |