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

looking for FM

Former Member
0 Likes
783

i'm looking for FM like <b>aab_popup_user</b> but with out matchcode, i just want to enter text and "enter".

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
749
POPUP_TO_DISPLAY_TEXT

Create a dialog box in which you display a two line message

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.

Please be more specific, whether you want a FM or whether it is a selection screen parameter to enter free text?

Message was edited by:

Judith Jessie Selvi

5 REPLIES 5
Read only

Former Member
0 Likes
750
POPUP_TO_DISPLAY_TEXT

Create a dialog box in which you display a two line message

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.

Please be more specific, whether you want a FM or whether it is a selection screen parameter to enter free text?

Message was edited by:

Judith Jessie Selvi

Read only

0 Likes
749

i need paramter to enter <b>free text</b>

Read only

0 Likes
749

i need the same as <b>aab_popup_user</b> but with out matchcode

Read only

0 Likes
749

use

G_POPUP_FOR_ENTERING_VALUES

Regards

Raja

Read only

Former Member
0 Likes
749

there is no fm as per ur requirement.

it is better that u just create a new fm in SE37 and write the apporpiate code in it so that it will help u a lot.

award points........