‎2007 May 17 2:19 PM
Hi,
I have material Document number, from this i need to retrieve the sales oder,sales order item , and delivery number. How can i write select stmet for this Query
regards,ram
‎2007 May 17 2:22 PM
Hi,
SELECT <F1,F2...>
INTO TABLE <ITAB Internal Table>
FROM <DB TABLE NAME>
WHERE <Condition that u want>.
Regards,
Ranjit Thakur.
<b>Please Mark The Helpful Answer.</b>
‎2007 May 17 2:22 PM
Hi,
SELECT <F1,F2...>
INTO TABLE <ITAB Internal Table>
FROM <DB TABLE NAME>
WHERE <Condition that u want>.
Regards,
Ranjit Thakur.
<b>Please Mark The Helpful Answer.</b>
‎2007 May 17 2:22 PM
Hi,
Material Document coming from MSEG and 3 fileds from LIPS.
regards,ram
‎2007 May 17 2:25 PM
HI Ram,
SELECT LIPSFLD1 LIPSFLD2 LIPSFLD3 INTO CORRESPONDING FIELDS OF TABLE ITAB FROM MSEG INNER JOIN LIPS ON MSEGMATNR = LIPSMATNR AND MSEGWERKS = LIPSWERKS WHERE MSEGMBLNR IN SO_MBLNR AND...UR CONDITIONS.
Regards
SAB
‎2007 May 17 2:26 PM
I think there is no stright forward ,
get the data from mseg and do compare with VBAP like where matnr and werks..
Now you will get multiple sales order for each material ..