Last active
June 1, 2018 13:18
-
-
Save JouryJonkergouw/4b8cf33a987d75b8ffc1cbaa307dc75d to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
TYPES: | |
BEGIN OF gty_po, | |
rssoursysid TYPE c LENGTH 2, | |
ebeln TYPE c LENGTH 10, | |
ebelp TYPE n LENGTH 5 | |
END OF gty_po. | |
DATA: | |
l_th_filter TYPE HASHED TABLE OF gty_results | |
WITH UNIQUE KEY rssoursysid ebeln ebelp | |
SELECT rssoursysid, ebeln, ebelp | |
FROM /bic/amccoy_ekpo2 | |
INTO CORRESPONDING FIELDS OF TABLE @l_th_filter | |
WHERE loekz = abap_true " Select only deleted PO's | |
* Filter out invalid records | |
SOURCE_PACKAGE = | |
FILTER #( SOURCE_PACKAGE IN l_th_filter | |
WHERE rssoursysid = rssoursysid | |
AND ebeln = ebeln | |
AND ebelp = ebeln ). |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment