SAP Classes

Share |

GET_MEM_DATA_REF SAP Method - Get the data reference in memory


GET_MEM_DATA_REF is a standard SAP ABAP method of class RS_BCT_PBPC_ADD_DATA_SVC available within R/3 SAP systems depending on your version and release level. Below is the standard documentation available for it. You can view this information and more if you enter the class name RS_BCT_PBPC_ADD_DATA_SVC into the relevant SAP transaction such as SE24 or SE80 and then select the method GET_MEM_DATA_REF

Contribute(Add Comment)
See the comments section below for any useful hints, tips and information specific to this SAP Method. Also please feel free to add any further details you feel would be useful or ask any questions you may have. You can then easily find this info again simply by searching on the method name GET_MEM_DATA_REF or its description.


Class Name: RS_BCT_PBPC_ADD_DATA_SVC

Method Name: GET_MEM_DATA_REF

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.

Importing Parameters:
   I_EXPRESSION " BRF: Expression TYPE BRF_EXPRESSION

Returning Parameters:
   RE_DATA_REF " TYPE REF TO DATA

Exceptions:
   NOT_FOUND -


Example ABAP coding

DATA:
   ld_I_EXPRESSION TYPE BRF_EXPRESSION ,
   ld_RE_DATA_REF TYPE REF TO DATA.

" ld_I_EXPRESSION = "<Populate with value>

DATA: lo_SVC TYPE REF TO RS_BCT_PBPC_ADD_DATA_SVC .
CALL METHOD lo_SVC->GET_MEM_DATA_REF(
EXPORTING
   I_EXPRESSION = ld_I_EXPRESSION
RECEIVING
   RE_DATA_REF = ld_RE_DATA_REF
EXCEPTIONS
   NOT_FOUND = 4 ).

"Alternate coding for Method Call with returning parameter

ld_RE_DATA_REF = lo_SVC->GET_MEM_DATA_REF(
EXPORTING
   I_EXPRESSION = ld_I_EXPRESSION ).


comments powered by Disqus