Creation of  RFC

Hi Guys,
Please help me  presently working on creation  of  RFC, front end using EP.  Using this RFC update the 4 databse tables.
Export Parameters of RFC give one of the databse table fields.
in TABLE  type  database table.
what ever i am declaring  table statement is correct or not.
any one know's about this type of senario please help me.
Thanks and Regards,
Bhavani.

Hi,
Actual senario is : Table  A contain student addres and eduction details.
Table B:  contain  qualification details.
in Export parameters declared  A table contain Address fields.
In Table : it_output like  A table.
how to get the total fields information  contain export parameters  into it_ouput table.
later i want to insert those fields into databe table A.
Please friends help me with code.
Thanks and Regards,
sai.

Similar Messages

  • PI 7.11 - Alert creation for RFC Exceptions does not work

    Hi folks!
    In our PI 7.11 SP04 system we have created an Alert Category as well as an Alert Rule to be informed about errorneous messages in the Integration Engine (ABAP).
    The scenario is synchronous SOAP Axis to sRFC, where the RFC answers with an exception that is transferred to a SOAP Fault response message.
    Now we see messages with Application Errors in the Integration Engine, but no alert is created. Having a look at the alert creation log using report SXMSALERT_LOGREADER shows us that the system even does not try to create an alert for these messages.  Alerts are only created for errors in the Adapter Engine.
    Question:
    Why does the system not create alerts in this case and how can we achieve this?
    Thanx for any hint!
    Kind Regards,
    Volker

    Hi!
    Additional information for all:
    When forcing an error like "receiver not found" both kinds of alerts are created: AE Alert and IE Alert. Thus in general the alert configuration and the alert rule for IE errors are correct and working - only not for RFC exceptions ....
    Regards,
    Volker

  • Creation of RFC function module

    Hi experts,
            My requirement is, an XML file is coming from non sap to middleware in XML format. Middleware converts it into sap format and  it will access the RFC, i.e., BAPI, which will be created by me and updates the same in CRM.
           There is one mapping sheet given, ie., from source format to destination format.Now the point is,  for creation of BAPI, what should be taken as parameters, ie import, export   etc., Can I take the destination fields as importing and table parameters? Please suggest  
    Rgds,
    Gsaasg.

    Hi,
    If I understand your requirement correctly, you want how the mapping file will be used to decide the import and export parameters of your BAPI.
    Though we should have a look at the mapping sheet, but it is more useful to the middleware person. The middleware person will use them to create a mapping on their side. Once teh data from legacy will be received by them, those data will be mapped to respective SAP format. This format will be shared to them by you.
    Let them know of your import parameter details, and what data you expect in each field. This will help them map the data correctly.
    We should create the standard ABAP structure as per the data coming in XML, and should be used as the import parameter.
    For ex:
    if the XML file is:
    <ContactInfo>
           <address>
               <city>XYZ</city>
               <postcode>ABCDEF</postcode>
            </address>
             <Number>
                   <type>Mobile</type>
                   <No>0123456789</No>
              </Number>
    </ContactInfo>
    then we have to create a structure as ZCONTACTINFO, with two components ADDRESS and NUMBER.
    ADDRESS will be of structure ZADDRESS with two components CITY and POSTALCODE.
    NUMBER should be of a table type with line type containing TYPE and NO. (as Number node can contain multiple entries..one for mobile, one for home, one for office)
    And this CONTACTINFO will be the IMPORT parameter in your RFC FM.
    In your case, no export parameter is to be maintained. Only thing is that we should understand the XML well.
    Hope this clarifies your case.
    Regards,
    Susanta

  • Creation of RFC destination for SAP-Access Connectivity

    Hi,
           I want to create a RFC destination for SAP-Access connectivity.
    Can I get some help regarding it's connection type,activation type and gateway options required for the same.
    Regrads,
    Anthony D'souza

    Hi
    Please see the following:
    1. Create an entry in Trxn DBCA for SQL Server in SAP, you are creating a database connection for the SQL server in SAP.
    2. You use this connection, and write Native SQL stmnts...between EXECSQL...ENDEXEC to fetch the data..and then normal ABAP statements to put that data into your ztable.
    TABLE DBCON Entry can be like this...depends on your External database..
    CON_NAME          Raj                      Logical name for connection
    DBMS                   MSS                   Microsoft SQL Server
    USER_NAME        <User name>       For SQL Server
    PASSWORD         <password>         " "
    CON_ENV             MSSQL_SERVER=<server> MSSQL_DBNAME=<database name>
    DB_RECO                 Availability type for an open database connect
    FUNCTION z_houston_connect.
    ""Local interface:
    EXEC SQL.
    CONNECT TO 'RAJ' AS 'V'
    ENDEXEC.
    EXEC SQL.
    SET CONNECTION 'V'
    ENDEXEC.
    *- Get the data from MS-SQL Server
    EXEC SQL.
    open C1 for
    select
    l.loc_id,
    l.loc_name,
    a.acc_id,
    a.acc_name,
    d.person
    from ho_loc_mast as l
    inner join snd_acc_mast as a on l.loc_id = a.loc_id
    inner join snd_acc_addr as d on a.loc_id = d.loc_id and
    a.acc_id = d.acc_id
    where l.loc_id = '001'
    ENDEXEC.
    DO.
    EXEC SQL.
    FETCH NEXT C1 into :wa-c_locid, :wa-c_locname, :wa-c_acc_id, :wa-c_acc_name, :wa-c_person
    ENDEXEC.
    IF sy-subrc = 0.
    PERFORM loop_output.
    ELSE.
    EXIT.
    ENDIF.
    ENDDO.
    EXEC SQL.
    CLOSE C1
    ENDEXEC.
    ENDFUNCTION.
    Regards,
    Raj

  • Creation of RFC Destination for Syncronouse RFC adapter.

    Hi,
       Can any one please give me step by step process to create RFC destination in XI and SAP-R3. plz help me out
    thanks,
    dhanush.

    No one is going to help you if you keep posting same question multiple times.
    You need to priovide more details on what you are doing ? There are many reasons why you create a RFC destination in XI and R3. There are multiple types of RFC destinations. What is the end to end scenario you want to implement. It all depends on this. Try to provide more details.
    Regards
    Bhavesh

  • Creation of RFC Destination problem

    Hi Experts,
    I need to establish an RFC communication between TREX7.0 server running on windows 2003 server and the SAPR/3 4.7 EE server running on windows2000.
    server. Initially i used TREXAdminTool to create RFC Destination, i was unable to create successfully
    Then i used SAPR/3 server from  TCODE: SM59, here also am facing the same problem, what are the values i have to give  for
    1. RFC Destination, 2. Program id 3. Gateway Host and Gateway Service.
    PLZ  guide me step by step procedure with some example values to create RFC Destination to TREX Server successfully using TREXAdminTool or from SAPR/3 server---SM59
    ADV Thanks
    Regds
    phanikumar

    Hi,
    Till now i didn't install explicitly any SAP Gateway on TREX server.
    I installed TREX server along with SAP Netweaver WEB AS java.
    Shall i need to install any SAP Gateway to configure RFC Destination?
    If so can you give me the procedure how to install explicitly SAP gateway?
    Regds
    Phanikumar

  • Creation of RFC (YMCR) from Incident (ZMIN) fails

    Dear experts,
    I created an action to automatically create an RFC (YMCR) from an Incident (ZMIN). In the action i assigned the method SOCM_COPY_DOCUMENT in it. Did the copy control to. Now i am getting the error  "Details An action was terminated due to an exceptional situation" if i process the action.
    But when i create the YMCR transaction through the 'Follow up' button i am getting no errors and transaction YMCR is created.
    Has someone came accros this error before? I would really appriciate some advice on this one.
    Thanks in advance.
    Regards,
    Ricky

    Hello,
    Are you letting the wizard create the RFC's for you?
    On the Client tab in SMSY?
    Also you assigned S_RFCACL  what about S_RFC?
    I would ask you to check the logon tab and make sure Current user is not checked.
    Also, please review this Note 128447 - Trusted/trusting systems
    This should help resolve.
    Regards,
    Paul

  • Problem in the creation of rfc function module

    hi,
                I am creating one rfc function module comparing to standard non-rfc function module. In that one i have one export parameter with the standard strcture type. but this stcture component contains with strcture type. among all these components four fields are common. but when i am trying to activate function module it is giving message you cannot use internal tables, strings,references, or strctures as components. that function module name is BAL_FILTER_CREATE and that export parameter name is that export parameter name is E_S_LOG_FILTER that associated type is BAL_S_LFIL. how can i solve the problem. pls give me solution as soon as possible.

    hi,
    for rfc fm's u should enable the call by value check box which will appear on that of import and export parameters. tick that one for each parameter in rfc and activate.
    if helpful reward some points.
    with regards,
    Suresh Aluri.

  • Automation of service ticket  creation using RFC

    Hello Friends,
    Here is our new requirement.
    In general, in HR team , a manager / employee will perform an action that triggers a workflow in ECC. Then they will call an agent in CRM to raise a service ticket for that. Our requirement is to automate this generation of service ticket when the manager/employee performs an action.  But sometimes CRM system will be down. so at that time we need to save the data and create the service ticket when the system becomes active.
    Approach:
    The workflow will have a method(custom enhancement) that updates a custom table in ECC.
    We(CRM) have to develop a RFC function module to read the data from ECC and update it in the custom table of CRM.
    we have to create a program to loop the data from custom table and create a service order/ticket by using a function module.
    As of now the process looked good.
    1. But we don't see any link between the record in the custom table and service ticket generated. we cannot compare the service ticket and from which record it generated?
    2. After using RFC we read the data into CRM custom table. How do we compare both the tables and delete the ECC table as soon as the CRM tables is updated?
    3. when the service ticket failed to generate we should update the field in the custom table (CRM), the number of failures
    Please help me .....Suggest me if there are any other approaches?

    For question 1 look at the attachments in oss note 940882 Frequently Asked Questions about ERMS
    a mailform can be used but is not required.
    For question #2, John Burton wrote an article in CRM expert a few years back that explains this concept well.  The email coming into the agent inbox doesn't create the ticket until processed but his article explains how it can and give and auto repsonse to the sender with the ticket number attached.

  • Sales order creation using rfc

    hi
    can any one tell me how to create sales order using RFC .
    what is the function module we have to use .
    Moderator message: please do some research before asking.
    Edited by: Thomas Zloch on Mar 17, 2011 1:21 PM

    Mist first line was :-)
    The customer numbers must be in table parameter SALES_PARTNERS.
    Try [SALES_PARTNERS-PARTN_ROLE|http://www.sdn.sap.com/irj/scn/advancedsearch?query=sales_partners+partn_role] = 'WE', 'SP' etc.
    Regards,
    Raymond

  • Issue in DBM service order creation through RFC

    hi everyone,
      I am using the RFC '/DBM/ORD_RFC_CREATE' to create the service order. I have executed in test run in SE37. The Serice Order is not getting created. I am getting message in return table that 'ordertype is not in table '/DBM/C_ORDERTP'.
    Thanks in advance!!

    Hi Balaji,
    Check your order type is present in table /DBM/C_ORDERTP or not? if your order type is custom order type that need to be configured by functional peaple. so it will be there in table /DBM/C_ORDERTP.
    Regards,
    Lokesh

  • Vendor creation using RFC

    hi,
    I want to use RFC FM for creating the vendor. So far i have used VENDOR_INSERT, but it doesnt updates ADRC table(I think so) so is there any alternate FM apart from BAPI_VENDOR_CREATE(coz it need data to be filled online).
    Please suggest any FM which satisfies the above need.
    Regards,

    Hi,
    Not sure about a RFC other than BAPI_VENDOR_CREATE..
    can you use batch input program RFBIKR00
    Thanks
    Naren

  • SO Creation through RFC

    Dear all,
        Greetings from my side..
    I'm facing little bit tricky issue, the issue is while creating the SO through Program it is working fine and the same thing if we are using through RFC it is through dump if it is more than 200 line items. it is throwing time out error.
    Here i'm attaching the which FM i'm using ..
    BAPI_SALESDOCU_CREATEFROMDATA1
    Please suggest your valuable suggestions..
    Regards,
    Krishna

    Hi,
    please check profile parameter rdisp/max_wprun_time.
    It is set to value 7200 on our systems (default value is 600), but maybe you need another value.
    You can use report RSPARAM to do that.
    Regards,
    Klaus

  • Regarding RFC creation

    hi all,
    after creation of RFC,we have to release the RFC or not.
    regards,
    subba reddy

    Hi Subbareddy,
    Yes you have to release the RFC after compeltion of creation.
    After creation of RFC first import it into XI system and then test it once.If everything is working fine then you have to create a request for transporting this RFC from Dev system to QUALITY system.After creatiing the transport request then you can release the RFC with that transport request.With out releasing the RFC you can't move from Dev system to Quality system.
    Plz close this post if you got the answer.
    Regards,
    Raju.

  • Getting Error while Creating the RFC Model

    Hi All,
    I am Creating the aRFC model. Now i am getting error in the creation of RFC.
    In Single Server in am giving my R/3 Server IP. my usrname and password.
    what i have to write in the Load Balancing. I am not getting any options in Load Balancing Tab.
    When i press Next, Error is coming:
    Connect to SAP Gateway Failed.
    Error: Partner Not Reached.
    So pls help out......
    Regards,
    Dhruv Shah

    Hi Dhrruv,
    You can check your SAP R/3 username and password with the BASIS person or Security person.
    Once it is confirmed, give the following details:
    Host Name : abcdefg.hij.xyz (ie.give the alias of the server )
    System Number : 00
    Client : (give ur client system number)
    Logon Name : (ur SAP logon Name)
    Password: (ur SAP Password)
    Language : EN
    Leave SAP Router blank.
    Click next. It should work. Try this and let me know what happens.
    If you get error please send me the screen shot of the details u filled in to [email protected]
    Thanks
    Kukku

Maybe you are looking for