MAKE_FIELD SAP Method Create a simple typed (BGDT) field









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

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name CL_BS_SOA_SIW_CMN_PPL 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 MAKE_FIELD can also be found below:

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


Parameters of Method MAKE_FIELD

.

NameTypeData TypeDescriptionDefault Value
I_CDTImportingTYPE
SIW_DTE_CORE_DATA_TYPE
I_EXPOSEDImportingTYPE
FLAG
I_FIXEDImportingTYPE
FLAG
I_NAMEImportingTYPE
CSEQUENCE
I_OPTIONALImportingTYPE
FLAG
I_SEMANTIC_IDImportingTYPE
SIW_DTE_SEMANTIC_ID
R_REFReturningTYPE REF TO
IF_SXF_FIELD



Exceptions of Method MAKE_FIELD

This method does not have any exceptions

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lo_class TYPE REF TO CL_BS_SOA_SIW_CMN_PPL.
DATA: lv_I_CDT TYPE SIW_DTE_CORE_DATA_TYPE,
lv_I_EXPOSED TYPE FLAG,
lv_I_FIXED TYPE FLAG,
lv_I_NAME TYPE CSEQUENCE,
lv_I_OPTIONAL TYPE FLAG,
lv_I_SEMANTIC_ID TYPE SIW_DTE_SEMANTIC_ID,
lv_R_REF TYPE IF_SXF_FIELD,
lv_other TYPE c.

CALL METHOD lo_class=>MAKE_FIELD(
EXPORTING
I_CDT = lv_I_CDT
I_EXPOSED = lv_I_EXPOSED
I_FIXED = lv_I_FIXED
I_NAME = lv_I_NAME
I_OPTIONAL = lv_I_OPTIONAL
I_SEMANTIC_ID = lv_I_SEMANTIC_ID
RECEIVING
R_REF = lv_R_REF )



"Alternate coding for Method Call with returning parameter
lv_R_REF = lo_class=>MAKE_FIELD(
EXPORTING
I_CDT = lv_I_CDT
I_EXPOSED = lv_I_EXPOSED
I_FIXED = lv_I_FIXED
I_NAME = lv_I_NAME
I_OPTIONAL = lv_I_OPTIONAL
I_SEMANTIC_ID = lv_I_SEMANTIC_ID ).

Links to Related Class(s)

CL_BS_SO...
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!