PP-查找Production order 相应的 Work center
SELECT a~aufnr a~gstrp a~gltrp
a~gamng a~gmein a~plnbez a~rsnum c~ARBPL
INTO TABLE i_pohead
FROM ( ( afko AS a INNER JOIN afvc AS b
ON a~AUFPL = b~AUFPL AND b~APLZL = '01' )
INNER JOIN crhd AS c
ON c~OBJID = b~ARBID )
WHERE a~aufnr IN p_aufnr AND a~gstrp IN p_gstrp
AND c~ARBPL IN p_ARBPL.