cancel
Showing results for 
Search instead for 
Did you mean: 

Custom Messages WAD

Former Member
0 Kudos

Hello everyone

I am running a planning funtion type exit, IF_RSPLFA_SRVTYPE_IMP_EXEC_REF

In my planning function I compare 2 values and need an output message at the top of the screen if certain conditions are met.

So far I have set up my ZCX exception class, it is properly tied up to the T100 table. When I run it with the 'E' type message, the entire screen changes to system error screen, with the proper message inside.

I just can't get the message to appear at the top of the planning screen after running my planning function while staying in the planning screen.

Sample code would be real good

Any help appreciated, points awaiting.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

maybe taking a look at some standard code examples may help here. E.g. take a look at the implementation of class CL_RSPLFC_COPY. Here you can see that error messages are raised using the following scheme.


   data: l_dummy type char100.
    message e004(zplanning) into l_dummy.
    i_r_msg->add_msg( ).

Hope this helps.

Matthias Nutt

SAP Consulting Switzerland

Answers (1)

Answers (1)

Former Member
0 Kudos

Thanks Matthias