05-28-2006 2:15 PM
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.
05-28-2006 2:47 PM
05-28-2006 3:32 PM
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
05-28-2006 3:47 PM
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