Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

REP-1401: 'cf_10formula': Fatal PL/SQL error occurred. ORA-06502: PL/SQL: numeric or value error

user11995580Nov 12 2014 — edited Dec 1 2014

Hi Team,

I am running one conc programme.

After running I am getting below  error. I checked the issue on metalink  and other, seems that it is an size related issue. I have increased the size of formula columns and placeholdder too.

But still getting issue.

My requirement is to get comma seperated values using SQL query itself. Neither i wanted to create layout of the report , since it is a XML publisher report and nor  I am including it on RTF template.

I want the CF_10 formula column to be populated with comma seperated values.


MSG-00187: From Date 01-Sep-2014

REP-1401: 'cf_10formula': Fatal PL/SQL error occurred.

ORA-06502: PL/SQL: numeric or value error


And Here is my code for CF_10


function CF_10Formula return Number is

begin

   SELECT NVL(TO_CHAR(sum(Amount),'99,99,99,999'),0) into :CP_5 --NVL(ROUND(sum(Amount)),0) into :CP_5

--  xxhw_Coll_cat(category)     "Intercat  Catg"

FROM hhxw_Region_col_v

WHERE Category IN ('Intercompany - CATV')

AND trunc(gl_date) BETWEEN TO_DATE(:P_FROM_DATE, 'DD/MM/RRRR') AND TO_DATE(:P_TO_DATE, 'DD/MM/RRRR');

RETURN ROUND(:CP_5);

end;

Anyone please suggest me.

Regards,

Sachin

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 29 2014
Added on Nov 12 2014
6 comments
3,934 views