Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9239

How to read the session logs to an internal table and how to send it through an email?

$
0
0

Hi Experts,

 

I want to read the session log (batch log) for a particular session and i want to send it through an email this is my requirement and i tried to read the session log into an internal for that i used the function modules
BDC_PROTOCOL_SELECT_QID
RSTS_OPEN_RLC
RSTS_READ
RSTS_CLOSE
but it is not working,

by using these function modules i am able to read the session log but the final internal table struture is not in a proper way, my requirement is it should read the log as it is in the "log created on" tab in sm35:
for example see the below session log in sm35 in "log created on" tab, i need to read same into an internal table and i need to send it through an email. can any one please provide me the solution.

 

Thanks in advance.

 

02:37:08 Session XXXXXX is being processed by user XXXXXX in mode N on server XXXXXX                           S 00 300
02:37:08          Processing statistics                        0                                                0                            S 00 370
02:37:08          0 transactions read                           0                                               0                             S 00 363
02:37:08          0 transactions processed                  0                                               0                             S 00 364
02:37:08          0 transactions with errors                  0                                               0                             S 00 365
02:37:08          0 transactions deleted                       0                                               0                            S 00 366
02:37:08 Batch input processing ended                     0                                               0                             S 00 382
________ ____________________________________________________________________________________________________________

 

Thanks,
Koushik


Viewing all articles
Browse latest Browse all 9239

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>