PARAMETER_CONVERSION_ERROR in case of RFC

Hi,
I am calling rfc function module FM1 with tables parameter where i have two tables, in the interface i have added two tables by referring structures.
FM1 interface
table1 like struct1 ( structure with enahncement category can be enhanced character or numeric )
table2 like struct2  ( structure with enahncement category can be enhanced character or numeric )
while calling function module in other system i have created same sort of structures and in my program i have two internal tables referring these strucutes.
data:
it1 type table of struct1,
it2 type table of struct2.
now i am calling rfc
call FM1 rfc destination lv_rfc
tables
table1 = it1
table2 = it2.
now if i see the trace following error occured:
an error occured while receiving complex parameters
why is this error coming?? is the data type of FM tables parameters are different than that of what i am sending???
i don't think so.. please suggest...

Hi,
Maybe this link will help.
RFC function TABLES parameter vs. IMPORTING table type parameters
Regards,
Ernesto.

Similar Messages

  • Ack from ERP System in case of RFC

    Hi Experts,
    Good Morning !!!
    while Implementing Soap to RFC Scenario..
    How can we get System ack and Application sys Ack?
    Is there any Manual configurations are required ?
    if there any procedure
    please tell me..
    Thanks in Advance
    Regards,
    Ravi

    Hi,
    If you want to use RFC adapter to receive acknowledgements you should use ccBPM, without this you can achieve this.
    Or
    You can go for ABAP proxy
    So first decide your approach.
    Refer the below link
    RFC - PI - FTP
    Thanks
    Bhargava Krishna

  • Logical system and rfc destination

    hello all,
    what is the difference between logical system and RFC destination?
    thanks for ur help in advance.
    regards,
    vikas

    Hi,
    In any ALE scenario u need one sender and one receiver system.
    Logical systems are just logical representation of these systems but in case of RFC destination u specify technical parameters for those systems like IP address and username and password to connect to that system.
    Thus when u create port i.e.we21 u specify actual RFC destination for the system to which u want to connect and when u create partner profile for that logical system u specify this port so when u want to send data to this logical system i.e receiver system port will be used which in turn has RFC destination which will be used to connect to that system.
    In simple terms logical systems are logical representation of any system and RFC destinations are physical/techinical systems.
    Regards

  • RFC( SAP R/3)  to  XI  to  3rd party Application

    Hi All,
    we have an 3rd party application to which we want to send some data from R/3. We are using XI as the middleware.The process has to be triggered from R/3 side. We are not using Idoc's here. We are planing to use the RFC through which the data transfer has to be done.
    We are creating a BAPI with import, export and tables parameters.Basically the RFC is in SAP R/3 System.We need to send the data in the table to XI.
    In this case how the RFC destination has to be created and how the RFC to be called in the R/3 system to export the Data to XI system.
    Answers are highly appreciated.
    Thanx and Regards,
    Durga.

    Hi,
    <i>>>>In this case how the RFC destination has to be created</i>
    Check this blog by Michal it shows you step by step
    /people/michal.krawczyk2/blog/2005/03/29/configuring-the-sender-rfc-adapter--step-by-step
    <i>>>>how the RFC to be called in the R/3 system to export the Data to XI system.</i>
    Hope you are aware of normal way of calling function
    CALL Function "FM Name"
    Export
    Tables
    in this case the RFC should be called as follows
    CALL Function "FM Name" destination <SM59 Destination>
    Export
    Tables
    The above is for Sync call and if you want to make a Async call that is you are not expecting any reponse from the target then
    CALL Function "FM Name" IN BACKGROUND TASK destination <SM59 Destination>
    Export
    Tables
    Thanks,
    Prakash

  • RFC Destination and Logical System

    Hi Friends,
    Can anybody tell me how the RFC Destination and Logical System are related to each other?

    Hi,
    In any ALE scenario u need one sender and one receiver system.
    Logical systems are just logical representation of these systems but in case of RFC destination u specify technical parameters for those systems like IP address and username and password to connect to that system.
    Thus when u create port i.e.we21 u specify actual RFC destination for the system to which u want to connect and when u create partner profile for that logical system u specify this port so when u want  to send data to this logical system i.e receiver system port will be used which in turn has RFC destination which will be used to connect to that system.
    In simple terms logical systems are logical representation of any system and RFC destinations are physical/techinical systems.
    Thanks.

  • Exception Handling in RFC lookup

    Hi Experts,
    I have a query in RFC Lookup function working with PI 7.1,  file to Idoc scenario.
    I am using Enhance Receiver Determination to find the dynamic recivers.Here we have used a Functional Module which gives an output according to the the input parameter (which comes from input file). thus i have used RFC lookup to the remote system to fetch this info from FM.
    Problem -
    When the remote system is down or if the RFC lookup attemped & exceptions raised for some reason (RFC user authority has been changed & it was not able to perform the intended Job at remote system) , the message stuck in queue and block the several other messages from another interfaces which belongs to teh same queue.
    Queries-
    This is not allowed in production as it affects other services.
    1>how can we handle the RFC lookup exception (in case of remote system is down or if the RFC lookup exception)
    2>how can we perform Local lookup at PI box rather then remote lookup (the FM fetches the data from remote system)
    3>Is Value mapping is relevant in this case raher the RFC lookup ? I am not sure as the values are dynamic & selected as per the FM's output.
    Please provide your valuable insight .
    Thanks in advance !
    -Jyoti

    Hi Jyoti,
    Answer for your 3 question.
    1. RFC lookup will get execute on R/3 so if R/3 is down there no way that your RFC lookup will work as expected.
    2. So if R/3 is down or RFC not able to get receiver system due to some problem.. then in that case.
              On your Receiver determination at bottom
              Configure  u201Cif no receiver found proceed as followingu201D
               In this you can have 3 option.
                        a. Error message u2013 if you select this the transaction will end with error message in SXMB_MONI
                        b. Ignore: if you select this execution will get ignored and there will not be any entry in SXMB_MONI
                        c. Select the following receiver. You can select this and can configured default receiver system in case if RFC not able to determine receiver then interface will get route to receiver system configured here.
    3. As you mentioned values are dynamic  then Value mapping doesnu2019t make any sense here. RFCl ookup is the right option and above are few other option in case you RFC lookup flailed.
    Thanks,
    Bhupesh

  • How to display RFC-Logon-Screen for non trusted connection in Web-Dynpro?

    Dear Web-Dynpro-Specialists,
    i got a issue while creation of an WebDynpro-Tool, which is using RFC connections for reading data.
    In some cases the RFC connection is not a trusted one connection, so a login is nessessary, but in
    this cases not a window is coming up for login....
    Any idea how i can get this window for login, in order to collect the nessessary Data for my tool?
    Additional Information concerning the RFC connection:
    While running my Web-Dynpro i run this Method:
    METHOD get_table_entries.
    CLEAR rt_entries[].
    CALL FUNCTION 'RFC_GET_TABLE_ENTRIES'
    DESTINATION iv_destination
    EXPORTING
    gen_key = iv_table_key
    table_name = iv_table_name
    TABLES
    entries = rt_entries
    EXCEPTIONS
    internal_error = 1
    table_empty = 2
    table_not_found = 3
    OTHERS = 4.
    CASE sy-subrc.
    WHEN 1.
    RAISE internal_error.
    WHEN 2.
    RAISE table_empty.
    WHEN 3.
    RAISE table_not_found.
    WHEN 4.
    RAISE unknown_error.
    ENDCASE.
    ENDMETHOD.
    Thanks a lot in advance
    Best regards
    Carsten Klatt

    Hi!
    You can use the function module RFC_MODIFY_R3_DESTINATION to create, modify and delete RFC connections. You will need the system ID (e.g. ABC), client (e.g. 123), system number (e.g. 00) and the host name of the server. In this example the following code would create or modify the RFC destination ZRFC_DESTINATION.
        CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION'
          EXPORTING
            destination                = 'ZRFC_DESTINATION'
            action                     = 'M'
            systemid                   = 'ABC'
            systemnr                   = '00'
            server                     = 'serverhostname'
            language                   = sy-langu
            client                     = '123'
            user                       = 'USERNAME'
            password                   = 'PASSWORD'
            description                = 'Dummy RFC Connection'
          EXCEPTIONS
            authority_not_available    = 1
            destination_already_exist  = 2
            destination_not_exist      = 3
            destination_enqueue_reject = 4
            information_failure        = 5
            trfc_entry_invalid         = 6
            internal_failure           = 7
            snc_information_failure    = 8
            snc_internal_failure       = 9
            destination_is_locked      = 10
            OTHERS                     = 11.
    With the following code you can delete this connection:
        CALL FUNCTION 'RFC_MODIFY_R3_DESTINATION'
          EXPORTING
            destination                = 'ZRFC_DESTINATION'
            action                     = 'D'
          EXCEPTIONS
            authority_not_available    = 1
            destination_already_exist  = 2
            destination_not_exist      = 3
            destination_enqueue_reject = 4
            information_failure        = 5
            trfc_entry_invalid         = 6
            internal_failure           = 7
            snc_information_failure    = 8
            snc_internal_failure       = 9
            destination_is_locked      = 10
            OTHERS                     = 11.
    Please keep in mind that deleting an RFC connection is usually noted in the system log.
    If you want to reuse your connection for multiple servers, you could run into trouble since connection data is cached.
    Sincerely,
    Stefan

  • RFC Timeout

    Hi,
    I have a scenario HTTP> XI> RFC
    It is synchronos scenario.
    There can be HTTP timeout or RFC timeout.
    HTTP Timeout will return HTTP Error 500.
    In case of RFC timeout in XI I want to send timeout error in Response.
    Is this possible without BPM (I know I can catch system exception in block )
    Thanks in advance.
    Beena.

    Hi Aamir,
    I dont want to send alert but my JSP page should receive xml Response with \
    <Error>Timeout<Error>
    Thanks,
    Beena

  • Exception class: RFC not found

    Hi,
    Do you know whether there is an exception class in web dynpro java that i can catch in case the RFC is not found in the backend system?
    Thanks and regards,
    Nada

    Thank you!
    Are the mentioned exceptions general exceptions if something is going wrong with the execute() method or they are specific for the problem 'RFC not found in the backend).
    So I need this specfic information that the RFC is not found in the backend.

  • Sender RFC adapter Error- request was null while trying to extract it.

    Hi All,
    I  have a scenario running in Production(PI 7.0 system) where SAP ECC sends RFC request through sender RFC adapter. The scenario was working fine but now I am getting the below error in default trace and I couldn't see any error in communication channel monitoring.
    java.lang.Exception: RfcServer[BAS_ECC_RFC_Snd]1[AFSenderD] request was <null> while trying to extract it.
    I have gone through the below thread and performed a full cache refresh but it didn't help :  
    [NULL]
    I have gone through SAP note:730870 and I couldn't get any help on this error. Can you please suggest your ideas to solve this issue.
    Thanks & Regards,
    Laawanya

    Hi Lawanya,
    Check you RFC and input data , whether the RFC call is able to get the data from ECC or not.
    you can test the same RFC in ECC with input data and you can check whether the RFC in ECC is return the value or not.
    I gues in your case the RFC in ECC is not return any data  to PI.

  • RFC sender adapter

    hi can i can what we need tp specify under program id: in case of RFC adapter on sender side
    what does it specifies?

    Hi,
    it specifies a TCP connection, a registered Server Program.
    When an external application wants to register itself with the SAP Applicationn server gateway it uses A Program ID.
    go to transaction SAPGW, and you would find varoius such connections.
    If you set the same name as in the abap backend for the Program id in the XI Sender adapter,
    In SAPGW you would see the Xi server as registed to the gateway.
    Reward points of useful
    Regards
    Abhishek
    Edited by: Abhishek Vinayaka on Mar 14, 2008 11:00 AM

  • Alert Management for RFC Communication Channel

    Hi All,
    I want to send notification to user using Alert Management in case of System Error in RFC Adapter.
    I tried with defining rule in RWB with * . But still I am not able to find notification in Inbox or Mail Inbox.
    Thanks.

    Infact it is working fine for JDBC CC.
    But in case of RFC Receiver CC it is niether apperas in Alert Inbox nor in Mail Inbox.
    Then there needs no more setting to be done. Are you sure that an error has been reported by the RFC channel (red symbol) and there is no restriction in Alert Configuration....like the interface name/ adapter type etc.
    Uncheck the option Suppress Multiple Alerts of this Rule option

  • Problems in connecting the RFC adapter

    Hi all,
    we are using XI 3.0  which has been installed very recently. I am trying to configure the RFC adapter but i am getting an error "program <progname> not registered".
    I have set up a TCPIP connection on the ECC system with the parameters :
    gateway host: hostname of ECC system
    gateway service : sapgwXX where XX is system number of ECC system
    activation type : Registered server program ZXXXXX
    On the XI system, I am creating a communication channel of type RFC sender with the Integration server as the adapter engine
    RFC server parameters:
    Application Server : hostname of ECC system
    application Service: sapgwXX where XX is system number of ECC system
    program ID : ZXXXXX (case-sensitive)
    RFC metadata parameters:
    application server :  hostname of ECC system
    system number :  system number of ECC system
    Logon Details of the ECC system
    I am confused about which details to give where, but i have followed Michal's blog .
    I am still getting an error . Could you please help in sorting out this matter?
    Thanks,
    Amit

    Hi
    RFC metadata parameter login should be U R ECC system login s and correct.
    What is u r error.
    Steps shown in the blog is all fine it works , no other configuration needed.
    I guess u r testing the TCP RFC connection , u configure u r Sender RFC use the Register Program id same what u have used in the RFC (case sensitive) and run the scenario
    it will work.
    Regards
    Srini

  • RFC lookup to PI system or other ERP system.Which is better?

    Hello experts,
    I have a scenario[RFC>PI(RFCLOOKUP,SOAP LOOKUP)->SOAP] where I have to  fetch or update  the data in the table using RFC lookup in the mapping.
    To store or update  the data ,I have created a table in PI system and through RFC LOOKUP I am fetching the data in the message mapping.
                                                                                    Some PI developers prefers not to create this elements in the PI system  and suggested a way to create them in the ERP. 
    I wanted to crosscheck with you all  whether Lookup to PI system is better or to ERP system in terms of  performance, security and std maintenance.
    -Conceptually, they see PI as a communication tool, not the best option for storing data, which is an ERP function.                                                                               
    some prefer  ERP option  to Simplify the upgrade / system patching processes. As No Z-Objects makes the checking process much easier and there is no need to adapt those objects to the new release environment.     
    I appreciate your valuable suggestions.

    Hello Souvik,
    Thank you so much for your reply.
    But in my case the RFC lookup will be executed twice because the authorization data(token ans sign values which is stored in PI) is valid for 12 hours.
    if I find that these data is expired ,I have to do a soap lookup to get these details from a webservice and also have to update the same in the PI table using RFC lookup.All these activities are done in message mapping.
    so first RFC LOOKUP is used  to fetch the data and if expired,I get these details from a webservice and update(executing second time RFC LOOKUP) in PI table ,so that next time when request comes ,I will fetch these details from PI table instead from webservice to send message  to the receiver.
    same functionality is required for 4-5 scenarios,all acessing the same PI table.
    So Kindly advice considering these situation,will the performance,security,maintenance  be good when doing RFC lookup to other ERP instead of doing RFC lookup to PI system .
    Kind Regards,
    Kubra.

  • HTTP to RFC scenario with URL parameters

    Hi All,
    I am working on HTTP to RFC scenario using an interface in SAP PI.
    The data will be pushed from API link via 4 URL parameters viz. UID, mobno, phone1, phone2.
    My query is what will be the UDF code for the same.
    Also how to design & configure the same scenario in SAP PI, since I'm working on this scenario for the first time.
    on SAP end, what will be more comfortable to have RFC or Proxy?
    Thanks & Regards,
    Amit S Patil

    Hi All,
    In case of RFC to HTTP scenario wherein we have to pass URL parameters as the request instead of XML/xsd(at the receiver end), there is no need of .xsd file to be imported in SAP PI as target end in request message mapping.
    Similarly in reverse case(HTTP to RFC scenario), if some data will be pushed from external system through URL parameters instead of XML/xsd(at the sender end), how the design & configuration is done in SAP PI?
    Is this reverse scenario possible without any XML/xsd scema at the sender end?
    Please suggest me at the earliest?
    Thanks & Regards,
    Amit S Patil

Maybe you are looking for