<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Creating Measurement document in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-measurement-document/m-p/8231306#M1629240</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using that. The measurement document is getting created. After running my program, if i try creating the doucment again with the same point thru IK11, the Total counter reading value must have the last reading, but it is showing the old value which is not the latest value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Taarikha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Sep 2011 12:36:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-27T12:36:44Z</dc:date>
    <item>
      <title>Creating Measurement document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-measurement-document/m-p/8231304#M1629238</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue in creating a measuring document using the function module  MEASUREM_DOCUM_RFC_SINGLE_001 through my interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am passing the following as input in my interface:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'MEASUREM_DOCUM_RFC_SINGLE_001'
      EXPORTING
        measurement_point     = Measuring point
        secondary_index       = ' '
        reading_date          = system date
        reading_time          = system time
        short_text            = text
        reader                = sy-uname
        origin_indicator      = 'A'
        reading_after_action  = ' '
        recorded_value        = Difference reading
        recorded_unit         = ' '
        difference_reading    = gc_x
        code_catalogue        = ' '
        code_group            = ' '
        valuation_code        = ' '
        code_version          = ' '
        user_data             = Some custom fields that i hv to update in IMRG
        check_custom_duprec   = ' '
        with_dialog_screen    = ' '
        prepare_update        = 'X'
        commit_work           = 'X'
        wait_after_commit     = 'X'
        create_notification   = ' '
        notification_type     = 'M2'
        notification_prio     = ' '
      IMPORTING
        measurement_document  = measurement_document
        complete_document     = complete_document
        notification          = notification
        custom_duprec_occured = custom_duprec_occured
      EXCEPTIONS
        no_authority          = 1
        point_not_found       = 2
        index_not_unique      = 3
        type_not_found        = 4
        point_locked          = 5
        point_inactive        = 6
        timestamp_in_future   = 7
        timestamp_duprec      = 8
        unit_unfit            = 9
        value_not_fltp        = 10
        value_overflow        = 11
        value_unfit           = 12
        value_missing         = 13
        code_not_found        = 14
        notif_type_not_found  = 15
        notif_prio_not_found  = 16
        notif_gener_problem   = 17
        update_failed         = 18
        invalid_time          = 19
        invalid_date          = 20
        OTHERS                = 21.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now the issue is, after i run this FM through my interface, my measurement document is created successfully and updates the IMRG table with the document. Now if i go to the t.code IK11 and try creating another measuring document with the same measuring point as mentioned in the importing parameter, to get the previous reading, it is not picking up the last measurement document, but it is picking some other old measuring document based on some standard condition. Whereas if i simply create one more equipment and create a measurement documents with the new measuring point thru IK11 individually, it is processing successfully. The problem has occured after running my interface.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone please help me.........&lt;EM&gt;&amp;lt;removed by moderator&amp;gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Taarikha&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Thomas Zloch on Sep 27, 2011 2:02 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 11:49:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-measurement-document/m-p/8231304#M1629238</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-27T11:49:40Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Measurement document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-measurement-document/m-p/8231305#M1629239</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try exporting these many values only as shown below and see if it works. This is working perfectly fine in our system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'MEASUREM_DOCUM_RFC_SINGLE_001'&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;        measurement_point    = p_m_point&lt;/P&gt;&lt;P&gt;        reading_date         = sy-datum&lt;/P&gt;&lt;P&gt;        reading_time         = sy-uzeit&lt;/P&gt;&lt;P&gt;        short_text           = text-030&lt;/P&gt;&lt;P&gt;        recorded_value       = p_meas_read&lt;/P&gt;&lt;P&gt;        prepare_update       =  'X'&lt;/P&gt;&lt;P&gt;        commit_work          =  'X'&lt;/P&gt;&lt;P&gt;        wait_after_commit    = 'X'&lt;/P&gt;&lt;P&gt;        notification_type    = 'M2'&lt;/P&gt;&lt;P&gt;      IMPORTING&lt;/P&gt;&lt;P&gt;        measurement_document = p_meas_doc&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        no_authority         = 1&lt;/P&gt;&lt;P&gt;        point_not_found      = 2&lt;/P&gt;&lt;P&gt;        index_not_unique     = 3&lt;/P&gt;&lt;P&gt;        type_not_found       = 4&lt;/P&gt;&lt;P&gt;        point_locked         = 5&lt;/P&gt;&lt;P&gt;        point_inactive       = 6&lt;/P&gt;&lt;P&gt;        timestamp_in_future  = 7&lt;/P&gt;&lt;P&gt;        timestamp_duprec     = 8&lt;/P&gt;&lt;P&gt;        unit_unfit           = 9&lt;/P&gt;&lt;P&gt;        value_not_fltp       = 10&lt;/P&gt;&lt;P&gt;        value_overflow       = 11&lt;/P&gt;&lt;P&gt;        value_unfit          = 12&lt;/P&gt;&lt;P&gt;        value_missing        = 13&lt;/P&gt;&lt;P&gt;        code_not_found       = 14&lt;/P&gt;&lt;P&gt;        notif_type_not_found = 15&lt;/P&gt;&lt;P&gt;        notif_prio_not_found = 16&lt;/P&gt;&lt;P&gt;        notif_gener_problem  = 17&lt;/P&gt;&lt;P&gt;        update_failed        = 18&lt;/P&gt;&lt;P&gt;        OTHERS               = 19.&lt;/P&gt;&lt;P&gt;    IF sy-subrc = 0.&lt;/P&gt;&lt;P&gt;      COMMIT WORK.&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 12:13:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-measurement-document/m-p/8231305#M1629239</guid>
      <dc:creator>ChandrashekharMahajan</dc:creator>
      <dc:date>2011-09-27T12:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Measurement document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-measurement-document/m-p/8231306#M1629240</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried using that. The measurement document is getting created. After running my program, if i try creating the doucment again with the same point thru IK11, the Total counter reading value must have the last reading, but it is showing the old value which is not the latest value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Taarikha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 12:36:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-measurement-document/m-p/8231306#M1629240</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-27T12:36:44Z</dc:date>
    </item>
    <item>
      <title>Re: Creating Measurement document</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/creating-measurement-document/m-p/8231307#M1629241</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The issue is resolved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!!!!.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Taarikha&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2011 13:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/creating-measurement-document/m-p/8231307#M1629241</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-27T13:33:59Z</dc:date>
    </item>
  </channel>
</rss>

