2007 Jan 22 10:42 AM
Hi All,
Iam using the below code in MV45FZZ to check the customer(sold to party) entered in VA31 with a Ztable and popup a message if it exist in the Ztable.
select single * from zcust into zcust where kunnr = kuagv-kunnr.
if sy-subrc = 0.
call function 'POPUP_TO_INFORM'
exporting
titel = 'INFORMATION'
txt1 = 'Calender day orders for this customer have been blocked'
txt2 = 'Please contact [someone] if this block should be removed'
TXT3 = ' '
TXT4 = ' '
exceptions
others = 1.
if sy-subrc = 0.
leave to screen 101.
endif.
endif.
<b>The problem is, the message needs to be in logon language based.</b>
I tried to give it in a text element, however it is asking me a access key to enter it in a text element. Also I tried to give just a information message box like this message I088(z2). But this is comming like a success message . Letme know how to overcome this.
Regards,
Senthil
2007 Jan 22 10:47 AM
to create the text elements for this user exit u need to get the access key.
u have given information message which means when this message triggers it shows just as an information and it proceeds with next step as if like a success message...may be give it as W088 or E088 and the cursor stops once the message has been triggered and u need to modify the data accordingly.
2007 Jan 22 10:52 AM
Hi Ramesh,
Yes it is a information message, but it should not allow the user to proceed further. That is the reason i have coded as leave to screen 0. The client needs the message in a information box and not in status.
2007 Jan 22 10:48 AM
Hello,
I have gave similar kind of info message in the same exit like this
<b> message i082(Z48SD) with l_r_xvbap-posnr
l_r_xvbap-matnr
text-302.</b>
<b>Text-302 is created for the same program SAPMV45A</b>
U could try like this.
If useful reeward.
Vasanth
2007 Jan 22 10:53 AM
Hi Vasanth,
How to create this Text-302 as u mentioned in your reply. Its asking me a access key when i try to do the same in the program SAPMV45A.