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

Problem with information message in User exit

Former Member
0 Likes
682

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

4 REPLIES 4
Read only

Former Member
0 Likes
622

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.

Read only

0 Likes
622

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.

Read only

Former Member
0 Likes
622

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

Read only

0 Likes
622

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.