2006 Jun 23 2:56 PM
Hi Group,
How to display POP-Up window with some variable name and its value like for ex:materail number 547334 is not found.
2006 Jun 23 2:59 PM
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
2006 Jun 23 3:00 PM
hi,
Use this way
i.e, message <b>e100</b> 'Material Not Found'.
Regards,
Santosh
2006 Jun 23 3:00 PM
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
2006 Jun 23 3:01 PM
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
2006 Jun 23 3:01 PM
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
2006 Jun 23 3:05 PM
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
2006 Jun 23 3:03 PM
Try using the function module POPUP_DISPLAY_MESSAGE
REgards,
ravi
2006 Jun 23 3:06 PM
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
2006 Jun 23 3:18 PM
Sorry for the post, deleted as the answer was already given.
Message was edited by: Brad Seifert