cancel
Showing results for 
Search instead for 
Did you mean: 

problem in uploading the readings for an ibse

Former Member
0 Kudos

Hi,

My requirement is to upload the readings of ibase to the database. i am giving first reading for each ibase in the crm2007 system. for this i am using the function module CRM_MPK_SAVE_TO_DB. this function module is directly inserting the values into the database table with the code

===========================

  • INSERT LOGIC FOR READING

===========================

IF NOT it_insert_rd[] IS INITIAL.

INSERT CRMD_mpk_READING FROM TABLE it_insert_rd.

ENDIF.

IF SY-SUBRC <> 0.

*Error handling routine

endif.

i am supplying alll the details in the format crmd_mpk_reading.

I am not correctly able to judge the meaning of the following fields.

VALUE

VALUE_X

VALUE_DELTA

VALUE_DELTA_X

.INCLUDE

SI_VALUE

SI_VALUE_X

SI_OVERALL

SI_OVERALL_X

SI_DELTA

SI_DELTA_X

append wa_reading to final_reading.

***************************************************

and final_reading is supplied to funtion module.

My program is creating an entry when i am checking thru ib52 with green tick mark.

But when i am using the ibase in any crmd_order and giving the subsequent reading higher than the previous one, error is comming saying reading is not fit between the previous and current one.

But when i am giving a reading value less than the current value, it is taking.

can you please help me in giving proper data for these fileds.

Thanks & Regards,

Mallik

Edited by: Mallikarjuna Rao Antyakula on Oct 20, 2008 12:57 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You can create counters using the t.code. CRM_MPK_ADMIN.

i created a recording on this one and achieved the counter addition to the ibase.

but create counter as a measuring point only as it will be useful in further processings.

Regards,

Tarapada D.

Former Member
0 Kudos

Thank you.

Mallik

Answers (0)