Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding execution

Former Member
0 Likes
406

hii all .

i'm doing a program for uploading and downloading in that program . once after execute the program i need to get pop up screen asking download or upload .. can u pls suggest me how to get that ...... is there any function module to get pop up ... pls help me out in this problem. thanks

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
391

Hi

DATA ANSWER TYPE C.

CALL FUNCTION 'POPUP_WITH_2_BUTTONS_TO_CHOOSE'
  EXPORTING
*   DEFAULTOPTION       = '1'
    diagnosetext1       = 'Choose upload download'
*   DIAGNOSETEXT2       = ' '
*   DIAGNOSETEXT3       = ' '
    textline1           = 'Choose upload download'
*   TEXTLINE2           = ' '
*   TEXTLINE3           = ' '
    text_option1        = 'Upload'
    text_option2        = 'Download'
    titel               = 'Choose upload download'
 IMPORTING
   answer              = answer
          .

CASE answer.

  WHEN 1.
    WRITE 'UPLOAD'.
  WHEN 2.
    WRITE 'DOWNLOAD'.
ENDCASE.

Regards

Edited by: Rajvansh Ravi on Nov 28, 2008 12:09 PM

3 REPLIES 3
Read only

former_member404244
Active Contributor
0 Likes
391

Hi,

Use POPUP_TO_CONFIRM function module..

Regards,

Nagaraj

Read only

Former Member
0 Likes
391

Hello,

Use FM "POPUP_TO_CONFIRM"

Thanks,

Jayant

Read only

Former Member
0 Likes
392

Hi

DATA ANSWER TYPE C.

CALL FUNCTION 'POPUP_WITH_2_BUTTONS_TO_CHOOSE'
  EXPORTING
*   DEFAULTOPTION       = '1'
    diagnosetext1       = 'Choose upload download'
*   DIAGNOSETEXT2       = ' '
*   DIAGNOSETEXT3       = ' '
    textline1           = 'Choose upload download'
*   TEXTLINE2           = ' '
*   TEXTLINE3           = ' '
    text_option1        = 'Upload'
    text_option2        = 'Download'
    titel               = 'Choose upload download'
 IMPORTING
   answer              = answer
          .

CASE answer.

  WHEN 1.
    WRITE 'UPLOAD'.
  WHEN 2.
    WRITE 'DOWNLOAD'.
ENDCASE.

Regards

Edited by: Rajvansh Ravi on Nov 28, 2008 12:09 PM