cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

how to not skips cleanup when SINGLE_SYNC throws an error

imen_belkhiria
Newcomer
0 Likes
153

Hello,

I am calling in my code CL_GUI_HTML_VIEWER~SHOW_URL, that calls the function 'DP_SYNC_URLS' and this function calls CL_DATAPROVIDER=>SYNC.

The problem is that when SYNC fails for document A → exception is raised before it refreshes RESULT_TAB and RESULT_TAB remains polluted with A bad URL.

If I call again CL_GUI_HTML_VIEWER~SHOW_URL for document B, Internally SAP calls SYNC again, SYNC sees RESULT_TAB still contains the bad entry, and SYNC raises the same error again, even though document B is good.

How can I prevent this behaviour? 

Accepted Solutions (0)

Answers (0)

Ask a Question