Hi,
I am facing an issue while trying to generate the business scenario in OPI.
I have a simple business process configured in Process Observer in the ERP source system. Based on this process, I have created a business scenario in the HANA modeller, modeled the phases and created measures & indicators. The business scenario passes validation. However, when I click on generate, it runs for a few seconds and returns "XSAPP Artifact Generation Failed" error.
We have the required roles assigned to the user (sap.opi.pv.roles::OPINTDEVELOPER, MODELING, Grant select, execute, trigger for schema <schema_name> to <user_name or role_name>, sap.hrf.role.model::HrfRuleConsumer, sap.bc.hwf.security::HWFDeveloper)
From the trace, I am seeing that there is some problem while generating xsodata artifacts.
[5063]{452025}[235/-1] 2016-05-13 04:21:45.969912 e REPOSITORY SqlScript.cpp(00870) : Could not create list of procedure objects needed to derive object dependencies; SQLException while preparing or executing procedure call; SQL exception: sql syntax error: incorrect syntax near "generated": line 2 col 13 (at pos 390); SQL statement: CALL GET_PROCEDURE_OBJECTS(?)
[5063]{452025}[235/-1] 2016-05-13 04:21:46.194713 e REPOSITORY SqlScript.cpp(00870) : Could not create list of procedure objects needed to derive object dependencies; SQLException while preparing or executing procedure call; SQL exception: sql syntax error: incorrect syntax near "generated": line 2 col 15 (at pos 353); SQL statement: CALL GET_PROCEDURE_OBJECTS(?)
[5063]{452025}[235/-1] 2016-05-13 04:21:56.951625 e REPOSITORY repositorybasefunc.cpp(02458) : At least one error appeared when extracting references and/or texts: {tenant: , package: OPI.Rene.gen_bs_z_fa_inquiry_to_delivery, name: pr_service, suffix: xsodata}
[5063]{452025}[235/-1] 2016-05-13 04:21:57.667409 e REPOSITORY repositorybasefunc.cpp(02458) : At least one error appeared when extracting references and/or texts: {tenant: , package: OPI.Rene.gen_bs_z_fa_inquiry_to_delivery, name: scenario_instance_details_service, suffix: xsodata}
[5063]{452025}[235/-1] 2016-05-13 04:21:58.664699 e REPOSITORY repositorybasefunc.cpp(02458) : At least one error appeared when extracting references and/or texts: {tenant: , package: OPI.Rene.gen_bs_z_fa_inquiry_to_delivery, name: kpi_service, suffix: xsodata}
Can anyone please provide any tips as to how this can be resolved and the business scenario can be successfully generated?
Thanks,
Sarath