Synchronous file adapter sender side configuration in sap pi

Hi Experts
synchronous file adapter sender side configuration in sap pi
can you explain any one tell me step by step procedure?
Regards
Sagar

Hi,
You can use RequestResponseBean in the sender file adapter module .
RequestResponseBean (SAP Library - SAP Exchange Infrastructure)
Request/Response Bean for IDOC_AAE adapter
Instead of IDOC_AAE adapter you can use FILE adapter.
Regards,

Similar Messages

  • Multiple Files at sender side

    Hi Friends,
    Im working with a scenario which gives me two different files for a single sender file.
    My sender structure is having a filed "Position" which takes 2 values ( One and Two).
    When i give these values, my target structure will be of two messages, one with  "Position = one" and the other with "Position = two".
    Im getting two files at sender side...which includes both the messages in it.
    Can anyone tell me how to get the two files which consists of ONE message each.
    Thanks In Advance,
    Divya

    hi divya,
    please have alook of following links,
    for enhanced interface determination,
    https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/3115. [original link is broken] [original link is broken] [original link is broken]
    some other links..
    Re: split messag. configuration
    Re: Multi Mapping 1 to n. SP15
    regards,
    navneet

  • Cannot process a Fixed Field Length file using the File Adapter (Sender)

    Hi -
    I have checked throughout these posts and blogs but I still have not been able to find a solution to my issue.  When using the File Adapter (Sender) I get a Conversion initialization failed with "xml.keyfieldName", no value found.  Why would I require a key field when I am using fixed field lenghts?  The file is comprised of 2 structures - 1 header and multiple details (see below).  There are no key fields in the flat file that I would be able to use.  Any suggestions?
    011000390      Customer Americas        20080605164317 000000000000000800000008000000000016000000                              
    12345678          100500       100500       Supplier 1                         0000000000030000002008040400                    
    12345678          100501       100501       Supplier 2                         0000000000052000002008042100 
    The File Adapter is configured as follows:
    Document Name = Rfchke00
    Document Namespace = 'my namespace'
    Recordset Name = Rfchke00
    Recordset Structure = Dtachkh,1,Dtachkp,*
    Recordset Sequence = Ascending
    Recordsets per Message = 1
    Key Field Type = String (Case-Sensitive)
    Dtachkh.fieldFixedLengths = 15,25,8,6,1,8,8,8,15,3,31
    Dtachkh.fieldNames = F1,F2,F3,F4,F5,F6,F7,F8,F9,F10,F11
    Dtachkh.processFieldNames = fromConfiguration
    Dtachkp,fieldFixedLengths = 18,13,13,35,15,3,8,2,21
    Dtachkp,fieldNames = F1,F2,F3,F4,F5,F6,F7,F8,F9
    Dtachkp,processFieldNames = fromConfiguration
    Thanks,
    Dave

    Hi,
    you can use the module from which u can convert your structure to
    H011000390 Customer Americas 20080605164317 000000000000000800000008000000000016000000
    D12345678 100500 100500 Supplier 1 0000000000030000002008040400
    D12345678 100501 100501 Supplier 2 0000000000052000002008042100
    Please note the extra H,D in the struture added by the module.
    You can then use them as your key fieldValues.. The module should be deployed in Visual Admin and then can be used in the Module tab of your adapter CC
    While writing the content conversion after that please dont forget about the added new characters
    Please note also that i can find that the word supplier kept repeating in all the Dtachkp records
    Please use that
    Also if you feel that the field is of 13 characters and that would cause a problem dont worry... create a dummy field eg split tht 13 to two fields and use the common one as key field Value and identifier... as i see in ure case its like 500 Supplier , 502 Supplier . u can split the first 4 char and the remaing 9 char are key field value.
    try this out
    Rgds
    Aditya

  • How to handle errors in a file at sender side?

    Hi
    I have done a file to proxy scenario.
    I know how to handle errors on proxy.
    But on sender side when picking the file if one the record have worng fomat its throwing mapping error and its not processing any record..
    I wanted to process the records which have right format and data and  all remaining recrods which have wromg format should be send back to the sender as file.
    How to do this.
    How to handle error in sender file.
    Regards
    Sowmya

    Hello Sowmya,
    In your scenario Three ways you can validate the data.
    1) Before the data reaches into SAP system ie in XI system during Mapping or before mapping i,e in Adapter Module in the Sender side
    2) this option, is in the receiver applications side. ie. Validations will be taken care in the SAP system i.e in ABAP server proxy code.
    3)Through BPM, If Mapping Exception Occures then through exception Branch you can send bad formate file to sender again.
    Generally, it is prefer to more business critical validations in the Application System ie Receiver Application System (ABAP Server Proxy)
    In this, you can have more flexibility of the validations as you are validating some of the SAP payroll informations as Personal ID etc.
    Based on the complexity and flexibility of the requirement, you can either do this in the XI (if XI, ie Sender Adapter Module or Mapping) or in the ABAP proxy
    Thanks'
    Sunil Singh

  • File adapter (sender) module throws exception, but adapter proceeds again

    Hello dear reader,
    I wrote a module that converts a flat file into XI-XML and tested it within the file adapter. It works fine so far. But if I force the module to throw an exception to handle an erroneous flat file, the file adapter tries to proceed the erroneous file again and again. Not very nice, isn´t it?
    Has anybody an idea, how to configure the file adapter to stop the processing of an erroneous file?
    Thank you in advance
    Yours
    Frank Waskow

    Hello Satish,
    the weblog doesn´t describe my problem correctly. Let me show you the Audit Log from the Messeage Display Tool of the Adapter Engine:
    Audit Log for Message: 06ff54a0-a258-11db-b9e2-003048226013
    Time Stamp     Status     Description
    2007-01-12 16:14:49     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:14:50     Error     Attempt to process file failed with null
    2007-01-12 16:15:00     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:15:00     Error     Attempt to process file failed with null
    2007-01-12 16:16:00     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:16:00     Error     Attempt to process file failed with null
    2007-01-12 16:17:00     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:17:00     Error     Attempt to process file failed with null
    2007-01-12 16:18:00     Success     Send text file "Invoice_error_wf.edi" from FTP server "HH-168:/XI_Infotag_Testdaten/EDIX/In", size 27993 bytes with QoS EO
    2007-01-12 16:18:00     Error     Attempt to process file failed with null
    It seems to me that the Adapter gets the error of the module, but it is not handled as an error like shown in the blog <a href="/people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically:///people/sap.user72/blog/2005/11/29/xi-how-to-re-process-failed-xi-messages-automatically.
    The adapter tries to proceed the same file again and again, till I delete it from the source directory.
    Any more idea?
    Frank

  • Setting the File Adapter Sender Source Directory...

    Good morning, Experts
    We have 2 sender file adapter communication channels in XI 7.0. Source directories for each are as follows:
    Channel A - //757spgmr16-xp.sauder.com/SAP
    Channel B - //devqas.sauder.com/ROOTBIN
    Channel A works.  Channel B does not.  It returns "Configured source directory '//devqas.sauder.com/ROOTBIN' does not exist".  When I remote into the XI box as the administrator I can open a Windows Explorer window and can see both of these source folders.
    What user ID is used to access the NFS for the communication channel???
    Any help you could give would be greatly appreciated.
    Thanks,
    Chad

    Is the integration engine running in a service on the XI server???  There are a number of SAP labelled services.  Some are started with the log on of "Local system", some with the administrator account and then some with an ID of "SAPServicePID".
    My guess here is that possibly this SAPServicePID user is running the integration engine and does not have permissions to the source directory???  Could this be the case???
    Can somebody tell me the name of the service for the integration???

  • No suitable sender agreement found - File / Adapter, Sender FTP

    Hi SDN Friends,
    Is my first time in PI with FTP / FILE ( really I'm newbie in PI - but 2 years in ABAP ).
    I have configurated my communication channel with and FILE/ADAPTER on a Sender FTP...
    I have Tried with 2 FTP, one in my PC, and one Public... but in both cases, it's doesn't works... monitoring my communication channel, I get the No suitable sender agreement found ERROR....
    I thought... may be PI has not access to the FTP's servers, so run in SAP PI server, an ABAP program trx se38, program: RSFTP002 and with this, I could connect to the FTP...  it works perfectly.
    so I don't understand... what I'm doing bad?
    Any Help?
    regards every body!

    u r welcome...2 yrs back i am newbie
    when ever we make changes after an error, sometimes XI will not take the changes in cache automatically; uses old one. solution for this is complete Cache refresh.
    welcome to Integration World have fun....

  • Synchronous JDBC adapter(receiver side) with stored procedure

    Hi experts,
    Can some database processing logic be included in receiver JDBC (synchronous) adapter...to put it simply
    I have synchronous JDBC adapter in the receiver side..Using this JDBC adapter I want to get some response back from the table..
    The requirement is not a simple fetch from the table..It involves some processing in the database side which I guess will be done by stored procedure..After this database processing , this output will be picked up by the JDBC adapter and will send to PI.
    How can this be achived ..Any Blog..
    Thanks
    Ayan

    Yes u can use stroed procedure and send back the response,
    refer this link for stored procedure structure.
    http://help.sap.com/saphelp_nw04/helpdata/en/64/ce4e886334ec4ea7c2712e11cc567c/frameset.htm
    chirag.

  • Get File Name in UDF from file adapter sender

    Hi,
    I've looking for this solution, but I couldn't find any usefull information.
    I want to obtain the name of the file, sended by the file adapter.. and later use it in the mapping logic.
    I've readed about sustitution... any help?
    Thanks.

    HI Stortoni,
    Take a look at these blogs:
    http://wiki.sdn.sap.com/wiki/display/XI/CombiningthreedifferentaspectsofPIinoneshot
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    Regards,
    ---Satish

  • 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.

  • Polling by file adapter (sender) with FIFO functionality

    Hi,
    here are one question:
    What happen if, for example, the sender system generates multiple files with the same timestamp (HH:MM:SS), or the file adapter on XI is stopped for a moment, and then, when activated, in the source directory (polling directory) there are many files? How can XI handle the correct sequence of messages? Is this impossible. How XI poll on a file (sender) - what is the logic? The files should be polled by FIFO.
    Thanks in advance.
    Regards
    Frank

    Hi,
    There is a logic called EOIO. Its exactly once in Order (EOIO). It takes care of all these iisues. Also XI gurantees the delivery of files.
    Refer these links
    http://help.sap.com/saphelp_nw04/helpdata/en/e3/94007075cae04f930cc4c034e411e1/content.htm
    Regards
    Aashish Sinha
    PS ; reward points if helpful

  • File Adapter - Sender Problem

    Hi,
    While implementing a file to file interface I am facing problem in Integration Engine. Data is not passing to Integration engine, so it is not able to reach receiver.
    Receiver file adapter is working fine for other scenarion like IDoc to File.
    File Adapter status is Green in RWB.
    I am not able to see message in SXMB_MONI
    The error details in Adapter Engine is bellow
    Audit Log for Message: 410424a0-c496-11da-aa48-00111120e6db
    Time Stamp Status Description
    2006-04-05 16:51:37 Success Channel file2file_in_channel: Send binary file  "D:\usr\sap\QN7\DVEBMGS00\work\XiPattern2\testfile2in.xml". Size 209 with QoS EO
    2006-04-05 16:51:37 Success Application attempting to send an XI message asynchronously using connection AFW.
    2006-04-05 16:51:37 Success Trying to put the message into the send queue.
    2006-04-05 16:51:37 Success Message successfully put into the queue.
    2006-04-05 16:51:37 Success The application sent the message asynchronously using connection AFW. Returning to application.
    2006-04-05 16:51:37 Success The message was successfully retrieved from the send queue.
    2006-04-05 16:51:37 Success File "D:\usr\sap\QN7\DVEBMGS00\work\XiPattern2\testfile2in.xml" deleted after processing
    2006-04-05 16:51:37 Success The message status set to DLNG.
    2006-04-05 16:51:37 Error Transmitting the message to endpoint http://sapep:50000/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 404 : Not Found.
    2006-04-05 16:51:37 Success The asynchronous message was successfully scheduled to be delivered at Wed Apr 05 16:56:37 GMT+05:30 2006.
    2006-04-05 17:01:37 Success The message status set to WAIT.
    2006-04-05 17:06:37 Success Retrying to send message. Retry: 3
    2006-04-05 17:06:37 Success The message was successfully retrieved from the send queue.
    2006-04-05 17:06:37 Success The message status set to DLNG.
    2006-04-05 17:06:37 Error Transmitting the message to endpoint http://sapep:50000/sap/xi/engine?type=entry using connection AFW failed, due to: Received HTTP response code 404 : Not Found.
    2006-04-05 17:06:37 Error The message status set to NDLV.
    Please suggest the solution.
    Is there any place where I can find the exact error log?
    Thanks,
    Smita.

    Hi,
    I found there was a problem with HTTP port in the URL. After fixing this, I am able to see the message in SXMB_MONI. But it is with an error. The error details is as bellow.
    <?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="">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="INTERNAL">AE_DETAILS_GET_ERROR</SAP:Code>
      <SAP:P1>af.qn7.sapep</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>no_messaging_url_found: Unable to find URL for Adapter Engine af.qn7.sapep</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error when reading the access data (URL, user, password) for the Adapter Engine af.qn7.sapep</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    In RWB->Adapter engine there is a success message, But in the RWB->Integration Engine there is an error with Error Code : AE_DETAILS_GET_ERROR.
    Please suggest how to fix this. I am able to logon to XI system with user XIAFUSER.
    Thanks,
    Smita

  • File adapter sends return message to SOAP adapter

    Hi,
    I have managed to send a message using a SOAP sender adapter to a file using the file adapter. The respective message is written to a file. Though both adapters are configured to work in an asynchronous way, the file adapter seems to try to return as message. This results in an error message: "Das Interface-Mapping ... ist nicht im Laufzeit-Cache vorhanden". I have updated and checked the runtime cache. The respective mapping program is available and working, since the file adapter writes the send date to the file. So why this message?
    Kind regards,
    Heiko

    The file adapter replies the sent message, when it is addressed in sync mode.
    Set in the SOAP sender channel the Quality-of-Service to Exactly-Once to avoid this behavior.
    Regards
    Stefan

  • XI File Adapter sending/receiving zip files

    Can the XI File Adapter create a zip file to send outbound from XI and/or can it also translate a zip file inbound into XI?

    Hi Kirk.
    What you can do is use the OS command option on the adapter in order to unzip the file after the File\FTP adapter completes its file transfer to the specified path.One of my colleagues used a freeware zip app. that excepts an os command actions.
    I know it works for file receiver but not sure about the sender. check SAP Note 801926 for more sender adapter parameters.
    Regards
    Nimrod Gisis

  • Seeburger - XI AS2 Adapter Sender service configuration

    Hi,
    I need to know how to configure the seeburger AS2 adapter sender service in XI ( EDI -
    > IDOC).
    I have some pre-requisites that are needed to setup.
    1. SSL certificate
    2. AS2 Certificate (public key)
    Kindly anyone provide me the guidance or if any docs/pdf's. your help is appreciated.
    Thanks,
    lakshmi

    Refer these
    EDI Adapter by SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/206e2b65-2ca8-2a10-edad-f2d1391644cb
    B2B(EDI) Integration using SAP Netweaver XI and Seeburger AS2 Adapter
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/00f9cdf5-d812-2a10-03b4-aff3bbf792bf
    Integrating XI with SeeBurger
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6dc02f5d-0601-0010-cd9d-f4ff9a7e8c33
    Thanks

Maybe you are looking for

  • Unable to call a Packaged function in SQL statement??

    I have written a package & overloaded a function 3 times. I am using different parameter name for overloading & call as follows: my_pkg.ovrld_func(p_1 => v_val) my_pkg.ovrld_func(p_2 => v_val) my_pkg.ovrld_func(p_3 => v_val) When i use this statement

  • Cannot duplicate on a DVD  tower

    I have authored several DVD's for my client and he can't make multiple copies using a DVD tower (11 bay) and the tower reads -385 meg which is far less than the original disc size. All my DVD's have been authored allowing copies to be made but the DV

  • Unknown SQL Exception 10054 occurred

    Hi , Daily exactly @4.00 am server have the below error in the Event Viewer. " A transport-level error has occurred when sending the request to the server. (provider: TCP Provider, error: 0 - An existing connection was forcibly closed by the remote h

  • My HD crashed on the computer I was syncing to- Can I copy photos

    My HD crashed on the computer I was syncing to- Can I copy photos OFF my Apple TV? There is a possiblity that some may not have been backed up anywhere else. Thanks, Mitch

  • What is the best way to set up my new mac?

    My old mac has parallels installed and boot camp.  How can I transfer that set up to my new Mac?