09-14-2010 8:04 AM
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
09-14-2010 10:18 AM
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.
09-14-2010 10:21 AM
search for sample programs in package SZAL
or search for SBAL_DEMO* in tcode SE38
grx
Andreas
09-14-2010 10:37 AM
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