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

POPUP_TYPE

Former Member
0 Likes
613

What can be the popup types?

When we call a fucntion this is given as a choice but I do not know what it is.

I wait for your helps.

Thanks.

Deniz.

What can be the popup types?

When we call a fucntion this is given as a choice but I do not know what it is.

I wait for your helps.

Thanks.

Deniz.

2 REPLIES 2
Read only

Former Member
0 Likes
468

hi,

chk this sample.

data : WF_RES type c.

 CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
            EXPORTING
             DEFAULTOPTION        = 'N'
          TEXTLINE1            = 'Do you want to delete the record?'
*           TEXTLINE2            = ' '
              TITEL                = 'Delete Zone'
*           START_COLUMN         = 25
*           START_ROW            = 6
*           CANCEL_DISPLAY       = 'X'
           IMPORTING
             ANSWER               = WF_RES.

if wf_res = 'J'.

user selected 'YES'.

else.

user selected 'NO'.

endif.

report zpop. 
data: answer type c.
 data: text type string.
 text = '3 records have been changed'.
 call function 'POPUP_TO_CONFIRM_WITH_MESSAGE' 
exporting 
* DEFAULTOPTION = 'Y' 
diagnosetext1 = 'Please Confirm' 
textline1 = text * TEXTLINE2 = ' '
 titel = 'Confirm'
 importing 
answer = answer.
 * "J" for Yes, "N" for no. write:/ answer.

Regards

Reshma

Read only

sreeramkumar_madisetty
Active Contributor
0 Likes
468

Hi

CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'

Regards,

Sreeram