SET_ATTRIBUTES SAP Method Set Document Attributes
Below is documentation, parameters and attributes of ABAP Method SET_ATTRIBUTES within SAP class /SCMB/CL_DF_DOCUMENT2. 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 /SCMB/CL_DF_DOCUMENT2 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_ATTRIBUTES can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method SET_ATTRIBUTES
.| Name | Type | Data Type | Description | Default Value |
| IV_BOR_ID | Importing | TYPE SIBFBORIID | ||
| IV_BOR_TYPE | Importing | TYPE SIBFTYPEID | ||
| IV_BSKEY | Importing | TYPE SLD_BSKEY | ||
| IV_CHARACTERISTIC | Importing | TYPE STRING | ||
| IV_CHARACTERISTICX | Importing | TYPE XSTRING | ||
| IV_GUID_APP | Importing | TYPE /SCMB/DF_GUID | ||
| IV_LOGSYS | Importing | TYPE LOGSYS |
Exceptions of Method SET_ATTRIBUTES
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_DF_DOCUMENT2.
DATA: lv_IV_BOR_ID TYPE SIBFBORIID,
lv_IV_BOR_TYPE TYPE SIBFTYPEID,
lv_IV_BSKEY TYPE SLD_BSKEY,
lv_IV_CHARACTERISTIC TYPE STRING,
lv_IV_CHARACTERISTICX TYPE XSTRING,
lv_IV_GUID_APP TYPE /SCMB/DF_GUID,
lv_IV_LOGSYS TYPE LOGSYS,
lv_other TYPE c.
CALL METHOD lo_class=>SET_ATTRIBUTES(
EXPORTING
IV_BOR_ID = lv_IV_BOR_ID
IV_BOR_TYPE = lv_IV_BOR_TYPE
IV_BSKEY = lv_IV_BSKEY
IV_CHARACTERISTIC = lv_IV_CHARACTERISTIC
IV_CHARACTERISTICX = lv_IV_CHARACTERISTICX
IV_GUID_APP = lv_IV_GUID_APP
IV_LOGSYS = lv_IV_LOGSYS ).
Links to Related Class(s)
/SCMB/CL...Full list of available SAP object classes
Search for further information about these or an SAP related objects