Disable PSM Check for a Solution in SAP Cloud Applications Studio
This Blog Post is also available in German at the Data One Blog.
Many SAP Cloud Applications Studio developers know the struggle, that they want to access information of an SAP Business Object and can’t find them.
This could be an element, a node, a function (action) which is needed for solution development but it can’t be found and located in the repository explorer. A possible reason for that could be, that there is a Public Solution Model (PSM) release missing for that information. Even when you are sure that there is a missing PSM release, you end up with some missing information to get the release incident done quickly. For the incident you would like to provide all the needed information for SAP to get the PSM release done and with less as possible questions about a speculated name or position in the BO structure.
Deactivate PSM Check
To get an better understanding if you are right with the assumed name and position of the element you are searching for, you can deactivate the PSM check for an solution. This also brings you in the position to cross check the correct functionality before you create the incident.
import AP.PlatinumEngineering.Public; Solution.PSMTurnOff("<Solution_Name>");
This deactivation also brings you very interesting insides into the BO structures of SAP by using the repository explorer.
Activate PSM Check
Now of course you do not want to work permanently without the activated Public Solution Model, so there is also a way to turn the check back on.
import AP.PlatinumEngineering.Public; Solution.PSMTurnOn("<Solution_Name>");
I hope this will help you to find Business Object information easier and also to understand the structures a bit better.