R/3 - (RFC) - XI - (File) - Legacy System

Hello there,
  I followed a document to setup SAP XI to/from external systems.
  I did a setup that execute bapi QIRF_SEND_CATALOG_DATA from R/3.  Then, it uses RFC to transfer data to XI, and store as a file @ Legacy system.
  When I executed the BAPI with the RFC destination as created on R3, it failed.
  Besides, when I check the message monitoring at XI Runtime Benchmark, it shows an error as :
     ErrorCode:ICF-NF-http-...  HTTP 403 Forbidden.
  I believe I activated ICF engine service.
  My question is "do I have setup Single Sign-on" for XI or is that optional?
  I followed the instruction call "How to Configure SAP XI to use the standard SAP communication APIs (idoc, bapi, rfc) from external systems".
  Any comment is appreciated.
  Thank you very much.
TBLuong.

Hello all,
  I really appreciate your help.
  However, I followed some instructions and still not able to solve the problem.
  The error now I get is:
  <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
- <!--  Call Adapter
  -->
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
  <SAP:Category>XIServer</SAP:Category>
  <SAP:Code area="INTERNAL">HTTP_RESP_STATUS_CODE_NOT_OK</SAP:Code>
  <SAP:P1>401</SAP:P1>
  <SAP:P2>Unauthorized</SAP:P2>
  <SAP:P3 />
  <SAP:P4 />
  <SAP:AdditionalText>&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot;&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;Error Report&lt;/title&gt; &lt;style&gt; td {font-family : Arial, Tahoma, Helvetica, sans-serif; font-size : 14px;} A:link A:visited A:active &lt;/style&gt; &lt;/head&gt; &lt;body marginwidth=&quot;0&quot; marginheight=&quot;0&quot; leftmargin=&quot;0&quot; topmargin=&quot;0&quot; rightmargin=&quot;0&quot;&gt; &lt;table width=&quot;100%&quot; cellspacing=&quot;0&quot; cellpadding=&quot;0&quot; border=&quot;0&quot; align=&quot;left&quot; height=&quot;75&quot;&gt; &lt;tr bgcolor=&quot;#FFFFFF&quot;&gt; &lt;td align=&quot;left&quot; colspan=&quot;2&quot; height=&quot;48&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;4&quot; color=&quot;#666666&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;401 &amp;nbsp Unauthorized&lt;/b&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr bgcolor=&quot;#3F73A3&quot;&gt; &lt;td height=&quot;23&quot; width=&quot;84&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt; &lt;td height=&quot;23&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt; &lt;td align=&quot;right&quot; height=&quot;23&quot;&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;2&quot; color=&quot;#FFFFFF&quot;&gt;&lt;b&gt;SAP J2EE Engine/6.40&amp;nbsp;&lt;/b&gt;&lt;/font&gt;&lt;/td&gt; &lt;/tr&gt; &lt;tr bgcolor=&quot;#9DCDFD&quot;&gt; &lt;td height=&quot;4&quot; colspan=&quot;3&quot;&gt;&lt;img width=1 height=1 border=0 alt=&quot;&quot;&gt;&lt;/td&gt; &lt;/tr&gt; &lt;/table&gt; &lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt; &lt;p&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;3&quot; color=&quot;#000000&quot;&gt;&lt;b&gt;&amp;nbsp;&amp;nbsp;Internal server error. An error log with ID [00123FE5030C00560000000800000A5000040B5ABE8AB74F] is created. For more information contact your system administrator.&lt;/b&gt;&lt;/font&gt;&lt;/p&gt; &lt;p&gt;&lt;font face=&quot;Arial, Verdana, Helvetica&quot; size=&quot;2&quot; color=&quot;#000000&quot;&gt;&lt;table&gt;&lt;tr&gt;&lt;td valign=&quot;top&quot;&gt;&lt;b&gt;&amp;nbsp;Details:&lt;/b&gt;&lt;/td&gt;&lt;td valign=&quot;top&quot;&gt;&lt;PRE&gt;No details available&lt;/PRE&gt;&lt;/font&gt;&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;&lt;/font&gt;&lt;/p&gt; &lt;/body&gt; &lt;/html&gt;</SAP:AdditionalText>
  <SAP:ApplicationFaultMessage namespace="" />
  <SAP:Stack>HTTP response contains status code 401 with the description Unauthorized XML element Envelope missing in SOAP message header (SAP XI Extension)</SAP:Stack>
  <SAP:Retry>N</SAP:Retry>
  </SAP:Error>
  Again, I follows an scenario to execute an bapi at R3 using RFC to IS, then put as a file at Legacy system.
  On R3, I did some setups:
    - created an RFC type TCP/IP with gateway hostname and id pointing to R3, and a reg Prog ID named CC_RFC2XI.
    - call Trans: SXMB_ADM to setup Intg. Eng. Config with the role as Appl System & Intg Server point to http://<host>:<port>/sap/xi/engine?type=entry
  On the Intg Dir:
    - created comm. channel from R3 as SAP_2_EXT_RFC as sender with the hostname as R3 host and gateways, and also Prog ID named CC_RFC2XI.
    - created comm. channel for Legacy system as SAP_2_EXT_FILE to stored file as .txt file at legacy system.
    - created Reciever Determination with condition as BAPI execution condition
    - created Interface Determination for interbound interface.
    - created Sender Agreement.
    - created Receiver Agreement.
  - I activated /sap/xi/engine from Trans SICF and also insert user login and password.
  I tested the connection for SM59 from R3 and it's ok.  However, after execute the BAPI with the destination RFC as created, I got the error message above.
  Please tell me what else I am supposed to do.
  Again, I really thank you so much for all your time and help.
