
"! ${descr}
CLASS ${enclosing_object} DEFINITION
PUBLIC
INHERITING FROM ${base}
FINAL
CREATE PUBLIC.
PUBLIC SECTION.
CONSTANTS:
BEGIN OF gc_no_arguments,
msgid TYPE symsgid VALUE '${msgid}',
msgno TYPE symsgno VALUE '${msgno}',
attr1 TYPE scx_attrname VALUE '',
attr2 TYPE scx_attrname VALUE '',
attr3 TYPE scx_attrname VALUE '',
attr4 TYPE scx_attrname VALUE '',
END OF gc_no_arguments.
INTERFACES:
if_t100_message.
METHODS:
"! @parameter is_textid | Textid
"! @parameter ix_previous | Previous exception
constructor IMPORTING is_textid LIKE if_t100_message=>t100key OPTIONAL
ix_previous LIKE previous OPTIONAL.
PROTECTED SECTION.
PRIVATE SECTION.
ENDCLASS.
CLASS ${enclosing_object} IMPLEMENTATION.
METHOD constructor.
super->constructor( previous = ix_previous ).
CLEAR me->textid.
IF is_textid IS INITIAL.
if_t100_message~t100key = gc_no_arguments.
ELSE.
if_t100_message~t100key = is_textid.
ENDIF.
ENDMETHOD.
ENDCLASS.
*----------------------------------------------------------------------*
***INCLUDE ${enclosing_object}.
*----------------------------------------------------------------------*
MESSAGE ${msgtyno}(${msgid}) WITH ${msgv} INTO DATA(${lv_dummy}) ##NEEDED.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4
INTO DATA(${lv_msg_text}).
cl_os_system=>init_and_set_modes( i_external_commit = ${oscon_false}
i_update_mode = ${oscon_dmode_update_task} ).
*&--------------------------------------------------------------------*
*& Program ${enclosing_object}
*& Author ${author}
*& Short description ${shortText}
*&--------------------------------------------------------------------*
*& Date ${year}-${month}-${day}
*& Last change ${year}-${month}-${day}
*&--------------------------------------------------------------------*
*& Change protocol
*& Date User Description
*& ____-__-__ ____________ ______________________________________
*&--------------------------------------------------------------------*
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
3 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |