on 12-18-2013 12:23 PM
Hello,
I have Gateway variables definition:
DATA lt_imp TYPE zif_z_bapi_bank_getlist=>__bapi1011_list.
DATA ls_imp TYPE LINE OF zif_z_bapi_bank_getlist=>__bapi1011_list.
and I want to call BAPI_BANK_GETLIST (inside createEntity method) and I get such an exception
(Incorrect field length for 'Remote Function Call').
It is because of lt_imp variable:
CALL FUNCTION lv_rfc_name DESTINATION lv_destination
EXPORTING
bank_ctry = bank_ctry
max_rows = '0'
IMPORTING
return = return
TABLES
bank_list = lt_imp
EXCEPTIONS
system_failure = 1000 MESSAGE lv_exc_msg
communication_failure = 1001 MESSAGE lv_exc_msg
OTHERS = 1002.
Do you have any Idea? Without RFC it works well.
Regards
Vladislav Shakhmatov
Hi Vladislav,
As you mentioned without RFC it works fine that means the type that you use in ' lt_imp' is correct in the current system and it matches to the signature of BAPI_BANK_GETLIST .
Can you please check the signature of BAPI_BANK_GETLIST in the remote system (where you are getting the error) if there is any change in the type of BANK_LIST .
Regards,
Atanu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
94 | |
11 | |
10 | |
9 | |
9 | |
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.