READ_WITH_CREATE SAP Method Read Entry from Buffer; if Does Not Exist, Create New Folder
Below is documentation, parameters and attributes of ABAP Method READ_WITH_CREATE within SAP class /ISDFPS/CL_BUFFER_FE2CMFLD. 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 /ISDFPS/CL_BUFFER_FE2CMFLD 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 READ_WITH_CREATE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method READ_WITH_CREATE
.| Name | Type | Data Type | Description | Default Value |
| I_FORCE_CNT | Importing | TYPE /ISDFPS/FORCE_CNT | Internal (Version) Counter | |
| I_FORCE_ID | Importing | TYPE /ISDFPS/FORCE_ID | Int. ID (GUID_32) | |
| I_MODE | Importing | TYPE CHAR1 | Processing Mode | |
| I_STEXT | Importing | TYPE STEXT | Object Description | |
| E_OBJECT | Exporting | TYPE REF TO IF_CM_OBJECT | CM: Interface for Persistent Data from a CM Object | |
| E_VAL | Exporting | TYPE /ISDFPS/FE2CMFLD | Assignment Folder to Folder Element |
Exceptions of Method READ_WITH_CREATE
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /ISDFPS/CL_BUFFER_FE2CMFLD.
DATA: lv_E_OBJECT TYPE IF_CM_OBJECT,
lv_E_VAL TYPE /ISDFPS/FE2CMFLD,
lv_I_FORCE_CNT TYPE /ISDFPS/FORCE_CNT,
lv_I_FORCE_ID TYPE /ISDFPS/FORCE_ID,
lv_I_MODE TYPE CHAR1,
lv_I_STEXT TYPE STEXT,
lv_other TYPE c.
CALL METHOD lo_class=>READ_WITH_CREATE(
EXPORTING
I_FORCE_CNT = lv_I_FORCE_CNT
I_FORCE_ID = lv_I_FORCE_ID
I_MODE = lv_I_MODE
I_STEXT = lv_I_STEXT
IMPORTING
E_OBJECT = lv_E_OBJECT
E_VAL = lv_E_VAL ).
Links to Related Class(s)
/ISDFPS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects