Skip to Content
author's profile photo Former Member
Former Member

Dump when calling report from BI to SAP ECC

Hi,

We are using function module “MCW_AA_GET_QUERY_DATA “ to extract the data from BI report to SAP ECC. We are running this from the past 5 months without any issue but today we got the dump in the BI. Following is the message.

Configuration in ECC is done in the tcode MCW_AA.

Runtime Errors GETWA_NOT_ASSIGNED

Short text

Field symbol has not yet been assigned.

What happened?

Error in the ABAP Application Program

The current ABAP program "CL_RSCRMBW_BAPI===============CP" had to be

terminated because it has

come across a statement that unfortunately cannot be executed.

308 ls_kyfformula-operand1 = <ls_calc>-oper1.

309 ls_kyfformula-opertyp2 = <ls_calc>-o2flg.

310 ls_kyfformula-operand2 = <ls_calc>-oper2.

311

312 APPEND ls_kyfformula TO et_kyfformula.

313

314 MOVE-CORRESPONDING <ls_calc> TO es_kyfdetail.

315 ENDLOOP.

316

317 ENDIF.

318

319 CONCATENATE '[' i_keyfigure ']' INTO l_mesnam.

320

321 CALL FUNCTION 'BAPI_MDPROVIDER_GET_MEASURES'

322 EXPORTING

323 cube_nam = g_s_status-cubename

324 mes_nam = l_mesnam

325 IMPORTING

326 return = ls_return

327 TABLES

328 measures = lt_meas

329 aggr_exceptional = lt_aggrexc.

330

331 CALL METHOD gr_return->add_message

332 EXPORTING

333 is_return = ls_return.

334

335 READ TABLE lt_meas ASSIGNING <ls_meas> INDEX 1.

331 CALL METHOD gr_return->add_message

332 EXPORTING

333 is_return = ls_return.

334

335 READ TABLE lt_meas ASSIGNING <ls_meas> INDEX 1.

336

>>>>> es_kyfdetail-keyfigure = <ls_meas>-mes_uid.

338 es_kyfdetail-keyfiguredescr = <ls_meas>-dscrptn.

339 es_kyfdetail-kyf_aggregator = <ls_meas>-mes_aggregator.

340 es_kyfdetail-data_type = <ls_meas>-data_type.

341 es_kyfdetail-num_prec = <ls_meas>-num_prec.

342 es_kyfdetail-num_scale = <ls_meas>-num_scale.

343 es_kyfdetail-keyfigure_units = <ls_meas>-mes_units.

344

345 * overwrite l_keyfigure for later use

346 l_keyfigure = i_keyfigure.

347

348 * get technical name of reusable keyfigure

349 READ TABLE g_t_compcompdir ASSIGNING <ls_compdir>

The error is in the following code

es_kyfdetail-keyfigure = <ls_meas>-mes_uid.

It also used “WREX_GET_DATA” Fumction module. When I run the reports individually, all the reports run but from ECC, I am getting the dump.

Thanks

Annie

Message was edited by: Annie Dsuza

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 04, 2012 at 08:43 AM

    Hi,

    The first record in lt_meas is blank just check in the dump if this table has got any entries

    Prathish

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      in the dump just make a search with the internal table name, under the heading Chosen variables you will have the internal table it_meas[<no of rows> * No of columns ] just check if there are any entries there and you can also get teh hexadecimal value of the entry available there

      Prathish

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.