‎2007 Jul 05 12:45 PM
Hi all,
i am not getting message in pop up window,
here three messages are passed in to message number 15 of message class zc
in message class zc for message number 15 i kept & & & & &
wen i execute the transaction i am getting popup window showing only message 1 followed by &&&&&
wen i debug the program three messages contain text in it. but it is displaying only
1st message in popwindow.
LOOP AT itab_bills.
CLEAR itab_bills_tmp.
REFRESH itab_bills_tmp.
SELECT sdpref billno
INTO CORRESPONDING FIELDS OF TABLE itab_bills_tmp
FROM zproto_bills_dt
WHERE "sdpref <> itab_bills-sdpref AND
billno <> itab_bills-billno AND
requestno = itab_bills-requestno AND
requestyear = itab_bills-requestyear.
IF sy-subrc = 0.
LOOP AT itab_bills_tmp.
CLEAR : zmessage1, zmessage2, zmessage3.
CONCATENATE 'Job Request No' itab_bills-requestno 'Year'
itab_bills-requestyear INTO zmessage1 SEPARATED BY space.
CONCATENATE 'is already assigned to SDP Ref No'
itab_bills_tmp-sdpref INTO zmessage2 SEPARATED BY space.
CONCATENATE '& Bill No' itab_bills_tmp-billno INTO zmessage3
SEPARATED BY space.
CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'
EXPORTING
popup_pos_x = 20
popup_pos_y = 4
message_class = 'ZC'
message_number = '015'
message_type = 'I'
message_var1 = zmessage1
message_var2 = zmessage2
message_var3 = zmessage3
message_var4 =
EXCEPTIONS
INTERNAL_ERROR = 1
MESSAGE_DOES_NOT_EXIST = 2
OTHERS = 3
.
ENDLOOP.
thanks and regards
siva
‎2007 Jul 05 12:47 PM
instead os & & & &
use &1 &2 &3 &4.
Regards,
Amit
Reward all helpful replies.
‎2007 Jul 05 12:51 PM
try this..
concatenate zmessage1 zmessage2 zmessage3 into <b>zmessage4</b> separated by space.
CALL FUNCTION 'AQ_INT_SHOW_MESSAGE_AS_POPUP'
EXPORTING
popup_pos_x = 20
popup_pos_y = 4
message_class = 'ZC'
message_number = '015'
message_type = 'I'
<b>message_var1 = zmessage4</b>
message_var4 =
EXCEPTIONS
INTERNAL_ERROR = 1
MESSAGE_DOES_NOT_EXIST = 2
OTHERS = 3