tbluong.

Similar Messages

  • What is the diff b/w flat file and legacy system?

    Hi everyone,
           when v say v r working on scenario FILE to FILE? which format of file r v usually working on? and what is the diff b/w flat file and legacy system?
    thanx

    Hi,
    <i>when v say v r working on scenario FILE to FILE? which format of file r v usually working on?</i>
    >>>Many a times it will be a Flat file with CSV format,Tab delimited format, fixedlength fields.
    <i>what is the diff b/w flat file and legacy system?</i>
    >>>We can not differeniate like this..
    Flat file may come from any systems, it may be live system or legacy system.
    Legacy system- is something like old, or past one. If you talk about SAP , then older versions of SAP can be  called as a legacy system.
    So it may be a file system, or any system which is old version but it doesnot mean it is not in use,
    Regards,
    Moorthy

  • Reading of File from legacy system into SAP Application Server using SAP XI

    Hi All,
      I have a file in <b>Legacy System with Exchange rates information data</b> i have to read that file using SAP XI process and put that file in SAP Application Server in SAP Specific Format and latter i have to use program RFTBFF00 to upload the file in the Application Server into SAP Tables.
      Can anybody tell me how can i do this with some example of same scenario.
      It would be better if anybody provides code example as i am new to SAP XI.
    Thanks in advance.
    Warm Regards,
    Rayeez.

    Hi Shaik,
    You need the access to the file system of ur legacy application and then you can follow this link for the required ifnormation
    File & Header
    Regards
    Vishnu

  • How to put file from a legacy system to SAP through FTP

    Hi
    I want to put one file which will be comming from legacy system to a folder of application server of the SAP system through xi.The protocol i want to use is FTP.
    But im not sure about the configuration to be done for putting the file directly to SAP app server.
    Anybody having idea what configuration i need to do in the SAP side to put the file into the app server directly through FTP.
    Thanks
    Debraj

    Hi Debraj,
    Try if these links help you solve your problem:
    http://help.sap.com/saphelp_bw31/helpdata/en/4e/2ba038b81e897ce10000009b38f8cf/content.htm
    http://www.sapfans.com/sapfans/saptips.htm#prog
    http://help.sap.com/saphelp_nw04/helpdata/en/a4/db833d4c47ea4ea1a9b7af3c535ff2/content.htm
    Cheers,
    Chandra

  • How to extract data from legacy system to source file

    Hi can anyone tell me the procedute to copy data from legacy system to source files....this data needs to be moved to base tables
    can any one tell me the procedure and any sample code i,e any example
    Thanks & Regards
    Krish

    You should post your thread to ...:
    http://forums.oracle.com/forums/forum.jspa?forumID=183
    providing all necessary info......!!!!
    Greetings...
    Sim

  • MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more...

    Ingo,
    I am getting below error message in BO Test environment when I refresh WebI document.
    MDDataSetBW.GetCellData. See RFC trace file or SAP system log for more details
    It was working when we migrated the objects initially. Subsequently when we try to refresh WebI document we are getting the above error message. It still works in BO Dev environment and the no of records are the same in Dev and Test.
    I am able run the underlying BEx query in SAP BW Test environment and it does return data.
    I checked ST22 and SM21 log, but no details there.
    Is it related to Authorization on the Universe or Bex Query?
    We are in the middle of UAT and not able to move forward. I would greatly appreciate your input.
    Thanks
    Ram

    Ingo,
    I ran the zip file and added the required entries to registry.
    And then I tried to reproduce the error, but the files are not generated instead I noticeed below error message on the server:
    The description for Event ID ( 7939 ) in Source ( Crystal OLAP Client ) cannot be found. The local computer may not have the necessary registry information or message DLL files to display messages from a remote computer. You may be able to use the /AUXSOURCE= flag to retrieve this description; see Help and Support for details. The following information is part of the event: Registry Access Error: , [HKEY_LOCAL_MACHINE]Software\Business Objects\Suite 12.0\MDA\Log\Modules: The system cannot find the file specified..
    Does tha t mean we do not have permissons to read the registry?
    I would greatly appreciate your input.
    Thanks in advance.
    Ram

  • (RFC vs files), where Sender SAP and receiver multiple system

    Publish and Subscribe using  BPM or Without BPM (RFC vs files), where Sender SAP and receivers multiple system,.
    This is my 1st BPM scenario in sandbox system
    For this scenario
    I Created 2 Data types
    2 MT,
    Service interface:
    Request interface Mode:Asynchronous
    Abstract Req interface,Mode:Asynchronous
    Response Interface,Mode:Asynchronous
    Abstract Respomse Interface ,Mode:Aysnchronous
    Synchronous Interface ,Mode:Synchronous
    2 Message mapping for Req and Resp
    1 Operation Mapping
    BPM design: Plz find the attatchement
    Can anyone please help me how many Interface determinations,receiver determinations ,sender agreements,receiver agreements need to create for this.......
    It will be good if anyone send the BPM design flow for this.........
    can we do this scenario without BPM?
    Regards
    A.Muni kumar
    Edited by: Muni 1234 on Jan 31, 2012 10:24 AM

    Hi
    Receiver is FTP only.....
    SAP side is RFC.........
    RFC sender will be initiating the scenario, and there is receiver is File, PI should go to file directory and take the file then send it back to RFC as response.
    Sender: RFC
    Receiver: File
    1. is this scenario with condition based routing.. so that each time outof many receiver systems it will trigger any specific system.
    if above is the case then you can achive this without BPM also..
    Yes...its condition based routing...
    I Used async in this scenario.....sender side configurations also done....
    But when when I am triggering BAPI from SE37 I am getting an error
    Exception SYSTEM_FAILURE
    Message ID: 00 Message number: 341
    Message:
    Runtime error CALL_FUNCTION_NOT_FOUND has occurred
    How to Solve this????
    I checked the RFC destination which i created in TCP/IP..a nd i mentioned the same in se37 RFC target system..
    Connection is Ok
    Or we need to create proxy for MI and report for this?
    Edited by: Muni 1234 on Feb 1, 2012 8:38 AM

  • GRC 10 - Job Sync Legacy System large files

    When I run the job GRAC_REPOSITORY_OBJECT_SYNC sync with the files from the legacy system, the file "USER_PERMISSION.txt" is about the size of 231 MB, and this happening to this job sincornismo canceled, the error "TSV_TNEW_PAGE_ALLOC_FAILED", the basis verified the memory allocated.
    We check the SAP note "1593704 - legacy file upload issue for large files" is already applied in SP05.
    Server: SAP GRC AC v10:
    [Config My System|http://www.2shared.com/file/rhXVfRcX/My_system.html]
    Could you help me with some information to have solved the problem.
    grateful
    Inacio

    Hello Inacio,
    I know that this is a very old post, but have you managed to solve this issue?
    I've found this note, that is included in SP10
    Note 1741277 - Repository Role sync ends with TSV_TNEW_PAGE_ALLOC_FAILED
    Have you changed memory parameters in order to solve it?
    Thanks!
    Diego.

  • RFC for legacy system consult

    Hi
    Long time ago I've made RFC's for web consulting in a customer ( works Ok),  but actuall client I need to know/check/activate what we must have for RFC from Legacy system to SAP.
    We have SAP ERP Central Component 5.0, SAP_BASIS 640 and SAP_ABA 640 ( I apologize if not right forum ).
    Thanks in advance

    Ok, I was able to change the RFC destination for the EFWK using expert mode at the ccdb administration screen.
    Thanks,

  • How to extract non-sap data (A/R Invoices from Legacy system) into SAP ICR

    Hi
    We are trying to bring A/R invoices from a legacy system into SAP ICR special ledger so that ICR tool can be used these items for intercompany reconcilliation. Could you please let's know the way to load these legacy AR invoice items into ICR data base using any function moduels.
    Regards,
    Eswar.

    Hello Eswar,
    In what form do you have these "external" open items? If they are contained in a file you should simply import the file in ICR during data selection using the File Upload functionality. There is no need to store them in a special purpose ledger first. Actually you would have to create a BADI implementation to extract the data from that special purpose ledger during data selection. Please consider using File Upload standard functionality.
    If for some reason this cannot be used you could implement a logic calling RFC enabled function module FB_ICRC_ADD_DATA_RFC which will take the open items you are supplying in your logic and push them into the ICR database. This strategy could be used to include these external open items without them being processed during data selection.
    Best regards,
    Ralph

  • Data load from Legacy system to BW Server through BAPI

    Requirements: We have different kind of legacy systems and SAP BW server. We want to load all legacy system data into SAP BW server using BAPI. Before loading we have to validate all data. If there are bad data, data missing we have to let the legacy system user/ operator knows to fix the data into their system with detail explanation. When it is fixed, we have to load the data again.
    Load Scenario:  We have two options to load data from legacy systems to BW Server.
    1.     We need to load data directly from legacy system to BW Server using BAPI program.
    2.     Legacy Systems data would be in workstations or flash drive as .txt (one line separated by comma) or .csv file. Need to load from .txt /.csv file to BW Server using BAPI program.
    What we want in the BAPI program code?
    It will Read / Retrieve data from text / csv file and will put into the Internal table. Internal table structure would be based on BAPI InfoObject structure.
    Call BAPI InfoObject function module ‘BAPI_IOBJ_CREATE’ to create InfoObject, include all necessary / default components, do the error check, load the data and return the status.
    Could some one help me with the sample code please? I am new in ABAP / BAPI coding.
    Is there any other better idea to load data from legacy system to BW server? BTW we are using BW 3.10. Is there any better option with BI 7.0 to resolve the issue? I appreciate your help.

    my answers:
    1. this is a scendario for a data push into SAP BW. You can only use SOAP-Based Transfer of Data.
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/8012403dbedd5fe10000000a155106/frameset.htm
    (here for BW 3.5, but you'll find similar for 7.0)
    In this scenario you'll have an RFC dinamically created for every Infosource you need to transfer data.
    2. You can make a chain for each data load, so you can call the RFC "RSPC_API_CHAIN_START" to start the chain from external.
    the second solution is more simply and available on every release.
    Regards,
    Sergio

  • Dataload from legacy system to BW Server

    Requirements: We have different kind of legacy systems and SAP BW server. We want to load all legacy system data into SAP BW server using BAPI. Before loading we have to validate all data. If there are bad data, data missing we have to let the legacy system user/ operator knows to fix the data into their system with detail explanation. When it is fixed, we have to load the data again.
    Load Scenario: We have two options to load data from legacy systems to BW Server.
    1. We need to load data directly from legacy system to BW Server using BAPI program.
    2. Legacy Systems data would be in workstations or flash drive as .txt (one line separated by comma) or .csv file. Need to load from .txt /.csv file to BW Server using BAPI program.
    What we want in the BAPI program code?
    It will Read / Retrieve data from text / csv file and will put into the Internal table. Internal table structure would be based on BAPI InfoObject structure.
    Call BAPI InfoObject function module ‘BAPI_IOBJ_CREATE’ to create InfoObject, include all necessary / default components, do the error check, load the data and return the status.
    Could some one help me with the sample code please? I am new in ABAP / BAPI coding.
    Is there any other better idea to load data from legacy system to BW server? BTW we are using BW 3.10. Is there any better option with BI 7.0 to resolve the issue? I appreciate your help.
    Regards,
    Mau

    my answers:
    1. this is a scendario for a data push into SAP BW. You can only use SOAP-Based Transfer of Data.
    http://help.sap.com/saphelp_nw04/helpdata/en/fd/8012403dbedd5fe10000000a155106/frameset.htm
    (here for BW 3.5, but you'll find similar for 7.0)
    In this scenario you'll have an RFC dinamically created for every Infosource you need to transfer data.
    2. You can make a chain for each data load, so you can call the RFC "RSPC_API_CHAIN_START" to start the chain from external.
    the second solution is more simply and available on every release.
    Regards,
    Sergio

  • Data Migration from Legacy system to ECC systems via ETL through SAP PI

    Hi All,
    I wanted to know if we can migrate the data from Legacy systems to ECC systems via PI.
    What I understand is there is ETL tool is used to extract the data from legacy system, and what client is looking to load that data via PI?
    Can we do that ? I am concerned because this will involve mass data?
    If I have to use PI , I see option of  PROXY / IDOC /FILE as receiver in ECC system (take the data from ETL)?
    Can somebody has done this earlier , please share the approach.
    Thanks,
    Pushkar Patel

    Hi ,
    I require few details from you.
    1. What ETL tool you are using, If Informatica, it already have PowerConnect to connect to SAP. So you can create source and Target Structure and also you can use RFC's to send data to R/3. Else, for other ETL tools, can you prepare RFC's or any other way to send data to R/3. let me know the tool.
    2. Does R/3 contains the master data tables? If yes, then try to use LSMW for Mass upload of data to tables.
    If your client don't want to use either of these options please elaborate, what is the case.
    Regards
    Aashish Sinha

  • Legacy System to SAP

    Hi,
    How to Transfer the files from Legacy System to SAP and Viceversa ? And
    How does one know that the Legacy files have come on to the SAP server you are working on ?
    Vinay

    WE ARE USING CERTAIN SAP FUNCTIONS TO PICK THE DATA FROM EXCEL FILE OR NOTEPAD TAB DELIMITED.
    FUNCTIONS ARE
    UPLOAD
    GUI_UPLOAD
    WS_UPLOAD
    BDC / LSMW ARE THE TECHNIQUES USED.
    FOR SAP TO NON SAP WE USE RFC / BAPIS
    RFC IS REMOTE FUNCTION CALL AND BAPI IS A BUSSINESS APPLICATION PROGRAMMING INTERFACE PROVIDED BY SAP.
    REWARD IF USEFUL.
    AMIT SINGLA

  • Regarding RFC to RFC to FILE

    Hi,
      I am Doing RFC to RFC to FILE. I want to execute RFC to RFC and I want to get RFC response to FILE.
    1)Do I need to Define BPM for theScenario.
    2) Should I configure Sync- Async Bridge for the above scenario.
    2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
    3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
    Regards,
    Varun

    Hi Varun,
    Sync/async communication enables a synchronous sender system to communicate with a receiver system that cannot process synchronous messages.
    The central component of sync/async communication is the sync/async bridge, which enables the Integration Server to receive synchronous messages from a sender and send them to a receiver as asynchronous messages. Conversely, it can send the asynchronous response from the receiver back to the sender as a synchronous response.
    To do this, you define an integration process, which is started as soon as a synchronous message is received from the sender system. The process uses a special receive step to open the sync/async bridge, sends the received message to the receiver system asynchronously, and waits for the asynchronous response to arrive from the receiver.
    The Business Process Engine receives the asynchronous response from the receiver, correlates it with the corresponding query, and activates the waiting process, which then sends the response back to the sender synchronously.
    1)Do I need to Define BPM for theScenario.
    Yes
    2) Should I configure Sync- Async Bridge for the above scenario.
    Yes
    2)For RFC's we do not ceate any Interfaces, then for RFC should I define Abstract Message Intergaces to use in BPM.
    Just import ur RFC and use it.
    3) In order to get the RFC response to FILE, Shd I define Mapping between RFC response and File.then what would be the Interface Mapping?
    Yes.Interface mapping what ever u had done select that.
    Procedure:
    SyncReceive – To Receive the payload synchronously from HTTPRequestInt interface
    syncSend – To Send the request payload Asynchronously from BPM to the File system
    syncReceive – To receive the response payload Asynchronously from Legacy File system to BPM
    SyncSend – To Send the response Synchronously from BPM to LegacySystem
    Refer this blog
    Bridging the Sync-Async bridge with Fork (XI)
    Demonstrating Use of Synchronous-Asynchronous Bridge to Integrate Synchronous and Asynchronous systems using ccBPM in SAP Xi
    Also go through these links:
    http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c4/dc06418752ef6fe10000000a1550b0/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/f9/66bf40ad090366e10000000a1550b0/RN_XI_DE_neu.pdf
    Regards,
    Vinod.

Maybe you are looking for