10-26-2015 1:10 PM
Hello
I am getting error message MK 101 when posting a material idoc. I can get the application log number from the idoc status record. What I would like to do is use the application log to actually go read the log and get the actual error messages associated with the MK101.
Does anybody have an example of using the log number to get to the actual error message in the application log.
10-26-2015 1:31 PM
Did you explore FM APPL_LOG_READ_DB_WITH_LOGNO? Or APPL_LOG_READ_DB?
Do a where used on these FMs and you should find some sample code.
R
10-26-2015 1:31 PM
Did you explore FM APPL_LOG_READ_DB_WITH_LOGNO? Or APPL_LOG_READ_DB?
Do a where used on these FMs and you should find some sample code.
R
10-26-2015 2:06 PM
Hi,
in SLG1, you can not find logs by their lognumbe (just by the external-log-number).
in the DB-tables, the text is not visible, so you need to write your own programm, if you want to see the exact messages
in Table BALHDR, you find the log-handle for your lognumber.
now u can use the FM BAL_GLB_SEARCH_MSG to get the msg-handle.
and finaly you can use BAL_LOG_MSG_READ to get the messages.
maybe others know an easier way.
regards
Stefan Seeburger
10-26-2015 2:20 PM
Hi,
I think I am able to find it. In SLG1 lognumbers are available to.
Please see below :
Also. the FM APPL_LOG_READ_DB_WITH_LOGNO is working fine as per me. Not sure what you meant by it is not possible.
R
10-26-2015 3:17 PM
thanks this is what I was looking for. I was not using the correct FM.