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: 

Regarding Function module BAL_LOG_CREATE

Former Member
0 Kudos

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

1 ACCEPTED SOLUTION

Former Member
0 Kudos

After the FM, use COMMIT function module to commit the work..

6 REPLIES 6

Former Member
0 Kudos

After the FM, use COMMIT function module to commit the work..

former_member188685
Active Contributor
0 Kudos

you need to call BAL_LOG_MSG_ADD to add the messages.

Did you read the Documentation of the Function BAL_LOG_CREATE

Former Member
0 Kudos

HI,

You have to Write COMMIT WORK explicitly after the Function Module.

Regards

Sumit Agarwal

narin_nandivada3
Active Contributor
0 Kudos

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

0 Kudos

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

Former Member
0 Kudos

Thanks To All Of YOu.