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: 

Populating our log message along with standard sap log in ck11n.

former_member508729
Active Participant
0 Kudos

Hi all,

I have developed a user exit which is used in costing of material using ck11n.

Here i have to show our custom log message along with the standard log shown by standard sap system after the costing run is complete.

Can u help me out for this. its very urgent.

Thanks in advance.

3 REPLIES 3

Former Member
0 Kudos

Hi

I saw that trx use the fm CM_F_MESSAGE, try to use it

Max

0 Kudos

Hi max,

Thanks for reply.

will this function module show our message along with the standard sap message with our conditions.

If yes can you just help me out for how to do this.

thanks,

Ashutosh

0 Kudos

Hi

I'm not sure because I don't know that trx, but I seem the function group of that function manages a log, so you can try.

This is an extract of abap code of SAPLCKDI where that fm is used:

CALL FUNCTION 'CM_F_MESSAGE'

EXPORTING

ARBGB = Y_CMF-CK

MSGNR = '327'

MSGTY = Y_CMF-W

MSGV1 = SICHT

MSGV2 = KLVAR.

So I suppose you should call it by this way:

CALL FUNCTION 'CM_F_MESSAGE'

EXPORTING

ARBGB = <your message class>

MSGNR = <message number>

MSGTY = <message type>

MSGV1 = <text 1>

MSGV2 = <text 2>

MSGV3 = <text 3>

..........................

I think MSGV* is optional parameter.

Max