on 09-22-2014 10:56 AM
Hi Guru's,
When I am trying to execute RFC_READ_TABLE function module.After giving table name and execute, It is giving ' Run time error ASSIGN_CASTING_ILLEGAL_CAST '.
Could you please let me know what could be the cause.
Thanks,
Shivajiraju Penumatsa.
Hi Shivajiraju,
Apart from Roland's reply.
Note 382318 is very clear on the use of RFC_READ_TABLE. As you can see from this:
However, all this is quite immaterial, because the function is not mean to be publicly used anyway. It was only created to be used as a sample in various training courses, and is clearly flagged as "not released for customer".
Solution
Do not use function module RFC_READ_TABLE in the first place!
Please see attached note 109533.
Concerning this particular function module, as per information coming directly from the author, it is meant only to work with character fields and it will not be enhanced to handle other types.
You have two possibilities, to restrict the input to character fields or write your own function module enhancing the possibilities of RFC_READ_TABLE .
Also as detailed in attached note 758278:
"This function module is only for internal purpose ! Using this function module is at customers own risk and customer is responsible for adjusting this code to his system.
No warrenty is given on this Functionmodule RFC_READ_TABLE."
Thanks
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please see SAP Note 382318. Not sure if you should using this function module RFC_READ_TABLE.
Kind regards,
Roland
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
How did you call this function module ? In a custom development ? With SE37 ?
Best regards,
Nicolas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.