Skip to Content
-2

Specify a unit of measure WRF_MATERIAL_MAINTAINDATA_RT

Hello experts,

i am using WRF_MATERIAL_MAINTAINDATA_RT to create article while trying to create single article its working fine but while trying to create generic article uts throwing error Specify unit of measure.

kindly help with your expertise.

CALL FUNCTION 'WRF_MATERIAL_MAINTAINDATA_RT'
* IN BACKGROUND TASK
EXPORTING
headdata = gs_article_bapidata-headdata
hierarchy_data = gs_article_bapidata-hierarchy_data
* organizational_level = ls_org_level
* SAPGUI_PROGRESS = ' '
* PROGRESS_STEP_ALL = 0
* PROGRESS_STEP_ACT = 0
external_log_number = gv_external_log_number
badi_callmode = '13'
send_error_message = abap_true
* DEQUEUE_ALL = ' '
IMPORTING
ev_main_data_error = lv_main_data_error
ev_additional_data_error = lv_additional_data_error
TABLES
return = lt_return
* ERRORKEYS =
variantskeys = gs_article_bapidata-variantskey
characteristicvalue = gs_article_bapidata-characteristicvalue
characteristicvaluex = gs_article_bapidata-characteristicvaluex
clientdata = gs_article_bapidata-clientdata
clientdatax = gs_article_bapidata-clientdatax
clientext = gs_article_bapidata-clientext
clientextx = gs_article_bapidata-clientextx
addnlclientdata = gs_article_bapidata-addnlclientdata
addnlclientdatax = gs_article_bapidata-addnlclientdatax
materialdescription = gs_article_bapidata-materialdescription
plantdata = gs_article_bapidata-plantdata
plantdatax = gs_article_bapidata-plantdatax
plantext = gs_article_bapidata-plantext
plantextx = gs_article_bapidata-plantextx
unitsofmeasure = gs_article_bapidata-unitsofmeasure
unitsofmeasurex = gs_article_bapidata-unitsofmeasurex
unitofmeasuretexts = gs_article_bapidata-unitofmeasuretexts
internationalartnos = gs_article_bapidata-internationalartnos
vendorean = gs_article_bapidata-vendorean
taxclassifications = gs_article_bapidata-taxclassifications
warehousenumberdata = gs_article_bapidata-warehousenumberdata
warehousenumberdatax = gs_article_bapidata-warehousenumberdatax
warehousenumberext = gs_article_bapidata-warehousenumberext
warehousenumberextx = gs_article_bapidata-warehousenumberextx
salesdata = gs_article_bapidata-salesdata
salesdatax = gs_article_bapidata-salesdatax
salesext = gs_article_bapidata-salesext
salesextx = gs_article_bapidata-salesextx
posdata = gs_article_bapidata-posdata
posdatax = gs_article_bapidata-posdatax
posext = gs_article_bapidata-posext
posextx = gs_article_bapidata-posextx
materiallongtext = gs_article_bapidata-materiallongtext
plantkeys = gs_article_bapidata-plantkeys
distrchainkeys = gs_article_bapidata-distrchainkeys
warehousenokeys = gs_article_bapidata-warehousenokeys
importextension = gs_article_bapidata-importextension
inforecord_general = gs_article_bapidata-inforecord_general
inforecord_purchorg = gs_article_bapidata-inforecord_purchorg
source_list = gs_article_bapidata-source_list
additionaldata = gs_article_bapidata-additionaldata
calculationitemin = gs_article_bapidata-retailprice
calculationiteminx = gs_article_bapidata-retailpricex
* CALCULATIONEXTIN =
* CALCULATIONITEMOUT =
* RECIPIENTPARAMETERS =
* RECIPIENTPARAMETERSX =
* VENDORMATHEADER =
* VENDORMATCHARVALUES =
* LISTINGCONDITIONS =
bomheader = gs_article_bapidata-bomheader
bompositions = gs_article_bapidata-bompositions
priceconditions = gs_article_bapidata-priceconditions
hierarchy_items = gs_article_bapidata-hierarchy_items
followupmatdata = gs_article_bapidata-followupmatdata

Thanks

Vikash

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Mar 09 at 05:58 AM

    Hi Vikas,

    Use this BAPI 'BAPI_MATERIAL_MAINTAINDATA_RT'( able to create all type of articles and nicely documentation provided) instead of your BAPI. This FM 'WRF_MATERIAL_MAINTAINDATA_RT' is not released by SAP.

    Regards,

    Add comment
    10|10000 characters needed characters exceeded

    • Thanks pradeep for your response,

      but i am using this fm since long back and i was able to create generic article too,

      but since one week back its throwing error "Specify unit of measurement"