2006 Oct 19 7:57 AM
hi all,
I have matnr, werks , objectid to fetch last changed and current value of safety stock and reorder point from cdpos(for max changenr) and marc table respectively. Now i also need the dynamic values of those fields from structure MAPRO. But i could not find the table where this stucture is included and also the logic to how can i fetch the desired values from a structure.Acually there is a requirement to modifying the system program RMPROG01(FSM review report) to get the above fields values as excel sheet according to the selection criteria. I got last changed value and current value of ROP and SS.But i have to get dynamic values of those fields as output alongwith current value.
please reply if anybody has the logic.
thanks
PRR
hi all,
I have matnr, werks , objectid to fetch last changed and current value of safety stock and reorder point from cdpos(for max changenr) and marc table respectively. Now i also need the dynamic values of those fields from structure MAPRO. But i could not find the table where this stucture is included and also the logic to how can i fetch the desired values from a structure.Acually there is a requirement to modifying the system program RMPROG01(FSM review report) to get the above fields values as excel sheet according to the selection criteria. I got last changed value and current value of ROP and SS.But i have to get dynamic values of those fields as output alongwith current value.
please reply if anybody has the logic.
thanks
PRR
2007 Feb 06 4:42 AM
Hello PRR
I am not sure if this will help you but in report RMPROG01 the following external routine is called:
* Batchprognose durchführen
PERFORM BATCHPROGNOSE_DURCHFUEHREN
IN PROGRAM SAPMM61W USING RM61W_NEW.In routine
MATSTAMM_LESEN
(main programSAPMM61W
, include MM61WFAR) function moduleMATERIAL_LESEN
is called and here structure MAPRO is filled.Regards
Uwe
2007 Feb 06 8:21 AM
Hi,
Most of sap standard reports use structure, try to get the values directly from table search for the field u require and use them in the report.
also while you r rewriting the code please use your own logic instead sap standard. this may improve the performance
Thanks
Shiva