cancel
Showing results for 
Search instead for 
Did you mean: 

Exception cx_ujo_read

0 Kudos

Hi BPC Gurus!

We are using BPC 10 NW.

I have problem "exception cx_ujo_read". In BPC system I wrote RFC function with code:

TRY.
lo_query = cl_ujo_query_factory=>get_query_adapter(
i_appset_id = pv_env_id
i_appl_id = pv_model_id
).

lo_query->run_rsdri_query(
EXPORTING
it_dim_name = lt_dim_list " BPC: Dimension List
if_check_security = ABAP_FALSE " BPC: Generic indicator
it_range = it_sel
IMPORTING
et_data = <tb_data>
et_message = lt_message " BPC: Messages
).
CATCH cx_ujo_read. " Exception of common read
ENDTRY.

The problem occurs when I try call function from ERP system, if I call function in BPC there is no problem it woks fine.

Accepted Solutions (1)

Accepted Solutions (1)

former_member186338
Active Contributor
0 Kudos

There are a lot of other variables set in BPC for the user session... Nothing in ERP!

Answers (1)

Answers (1)

0 Kudos

Hello Vadim,

Thank you for your answer. I found my mistake as you marked about user session, the issue was in a user privileges, the user which was set in RFC connection between ERP and BPC had not access to bpc environment , model and so on.

former_member186338
Active Contributor
0 Kudos

Then it's a good idea to accept the answer.

0 Kudos

No problem Vadim but I found the answer for my problem by debugging 🙂 and on the next day I read your mark.

former_member186338
Active Contributor
0 Kudos

In general it's a good idea to enable e-mail notifications in your profile! Then you will be notified immediately when you have some answer/comment.