Hi Gurus,
I'm using the BAPI "BAPI_ROUTING_CREATE" for the creation of Routing.
I'm trying to pass the Standard Value (STD_VALUE_01) to the Operation Strucutre.
When i pass the Standard Value, the BAPI is giving the following error.
"*Enter a unit for standard value Reqmts*"
I think i'm missing some of the Parameters in the BAPI.
Please suggest me the parameter which one i'm missing.
I'm using the following parameters.
IT_BAPI1012_OPR_C-ACTIVITY = V1_VORNR.
IT_BAPI1012_OPR_C-CONTROL_KEY = IT_ITEM-STEUS.
IT_BAPI1012_OPR_C-WORK_CNTR = IT_ITEM-ARBPL.
IT_BAPI1012_OPR_C-PLANT = IT_ITEM-WERKS.
IT_BAPI1012_OPR_C-OPERATION_MEASURE_UNIT = IT_ITEM-PLNME.
IT_BAPI1012_OPR_C-OPERATION_MEASURE_UNIT_ISO = 'KMT'.
IT_BAPI1012_OPR_C-DESCRIPTION = IT_ITEM-LTXA1.
IT_BAPI1012_OPR_C-BASE_QUANTITY = '1.000'.
IT_BAPI1012_OPR_C-STD_VALUE_01 = IT_ITEM-STD_VALUE_01.
IT_BAPI1012_OPR_C-STD_UNIT_01 = 'D'.
IT_BAPI1012_OPR_C-STD_UNIT_01_ISO = 'DAY'.
IT_BAPI1012_OPR_C-DENOMINATOR = 1.
IT_BAPI1012_OPR_C-NOMINATOR = 1.
IT_BAPI1012_OPR_C-BASE_QUANTITY = 1.
APPEND IT_BAPI1012_OPR_C.
we are not using any machine or operator etc, in this scenario we don't require those things.
Thanks,
Adi.