Skip to Content
author's profile photo Former Member
-1
Former Member

Hi, I am using BAPI_MATERIAL_SAVEDATA to update the Planned price

Here is code : I am getting this error

Required parameters missing when calling up module T001k_SINGLE_READ.

Please help

gw_headata-material = gw_file-matnr.

gw_valuationdatax-val_area = gw_file-werks.
gw_mbew-plndprice1 = gw_file-zplp1.
gw_mbew-plndprice2 = gw_file-zplp2.
gw_mbew-plndprice3 = gw_file-zplp3.
gw_mbew-plndprdate1 = gw_file-zpld1.
gw_mbew-plndprdate2 = gw_file-zpld2.
gw_mbew-plndprdate3 = gw_file-zpld3.

DATA:lt_return TYPE TABLE OF bapiret2.
REFRESH : lt_return.
CALL FUNCTION 'BAPI_MATERIAL_SAVEDATA'
EXPORTING
headdata = gw_headata
* CLIENTDATA =
* CLIENTDATAX =
* plantdata = gw_plantdata
* plantdatax = gw_plantdata
* FORECASTPARAMETERS =
* FORECASTPARAMETERSX =
* PLANNINGDATA =
* PLANNINGDATAX =
* STORAGELOCATIONDATA =
* STORAGELOCATIONDATAX =
valuationdata = gw_mbew
VALUATIONDATAX = gw_valuationdatax
* WAREHOUSENUMBERDATA =
* WAREHOUSENUMBERDATAX =
* SALESDATA =
* SALESDATAX =
* STORAGETYPEDATA =
* STORAGETYPEDATAX =
* FLAG_ONLINE = ' '
* FLAG_CAD_CALL = ' '
* NO_DEQUEUE = ' '
* NO_ROLLBACK_WORK = ' '
* CLIENTDATACWM =
* CLIENTDATACWMX =
* VALUATIONDATACWM =
* VALUATIONDATACWMX =
IMPORTING
return = gw_return
* TABLES
* MATERIALDESCRIPTION =
* UNITSOFMEASURE =
* UNITSOFMEASUREX =
* INTERNATIONALARTNOS =
* MATERIALLONGTEXT =
* TAXCLASSIFICATIONS =
* RETURNMESSAGES =
* PRTDATA =
* PRTDATAX =
* EXTENSIONIN =
* EXTENSIONINX =
* UNITSOFMEASURECWM =
* UNITSOFMEASURECWMX =
* NFMCHARGEWEIGHTS =
* NFMCHARGEWEIGHTSX =
* NFMSTRUCTURALWEIGHTS =
* NFMSTRUCTURALWEIGHTSX =
.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Posted on Jan 31, 2018 at 02:18 PM

    Try the following:

    constants: c_x(1) value 'X'.
    gw_valuationdata-val_area = gw_file-werks.
    gw_valuationdata-type = your type
    gw_mbew-plndprice1 = gw_file-zplp1.
    gw_mbew-plndprice2 = gw_file-zplp2.
    gw_mbew-plndprice3 = gw_file-zplp3.
    gw_mbew-plndprdate1 = gw_file-zpld1.
    gw_mbew-plndprdate2 = gw_file-zpld2.
    gw_mbew-plndprdate3 = gw_file-zpld3.
    
    
    gw_valuationdatax-val_area = gw_file-werks.
    gw_valuationdatax-type = your type
    gw_valuationdatax-plndprice1 = c_x.
    gw_valuationdatax-plndprice2 = c_x.
    gw_valuationdataxplndprice3 = c_x.
    gw_valuationdatax-plndprdate1 = c_x.
    gw_valuationdatax-plndprdate2 = c_x.
    gw_valuationdatax-plndprdate3 = c_x.
    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.