ABAP OO Class Methods

GET_SESSION_ID SAP Method - Get session ID







Below is documentation, parameters and attributes of ABAP Method GET_SESSION_ID within SAP class IF_GRPC_AOD_WD. There is also a number of example ABAP code snipts to help you implement this method.

This method is available within SAP systems depending on your version and release level and you can view further information by entering the class name IF_GRPC_AOD_WD into relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in. Also check out the contributions below to view or add related hints, tips, example screen shots and any other information.


SAP Class method belongs too

IF_GRPC_AOD_WD

Method Name

GET_SESSION_ID

Method Type

Instance Method:   This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.







Returning Parameters:


RV_SESSION_ID " GRPC unique session ID TYPE GRPC_API_SESSION_ID

Exceptions:



Example ABAP coding


DATA:
ld_RV_SESSION_ID TYPE GRPC_API_SESSION_ID.


DATA: lo_WD TYPE REF TO IF_GRPC_AOD_WD .
CALL METHOD lo_WD->GET_SESSION_ID(
RECEIVING
RV_SESSION_ID = ld_RV_SESSION_ID ).

"Alternate coding for Method Call with returning parameter



ld_RV_SESSION_ID = lo_WD->GET_SESSION_ID().


ld_RV_SESSION_ID = lo_WD->GET_SESSION_ID().