Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Problem read table

Former Member
0 Likes
433

Hi Everyone.

I have a problem, I'm meaking user exit to BW and don't can read the interna table. the function definition is:

*" CHANGING

*" REFERENCE(XTH_DATA) TYPE HASHED TABLE

I used:

FIELD-SYMBOLS: <wa_data> TYPE ANY.

loop at XTH_DATA assigning <wa_data>.

IF <wa_data>-S_CHAS-0CALMONTH = '003'.

endif.

endloop.

But the message say: The data object "<WA_DATA>" has no structure and therefore no component

called "S_CHAS-0CALMONTH". called "S_CHAS-0CALMONTH".

and I debbugin the function and i cant acces the data without problem.

I need acces the datas of XTH_DATA. Eny things for help me.

Thanks.

Fracisco

2 REPLIES 2
Read only

Former Member
0 Likes
415

Hi Juan

Can u jst cross check if the structure XTH_DATA has the component u r giving.

cheers

shivika

Read only

Former Member
0 Likes
415

Hi,

Declare Field symbol like below and try.....

FIELD-SYMBOLS <wa_data> TYPE ANY TABLE.