IF NOT (
** PO is not a replication from SRM System (in case of Extended Scenario
** PO is created in SRM and a copy of the PO is created in ERP with
** PO_STATUS = K)
*
AND (
** Only Purchase Orders
*
** or Call Offs from schedule agreements
*
AND
DELETE source_package.
ENDIF.
ENDLOOP."
delete DATA_PACKAGE where (
CUST_MKT ne '009' and
CUST_MKT ne '020' ) and
(
DOC_TYPE ne 'ZA11' and
DOC_TYPE ne 'ZD11' and
DOC_TYPE ne 'ZD21' and
DOC_TYPE ne 'ZD31' and
DOC_TYPE ne 'ZR11' and
DOC_TYPE ne 'KE' ) and
(
MATL_TYPE eq 'ZPPT' or
MATERIAL eq '000000000001200002' ).
No hay comentarios:
Publicar un comentario