Hi All,
We are trying to update/create the charateristic LOBM_RLZ on change/create on Additional Data screen data ( VBKD).
For this purpose we are using BAPI_OBJCL_GETDETAIL and changing the charateristic value at run time, and further using the BAPI BAPI_OBJCL_CHANGE to update the value.
We are changing the LOBM_RLZ value from 30 days to 50 days. On executing this we are getting the error message "C1- 801" - LOBM_RLZ: Value "> 0 d" not found .
Can someone kindly advise if we have missed something?
In the below code we are fetching the pit_allocvaluesnum, pit_allocvalueschar, pit_allocvaluescurr table values from BAPI_OBJCL_GETDETAIL.
CALL FUNCTION 'BAPI_OBJCL_CHANGE'
EXPORTING
objectkey = l_objek
objecttable = 'VBAP'
classnum = pi_wa_classinfo-class
classtype = pi_wa_classinfo-classtype
status = pc_status
keydate = sy-datum
TABLES
allocvaluesnumnew = pit_allocvaluesnum
allocvaluescharnew = pit_allocvalueschar
allocvaluescurrnew = pit_allocvaluescurr
return = pit_return.