Skip to Content

I need a BAPI to read Measurement documents given a Measurement Point.

I need a BAPI that will return the latest measurement document for a given Measurement point.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

6 Answers

  • Feb 01 at 01:31 PM

    Hi,

    SAPMEINT uses MEASUREM_DOCUM_RFC_SINGLE_001 BAPI. Please consult SAP Note 2226006.

    Regards,

    Sergiy

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 06 at 07:32 AM

    Hello Neil,

    Following are some FM, may be useful for u

    MSAM_MEAS_POINT_GETDETAIL
    MSAM_MEAS_POINT_GETLIST
    MSAM_ML_MEAS_POINT_GETDETAIL
    MSAM_MO_ML_MEAS_HISTORY
    MSAM_MO_ML_MEAS_POINT_HEADER

    Regards

    Add comment
    10|10000 characters needed characters exceeded

    • I have tried these, But they cannot be be used for 'remote'calls.

      SAP returns CALL_FUNCTION_NOT_REMOTE when I try and use these.

      Regards

      Neil

  • Mar 01 at 01:50 PM

    See RFC "MEASUREM_DOCUM_RFC_SINGLE_002" as a means to Read / Create / Update ... Check the RFC Documentation.

    Add comment
    10|10000 characters needed characters exceeded

    • I don't have a measurement document number.

      I need a functions that returns details of Measurement Documents when I provide a Measurement Point.

  • Mar 01 at 11:32 PM

    I see value in the Answer by Yogini Thorat, as "MSAM_MEAS_POINT_GETDETAIL" would serve your Purpose. You could expose this as a Custom RFC by adding a Wrapper around it ("ZMSAM_MEAS_POINT_GETDETAIL" as RFC, calling "MSAM_MEAS_POINT_GETDETAIL") ...?

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Nic,

      That sound good, but I have no access to create custom RFCs.

      Is there not a standard RFC to read all measurement documents for a Measurement Point???

      Regards,

      Neil Morgan

  • Mar 01 at 01:33 PM

    You may be able to use RFC ALM_MEREP_041_GETDETAIL

    Regards,
    Christian

    Add comment
    10|10000 characters needed characters exceeded

    • I was able to get a response with details from MII. Also with the FM MSAM10_MEAS_POINT_GETDETAIL mentioned below. FYI when calling from MII I had to pad the Measuring point with leading zeros. If you are doing this and still having an issue be sure to do an authorization trace for the RFC connection user.

      Regards,
      Christian

  • Mar 02 at 02:59 PM

    Hello Neil

    Another round ...

    See if RFC "MSAM10_MEAS_POINT_GETDETAIL" Provides you with (all) the Data. It is RFC-Enabled, but I can only Get 1 MeasDoc when Using a MeasurePoint (and I see an ErrMsg "ALM_ME 024") ... How does this work out for you?

    It needs some Form of Customizing, by which the Default number of Documents / Historic data is fetched. Upon debugging I set that to a High Number instead of '1' thus receiving a wide range of MeasurementDocuments ...

    Hope this helps

    Nic T.

    Add comment
    10|10000 characters needed characters exceeded

    • I can understand, it all seems much more complicated than we anticipated ...

      I would suggest getting into contact with SAP Support on this, I have no experience with MII ...