2010 Mar 16 2:06 PM
Hi,
I have created one report which fills internal table of type bapieablu with following data
material = 'MAT_ELECTRIC1'.
serialno = '000000000000000001'.
register = '001'.
mrreason = '02'.
active = space.
readingresult = '500'.
actualcustomermrtype = '01'.
mrdateforbilling = lv_new_date.
actualmrdate = lv_new_date.
and calling this BAPI
CALL FUNCTION 'BAPI_MTRREADDOC_UPLOAD'
TABLES
meterreadingresults = lt_meter_results
return = lt_return.
Its returning one message with type 'I' that 1of 1 record uploaded successfully.
when I go to ES32 and to billing periods, MR date tab comes in RED.
and in that tab the latest record is shown with error that MR Results Missing.
Here meter reason type is 02 (interim with billing)
the BAPI is working fine with reason type 01 when reading result is estimated.
Please help me out in this issue.
Thanks in advance.
2010 Mar 17 11:42 AM
Hi,
Also try putting
1. targetmrdate
2. ext_ui
in bapieablu. I have putted that and mine is working fine.
Or there could be some data issue. Try using some other data.
Regards,
Pranaya
2010 Mar 17 11:45 AM
Hi,
Missed out one thing .......also try using lesser 'readingresult' like 20 or 30.........500 could be the problem may be because value is high. There could be some check on the meter reading value.
Regards,
Pranaya
2010 Mar 19 2:22 PM
yes, it was a data issue only. reading was provided very low. so MR was created as implausible