Hi,
maybe someone knows how to do it.
when i call a progran with SUBMIT ... and the called program it´s saving the logs with functions BAL_* how can i read this log??
The programs use to open a protocol with FM MSG_OPEN and save the log messages with standards routines. At the end close the protocol with MSG_CLOSE.
when the control returns to my own program.. how can i read the message handle or the messages itself? .... i use the FM APPL_LOG_READ_DB passing OBJECT, DATE_FROM, DATE_TO, TIME_FROM, TIME_TO, USER_ID and returns me the table MESSAGES, But this is too slow. i would like to read the messages handle to go to the tables BALHDR...
Thanks in advance.
It looks like you're doing stuff with IS-U, as I understand the MSG_* functions are specific to IS-U.
Do you mean that your program is calling standard SAP logic and it is the standard logic that is opening the message object / application log?
If so, it really depends on how the standard logic is coded. It might be possible for your program to open the message object beforehand and thus obtain access to the logs.
Cheers,
Scott
Look at Dev class SBAL. Lots of examples.
Hi,
I don't know which version of IS-U you are on? to read application log FI-CA core provides a solution called EMMA(4.64 and 4.71)/BPEM(renamed in 4.72). Have you ever looked into that? If you are on 4.64 or higher version you can check the transaction EMMA in your system.
FI-CA core covers several industry solutions and IS-U is one of them.
I would highly recommend you to look into this. and for details contact local SAP office or log an OSS message. and some one from will be reply you back.
Hasnain
Add a comment