‎2007 May 04 3:28 PM
hi,
can some pl send me the steps create a query. How the joins are used. some info.
appreciate your help.
‎2007 May 04 3:49 PM
‎2007 May 04 3:31 PM
Hi Sadhu,
Refer this code :
SELECT amatnr amEINS AMTART DMAKTx bwerks clgort c~labst INTO CORRESPONDING FIELDS OF TABLE IT_MATERIAL
FROM mara AS a
INNER JOIN MAKT AS D on amatnr = dmatnr
inner join marc AS b
ON amatnr = bmatnr
inner join MARD as c
ON BMATNR = CMATNR AND BWERKS = CWERKS
where AMATNR IN S_MATNR and bwerks in s_werks.
Regards points if helpful.
Regards,
Hemant
‎2007 May 04 3:45 PM
1) create a infoset in sq02, where the required tables will be joined with keys.then generate the infoset.
2) assign this infoset to usergroup.
3)create a query in sq01 by selecting the infoset, select the fields to be dispalyed
in the report, as well as the selection screen fields.
‎2007 May 04 3:49 PM
‎2007 May 04 4:00 PM