If you are working with locations with same id(like customer 1001, plant 1001, vendor 1001, etc..) and when you CIF these from ERP to EWM, you get an error like;
Location XXXX of type 1003 (BSG XXXX) already exists in APO
Message no. /SAPAPO/LOM060
This means your CIF integration model failed to create locations.
Follow this navigation: SCM Basis>>Integration>>BAdIs for Specific Applications>>Location and Business Partner>>BAdI: Inbound Processing for Location.
Choose one of these BAdIs for your case:
|APOCF001_SYSDIF||Identical location numbers from different systems|
|APOCF001_TYPEDIF||Locations of different type with similar names|
|APOCF001_TYPESYSDIF||Identical location nos of different types from diff. systems|
After succcessful implementation, your locations are created with an addition to seperate their ids.
You get ‘PL’ addition for all plants, ‘SP’ addition for all shipping points, ‘CU’ addition for all customers, etc.. You can check EXIT_/SAPAPO/SAPLCIF_LOC_001 for more information.
Note: There isn’t any OSS Note for this(please share if you find, i could not find any).