CREATE_SET_STATEMENT_CAS SAP Method Generate a SET Statement
Below is documentation, parameters and attributes of ABAP Method CREATE_SET_STATEMENT_CAS within SAP class CL_CACS_TIMESTAMP_CONVERT. 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_CACS_TIMESTAMP_CONVERT 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 CREATE_SET_STATEMENT_CAS can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_SET_STATEMENT_CAS
.| Name | Type | Data Type | Description | Default Value |
| ID_NAME_DB_DATE | Importing | TYPE STRING | ||
| ID_NAME_DB_TIME | Importing | TYPE STRING | ||
| ID_NAME_DB_TS | Importing | TYPE STRING | ||
| ID_NAME_REV_TCODE | Importing | TYPE STRING | ||
| ID_NAME_REV_USER | Importing | TYPE STRING | ||
| ID_NAME_STAT_VERS | Importing | TYPE STRING | ||
| ID_NAME_STAT_WORK | Importing | TYPE STRING | ||
| ID_NAME_TARGET | Importing | TYPE STRING | ||
| CD_SET | Changing | TYPE STRING | Set Condition |
Exceptions of Method CREATE_SET_STATEMENT_CAS
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO CL_CACS_TIMESTAMP_CONVERT.
DATA: lv_CD_SET TYPE STRING,
lv_ID_NAME_DB_DATE TYPE STRING,
lv_ID_NAME_DB_TIME TYPE STRING,
lv_ID_NAME_DB_TS TYPE STRING,
lv_ID_NAME_REV_TCODE TYPE STRING,
lv_ID_NAME_REV_USER TYPE STRING,
lv_ID_NAME_STAT_VERS TYPE STRING,
lv_ID_NAME_STAT_WORK TYPE STRING,
lv_ID_NAME_TARGET TYPE STRING,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE_SET_STATEMENT_CAS(
EXPORTING
ID_NAME_DB_DATE = lv_ID_NAME_DB_DATE
ID_NAME_DB_TIME = lv_ID_NAME_DB_TIME
ID_NAME_DB_TS = lv_ID_NAME_DB_TS
ID_NAME_REV_TCODE = lv_ID_NAME_REV_TCODE
ID_NAME_REV_USER = lv_ID_NAME_REV_USER
ID_NAME_STAT_VERS = lv_ID_NAME_STAT_VERS
ID_NAME_STAT_WORK = lv_ID_NAME_STAT_WORK
ID_NAME_TARGET = lv_ID_NAME_TARGET
CHANGING
CD_SET = lv_CD_SET ).
Links to Related Class(s)
CL_CACS_...Full list of available SAP object classes
Search for further information about these or an SAP related objects