Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

how to display a popup window

i have a requirement ,i need to display a window asking user wether to continue or exit before displaying the list can any one help me in doing this.

Tags:
Former Member
Former Member replied

Here is the code which MAY help you

data : p_ans type c,

parameters like spar occurs 0 with header line.

call function 'POPUP_TO_CONFIRM'

exporting

titlebar = 'Confirm'

diagnose_object = 'Z1087_TEXT'

text_question = 'Material is already created in Budget, Do you want to Edit'

text_button_1 = 'CONTINUE'

icon_button_1 = 'ICON_OKAY'

text_button_2 = 'EXIT'

icon_button_2 = 'ICON_CANCEL'

default_button = '1'

display_cancel_button = 'X'

start_column = 25

start_row = 6

importing

answer = p_ans

tables

parameter = parameters

exceptions

text_not_found = 1

others = 2.

if p_ans = '1'.

WRITE THE PART OF CODE WHICH WILL HANDLE THE FURTHER PROCESS

else.

endif.

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question