OPEN_FOR_CREATE SAP Method Open to Create a Provider of Information
Below is documentation, parameters and attributes of ABAP Method OPEN_FOR_CREATE within SAP class /ECRS/CL_POI. 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 /ECRS/CL_POI 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 OPEN_FOR_CREATE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method OPEN_FOR_CREATE
.| Name | Type | Data Type | Description | Default Value |
| IV_POIID | Importing | TYPE /ECRS/POIID | Provider of Information ID | |
| IV_RPCTI | Importing | TYPE /ECRS/RPCTI | Country of Declaration (ISO Code) | |
| IV_BUKRS | Importing | TYPE BUKRS | Company Code | |
| IV_POIBP | Importing | TYPE /ECRS/POIBP | Business Partner for Provider of Information | |
| ES_ETS | Exporting | TYPE /ECRS/ETS_S | Administrative Data: Created by, Changed by, Time Stamp |
Exceptions of Method OPEN_FOR_CREATE
/ECRS/ETS_S
Example ABAP coding
DATA: lo_class TYPE REF TO /ECRS/CL_POI.
DATA: lv_ES_ETS TYPE /ECRS/ETS_S,
lv_IV_POIID TYPE /ECRS/POIID,
lv_IV_RPCTI TYPE /ECRS/RPCTI,
lv_IV_BUKRS TYPE BUKRS,
lv_IV_POIBP TYPE /ECRS/POIBP,
lv_other TYPE c.
CALL METHOD lo_class=>OPEN_FOR_CREATE(
EXPORTING
IV_POIID = lv_IV_POIID
IV_RPCTI = lv_IV_RPCTI
IV_BUKRS = lv_IV_BUKRS
IV_POIBP = lv_IV_POIBP
IMPORTING
ES_ETS = lv_ES_ETS ).
Links to Related Class(s)
/ECRS/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects