Hi All,
I am writing the inner join for the tables LFA1 and LFB1. like this.
SELECT alifnr aktokk aname1 asortl a~adrnr
bbukrs bzterm
INTO CORRESPONDING FIELDS OF TABLE it_lfb1
FROM lfa1 AS a
INNER JOIN lfb1 AS b
ON blifnr = alifnr
WHERE asperr = ' ' AND aloevm = ' '
AND aktokk = 'ZZ03' OR aktokk = 'ZZ04' OR a~ktokk = 'ZZ05'
AND b~bukrs = p_cocode.
I am using the company code 4402
When iam getting the data 3 extra records are coming which are not avaliable in the company code 4402
<<text removed>>.
Edited by: Matt on Nov 21, 2008 11:57 AM