Skip to Content
avatar image
-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 comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Jan 31 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 comment
    10|10000 characters needed characters exceeded