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

.

NameTypeData TypeDescriptionDefault Value
IV_POIIDImportingTYPE
/ECRS/POIID
Provider of Information ID
IV_RPCTIImportingTYPE
/ECRS/RPCTI
Country of Declaration (ISO Code)
IV_BUKRSImportingTYPE
BUKRS
Company Code
IV_POIBPImportingTYPE
/ECRS/POIBP
Business Partner for Provider of Information
ES_ETSExportingTYPE
/ECRS/ETS_S
Administrative Data: Created by, Changed by, Time Stamp



Exceptions of Method OPEN_FOR_CREATE

ES_ETSExportingTYPE
/ECRS/ETS_SAdministrative Data: Created by, Changed by, Time StampWRONG_POIBP - Wrong Business Partner

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



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!