09-22-2008 1:46 PM
hi,
I am creating a log header using the above mentioned function module. But its not being listed in SLG1, after succesful creation. Kindly suggest.
-Sid
09-22-2008 1:47 PM
09-22-2008 1:47 PM
09-22-2008 1:54 PM
you need to call BAL_LOG_MSG_ADD to add the messages.
Did you read the Documentation of the Function BAL_LOG_CREATE
09-22-2008 1:54 PM
HI,
You have to Write COMMIT WORK explicitly after the Function Module.
Regards
Sumit Agarwal
09-22-2008 1:59 PM
Hi Sid,
Using some function modules requires an explicit COMMIT WORK some times... So use an ABAP Statement COMMIT WORK.
Please check this documentation regarding creation of Application Logs
http://help.sap.com/saphelp_46c/helpdata/en/2a/fa023d493111d182b70000e829fbfe/frameset.htm
Check this thread regarding Application log discussion.
Hope this would help you.
Good luck
Narin
09-22-2008 3:08 PM
Hi,
Even after COMMIT WORK. its not being created. Correct me if I am wrong, after the log is created, it shud be visible in the SLG1 ? Or whereelse ?
Also, i have not added any messages into it. So, is it like it would not be visible in SLG1 till the time we add messages.
Also, tell me about the parameters of BAL_LOG_MSG.. what to pass in msgtyp, msg id, msg no and msgv1 ?
Thanks
-Sid
09-23-2008 10:19 AM