CL_HRPA_MASTERDATA_FACTORY
Hello SAP Experts,
In the class CL_HRPA_MASTERDATA_FACTORY, the SET_FRAMEWORK method gives an exception error of type CX_HRPA_VIOLATED_PRECONDITION.
Please tell me how can I avoid this error.
Updated May 19, 2018
Hello SAP Experts,
In the class CL_HRPA_MASTERDATA_FACTORY, the SET_FRAMEWORK method gives an exception error of type CX_HRPA_VIOLATED_PRECONDITION.
Please tell me how can I avoid this error.
Comments
The class CL_HRPA_MASTERDATA_FACTORY responsibility is to initialize the accesses to the infotype framework. This class at present recognize two different framework
If the class CL_HRPA_MASTERDATA_FACTORY repeatedly gets initialized then a termination occur since there can be only one buffer.
The above-mentioned error occurs frequently if the class before the first call is not explicitly initialized. Then the class by default select IF_HRPA_MASTERDATA_BUFFER.