Skip to Content
avatar image
Former Member

Material Inspection Characteristic(MIC) version overwritten by LSMW BAPI

I'm using BAPI & LSMW for MIC(QS21) loading,

the Business Object      QPMK

      Method                    SAVEREPLICA

      Message Type         QPMK

      Basic Type               QPMK01

I have 3 records for one MIC with different versions, like below,

MIC   Version

A         1

A         2

A         3

This generated 3 IDocs and after run successfully, I can only get the last version record created in table QPMK.

The above version 1 & 2 was overwritten.


If I run BAPI_QPMK_SAVEREPLICA(this is the same as QPMK-SAVEREPLICA) by SE37 with these data,

I can get 3 versions in table QPMK.


What can I do? Please help! Thanks.



Best regards,


Eric.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Oct 27, 2015 at 08:37 AM

    If we create a hierarchical structure then versions can be kept well. Problem has been solved.

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 21, 2015 at 08:54 AM

    Sorry, MIC means master inspection characteristic...belongs to QM module, not material.

    The worst case I thought is to create a Z program and use BAPI...

    Add comment
    10|10000 characters needed characters exceeded