‎2009 Jan 29 8:53 PM
Hi There,
I'm have a requirement where I need to show the material forecast value for each period, as we can be seen in the transaction MM03 forecasting view. My problem is that I cannot found a FM or the correct tables sequence to get this data into an Abap Report.
I'm using this Select:
SELECT maprmatnr maprwerks mapr~pnum1
prophsnum proppnum2 prop~prdat
prowertag prowprwrt prow~koprw
INTO CORRESPONDING FIELDS OF TABLE p_t_forec
FROM mapr
INNER JOIN prop
ON maprpnum1 = proppnum1
INNER JOIN prow
ON propprdat = prowertag
AND proppnum2 = prowpnum2
FOR ALL entries IN t_mara
WHERE mapr~matnr EQ t_mara-matnr
AND mapr~werks IN s_werks
AND prop~hsnum = '00'
AND prow~ertag = v_first_date.
But I have noticed that I cannot get the data as I can see through MM03 - forecasting view.
I appreciated if someone can help me in this matter
Regards
Alexis
‎2009 Jan 29 9:47 PM
‎2009 Jan 29 9:47 PM