‎2007 Feb 14 8:31 AM
hi,
i am using the follwing FM,
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
DEFAULTOPTION = 'Y'
TEXTLINE1 = 'Are you sure you want to delete'
TITEL = 'confirmation'
CANCEL_DISPLAY = ''
IMPORTING
ANSWER = LV_DELETE.
****************************************
'Are you sure you want to delete'
This part i hve to pick up dynamically how to do it.
‎2007 Feb 14 8:34 AM
just give a parameter in selection-screen and take input
<b>parameters : p_text(50).</b>
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
DEFAULTOPTION = 'Y'
TEXTLINE1 = <b>p_text</b>
TITEL = 'confirmation'
CANCEL_DISPLAY = ''
IMPORTING
ANSWER = LV_DELETE.
‎2007 Feb 14 8:42 AM
I didnt get your question correctly . can you please explain more about requirement .
You try with the FM "<b>POPUP_TO_CONFIRM</b>"..
If it solves your prob then give points . .
Thanks & Regards,
Gaurang
‎2007 Feb 14 9:16 AM
data: answer TYPE c.
CALL FUNCTION 'POPUP_TO_CONFIRM_STEP'
EXPORTING
defaultoption = 'N'
textline1 = "Your question"
textline2 = "continue the question"
titel = ' '
start_column = 35
start_row = 6
IMPORTING
answer = answer.
IF answer EQ 'J' OR answer EQ 'Y'.
l_inact = ' '.
ELSEIF answer EQ 'N'.
l_inact = 'X'.
ELSEIF answer EQ 'A'.
EXIT.
ENDIF.
REPORT ZPOPUPCONFIRM.
DATA: X_ANS(1) TYPE C.
call function 'POPUP_TO_CONFIRM_STEP'
exporting
* DEFAULTOPTION = 'Y'
textline1 = 'Do you want to continue'
* TEXTLINE2 = ' '
titel = 'Please Confirm'
* START_COLUMN = 25
* START_ROW = 6
* CANCEL_DISPLAY = 'X'
IMPORTING
ANSWER = X_ANS.
WRITE: / X_ANS.