Skip to Content
1
Former Member
Aug 13, 2008 at 12:42 PM

Start Routine

33 Views

Hello

I am writing a start routine where i want to delete the records which are not of status closed.

now if i write this code

delete SOURCE_PACKAGE WHERE CRM_USSTAT eq '0005'

Will this delete the records or will i have to write this code

loop at SOURCE_PACKAGE assigning <source_fields>.

if <source_fields>-CRM_USSTAT eq 'E0005'.

delete SOURCE_PACKAGE.

endif.

endloop.

Please can someone tell me the difference in this.

thanks