Skip to Content
author's profile photo
Former Member

How to display message with contionue and cancel buttons?

Hi,

I have to display message with 'Continue' and 'Cancel' Button.

Please tell me exact code or Function Module.

Title was edited by:

Alvaro Tejada Galindo

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 07:47 PM

    Try FMs

    POPUP_TO_INFORM

    POPUP_TO_CONFIRM

    There's lots of others.

    Rob

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Posted on Sep 27, 2007 at 07:47 PM

    You can write simple code in PAI..

    case sy-ucomm.

    WHEN 'CANC' . " Cancel function Code

    message i000(z01) with 'Cancel'.

    leave to screen 0.

    when 'CONT'. " Continue Function code

    message i001(z01) with 'Continue'.

    leave to screen 9000.

    endcase.

    Thanks

    Seshu

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 27, 2007 at 07:49 PM

    Hi,

    Use fm POPUP_TO_CONFIRM with following value

    TITLEBAR                        TEST
    DIAGNOSE_OBJECT
    TEXT_QUESTION                   TESTING
    TEXT_BUTTON_1                   CONTINUE
    ICON_BUTTON_1
    TEXT_BUTTON_2                   CANCEL
    ICON_BUTTON_2
    DEFAULT_BUTTON                  1
    DISPLAY_CANCEL_BUTTON
    USERDEFINED_F1_HELP
    START_COLUMN                    25
    START_ROW                       6
    POPUP_TYPE
    IV_QUICKINFO_BUTTON_1
    IV_QUICKINFO_BUTTON_2
    

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      USe fm POPUP_TO_DISPLAY_TEXT_LO.

      This is a sample code -

      CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO'

      EXPORTING

      titel = text-050

      textline1 = 'Show text'

      • TEXTLINE2 = ' '

      START_COLUMN = 15

      START_ROW = 6.