File Approach -File to proxy

Hi Frnds,
i have scenario. Where i get header ,Detail and Footer.
Header contains few of the fields including with identifier.
Trailor record contains record count and line count with identifier
But where we dont have an identifier in detail.But details records are '/' separated file.
1)i just want to know if i want to read the file with out details identifier how can i proceed.
2)if that is not possible i want to ignore the header and footer then need to process the detail records alone. But here they need file name in each record how can we do that.
The above mentioned approach is not possible. please suggest me how can i go with the new apraoch.
Regards,
Nag

Hi Nagarjuna,
is there any group of charactars that identify the detail section? For instance, is the file structured as below?
1Field1Field2Field3
2Field1Field2Field3
3Field1Field2Field3
where 1, 2 and 3 identify the header, detail and footer sections.
If so, you can use it to only read the fields that their key field equals 2. However, could you please paste a piece of the file as an example for better understanding, please?
Regards!

Similar Messages

  • How to install JAVA API client files :: Using XI JAVA Proxy & NWDS

    Hi
    I am going to integrate the SAP with one "AB" System which is providing Java API to integrate with their client ( which in turn will connect with AB System ) using SAP XI. So "AB" System is providing JAR files & property files, in order to instantiate objects & call those APIs.
    Now I am going to write the JAVA code in NWDS which is installed on my Laptop so I am sure I need to give this jar files under ::
    Project -> Properties and then Java Build Path -> Libraries.
    Choose Add External JARs
    But where do I need to add property files.
    Also do I need to install the same files on XI Server too & do I need to install the "AB" System Client also on XI Server or it can be installed some place else too.
    I am not much into JAVA so pls. try to give me detailed steps.
    Regards
    - Lalit -

    Lalit,
    ><i>But where do I need to add property files</i>
    How are you going to access the properties file? Are you going to use Java IO to read the file or are you dgoing to bundle the property file as a resource and use the getResource() . If you are going to use Java IO then you will have to hard code the property file path in your code and make sure that your Proxy can read the property file.
    If your property file is going to vary across environments, I woudl suggest this approach. Make sure that the property file path will be same in all environments and it will work fine and make sure that your proxy will have OS level IO access as well.
    Another option would be to have the property file bundled as a respurce, but, making changes to the file in this case will be an issue!
    ><i>Also do I need to install the same files on XI Server too & do I need to install the "AB" System Client also on XI Server or it can be installed some place else too.</i>
    When you create the EAR file for your Java Proxy, remove all XI .jar files and just make sure that the Client JAR is available in the EAR file. You need not install the Client JAR file anywhere as long as the jar file is a part of the EAR!
    Regards
    Bhavesh

  • Scenario PROXY - SENDER FILE - RECEIVER FILE

    Hi Experts,
    I need to create a synchronous scenario where the proxy sends the filename to send and PI must transfer the file to a location X. The source file is in a different location of the destination file 
    This scenario, should this be done through Process Integration?
    Thanks,

    Hi,
    I think you can use a sync/async bridge to do your scenario and you wont need any development outside of using standard modules. The idea is to create a scenario Proxy(sync)-File(Async) -File (Async) without BPM. Check the point 8 in this document http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/80f96dbf-adca-3010-ffb5-daf2d1f0e276?QuickLink=index&…
    I have never tested this with the SFTP channel, and i dont know if this adapter supports the RequestOneWayBean and WaitResponseBean modules. May be you should wait to someone that confirms to you the possibility of using this modules with the SFTP adapter.
    Regards.

  • FILE TO INBOUND ABAP PROXY - " LOOP_IN_MESSAGE_ROUTING  ERROR "

    Hi , 
    Getting the following Error in *FILE TO INBOUND ABAP PROXY* which is updating a Database table in R/3.
    <?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>XIProtocol</SAP:Category>
      <SAP:Code area="MESSAGE">LOOP_IN_MESSAGE_ROUTING</SAP:Code>
      <SAP:P1>is.01.lgscms</SAP:P1>
      <SAP:P2>IS</SAP:P2>
      <SAP:P3>XI</SAP:P3>
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>XI protocol error</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    How to rectify the Error..
    Regards,
    Ravi

    Hi Ravi !
    Check if the url for the receiver is
    http://<host>:<port>/sap/xi/engine?type=receiver
    or
    http://<host>:<port>/sap/xi/engine?type=entry
    if using XI 3.0
    Regards,
    Matias.
    Edited by: Matias Denker on Feb 25, 2008 2:12 PM

  • File to ABAP Server Proxy Scenario

    Hi 2 all,
    I am running File to Server(ABAP) Proxy scenario...
    I have checked the ABAP Server Proxy at application server only and it is working fine....But when i am running the whole scenario my server proxy is not getting executed..( i.e my file is being picked up but proxy is not getting called ..:(( )
    Can i expect some valuable inputs regarding this issue..?
    Regards,

    to debug the problem....
    first check SXMB_MONI of R3 system... where proxy has been created.
    1 .check whether your proxy has been called ... it will be evident you get any message in moni for you interface or namespace..
    2. check you proxy message has not got stucked in queue... sometimes message get stucked in queue and hence proxy are not called.. release the messaeg using smq2.
    ELSE
    1 .go to SXMB_MONI...of XI..
    2. select 'Call Adapter'  in right hand of monitor.
    3. check the 'trace' under Call Adapter.
    4. if you go at end of trace or somewhat near to end.. there should trace like...this ...
    Trace level="1" type="T">Receiver party normalized =</Trace>
      <Trace level="1" type="T">Receiver party external =</Trace>
    - <Trace level="1" type="B" name="CL_XMS_PLSRV_CALL_XMB-CALL_XMS_HTTP">
      <Trace level="2" type="T">Addressing mode: destination</Trace>
      <Trace level="3" type="T">Destination = D67CLNT103_HTTP</Trace>
      <Trace level="3" type="T">Attributes of destination: D67CLNT103_HTTP</Trace>
      <Trace level="3" type="T">Type = H</Trace>
      <Trace level="3" type="T">Pipeline = ENTRY</Trace>
      <Trace level="3" type="T">Action = EXECUTE</Trace>
      <Trace level="3" type="T">Host = XXXXXXX</Trace>
      <Trace level="3" type="T">Port = XXXX7</Trace>
      <Trace level="3" type="T">Client = 103</Trace>
      <Trace level="3" type="T">User = XIAPPLUSER</Trace>
      <Trace level="3" type="T">Language = E</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="1" type="T">SSL not active</Trace>
      <Trace level="1" type="T">----
    </Trace>
      <Trace level="3" type="T">Creating HTTP-client</Trace>
      <Trace level="3" type="T">HTTP-client: creation finished</Trace>
      <Trace level="3" type="T">Serializing message object...</Trace>
      <Trace level="3" type="T">HTTP-client: sending http-request...</Trace>
      <Trace level="3" type="T">HTTP-client: request sent</Trace>
      <Trace level="3" type="T">HTTP-client: Receiving http-response...</Trace>
      <Trace level="3" type="T">HTTP-client: response received</Trace>
      <Trace level="3" type="T">HTTP-client: checking status code...</Trace>
      <Trace level="3" type="T">HTTP-client: status code = 200</Trace>
      <Trace level="3" type="T">Deserializing message object...</Trace>
      <Trace level="3" type="T">HTTP-client: closing...</Trace>
      </Trace>
    check whether connection establishment between XI and R3 is successful or not...
    if you are getting same message as above ,,that means ur RFC is working fine...
    problem is on r3 side.. for this go to r3 and check moni...

  • File/FTP to ABAP Proxy (file as attachment)

    I have the following scenario: File/FTP -> XI -> ABAP Proxy but not the normal case. What I need is the picked file as attachment and the file name. I hope this is possible.
    I have found the following blogs:
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    /people/michal.krawczyk2/blog/2006/04/19/xi-rfc-or-abap-proxy-abap-proxies-with-attachments
    I have no idea where I have to start. How I should define the sender and receiver message interface? How I have to configure the sender file/ftp adapter?
    I'm using PI 7.1 SP 7.

    At the moment I have the following problem. I always get an error during mapping the request message. This is the error message:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Mapping der Request-Message
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="MAPPING">EXCEPTION_DURING_EXECUTE</SAP:Code>
      <SAP:P1>com/sap/xi/tf/_MT_SCANFILE_to_MT_SAP_SCANFILE_</SAP:P1>
      <SAP:P2>com.sap.aii.utilxi.misc.api.BaseRuntimeException:</SAP:P2>
      <SAP:P3>Fatal Error: com.sap.engine.lib.xml.parser.ParserE</SAP:P3>
      <SAP:P4>xception: XMLParser: No data allowed here: (hex) ~</SAP:P4>
      <SAP:AdditionalText />
      <SAP:Stack>Während des Anwendungs-Mappings com/sap/xi/tf/_MT_SCANFILE_to_MT_SAP_SCANFILE_ ist eine RuntimeException aufgetreten. com.sap.aii.utilxi.misc.api.BaseRuntimeException:Fatal Error: com.sap.engine.lib.xml.parser.ParserException: XMLParser: No data allowed here: (hex) ~</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    And if I use transaction sxmb_moni I see that the payload MainDocument is my pdf document and I can read it.
    MG%PDF-1.3
    %âãÏÓ
    2 0 obj
    /WinAnsiEncoding
    endobj
    3 0 obj
    <<
    %Devtype POST2    Font COURIER  normal Lang DE
    /Type /Font
    /Subtype /Type1
    /BaseFont /Courier
    /Name /F001
    /Encoding 2 0 R
    >>
    endobj
    4 0 obj
    <<
    /Length 5 0 R
    u2026.
    I believe there is still an error at my communication channel configuration of the ftp sender adapter.

  • File-XI-BW without Proxy

    Hello,
         I would like to bring data into BW via XI(File-XI-BW). I don't want to use proxy. Is there a doument which talks about this scenario using RFC.
    Thanks
    N.S

    Hi,
    Even you can think of making File->XI->File scenario to push the data into BW. In this case file will be stored in the BW some folder and then some programs will upload this to BW info table etc..
    So it is prefer to use proxy to avoid performance problems if you are dealing huge volume of data..
    Regards,
    Moorthy

  • FILE TO INBOUND ABAP PROXY - error

    Hi,
    Getting the following Error in FILE TO INBOUND ABAP PROXY which is updating a Database table in R/3.
    Error:
    com.sap.aii.utilxi.misc.api.BaseRuntimeException
    thrown during application mapping
    com/sap/xi/tf/_file2proxy_mm_: RuntimeException in
    Message-Mapping transformatio~
    How to rectify the error...
    Ravi

    Hi,
    The error mentioned is indicating about the Message Mapping error.
    I think you need to test your Message Mapping with test tab.
    Here Goto SXMB_Moni and select the related message  and double click on it.
    It will show you the various steps in Message flow.
    Take the Inbound Message and look for Payload in it. Open it in right side window and right click on it to see source code.
    Copy it in Message Mapping and test it
    Thanks
    swarup

  • How to use the option "Use FTP Proxy" within file adapter for FTP-Proxy

    Hello there,
    I'm currently dealing with a problem regarding PI 7.40 file adapter and our proxy server. We have installed our pi system within our LAN behind two DMZ's. So we need to use the ftp-proxy function. But when I try to send a file useing this communication channel I'll geht the following error:
    If have asked my system colleagues and they told me to use the ftp-proxy string as used in filezilla:
    Is there anyway to use this type of ftp-proxy string within the pi configuration:

    Hi Harrish,
    I have already found this note but I also found the note
    1803398  - File Adapter - FTP Proxy type USER@HOST:PORT support
    But as I alread tried the solution I think it's not working
    regards
    Christian

  • File to server abap proxy

    in my file to server abap proxy scenario,<b>filexisap .</b>
    i have some doubt in configuration part.
    i have to create one http destination but not clear where it should be created?in xi or in sap system??

    Hi
    you can either key in the Details of the R3 system in the XI adapter directly or you can maintain a HTTP destination on your XI in SM59 and use this in the XI adaper.
    regards
    krishna

  • Approach needed for processing huge file.using file-jdbc

    Hi,
    My Scenario is file-jdbc. I need to update the records in database table. The size of file would be 500mb.
    1)Will the recordsets per message in the sender side FCC will help me in processing the file? Any other better solution or any configuration needs to be checked on PI system? as processing should be finished in 3 hours time?
    2)i need to update other table with no.of records processed per cycle with time. How to acheive this?
    TIA

    I would suggest you to go for Stored procedures and follow as mentioned below:
    1)Use recordsets per message in the sender side FCC (already mentioned by u)
    2) Create a SP and and pass source payload as xml input to the SP.
    Ur target structure will be something like this:
    http://help.sap.com/saphelp_nw04/helpdata/en/2e/96fd3f2d14e869e10000000a155106/content.htm
    <StatementName>
    <storedProcedureName action=u201D EXECUTEu201D>
    <table>realStoredProcedureeName</table>
    <param1 type=SQLDatatype>val1</param1>
    </storedProcedureName >
    </StatementName>
    pass ur source data as xml input to param1.
    If u r using PI7.1 then chk this:
    http://www.sappi.sapag.co.in/flat-file-to-file-senario/convert-the-input-xml-to-string-in-pi-7-1-using-standard-graphical-mapping-2/
    on the database side parse the string (xml document) and then insert the data in the table.. Chk with ur DB team regarding the same.

  • Step by Step Guide Details for RFC to File and File to RFC scenario

    Hi Guru's
    Good day to you. I am tyring to develop some scenarios based on RFC adaptor. so i want to start up with basic scenarios like RFC to File  scenario(Here i just want to pull some data from SAP using RFC and put it in destination folder as an text file) and FILE to RFC scenario (Here i just want to take some data from the file and update into SAP).
    For doing these scenarios i would like to request you people to send me the step by step guide which explains me about the complete steps of configurations required to do the RFC to FILE scenario and FILE to RFC scenario.
    I found some scenarios and i am in confused state. so i request you to please put your experience to help me out.
    thanks in advance.
    Regards
    Raj

    Hi Aaron,
    I don't know your scenario and your ECC and PI versions but I learned how to use ABAP Proxy more than 1 year ago with the following tutorial:
    Edit--> The forum doesn't allow me to post external link, just search "ABAP Proxy Communication Scenario" in google and visit the 1st result
    The way to develop ABAP Proxys has changed a little if your PI is 7.1. In the ECC side, the transaction SPROXY looks much better too if you have a recent version of the ECC.
    Edited by: Marshal on Oct 8, 2009 5:08 PM
    I've found that SDN Document. Maybe the scenario is not the most simple to start with ABAP Proxy but is very well documented and is for PI 7.1. The document also handles the inbound and outbound proxys
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/c00ca32e-f991-2b10-f5be-97114bd2b08f&overridelayout=true]
    Edited by: Marshal on Oct 8, 2009 5:22 PM

  • I get the following error message when trying to download ITunes on my computer running Windows XP - Error writing to file: C:\Program Files\Common Files\Apple Application Support\CFNetwork.dll

    I get the following error message when trying to download ITunes on my computer running Windows XP - Error writing to file: C:\Program Files\Common Files\Apple Application Support\CFNetwork.dll

    For general advice see Troubleshooting issues with iTunes for Windows updates.
    The steps in the second box are a guide to removing everything related to iTunes and then rebuilding it which is often a good starting point unless the symptoms indicate a more specific approach. Review the other boxes and the list of support documents further down the page in case one of them applies.
    The further information area has direct links to the current and recent builds in case you have problems downloading, need to revert to an older version or want to try the iTunes for Windows (64-bit - for older video cards) release as a workaround for installation or performance issues, or compatibility with QuickTime or third party software.
    Your library should be unaffected by these steps but there also links to backup and recovery advice should it be needed.
    tt2

  • Reading severl files in file adapter sender

    Hi all,
    I need to read several files and perform checks on there attributes,
    like name and date of creation.
    and only if the checks are o.k i need to transfer them to, otherwise i need to send an email reporting the error.
    I saw in the sender file adapter an option of reading several files, how does it work, how can i perform the checks.
    I thing that i can also perform this task using BPM, but from whet I understand it can be problematic when reading big files.
    Thanks,
    Naama

    >>NFS
    You are going to pick the files of same types or different types?
    If it is of same type: Use below informtion.
    file.sourceFileName=<filename>
    Specify the name of the file that you want to process.
    The name can contain a placeholder (*) at any point, so as to be able to select a list of files for processing.
    The following are valid examples for filename:
    myFile.txt
    my*.txt
    *.txt
    [Read Multiple Files from File Adapter.|http://help.sap.com/saphelp_nw04/helpdata/en/0d/00453c91f37151e10000000a11402f/frameset.htm]
    Names that comprise more than two parts are also permitted.
    If the files are of different types the use this approach:
    Thanks
    Farooq.

  • 2 file to file scenarios and one sender channel

    hello there,
    i am implementing 2 file to file scenarios. referring to the below link i have 'by-pass' integration repository in order to perform my file to file transfer since both the input and output files have the same structure, hence no mapping is required.
    http://www.sdn.sap.com/irj/scn/weblogs;jsessionid=%28J2EE3417500%29ID0036662950DB01052533299951691312End?blog=/pub/wlg/4383 --> How to send any data (even binary) through XI, without using the Integration Repository
    as seen in the link provided above, it is mentioned to provide a 'dummy' interface and namespace as no such things were created in the IR.
    Now i have a second development which perform the same task(file 2 file) however the naming and source/target directory for the second one differs fromt eh first.
    that is for the first one the source directory is srcroot/folder1/ and for the secon one is  srcroot/folder2
    the  target for the first scenario is  trtroot/folder1 and second is trtroot/folder2.
    i wanted to use the same sender channel, making use of the advanced features to pick the files from the different directories, however the scenario always put my files, even those from srcroot/folder2, in the first target folder that is in trtroot/folder1 instead of trtroot/folder2.
    one easy way of doing this, is to create channels for each scenario, but if possible i want to use one sender channels for both, is that possible for my scenarios?
    can anyone please advise me?
    if there is a better way, you are welcome to share it with me.
    thank in advance.

    Hi,
    You can pick the data using same sender channel.
    But there are two ways of putting the files to their corresponding destinatios:
    1)Using 'Adapter Specific Message Attribute' in communication channel.
    But for this to work you have write UDF in your mapping, but as you are not using IR part, this approach can't be used.
    2) Another way is, you can use variable substitution method, where the values of the target directory is populated by payload of the incoming file.
    If this is not possible, then there is no way but to define 2 diffrent communication channels for receiver.
    -Supriya.

Maybe you are looking for