When you want to integrate a custom ticket system into the SAP Fiori launchpad, you need to implement parameters of the interface /UI2/IF_EMB_SUPP.
Method CREATE_INCIDENT of interface /UI2/IF_EMB_SUPP has the following parameters:
Parameter Name | Type | Description |
---|---|---|
CATEGORY | CHAR12 | (Optional) Default value: SPACE |
LANGUAGE | SYLANGU | Logon language of the user who has created the ticket |
PRIORITY | CHAR1 | (Optional) Priority of the message Default value: 4 |
PROCESSOR | SYUNAME | (Optional) The user name of the ticket processor Default value: SPACE |
REPORTER | SYUNAME | The user name of the user who has created the ticket |
SEND_2_SAP_IM | BCOS_TYPES-FLAG | This parameter is obsolete. Default value: SPACE |
SUBJECT | TEXT60 | Title of the message with max. 60 characters |
TWB_CALL | BCOS_TYPES-FLAG | This parameter is obsolete. Default value: SPACE |
TYPE_NOTIF | CHAR6 | (Optional) Processing type of the message Default value: SLF1 |
TI_ATTRIBUTES | TY_GT_BCOS_ATTRI | Name value pairs of technical attributes. For example:
|
TI_TEXT_HEADER | TY_GT_BCOS_TEXTH | Text header information |
TI_TEXT_LINES | TY_GT_BCOS_TEXTL | Message text |
TI_APPX_HEAD | TY_GT_BCOS_APPX | (Optional) Header information of attached files (appendix) |
TI_APPX_LINES | TY_GT_SOLI | (Optional) Text of attached files |
TI_APPX_LINES_BIN | TY_GT_SOLIX | (Optional) Binary data of attached files |
IV_EMAIL_ADDRESS | CHAR255 | (Optional) E-mail address of the user who has created the message |
Parameter Name | Type | Description |
---|---|---|
MSG_KIND | BCOS_CUST-OSS_OR_SM |
Type of the message target system |
MSG_KEY | BCOS_TYPES-MSG_KEY |
Message key If the ticket was successfully created, a message key should be passed. If this parameter is not filled, the system assumes that the message creation has failed. |
MSG_DEST | BCOS_CUST-DESTINAT | Logical destination |
R_CODE | SY-SUBRC | Return value of ABAP statements If R_CODE <> 0, the system assumes that the message was not created. |
SAP_KEY | BCOS_TYPES-MSG_KEY | |
TE_RETURN | TY_GT_BAPIRET1 | Return parameter If the ticket was not created successfully, you can pass a detailed error message text, which is also sent to the SAP Gateway. |
EV_EXCEPTION | SYSUBRC | Return value of ABAP statements If EV_EXCEPTION <> 0, the system assumes that the message was not created. |