on ‎2022 Feb 15 12:38 PM
Hello everyone,
am using a custom created data flow for transferring source list information. For all materials that are received from an external vendor I have no problem. But I have also intercompany transfer between two Plants. Unfortunately, CPI does not transfer those records - for example plant 1000 is the Location From and plant 2000 is the Location (the receiving location). Both Location IDs are maintained in the Master Data Location and are visible in Location From MD (which is a subset of Location MD).
Within the rejection report from the CPI, I get the message 'Foregin key violation' and 'Check that the matching value exists in object LOCFR.'
I am really confused. Any help will be highly appreciated. Thank you very much in advance.
Best regards,
Julian
Request clarification before answering.
Hi Julian,
Can you share what do you see in View Design time data in CI-DS against LOCFR field for mentioned transform?
Regards,
Piyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi ayanbishnu1981,
Unfortunately, this does not work as well.
BR,
Julian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello ayanbishnu1981,
Thanks for you answer.
Yes, both locations exist in MDT Location:

In the CPI I am maping LOCFR with LIFNR from the standard table EORD and the field WERKS with LOCID:

As I mentioned, with all materials that are received from an external vendor I have no problem. But when I have transfer between two plants for example LOCFR = 1000 and LOCID = 2000 , then I got the rejections.
BR,
Julian
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Julian
Please check the following


Let me know if that works
Hello ayanbishnu1981,
I checked both master data types - LOCATIONFR and SOURCELOCATION and both are as per your screenshot (including same checkboxes, etc.). Attribute check of the MDT SOURCELOCATION is also turned off. I tried numerous times to reload the master data, but there is no effect.
Best regards,
Julian
Hello yuliyand
thier is a separate MDT called LOCFR, which is a reference MDT in IBP and it refers to the LOCID only. Although you cant maintain anything directly in LOCFR MDT, but please recheck if the MDT exists and that it is refering to the LOCID MDT.Also if you can share screenshot of the transformation for the CPI flow highlighting the source field in the table that is mapped to the LOCFR attribute in the LOCATIONSOURCE MDT, that would helpfulYou must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Julian,
Please check what is the attribute check enabled for location source MDT. For e.g., if attribute check is enabled with Location and Product ID in Location Product MDT, make sure Product ID is extended to both the locations.
Regards,
Piyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Piyush,
Thanks for your reply.
I checked MD and for Location Source MDT - I have no attribute check maintained. For Location Product MDT - I have attribute check maintained but only for planning unit (SPA).
I updated also my Location Product MDT so that I extended my PRDID to both Location IDs.
Unfortunately, there is still no results. Those records get rejected by the CPI with the same rejection reason.
Best regards,
Julian
| User | Count |
|---|---|
| 17 | |
| 16 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.