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

method get_filtered_entries import data format

Former Member
0 Likes
960

Hi,

I have problem with method get filtred_entries. In my code:

data fcr type lvc_t_fidx.

data: x_fltr(20) type n.

call method go_grid->get_filtered_entries

importing

et_filtered_entries = fcr.

loop at fcr assigning <pt>.

write <pt> to x_fltr.

read table itab index x_fltr into ln.

ln-fltr = 'X'.

modify itab from ln index x_fltr transporting fltr.

The problem is that my itab is so huge that fcr is Table[1190x4] and finally there is appearing walue 1045 what is anble to interpretate.

The program is terminated with comunicat: "Unable to interpret " 1 045 " as a number."

How could I change the program?

Regards,

Joanna

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
668

Try changing the data type of x_fltr to the same as the field in lvc_t_fidx which contains the row ids.

Hope this helps.

Thanks,

Balaji

4 REPLIES 4
Read only

Former Member
0 Likes
669

Try changing the data type of x_fltr to the same as the field in lvc_t_fidx which contains the row ids.

Hope this helps.

Thanks,

Balaji

Read only

0 Likes
668

Try declaring x_fltr as I (integer).

 data:x_fltr  type i.

Hope this helps.

Thanks,

Balaji

Read only

Former Member
0 Likes
668

Hi, when I make x_fltr type lvc_t_fidx during activation I get info: "X_FLTR" cannot be a table, a reference, a string, or contain any of

these objects."

Regards,

Joanna

Read only

Former Member
0 Likes
668

Thanks it solved the problem