CREATE_TRANSIENT SAP Method Create Transient Object









Below is documentation, parameters and attributes of ABAP Method CREATE_TRANSIENT within SAP class CB_POS_IDENTIFIER_DIF. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CB_POS_IDENTIFIER_DIF into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Instance

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.

The following technical details of method CREATE_TRANSIENT can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method CREATE_TRANSIENT

.

NameTypeData TypeDescriptionDefault Value
I_CONTEXTImportingTYPE
DIF_IDENT_CONTEXT
Persistent Attribute
I_DIFF_VALUESImportingTYPE
DIFS_DIFF_VALUES
Persistent Attribute
I_IDENTIFIEDImportingTYPE REF TO
OBJECT
Persistent Attribute
RESULTReturningTYPE REF TO
CL_POS_IDENTIFIER_DIF
Newly Created Transient Object



Exceptions of Method CREATE_TRANSIENT

CX_OS_OBJECT_EXISTING - Object Services Exception

Example ABAP coding


DATA: lo_class TYPE REF TO CB_POS_IDENTIFIER_DIF.
DATA: lv_I_CONTEXT TYPE DIF_IDENT_CONTEXT,
lv_I_DIFF_VALUES TYPE DIFS_DIFF_VALUES,
lv_I_IDENTIFIED TYPE OBJECT,
lv_RESULT TYPE CL_POS_IDENTIFIER_DIF,
lv_other TYPE c.

CALL METHOD lo_class=>CREATE_TRANSIENT(
EXPORTING
I_CONTEXT = lv_I_CONTEXT
I_DIFF_VALUES = lv_I_DIFF_VALUES
I_IDENTIFIED = lv_I_IDENTIFIED
RECEIVING
RESULT = lv_RESULT )



"Alternate coding for Method Call with returning parameter
lv_RESULT = lo_class=>CREATE_TRANSIENT(
EXPORTING
I_CONTEXT = lv_I_CONTEXT
I_DIFF_VALUES = lv_I_DIFF_VALUES
I_IDENTIFIED = lv_I_IDENTIFIED ).

Links to Related Class(s)

CB_POS_I...
Full list of available SAP object classes

Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!