Skip to main content
Question

ORA-20107: General.ILLEGAL_PROJ_CALL

  • March 8, 2023
  • 2 replies
  • 422 views

Forum|alt.badge.img+2

Hi All,

 

When running the “Collect Intrastat”, following error occurs on the corresponding background job :

 

ORA-20107: General.ILLEGAL_PROJ_CALL: This method is not allowed to be called outside of the IFS OData Provider.

Customer is running IFS Cloud 

IFS Cloud Web version: 22.2.5.20230201103053.0

IFS OData provider version: 22.2.5.20230201153645.0

 

Thank you in advance for your advice

 

Patrick

2 replies

Forum|alt.badge.img
  • Do Gooder (Partner)
  • 3 replies
  • March 10, 2023

Please check if the method being called as background job uses frontend methods.

For example: ..._SVC.CRUD_Create..

If so, then enable the ODP_SESSION before calling the frontend method and disable it at the end.

For example:

Fnd_Session_API.Set_Property('ODP_SESSION', 'TRUE');

..._SVC.CRUD_Create..

Fnd_Session_API.Set_Property('ODP_SESSION', 'FALSE');

 

Thanks.

Regards,

Keertana.


Forum|alt.badge.img+3
  • Sidekick (Partner)
  • 10 replies
  • March 12, 2023

Thanks Keertana

 

Issue has been resolved.

 

Regards,

Jagan.