cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to update PROW-KOPRW by using enhancement MM61W001 - EXIT_SAPMM61W_002 via tcode MP30

former_member505773
Active Participant
0 Kudos
891

Hi All,

Does anyone here know how can we update the consumption value PROW-KOPRW by using FM EXIT_SAPMM61W_002?

There is a changing parameter and also TABLES. Anyhow, i can't find related field in PCOM for me to update PORW-KOPRW.

CALL FUNCTION 'EXIT_SAPMM61W_002' "Change the Consumption Values Before Running the Forecast
* EXPORTING
*   i_rm61w =                   " rm61w         Material & Value Structure
*   i_progdat =                 " prop-prdat    Forecast Date
* TABLES
*   t_vergwerte =               "               Historical Values
* CHANGING
*   c_prog_param =              " pcom          Forecast Parameters
    .  "  EXIT_SAPMM61W_002

I still not able to find any source via internet on this problem. Hence i'm posting here to seek all the Guru help.

Really appreciate your help .

Regards,

Sham.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member505773
Active Participant
0 Kudos

hi everyone,

Can any help/share your opinion on these? I’m kinda helpless now.

Regarda,

Sham.

former_member378318
Contributor
0 Kudos

Can you use EXIT_SAPMM61W_001? It has a table called T_PROGNOSE that contains forecast results values.

EXIT_SAPMM61W_002 perhaps allows you to change the forecast parameters which influence the forecast values, but not change values directly.

former_member505773
Active Participant
0 Kudos

Hi Surbjeet,

Thanks for your reply. I've checked on EXIT_SAPMM61W_001. The table parameter T_PROGNOSE will make the change for PROM-PRWRT(Forecast value) instead of PROM-KOPRW(Corrected value for forecast).

Do you have any clue on how the changing parameter c_prog_param works?

Thanks.