on 10-29-2016 4:57 AM
Dear firends,
I call RFC from one sap system(TM) in another sap system(ERP), but when it return the table the amount value is not right and it seem very strange. take a look at this:
this value is inside the RFC:
this value is the return value after I call this RFC(and no matter what value in my RFC, the return value is the same as this):
this is the table structure(all three field is the same 😞
TMYC_AMTT ypes ZCWDE_AMOUNT CURR 13 2 人民币金额
Is there anyone know this issue ? please help me with this.
Thanks for your sincerely answer!
Zhang
The problem had been solved, this is because the length of all field of the table is different from the RFC return table, after adjust the field,it can return the amount right.
Thanks all for the help!
,The problem had been solved, it is because the length of all field in the table I type is different from the RFC return table, so it occur this issue, after you adjust the field, it can return the value right.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This is a well-known issue. The data types of parameters are local to the 2 systems (different releases, etc.) so they may mismatch. One workaround for instance here (to get the remote data type dynamically at runtime) : https://blogs.sap.com/2011/11/06/dynamically-handling-structure-data-types-defined-on-a-remote-dicti...
Please mark your answer as the right answer.
I was wondering, if in addition to the above, if you can copy paste the program code here, then we can be able to check for the errors. Also, I was thinking what would have happened if you delete the existing RFC & try recreate & then you check the matter once again.
Thanks,
Kaushik
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.