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: 

Error Message In USEREXIT_PRICING_PREPARE_TKOMK

Former Member
0 Kudos
409

Hi Experts,

I am using USEREXIT_PRICING_PREPARE_TKOMK (RV60AFZZ) for t-code VF11.

The requirement is we need to show an error message .

Using "MESSAGE ennn(xxx)" statement is showing no messages instead it is raising one exception automatically.

We can write the ERROR LOG, but the user is not satisfied with that they want the "Error Message" in red at the 'Status Bar'.

Thanks in advance,

Amurta

2 REPLIES 2

Former Member
0 Kudos
85

This user exit routine will get executed several times during the VF11 process. Hence i would suggest that you use some additional filters like check if the user is a foreground user / check SY-UCOMM system field, display the exception ONLY when the user hits SAVE (SY-UCOMM = <SAVE>).

Naresh

0 Kudos
85

Dear Naresh,

That is fine. We require the message in Execute button in firts screen.

Is there any othere alternate UserExit, Customer Exit or Badi for that.

Thanks

Amurta