Skip to Content
0
Former Member
Feb 16, 2011 at 11:15 PM

Select statement not working on table ADRC???

456 Views

Can anyone tell me why this works for the first table and not he second?

Ok when I use the SELECT SINGLE statement on table T005X it works

I set everthing up like so

DATA: TEST_VAR1(2) TYPE C VALUE 'US'.

DATA: wa_t005x type t005x.

select single * from t005x into wa_t005x where land = TEST_VAR1.

and all the fields in wa_t005x have a value.

But.....when I do the same thing against table ADRC

DATA: TEST_VAR2(5) TYPE C VALUE 36705.

DATA: WA_ADRC TYPE ADRC.

Select single * from ADRC into WA_ADRC where ADDRNUMBER = TEST_VAR2.

I don't pull any data to the WA_ADRC fields

any thoughts?