Quantcast
Channel: SCN: Message List - ABAP Connectivity
Viewing all articles
Browse latest Browse all 3125

BAPI_MATERIAL_SAVEREPLICA: Activating QM View for Specific Plant

$
0
0

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!


Viewing all articles
Browse latest Browse all 3125

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>