2014 May 06 12:27 PM
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
2014 May 06 12:47 PM
2014 May 06 3:13 PM
Bharath,
SAP uses the same set of FMs you have mentioned above. I debugged from SM35 and below is what I saw. There is just one FM missing from the ones you provided above. Try adding the same as the first FM and see if that works.
check the below include and add the missing FM:
RSBDCIL3
thanks,
Vikram.M