Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

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.

Tags:
Former Member
Former Member replied

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

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question