SET_ATTACHMENTS SAP Method Set attachments
Below is documentation, parameters and attributes of ABAP Method SET_ATTACHMENTS within SAP class CL_CHTMLB_SUMMARY_ATTA_BEE. 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_CHTMLB_SUMMARY_ATTA_BEE 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 SET_ATTACHMENTS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_ATTACHMENTS
.| Name | Type | Data Type | Description | Default Value |
| IT_ATTACHMENTS | Importing | TYPE SKWF_IOS | Attachment table | |
| ET_ATTACHMENTS | Returning | TYPE BSP_XP_DL_SUMMARY_ATTA_T | Table of Attachments for Summary Page |
Exceptions of Method SET_ATTACHMENTS
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_CHTMLB_SUMMARY_ATTA_BEE.
DATA: lv_ET_ATTACHMENTS TYPE BSP_XP_DL_SUMMARY_ATTA_T,
lv_IT_ATTACHMENTS TYPE SKWF_IOS,
lv_other TYPE c.
CALL METHOD lo_class=>SET_ATTACHMENTS(
EXPORTING
IT_ATTACHMENTS = lv_IT_ATTACHMENTS
RECEIVING
ET_ATTACHMENTS = lv_ET_ATTACHMENTS )
"Alternate coding for Method Call with returning parameter
lv_ET_ATTACHMENTS = lo_class=>SET_ATTACHMENTS(
EXPORTING
IT_ATTACHMENTS = lv_IT_ATTACHMENTS ).
Links to Related Class(s)
CL_CHTML...Full list of available SAP object classes
Search for further information about these or an SAP related objects