Hello everyone,
I'm trying to activate QM view for specific material plants using BAPI_MATERIAL_SAVEREPLICA, as described below:
Header data:
------------------------------------------------------------
HEADDATA-MATERIAL = 'MAT001'.
HEADDATA-IND_SECTOR = 'M'.
HEADDATA-MATL_TYPE = 'FERT'.
HEADDATA-BASIC_VIEW = 'X'.
HEADDATA-STORAGE_VIEW = 'X'.
HEADDATA-QUALITY_VIEW = 'X'.
1st plant data record:
------------------------------------------------------------
PLANTDATA-MATERIAL = 'MAT001'.
PLANTDATA-PLANT = '1000'.
PLANTDATA-QUALITY_VIEW = 'X'.
2nd plant data record:
-----------------------------------------------------------
PLANTDATA-MATERIAL = 'MAT001'.
PLANTDATA-PLANT = '2000'.
PLANTDATA-QUALITY_VIEW = ' '.
In this example, I'm trying to activate QM view only for plant 1000, but after running the BAPI, the QM view is activated for both plants.
What's wrong here?
Thanks for your attention!