When building reports in ADMM, it is very common to have reports that go across databases. For example, consider the following setup:
The CMIR object will have reports checking if a customer is extended, if a material has a specific unit of measure, etc. These views need to go across databases, and the recommended approach for this is to create a pass-through view. As an example, we would create a view named MMMVKET on the WRKOTC database, and the view definition would be 'SELECT * FROM WRKPTP.dbo.MMMVKET'.
This all works just fine during the build phase. The issue comes when we promote the objects and code to a load environment for projects where we either operate in a validated environment or have parallel load execution. In these scenarios, we now have new load databases below:
WRKPTPL
WRKMDML
WRKOTCL
If we use the Working DB Object Promotion functionality, we would create a view on the WRKOTCL database that pulls material data from the WRKPTP database. This is wrong, and the view needs to pull from WRKPTPL database instead. If we forget to update this manually, the consequences are quite awful as we'd be looking to the wrong environment. Imagine if we used WRKPTP to get material numbers in the CMIR object instead of WRKPTPL, we will have basically corrupted the entire object in the load client.
There are a few options I can think of to handle this better:
Please authenticate to join the conversation.
Planned
Syniti Knowledge Platform
Migrate
Over 1 year ago

Peter Berke
Get notified by email when there are changes.
Planned
Syniti Knowledge Platform
Migrate
Over 1 year ago

Peter Berke
Get notified by email when there are changes.