2007 Aug 24 10:56 AM
Inner join with for all entries is possible if possible pls forward the syntax.
2007 Aug 24 10:59 AM
IF GT_IMAK[] IS NOT INITIAL.
SELECT A~POSNR
A~OBJNR
B~PRNAM
B~POSID
B~GJAHR
FROM IMZO AS A
INNER JOIN IMPR AS B ON
APOSNR = BPOSNR
INTO CORRESPONDING FIELDS OF TABLE GT_INVT
FOR ALL ENTRIES IN GT_IMAK
WHERE A~OBJNR = GT_IMAK-OBJNR1.
ENDIF.
Regards
Peram
2007 Aug 24 11:00 AM
Hii Rajaram..
It is possible but not that efficient...
IF IT_EKPO[] IS NOT INITIAL.
select MARAMATNR MARAMTART MAKT~MAKTX
FROM MARA
INNER JOIN MAKT
ON MARAMATNR = MAKTMATNR
INTO TABLE IT_MAT
FOR ALL ENTRIES IN IT_EKPO
WHERE MARA~MATNR = IT_EKPO-MATNR.
ENDIF.
<b>Reward if Helpful</b>
2007 Aug 24 11:02 AM
Hi,
yes its possible..
If not it_lfb1[] is initial.
SELECT lfa1lifnr lfa1land1
lfa1~name1
lfa1~ort01
lfa1~regio
lfm1~ekorg
FROM lfa1 INNER JOIN lfm1
ON lfa1lifnr = lfm1lifnr
for all entries in it_lfb1
where lifnr = it_lfb1-lifnr.
ENDIF.
Regards,
nagaraj