CREATE_UNION SAP Method Creates a new CompositeProvider in the BW Repository









Below is documentation, parameters and attributes of ABAP Method CREATE_UNION within SAP class CL_HCPR_PLANNING_API. 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 CL_HCPR_PLANNING_API into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

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

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


Parameters of Method CREATE_UNION

.

NameTypeData TypeDescriptionDefault Value
I_DESCRIPTIONImportingTYPE
CLIKE
Description
I_HCPRNMImportingTYPE
RSOHCPRNM
HANA CompositeProvider: Name
I_INFOAREAImportingTYPE
RSINFOAREA
Directory of InfoAreas
I_T_PART_PROVIDERImportingTYPE
TN_T_INFOPROV
Partprovider names
E_R_MSGExportingTYPE REF TO
CL_RSO_MSG
Container for Messages



Exceptions of Method CREATE_UNION

This method does not have any exceptions

Example ABAP coding


DATA: lv_E_R_MSG TYPE CL_RSO_MSG,
lv_I_DESCRIPTION TYPE CLIKE,
lv_I_HCPRNM TYPE RSOHCPRNM,
lv_I_INFOAREA TYPE RSINFOAREA,
lv_I_T_PART_PROVIDER TYPE TN_T_INFOPROV,
lv_other TYPE c.

CALL METHOD CL_HCPR_PLANNING_API=>CREATE_UNION(
EXPORTING
I_DESCRIPTION = lv_I_DESCRIPTION
I_HCPRNM = lv_I_HCPRNM
I_INFOAREA = lv_I_INFOAREA
I_T_PART_PROVIDER = lv_I_T_PART_PROVIDER
IMPORTING
E_R_MSG = lv_E_R_MSG ).

Links to Related Class(s)

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