Beruflich Dokumente
Kultur Dokumente
evador(07)
SELECT a~pernr a~subty b~sobid
FROM pa0034 AS a JOIN hrp1001 AS b ON b~objid = a~pernr
INTO TABLE t_tp_socorristas
*
FOR ALL ENTRIES IN t_socorristas
WHERE
( a~subty = '05' OR a~subty = '06' OR a~subty = '07' )
AND a~endda >= s_data-low
AND b~otype = 'P'
AND b~plvar = '01'
AND b~sclas = 'WA'.