CONVERT_COMPART_TO_BP SAP Method Convert COMPART Structure to BP Structure
Below is documentation, parameters and attributes of ABAP Method CONVERT_COMPART_TO_BP within SAP class /BEV2/CL_CS_EMCS. 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 /BEV2/CL_CS_EMCS 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 CONVERT_COMPART_TO_BP can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CONVERT_COMPART_TO_BP
.| Name | Type | Data Type | Description | Default Value |
| IS_COMPART | Importing | TYPE /BEV2/S_CS_COMPART | GTS Communication: Partner Data | |
| RS_BP | Returning | TYPE /BEV2/S_CS_BP | EMCS Process: Partners |
Exceptions of Method CONVERT_COMPART_TO_BP
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /BEV2/CL_CS_EMCS.
DATA: lv_IS_COMPART TYPE /BEV2/S_CS_COMPART,
lv_RS_BP TYPE /BEV2/S_CS_BP,
lv_other TYPE c.
CALL METHOD lo_class=>CONVERT_COMPART_TO_BP(
EXPORTING
IS_COMPART = lv_IS_COMPART
RECEIVING
RS_BP = lv_RS_BP )
"Alternate coding for Method Call with returning parameter
lv_RS_BP = lo_class=>CONVERT_COMPART_TO_BP(
EXPORTING
IS_COMPART = lv_IS_COMPART ).
Links to Related Class(s)
/BEV2/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects