Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

creating a material with BAPI_MATERIAL_SAVEREPLICA with forecast parameters

Former Member
0 Kudos

Hi Team ABAP,

in MM02 on view "Forecasting" there is a button "forecast values".

When you hit it a popup comes up, showing forecast values for some periods.

There is one value field open for maintainance. The field "Corrected Forecast Values (corr. FV)".

My requirement is to fill this field for the next 6 months. Problem is that we are using BAPI_MATERIAL_SAVEREPLICA to create and maintain materials.

In its interface there is a parameter "Forecastparameters" of type BAPIE1MPOP.

Problem is even after watching it for a while, and as well looking at the base tables MAPR, PROP, PROW i dont even have the slightest clue how i need to give the information to the bapi so he does what i want.

Can anybody help me or give me some tipps about how to fill my table of structure BAPIE1MPOP to achieve this?

To be honest i didnt even find the value field in BAPIE1MPOP where i should write my value to.

1 REPLY 1

Former Member
0 Kudos

You should fill the values in structure BAPIE1MPRW and not in BAPIE1MPOP

in that you will find the value  CORR_VALUE which is KOPRW.

This structure is down in the list with name FORECASTVALUES

Hope this Helps!

Message was edited by: gaurav guglani