cancel
Showing results for 
Search instead for 
Did you mean: 

FM META_READ_TABLE problem

RicardoRomero_1
Active Contributor
0 Kudos

Hi all,

I'm using the FM  META_READ_TABLE to read some tables in ECC.
I'm having problems reading a field of a table with type DEC 9 5 (Table COOI Field WKURS).

If this field has a value grater than 1000 the FM returns a wrong value with a star after the two first digits. I mean, if I have a value of 1.135,00000 the FM returns *35.00000. With values below of 1000 works fine.  In this table the are other numeric fields, but with diffent type (CURR, QUAN...), and this fields are Ok.

I've tried to fill the parameter table FIELDS with only this field and filling the field TYPE with several values, but nothing works...

Do you know what can be the problem?
Maybe I need to create a custom FM in ECC to call as RFC to retrieve this data.

Thanks in advance.
Regards.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member184111
Active Contributor
0 Kudos

Hi Recardo,

This link might be helpful.

Also you may use the function module RFC_READ_TABLE to get ECC data.

Thanks,

Anubhav

RicardoRomero_1
Active Contributor
0 Kudos

Hi Anubhav,


Thanks for answer.

I've tried with the FM RFC_READ_TABLE, but the same happens...

I already read the link you said and the FAQ in this note: Note 382318 - FAQ|Function module RFC_READ_TABLE but is not working yet.

I've found other SAP notes like this Note 1306450 - BBP_RFC_READ_TABLE returns incorrect data or this Note 1175255 - RFC_READ_TABLE creates ASSIGN_BASE_WRONG_ALIGNMENT termnatn but don't apply in our release.

So, may be we need to create our custom FM to get this data...