Question

ORA-20107: General.ILLEGAL_PROJ_CALL

  • 8 March 2023
  • 2 replies
  • 134 views

Badge +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

Badge

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.

Userlevel 2
Badge +3

Thanks Keertana

 

Issue has been resolved.

 

Regards,

Jagan.

Reply