mirror of
https://github.com/abap2xlsx/abap2xlsx.git
synced 2025-05-04 23:46:49 +08:00
68 lines
4.3 KiB
XML
68 lines
4.3 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<CLAS CLSNAME="ZCX_EXCEL" VERSION="1" LANGU="E" DESCRIPT="Exceptions for ABAP2XLSX" CATEGORY="40" EXPOSURE="2" STATE="1" RELEASE="0" CLSCCINCL="X" FIXPT="X" UNICODE="X" CLSBCCAT="00" DURATION_TYPE="0 " RISK_LEVEL="0 " REFCLSNAME="CX_STATIC_CHECK">
|
|
<localImplementation>*"* local class implementation for public class
|
|
*"* use this source file for the implementation part of
|
|
*"* local helper classes</localImplementation>
|
|
<localTypes>*"* use this source file for any type declarations (class
|
|
*"* definitions, interfaces or data types) you need for method
|
|
*"* implementation or private method's signature</localTypes>
|
|
<localMacros>*"* use this source file for any macro definitions you need
|
|
*"* in the implementation part of the class</localMacros>
|
|
<attribute CLSNAME="ZCX_EXCEL" CMPNAME="ERROR" VERSION="1" LANGU="E" EXPOSURE="2" STATE="1" EDITORDER="2 " ATTDECLTYP="0" ATTEXPVIRT="0" TYPTYPE="1" TYPE="STRING" SRCROW1="0 " SRCCOLUMN1="0 " SRCROW2="0 " SRCCOLUMN2="0 " TYPESRC_LENG="0 "/>
|
|
<attribute CLSNAME="ZCX_EXCEL" CMPNAME="SYST_AT_RAISE" VERSION="1" LANGU="E" DESCRIPT="ABAP System Fields" EXPOSURE="2" STATE="1" EDITORDER="3 " ATTDECLTYP="0" ATTEXPVIRT="0" TYPTYPE="1" TYPE="SYST" SRCROW1="0 " SRCCOLUMN1="0 " SRCROW2="0 " SRCCOLUMN2="0 " TYPESRC_LENG="0 "/>
|
|
<attribute CLSNAME="ZCX_EXCEL" CMPNAME="ZCX_EXCEL" VERSION="1" LANGU="E" EXPOSURE="2" STATE="1" EDITORDER="1 " ATTDECLTYP="2" ATTEXPVIRT="0" TYPTYPE="1" TYPE="SOTR_CONC" SRCROW1="0 " SRCCOLUMN1="0 " SRCROW2="0 " SRCCOLUMN2="0 " LOCKED="X" TYPESRC_LENG="0 ">
|
|
<sotr PAKET="$TMP" CREA_LAN="E" TRALA_TYPE="1" LST_IMPORT="00000000" TRALA_VEC="00000000000000000000" CATGY_VEC="00000000000000000000" OBJID_VEC="08000000000000000000">
|
|
<sotrText LANGU="E" LFD_NUM="0001" FLAG_CNTXT="X" STATUS="R" VERSION="0002" LENGTH="255" TEXT="&ERROR&"/>
|
|
</sotr>
|
|
</attribute>
|
|
<inheritance CLSNAME="ZCX_EXCEL" REFCLSNAME="CX_STATIC_CHECK" VERSION="1" STATE="1">
|
|
<redefinition CLSNAME="ZCX_EXCEL" REFCLSNAME="CX_STATIC_CHECK" VERSION="1" MTDNAME="IF_MESSAGE~GET_LONGTEXT" EXPOSURE="0"/>
|
|
<redefinition CLSNAME="ZCX_EXCEL" REFCLSNAME="CX_STATIC_CHECK" VERSION="1" MTDNAME="IF_MESSAGE~GET_TEXT" EXPOSURE="0"/>
|
|
</inheritance>
|
|
<interfaceMethod CLSNAME="ZCX_EXCEL" CPDNAME="IF_MESSAGE~GET_LONGTEXT">
|
|
<source>method IF_MESSAGE~GET_LONGTEXT.
|
|
|
|
IF me->error IS NOT INITIAL
|
|
OR me->syst_at_raise IS NOT INITIAL.
|
|
*--------------------------------------------------------------------*
|
|
* If message was supplied explicitly use this as longtext as well
|
|
*--------------------------------------------------------------------*
|
|
result = me->get_text( ).
|
|
ELSE.
|
|
*--------------------------------------------------------------------*
|
|
* otherwise use standard method to derive text
|
|
*--------------------------------------------------------------------*
|
|
super->if_message~get_longtext( EXPORTING
|
|
preserve_newlines = preserve_newlines
|
|
RECEIVING
|
|
result = result ).
|
|
ENDIF.
|
|
endmethod.</source>
|
|
</interfaceMethod>
|
|
<interfaceMethod CLSNAME="ZCX_EXCEL" CPDNAME="IF_MESSAGE~GET_TEXT">
|
|
<source>method IF_MESSAGE~GET_TEXT.
|
|
|
|
IF me->error IS NOT INITIAL.
|
|
*--------------------------------------------------------------------*
|
|
* If message was supplied explicitly use this
|
|
*--------------------------------------------------------------------*
|
|
result = me->error .
|
|
ELSEIF me->syst_at_raise IS NOT INITIAL.
|
|
*--------------------------------------------------------------------*
|
|
* If message was supplied by syst create messagetext now
|
|
*--------------------------------------------------------------------*
|
|
MESSAGE ID syst_at_raise-msgid TYPE syst_at_raise-msgty NUMBER syst_at_raise-msgno
|
|
WITH syst_at_raise-msgv1 syst_at_raise-msgv2 syst_at_raise-msgv3 syst_at_raise-msgv4
|
|
INTO result.
|
|
ELSE.
|
|
*--------------------------------------------------------------------*
|
|
* otherwise use standard method to derive text
|
|
*--------------------------------------------------------------------*
|
|
CALL METHOD super->if_message~get_text
|
|
RECEIVING
|
|
result = result.
|
|
ENDIF.
|
|
endmethod.</source>
|
|
</interfaceMethod>
|
|
</CLAS>
|