CREATE_EMPTY_REQUEST SAP Method Creates an empty transport request with tasks
Below is documentation, parameters and attributes of ABAP Method CREATE_EMPTY_REQUEST within SAP class IF_ADT_CTS_MANAGEMENT. 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 IF_ADT_CTS_MANAGEMENT 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_EMPTY_REQUEST can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_EMPTY_REQUEST
.Name | Type | Data Type | Description | Default Value |
IT_ATTRIBUTES | Importing | TYPE SCTS_ATTRS | ||
IT_USERS | Importing | TYPE SCTS_USERS | ||
IV_DEVCLASS | Importing | TYPE DEVCLASS | ||
IV_OWNER | Importing | TYPE AS4USER | ||
IV_TARDEVCL | Importing | TYPE TARDEVCL | ||
IV_TARGET | Importing | TYPE TR_TARGET | ||
IV_TARLAYER | Importing | TYPE TARLAYER | ||
IV_TEXT | Importing | TYPE AS4TEXT | ||
IV_TYPE | Importing | TYPE TRFUNCTION | ||
ES_REQUEST_HEADER | Exporting | TYPE TRWBO_REQUEST_HEADER | ||
ET_TASK_HEADERS | Exporting | TYPE TRWBO_REQUEST_HEADERS |
Exceptions of Method CREATE_EMPTY_REQUEST
CX_ADT_CTS_CREATE_ERROR -Example ABAP coding
DATA: lo_class TYPE REF TO IF_ADT_CTS_MANAGEMENT.
DATA: lv_ES_REQUEST_HEADER TYPE TRWBO_REQUEST_HEADER,
lv_ET_TASK_HEADERS TYPE TRWBO_REQUEST_HEADERS,
lv_IT_ATTRIBUTES TYPE SCTS_ATTRS,
lv_IT_USERS TYPE SCTS_USERS,
lv_IV_DEVCLASS TYPE DEVCLASS,
lv_IV_OWNER TYPE AS4USER,
lv_IV_TARDEVCL TYPE TARDEVCL,
lv_IV_TARGET TYPE TR_TARGET,
lv_IV_TARLAYER TYPE TARLAYER,
lv_IV_TEXT TYPE AS4TEXT,
lv_IV_TYPE TYPE TRFUNCTION,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE_EMPTY_REQUEST(
EXPORTING
IT_ATTRIBUTES = lv_IT_ATTRIBUTES
IT_USERS = lv_IT_USERS
IV_DEVCLASS = lv_IV_DEVCLASS
IV_OWNER = lv_IV_OWNER
IV_TARDEVCL = lv_IV_TARDEVCL
IV_TARGET = lv_IV_TARGET
IV_TARLAYER = lv_IV_TARLAYER
IV_TEXT = lv_IV_TEXT
IV_TYPE = lv_IV_TYPE
IMPORTING
ES_REQUEST_HEADER = lv_ES_REQUEST_HEADER
ET_TASK_HEADERS = lv_ET_TASK_HEADERS ).
Links to Related Class(s)
IF_ADT_C...Full list of available SAP object classes
Search for further information about these or an SAP related objects