on 04-24-2009 3:28 AM
Hi,
I created a new ZCOMP as popup in main comp... I need disply some information msg and error msg in Pop Up window only..
Please give me an sample code...
Thanks,
Kooiti
CLASS c1 DEFINITION.
PUBLIC SECTION.
INTERFACES if_t100_message.
DATA text TYPE c LENGTH 10 VALUE 'Hello!'.
METHODS constructor.
ENDCLASS.
CLASS c1 IMPLEMENTATION.
METHOD constructor.
if_message~get_text( ).
ENDMETHOD.
METHOD if_message~get_text.
if_t100_message~t100key-msgid = 'SABAPDOCU'.
if_t100_message~t100key-msgno = '888'.
if_t100_message~t100key-attr1 = 'TEXT'.
ENDMETHOD.
METHOD if_message~get_longtext.
ENDMETHOD.
ENDCLASS.
DATA oref TYPE REF TO c1.
START-OF-SELECTION.
CREATE OBJECT oref.
MESSAGE oref TYPE 'I'.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
4 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.