06-06-2011 7:13 AM
Hi All,
I am executing session using the program name rsbdcsub after executing the session mehtod I wanted to capture the messages at runtime.
Can anyone tell me how can I capture the messages at runtime.
This line is perticularly for Vinod Kumar who rejected my post as basic questions,
Vinod Kumar Please read the thread before rejecting.
Regards,
Sagar
06-06-2011 7:43 AM
Sagar, have you gone through the wiki posts : [How to process BDC session programatically and capture errors instead of manual SM35|http://wiki.sdn.sap.com/wiki/display/ABAP/HowtoprocessBDCsessionprogramaticallyandcaptureerrorsinsteadofmanualSM35] & [Batch Input FAQ|http://wiki.sdn.sap.com/wiki/display/ABAP/BatchInputFAQ]
Regards, Vinod
06-06-2011 7:48 AM
06-06-2011 8:57 AM
If you want to avoid misunderstandings in the future, then please explain a bit more about why your problem isn't one that could be solved by a quick web research. We have too many people here trying to get their work done by others, and of course "thanks in advance".
A quick trace of SM35 via transaction SAT (old: SE30) showed that the session log is a Temse-object that can be read via function modules RSTS_OPEN_RLC, RSTS_READ and RSTS_CLOSE. It seems that there is no convenient wrapper function for this stuff in the standard, so once you came up with yours, please post it in the SCN ABAP wiki
Thomas
06-06-2011 9:03 AM
@Thomas, thanks for the clarification.
@Sagar, Refer to the second Wiki post, which gives the entire log generated through the session method, not only the error messages. To capture the specific value after the processing, you have to check the log records and the corresponding value in structure field BDCLM-MPAR.
Regards, Vinod
06-06-2011 9:24 AM
01-13-2012 6:10 AM