Introduction:
In this blog post, I have mentioned the steps to overcome the OBJECTS_OBJREF_NOT_ASSIGNED_NO runtime error, that we face in SAP BPC Optimized for S/4 HANA. This occurs while trying to run the Planning Functions.
Main Problem:
While I tried to run a Planning Function in SAP BPC Optimized for S/4 HANA, I had come across the following Runtime error:
Category: ABAP Programming
Runtime Errors: OBJECTS_OBJREF_NOT_ASSIGNED_NO
Except. CX_SY_REF_IS_INITIAL
ABAP Program: CL_UJP_HIERARCHY==============CP
Application Component: EPM-BPC-NW-TDL
I was trying to figure it out and came across a solution, that I will be discussing in the below section.
Solution:
Follow the steps mentioned below to resolve this Issue:
- Go to the T-Code SU3.
2. Now, go to the ‘Parameters’ Tab and maintain the Environment and Model name, against the following Parameter IDs respectively:
RSPLW_BPC_ENVIRONMENT
RSPLW_BPC_MODEL
3. Once after maintaining them, click on Save button at the right-bottom end of the screen.
4. Now, try to execute the Planning Function again, and you can see that it gets executed successfully.
Conclusion:
In this blog post, we have seen a simple step that needs to be done for mandatory, to avoid the OBJECTS_OBJREF_NOT_ASSIGNED_NO Runtime error. I have shared this content in this blog post to make this solution easily accessible for all.
Reference: