Skip to Content
0
Nov 28, 2022 at 07:26 AM

setting DTP to red in Start routine with CX_RSROUT_ABORT

64 Views

Hi,

I have implemented a logic to set DTP to red if there is no record but the logic is not working as expected. The reason is because an events gets triggered in process chain whenever the DTP gets loaded and we do not want that.

below is the logic that I have implemented but it doesn't set the DTP to error.

dso.png

Loop at SOURCE_PACKAGE into <source_fields>.

if <source_fields> IS INITIAL.

raise exception type CX_RSROUT_ABORT.
*
endif.

"

endloop.

Attachments

dso.png (92.1 kB)