Defining import paarmeter in a RFC in R/3

The scenario is like this.
The data come in XI from Web service.XML structure is recived and the same is then sent across to an rfc.
This rfc should get trigerred, do some calculations and respond back with the same XML structure in its  export paarmeters.
My question is what should the import parameter in RFc look like when i recive the data from XI.
This data will be consisting of several records with the same kind of data.
Please let em know if any of you ahve any answer to this.

Hi,
Use the Tables and not import parameter as the records are repeating.
1. Create an transparent table with the fields name and id.
2. In the table parameter using define this table parameter as
Parameter Name  Typing    Associated Type
<table name>      - like    -  <transparent table>
if the same fields needs to be returned for each record then use the same in Changing parameter if RFC instead of Tables.
Thanks
SaNv....

Similar Messages

  • Can we import a Structure in RFC's.

    Hi All
    Can we import a Structure in RFC's.
    If yes then how can we do????
    Urgent.

    Hi,
    You can do that. Give your parameter name of structure type in the 'Tables' tab.
    Regards,
    Renjith Michael.

  • Importing an object in RFC

    Hello experts,
    I was asked to do a RFC, but i was told that what the RFC will recieve is an object... I have done everything else, it works when i call it locally from a report... but when i change the function to be remote, i get this error:
    You can only use LIKE and TYPE to specify types in RFC.
    is there a way of importing an object to a RFC? maybe with a reference variable?
    or they have to change the program that calls the RFC to send some other structure, like a table?
    i hope i made it clear
    thanks in advance

    I tried as you told me, selecting the "pass value" option, but it still didnt work... i checked the error further, and i got this:
    Diagnosis
    At the moment RFC only allows parameter types defined with LIKE and TYPE. Other type categories such as TYPE REF TO are not supported for RFC-compatible function modules.
    So... i guess it is not possible to do that yet... what should i do?
    maybe i can import the values of the object separately, and assign them to the object on the FM...

  • Rfc--- jdbc, how to define data types for the rfc's

    i downloaded the rfc.xsd in to local hard drive. while i am defining the data type i am getting an error. do i have to change any thing the rfc.sxd file please help me
    thanks

    Hi there,
    How did you load the RFC metadata from the SAP system? I assume you are using the standard procedure via your Software component in the (Design)integration builder-Repository your namespace- > imported Objects -> RFC/IDOCS.
    From there after you have entered the necessary details for the SAP system where the RFC exists; you can select from a list the BAPI/RFC you need in your interface.
    Cheers,
    Roberto
    PS: Look at the below link for more information how to do that:
    http://help.sap.com/saphelp_nw04/helpdata/en/d3/35da4105aa3f5de10000000a1550b0/frameset.htm
    Message was edited by: Roberto Viana
    Message was edited by: Roberto Viana

  • Define fault message type for RFC

    Hi,
    How can I define the fault message type for RFC so that when I import RFC from another server to XI, I can view this Fault type.
    So far I could only see Request and Response type .
    Thanks

    Hi Rokie,
    Acc. to me by default we are having only request and response mesages for RFC and in case some exception/fault is there the RFC will through this in the response under the Return parameter having msg,id number as sub fields which you can map to fault message type.
    Sachin

  • Define Import format for location which is connected to database in FDMEE

    Hi,
    I have created new location in FDMEE and created BefImport script to load data from orcle to Open Interface table.
    Now, I need to import data from open interface table to FDMEE. Can any one let me know what would be the source system for it as it cannot be file and how to define mappings for the same (Are we going to define mappings the same way as we do for delimited file).
    Quick suggestions on this are highly appreciated...
    Thanks in advance

    You need to use the Open Interface Adpater to load data from the Open Interface table into FDMEE where it can be mapped as appropriate. Check out Appendix E in the FDMEE Admin guide for details on how to do this
    https://docs.oracle.com/cd/E40248_01/epm.1112/erpi_admin_11123520.pdf

  • How to pass value in Table import parameter of an RFC

    Hi all,
    I have an RFC in which import parameters are in the form of a table
    so now when i imported that RFC in my webdynpro application and Apply Service Template to it, it created the structure but when i applied form template to it all the inputfields were readonly
    and also when i tried to set the input parameter of that table like:
    wdContext.currentBAPI_CREATEElement.set<field>("value");
    it shows null pointer exception
    MY Context structure created after service template is as follows:
    Model Node Zcreate_rfc, it icludes another model node
    BAPI_CREATE, and it then includes the input parameters
    Please tell me how to solve the problem

    Suppose the RFC is called ZRFC, and the table structure is called TableStruct, then this works for me (in execute method before calling execute):
    ZRFCInput input = wdContext.currentZRFCElement().modelObject();
    // these are regular import parameters
    input.setAaa(aaa);
    input.setBbb(bbb);
    if (input.getTableStruct()!=null) {
          input.getTableStruct().clear();
    // In this loop table rows are added
    for (int i=0; i<sourcList.size(); i++) {
         ZTableStruct table = new ZTableStruct();
         table.setDdd(((SomeBean) sourcList.get(i)).getDdd()); // for property ddd
         input.addTableStruct(table);
    Good luck, Roelof
    Edited by: R. Knibbe on Jan 23, 2008 3:25 PM

  • The import parameter of a RFC FM is not long enough

    Hii
    I have a standard FM and one of the import parameter field is not long enough for. 
    Instead of copying the RFC FM please advise how can i change the FIELD TYPE?
    What is the most appropriate solution

    If it is a standard FM, it will have it's import parameters type with reference to Data Dictionary. So, if this parameter is not long enough for YOU (or better said, for the value you want to assign to it), there is nothing you can do about it.
    For example when creating a business partner, with a Last name of more than 40 characters, you will not be able to store this name in SAP anyway, since in SAP the last name is typed as CHAR40.

  • Error after import external webservice(RFC) wsdl url to Process Composer

    Hi all,
    I try to use RFC webservice in my BPM as below:
    1. Expose RFC as webservice using CAF (import external service RFC and then create application service use this external service)
    2. Define Destination in NWA.
    3. Create a Process Composer project, and import the external webservice(RFC) wsdl file as service interface in the project.
    After importing, i get error : the port type specified for the ...binding is undefined. Check port type name and ensure it is defined.
    If i import another external service, not RFC (such as business object), there is no error.
    My system is NWCE 7.11
    Thanks in advance,
    Sinh.
    Edited by: Sinh Nguyen Van on Jul 20, 2009 8:29 AM

    Hi Bharath,
    Below is content of wsdl url and error message, thanks
    Error message:
    The 'zfm_rfc_caf_as' port type specified for the 'zfm_rfc_caf_asBinding' binding is undefined. Check the 'zfm_rfc_caf_as' port type name and ensure it is defined.
    wsdl url :
    - <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as" xmlns:b0="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as">
      <import namespace="http://www.sap.com/caf/demo.sap.com/s00_caf_rfc/modeled/zfm_rfc_caf_as" location="http://sinhnv-lap:50000/zfm_rfc_caf_as/zfm_rfc_caf_asBeanImpl?wsdl=binding&mode=ws_policy" />
    - <service name="zfm_rfc_caf_as">
    - <port name="zfm_rfc_caf_asBindingPort" binding="b0:zfm_rfc_caf_asBinding">
      <address xmlns="http://schemas.xmlsoap.org/wsdl/soap/" location="http://sinhnv-lap:50000/zfm_rfc_caf_as/zfm_rfc_caf_asBeanImpl" />
      </port>
      </service>
      </definitions>
    Edited by: Sinh Nguyen Van on Jul 22, 2009 4:18 AM

  • Where to define remote function module name in RFC adapter

    R/2(IDOC) <->XI <-> R/3 (RFC)
    I can only define remote server information in RFC receiver adpater, but where to define the function module on remote server&#65311;

    Hi,
    the communication channel need the request in an specific xml format.
    Part of this format is the function modul name.
    when you use an imported rfc module you have automaticly the right xml format which the communication channel understand.
    the Communication channel need as root tag the function module name
    like:
    <ns0:Z_MY_FUNCTION xmlns:ns0="urn.sap-com:document:sap:rfc:functions">
    so it is with xslt mappings (for example) as well possible to call a rfc modules without importing it into your repository.
    regards,
    Robin

  • Table type in import parameter in rfc function module

    Hi we don't have the table type in our system which exist in the other system which is the import parameter of the rfc function module.so how can we pass the parameter. shell we create the same table type in our system also.it is a table type for a deep structure.

    Hello,
    I donot have access to CRM box I cannot view the FM. You can verify with the CRM counterpart what exactly is the TYPE for param DATA.
    Else you can define a generic internal table (TYPE TABLE) & try calling the FM.
    BR,
    Suhas

  • RFC Import from own SAP XI results in java.lang.NullPointerException

    Hi All,
    I'm trying to do an import of a local RFC (developed in SAP XI) but this results in a java.lang.NullPointerException
    RFC import from other SAP system is no problem.
    Anyone an idea?
    Cheers,
    Frank

    Hi,
    But we are using custom RFCs from SAP XI only. We are using XI3.0 SP11.
    Could you pls check the following sap notes..
    SAP Notes 677732, 672745, 212011, and 718320.
    Have a look at the following link...
    http://help.sap.com/saphelp_nw04/helpdata/en/2b/a48f3c685bc358e10000000a11405a/frameset.htm
    Thanks,
    Sasi

  • How to Import the RFC (Custom RFC  made ) which is available in SAP systems

    I have to use a custom RFC which is made by an abap developer in my XI scenario. I dont see any "Imported objects" tab  under my scenario in IR . I can only see  "Imported objects"  under SAP basis 6.40 . When i right click the link "Import of SAP object " is disabled .
    Am i looking at the right place . can any one help me on this

    Hi Amit,
    Just follow this sequence :
    integration repository --> software component double click  --> select radio button which says “import of RFC and IDOC interfaces from SAP systems Permitted”. --> provide the connection data for import from SAP System --> then under imported objects, you have RFC --> right click and say import of sap objects --> then give your server details and import the RFC you want.
    I hope this makes things clear to you.
    Regards,
    abhy

  • RFC/IDOC Import error

    Hi
    when i try to import idoc or rfc iget this kind of error
    **Ready for import**
    Import started...
    BAPI_COMPANYCODE_GETDETAIL:
    + com.sap.aii.ibrep.sbeans.upload.RemoteUploadException: The function module "DD_DOMA_GET" not released for 'remote' calls.
    Import failed with 1 error
    as i'm using ides version i dont have the access to change the DD_DOMA_GET as remote enabled.
    any one please suggest me .
    total points will be rewarded.
    Request for no links
    Thanks,
    Mohan

    HI,
       Let us take an example.
    assume that you have WEBSERVICE - XI - RFC scenario.
    You have to call the RFC/BAPI in system A.
    YOu are trying to import the BAPI structure in XI IR.
    YOu get an error importing.
    Now, you can try to import the same BAPI/RFC from System B(If the BAPI is avaialable in it) even though your scenario doesn't involve System B.
    Regards,
    Ravi

  • IDOC,RFC import

    what is the procedure or steps involved to import idoc,rfc from SAP R/3 to XI.
    Thanks
    Sud
    Message was edited by:
            sud

    Hi Sud,
    You are right about the imported objects options available in IR.  But for you to import any IDOC or RFC, the first thing that you need to make sure is that your Software Component Version has the rights to import IDOC from different servers. So you need to first enable the option and then you can import by going to import IDOC's and RFC's.
    First you should make sure where ur idocs and rfcs are available and their logon credentials..once you give them all the idocs and rfcs will be displayed...just select the once you require and click on import...you need to save and activate them for them to come into action
    Cheers
    Kartik

Maybe you are looking for

  • HVX-200 and P2 rant

    It's really becoming a pain for me to work with Premiere and After Effects CS4 so I gotta vent a little. I'm doing Post FX and Color Correction in After Effects. I edited the movie in Premiere CS4 (started a bit in CS3 but movied over). Ok I shoot 24

  • Satellite P70-A - installation of Win 8.1 Pro

    We have acquired satellite p70 laptop with preinstalled windows 8.1. On the other hand we have purchased a license for Windows 8.1 Pro We install from the original DVD deleted the old partitions, but when the installation or just ask us license numbe

  • A question about PreparedStatement and ORA-03115 error

    Dear all, I have an issue with JDBC and I would appreciate if you could kindly give me a hand. I'm using: - Oracle Database 11g Enterprise (Release 11.1.0.6.0) - JDBC thin driver version: ( 11.1.0.7.0-Production) - JDK 1.6 - Operating system: Linux (

  • HT1414 is there another way i can fix this problem without having to restore my phone?

    my wifi settings is faded out so i cannot turn the wifi on. i followed the steps that this website said to do so it could get fixed but it didn't work.  then thet said i would have to restore my phone and i can't do that. is there another way i can f

  • MacBook Pro email issues why are they always offline??

    this computer only a year old and frequently my Gmail and Yahoo accounts are always Offline Why???