Professional Documents
Culture Documents
Untitled
Untitled
Untitled
ONLY
using /BIC/PZCOMPCODE.
-- target field: ZCOUNTRY
-- *** Begin of routine - insert your code only below this line ***
gt_compcode =
SELECT DISTINCT
A."/BIC/ZCOMPCODE",
A."/BIC/ZCOUNTRY"
FROM "/BIC/PZCOMPCODE" as A
inner join :intab as B
on A."/BIC/ZCOMPCODE" = B.bukrs;
outTab =
SELECT
B."/BIC/ZCOUNTRY",
A.record,
A.sql__procedure__source__record
FROM :inTab as A
LEFT JOIN :gt_compcode as B
ON A.bukrs = B."/BIC/ZCOMPCODE";
errorTab =
SELECT
'' as ERROR_TEXT,
'' as sql__procedure__source__record
FROM DUMMY
WHERE DUMMY <> 'X';
-- *** End of routine - insert your code only before this line ***
ENDMETHOD.