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: 

Adding the Message in Application Log

Former Member
0 Kudos

Hi,

I am trying to insert the data in the application log (SLG1), Where i am able to update the details in the Application Log using the Function module "BAL_LOG_MSG_ADD". Its even displaying the message.

I am not able to add one more column in the Message log - i.e. I need to add PERNR in the column, how can i do it. Kindly advice.

Thanks

Yogesh

3 REPLIES 3

Former Member
0 Kudos

May be it is not possible to add custom columns in Message Log (of course without customization), You can add PERNR value in Message Text itself.

andreas_mann3
Active Contributor
0 Kudos

search for sample programs in package SZAL

or search for SBAL_DEMO* in tcode SE38

grx

Andreas

sitakant_tripathy2
Active Participant

Hi Yogeshwaran,

This is possible...

There is an Importing parameter I_S_MSG of type BAL_S_MSG..Drill to the the folowing fields...

BAL_S_MSG->PARAMS->CALLBACK....

You need to enter the call back program name...the call back perform routine and leave the USEREXITT field blank...

This would call your call back routine while displaying the Messages...

Please refer to the demo program SBAL_CALLBACK for the details..In this program refer to the perform BAL_CALLBACK_READ_SET..this would give you an idea as to how to go about it...You can execute the program and relate to it...Additional fields are added to the message display structure...

If you want to do some reading then follow the link[http://help.sap.com/erp2005_ehp_04/helpdata/EN/bb/6811f980ae11d3966f00a0c930660b/frameset.htm]

Hope this helps...

Oops...Andreas and me replied on the same time...:)

Regards,

Sitakant....

Edited by: Sitakant Tripathy on Sep 14, 2010 11:38 AM