on 06-04-2012 8:24 AM
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
Hi,
The first record in lt_meas is blank just check in the dump if this table has got any entries
Prathish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.