Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 3323

calling procedure inside the calcview

$
0
0

Hi all,

 

we have a procedure written inside the calc view which works fine when we call from SQL consoe.

 

When we try to run the job it is throwing error at the point of calling the procedure

 

Below is the detailed flow

 

1)  xsjob has procedure to call a function in xsjsfile.

 

2)  inside the xsjs file, call a procedure via preparecall (call _SYS_BIC.<procedure name>

 

3)  Inside the procedure we are calling calcview - select from cal view "ABC"

 

4)  This ABC calcview has a procedure to get the date << this is where the job is throwing the errors.

 

The error is not giving any clue - Internal error ,Transaction is rolled back .

 

But when we call this procedure in the SQL console it is not throwing any error.

 

 

 

Any clues please.

 

 

Thanks


Viewing all articles
Browse latest Browse all 3323

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>