‎2008 Apr 23 5:18 PM
Hello ppl,
My requirement is to modify RSBDC_PROTOCOL in such a way that a consolidated list of error messages and success messages got generated providing the number of success and error results in the list too apart from that the error messages must not get repeated.
PLZ HelP
‎2008 Apr 24 6:11 PM
Hi Khan,
Can you be more clear in your question.
because I know abt RSBDC_PROTOCOL but i am unable op understanf your requirement..
don't mind Okay
‎2008 Apr 24 7:02 PM
hi khan,
You can use the report RSBDC_PROTOCOL to download the Log from SM35.
You can also check the report RSBDCCKT .
Use Tcode SM35P and then double click on the line item for display.
2. Use Printer icon to convert the list to ALV Grid.
3. Download to local file using System->List->Save->Local File
Post BDC session programatically
SUBMIT rsbdcsub WITH mappe EQ v_session "v_session contains the session name you have created in your program
WITH von EQ sy-datum
WITH bis EQ sy-datum
AND RETURN.
Displaying session for errors
selection for qid to display session log
SELECT SINGLE qid
INTO v_qid FROM
apqi WHERE
datatyp = 'BDC'
AND groupid = v_session
AND progid = sy-repid
AND userid = sy-uname
AND credate = sy-datum.
IF v_qid IS NOT INITIAL.
submit the program for BDC session error log
SUBMIT rsbdc_protocol
WITH session EQ v_session
WITH user EQ sy-uname
WITH queue_id EQ v_qid
AND RETURN.
thanks
karthik