Skip to Main Content

Java Programming

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!

Problem with indexOf() method

807607Oct 7 2006 — edited Oct 7 2006
I'm facing a problem while trying to format a string according to my criteria. I need to make a substring of the string giving the position using indexOf method. But the method isn't working well as I need. Given below is the code.......

temp1 = 3O|1||V06080000210R^A^04|^^^106^HBsAg^UNDILUTED|R||||||||||||||||||||F<CR><ETX>61<CR><LF>

I need to cut the string from ^'s 6th position+1 until 7th position-1.

I'm using indexOf method to draw the solution as given below....

int tst = temp1.indexOf('^',5);
int tst1 = temp1.indexOf('^',6);

Problem is it's not working. Can someone help me draw the solution?

Thanks

Comments

User_3JG8T

only the purple colour one of course, I have never seen this error before.

Is there anything I need to fix in the source, or do I need to change something in HFM metadata?

Regards,

M

Francisco Amores

Are those accounts calculated?

if you create a data grid in HFM for any purple combination what you get?

User_3JG8T

Hi Francisco,

What do you mean by calculated? from FDMEE or from HFM? In HFM is imported and recalculate during import , when I create a datagrid in HFM, it is in green color box, but there is no data inside. Simply because I cannot upload the data from FDMEE yet.

Francisco Amores

can you manually type and save data into that intersection in HFM?

USER1211

Follow Francisco A recommendation.

Additionally you can review the FDMEE admin documentation to better your understanding of FDMEE and  for added information you can even go to  Fransisco A blog where he talks about FMDEE  intersection reports

Oracle® Hyperion Financial Data Quality Management, Enterprise Edition Administrator's Guide - Contents

The idea is you need to check your HFM application. Do you have a HFM no input rule for that intersection you are trying to load ?  Do you have process management turned on in HFM? All that information folks on the board would not know hence you need to go and do that due diligence on your end and rule out items as such.

User_3JG8T

Found the answer. Those in purple are calculated amount in metadata. Now we fix the metadata and succesfully reexport to HFM without error.

Francisco Amores
Answer

From my first answer:

Are those accounts calculated?

if you create a data grid in HFM for any purple combination what you get?

not sure why you mark then your own answer :-)

Marked as Answer by User_3JG8T · Sep 27 2020
1 - 7
Locked Post
New comments cannot be posted to this locked post.

Post Details

Locked on Nov 4 2006
Added on Oct 7 2006
1 comment
105 views