Application Development 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: 

POPup

Former Member
0 Kudos
203

Hi Group,

How to display POP-Up window with some variable name and its value like for ex:materail number 547334 is not found.

9 REPLIES 9

Former Member
0 Kudos
165

Hi

if you send a message you can use a message.

For example the msg number 398 of class 00 is '& & & &', you can replace the & with your message:

message i398(00) with

'Material number' V_MATNR 'is not found'.

Max

Former Member
0 Kudos
165

hi,

Use this way

i.e, message <b>e100</b> 'Material Not Found'.

Regards,

Santosh

Former Member
0 Kudos
165

hi

please use the following

please concatenate the variable name and the value into text and use the FM

CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'

EXPORTING

textline1 = text

RichHeilman
Developer Advocate
Developer Advocate
0 Kudos
165

You can do this. You can also just use an Information message.



report zrich_0001.

data: text1 type string.
data: matnr type mara-matnr value 'MAT1'.

concatenate matnr 'is not found' into text1 separated by space.

call function 'POPUP_TO_INFORM'
  exporting
    titel         = 'Error'
    txt1          = text1
    txt2          = space
*   TXT3          = ' '
*   TXT4          = ' '
          .


Regards,

Rich Heilman

Former Member
0 Kudos
165

hi

suppose v_matnr is material no not found.

concat 'Material no : 'v_matnr 'not found' into v_msg.

one method is ...

MESSAGE e(000) wiht v_msg .

else.

CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT'

EXPORTING

textline1 = v_msg

Regards,

Richa

0 Kudos
165

You Can even use this FM i.e, <b>'POPUP_TO_DISPLAY_TEXT_LO'</b>

CALL FUNCTION 'POPUP_TO_DISPLAY_TEXT_LO'

EXPORTING

titel = 'Title'

textline1 = 'Msg 1'

textline2 = 'Msg 1 contiue'

textline3 = 'Msg 1 continue...'

start_column = 10

start_row = 10.

Regards,

Santosh

former_member181962
Active Contributor
0 Kudos
165

Try using the function module POPUP_DISPLAY_MESSAGE

REgards,

ravi

Former Member
0 Kudos
165

Hai

Check the bellow

REPORT zs_stockreport

NO STANDARD PAGE HEADING

LINE-SIZE 255

MESSAGE-ID zz1.

Tables : Mara.

SELECT-OPTIONS : s_matnr FOR mara-matnr.

************************************************************************

  • Initialization *

************************************************************************

INITIALIZATION.

***

PERFORM initial_input.

************************************************************************

  • At Selection-screen *

************************************************************************

AT SELECTION-SCREEN.

***

PERFORM validte_inputdata.

&----


*& Form Initial_Input

&----


  • Initailization of Select Option

----


FORM initial_input .

CLEAR s_matnr.

REFRESH s_matnr.

s_matnr-low = '100-100'.

s_matnr-high = '100-100'.

s_matnr-sign = 'I'.

s_matnr-option = 'BT'.

APPEND s_matnr.

ENDFORM. " Initial_Input

&----


*& Form Validte_Inputdta

&----


  • Validation of Select Option

----


FORM validte_inputdata .

SELECT SINGLE * FROM mara

WHERE matnr IN S_matnr.

IF sy-subrc <> 0.

MESSAGE e001 WITH 'Material Type'(002) 'Does Not Exit'(003) S_matnr-low.

ENDIF.

ENDFORM. " Validte_Inputdta

************************************************************************

  • End of Selection *

************************************************************************

Thanks & regards

Sreenivasulu P

Message was edited by: Sreenivasulu Ponnadi

Former Member
0 Kudos
165

Sorry for the post, deleted as the answer was already given.

Message was edited by: Brad Seifert