Skip to Content
0
Former Member
Mar 07, 2014 at 01:45 PM

Historical Consumption program MVER_DI not updating consumption records

559 Views

Hi All,

W.R.T. SAP notes 200547, I am trying to update MVER table for forcasting view data (Historical Consumption records ) using for VK15.

Using program MVER_WRITE_FILE passing my data (Material, Plant, Period,Indicator,Total Consumption) :

MATERIAL1 1100 201311 M 100 MATERIAL1 1100 201310 M 90 MATERIAL1 1100 201309 M 110 MATERIAL1 1100 201308 M 120 MATERIAL1 1100 201307 M 105

records passing successfully in internal table : wa_vb_tab, but when we pass this internal table into :


CLASS cl_abap_container_utilities DEFINITION LOAD. "Unicode

CALL METHOD cl_abap_container_utilities=>fill_container_c

EXPORTING

im_value = wa_vb_tab

IMPORTING

ex_container = wa

EXCEPTIONS

illegal_parameter_type = 1

OTHERS = 2.

big_wa = wa.


APPEND big_wa.



Then, 'wa' is showing only first 3 (material,plant,period) and 4th & 5th one which is indicator & total consumption is showing in ASCII .

Finally, 'big_wa' appending all 5 records but Indicator and Total Consumption in ASCII value.

Therefor, when the same value is passing into file: 'MATERIAL_MASTER_BTCI' in MVER_DI program, on execution showing following messages:

(R20 is name of material)

It could be help full if any body faced this issue, so that i can solve.

Regards,

Ramesh

Attachments

a1.png (11.5 kB)
a1.png (11.5 kB)
a2.png (20.4 kB)
a3.png (15.4 kB)
a4.png (7.2 kB)
a5.png (12.4 kB)