Adapter development -  sender/inbound integration

hi,
   i have few questions to ask ,in relation to adapter development.
1) the sample adapter given part of the documentation contains implementation representing a file oriented integration process.can it be deployed as an adapter and tried in the adapter framework for integration?
2)if the answer is yes to previous question,does the SAP's transaction managed provide transactional capablities for file access ?
3)the ManagedConnectionConnectionFactory implementation provided part of the sample adapter also implements Runnable interface stating the purpose of supporting sender/inbound integration.how the client can initiate a sender/inbound integration without any support from the implementation's jca cci to send the message from its
system ?
4)is there some clear example of sender/inbound integration implementation done part of the JCA adapter ?
regards,
jana

thanks gowtham,
2)if you see the SPIManagedConnectionFactory's sender/inbound integration implementation (to be specific sendMessageFromFile() method)the tx manager obtained from SAPAdapterResource is started ,file is copied and finally the tx is called to commit.that's why i had ask the second question .
3) the sample adapter implements CCI only for receiver/outbound integraiton,i fear i didn't find any of such support for sender/inbound integration
4)see this is what i like about you
regards,
jana

Similar Messages

  • Adapter file sender -archiving doesn't work sometimes

    Hi everybody,
    We are on PI 7.1 on windows 2008 server  64 bits
    I have something strange..
    I developped a few time ago a flow
    File adapter => PI => SAP R/3 RFC
    When the adapter file sender pick up the file, he should normally archive them.
    The archived file is well created in a separated directory with an addition of timestamp and the normal process after is the deletion of original file.
    The strange thing happens during the last operation. Sometimes it is deleted and sometimes it is not deleted. .
    In the second case, the adapter file  will retreat it after a few time => it generates an error of duplicate key   (Of course in PI has already treated it). That case can happen more than 10 times until the delete of the file works.
    I applied many other flows with the same principle but with other directories (on the same server) and that happens with that only one.
    Does somebody have an idea what could be the origin of that strange behavior?
    All the ideas are welcome.
    Thank you in advance for your help.
    E. Koralewski

    When the file fails to be archived, the transaction should be rolled back (therefore, message wouldn`t be generated). Please apply both notes below and check if the issue persists.
    [Note 1549500 - XPI File Adapter exactly once procedure fails|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1549500]
    [Note 1361305 - File sender adapter generates duplicate message IDs.|https://websmp230.sap-ag.de/sap(bD1wdCZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1361305]

  • BC adapter as sender

    Hi all
    I am working on Scenario BC 4.7 to XI 3.0
    In this scnario I am posting IDoc from R/3 system to BC server and then BC system will route tht IDoc-XML to XI system  and thn I am sending tht Idoc Xml to FTP
    I configured BC adapter as sender on XI side .
    What are the setting I have to do on BC side and XI side to configure BC adapter as sender ?and How the service in BC will trigger this event?
    Thanks in advance

    Hi Nagsen,
    To connect an SAP BC to SAP XI, you must make configuration settings in the SAP BC.  You must define the Routing Rule for communicating with the Adapter Engine.  Fill the parameters as mentioned below:-
    Transport = XML
    Configure XML Transport:-
    URL = Address of the Adapter Engine
    XML Dialect = SAP XML
    UserName
    Password
    You configure the Sender SAP BC adapter to forward RFC-XML messages from SAP BC.
    Transport Protocols = HTTP
    Message Protocol = RFC XML with Envelope
    Adapter Engine = Integration Server
    Persist Duration = Specify the length of time in Days, Hrs, Min and Sec.
    Number of Retires = No. of attempts in case of an error.
    Retry Interval = Specify the retry interval in Days, Hrs, Min and Sec.
    Timeout = Specify the time period in Days, Hrs, Min and Sec.
    You configure the Receiver SAP BC adapter to forward RFC-XML messages to SAP BC.
    Transport Protocols = HTTP, HTTPS
    Message Protocol = RFC XML with Envelope
    Adapter Engine = Integration Server
    Login Data = URL (Address of the SAPBC Server), Username and Password
    Persist Duration = Specify the length of time in Days, Hrs, Min and Sec.
    Number of Retires = No. of attempts in case of an error.
    Retry Interval = Specify the retry interval in Days, Hrs, Min and Sec.
    The modules used to configure SAPBC Adapter are:-
    localejbs/BcAdapterModuleConvertBean
    localejbs/BcAdapterModuleSenderBean
    I hope this provides you a solution.
    Regards.
    Praveen

  • Config Sample Adapter as SENDER & RECEIVER

    Hi there!
    I have a problem when I try to use the sample adapter as sender and receiver. If I use it only as receiver and the sender is the fileAdapter it works fine...
    The sample adapter is deployed,
    it's metaData is imported. But it is only able to receive, not to send messages.
    In the LogViewer I can see that the adapter is started:
    MCF with GUID 1791c2d060fa11daccb30011431a5d8e is running. Location: om.sap.aii.af.sample.adapter.ra.SPIManagedConnectionFactory.XIManagedConnectionFactoryController.run(
    But the input file is not read and no other method except this run() is called.
    Is anybody out there who can help me with this???
    Thanks in advance and best regards,
    Christian

    Hi,
    U check these blogs which may be helpful to u..
    <b>/people/saravanakumar.kuppusamy2/blog/2005/01/19/rdbms-system-integration-using-xi-30-jdbc-senderreceiver-adapter
    <b>/people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Regards,
    Sridhar reddy k.

  • Do Http Adapter has sender CC

    Hi Experts,
         I am in a confusion that :- I think i am asking you a small question, please correct me if i am wrong
    1. Do IDOC Adapter has both Sender / Receiver IDOC ( my assumption is it has only receiver Adapter )
    when i searched SDN, i am getting both sender and receiver Adapter, but as far as now i used only receiver Adapter.
    2. Do HTTP Adapter has both Sender / Receiver IDOC ( my assumption is it has only receiver Adapter )
    when i searched SDN, i am getting both sender and receiver Adapter, but as far as now i used only receiver Adapter.
    Please help me, with clear explanation.
    Nissi

    >
    NissiRaj wrote:
    > 1. Do IDOC Adapter has both Sender / Receiver IDOC ( my assumption is it has only receiver Adapter )
    > Nissi
    We have IDoc Adapter for sender / receiver side, When we are working on ABAP Stack systems like Integration between ECC System to PI System, we do not need to use IDoc Sender side.
    But when we are using 3rd party system (JAVA Based some systems using IDoc) for integration with PI & sender communication is using IDoc, at that time we will use sender side IDoc Communication Channel.
    >
    NissiRaj wrote:
    > 2. Do HTTP Adapter has both Sender / Receiver IDOC ( my assumption is it has only receiver Adapter )
    > Nissi
    Same thing is for HTTP Adapter for proxies from ECC System to PI System, we do not need sender HTTP Communication Channel Setting.
    But for 3rd party systems using HTTP Communication, we need sender side HTTP Communication Channel.

  • ICI adapter development (IC Web Client)

    Hello, all
    We are developing ICI adapter(like Genesys Gplus)
    using ICI Interface Specification and
    two wsdl files(IciSystem-3.10.wsdl and IciUser-3.10.wsdl).
    But method getWorkcenterCapability does not run.
    Other method not related Free seating are
    running correctly.
    We think wsdl files we got are old version.
    Do you know how to get new wsdl file?
    Thanks,
    Ryousuke Miyazaki

    Hello friends,
    we have installed gplus adapter for sap-erp integration. Can some one please let me know how to configure a connection between sap application server and an Adapter.
    We got stuck in creating a SAPphone server on sap. In transaction SM59 while creating a new TCP/ip connection RFC destination, we need to set the RFC destination name and program id .
    what should be the value for program id? Do we need to code a RFC for this ? cos be gave the program id as SPS.PROG as mentioned in the gplus deployment guide, but the connection test failed.
    Can someone please help me in fixing this.
    Just one more, how to obtain SAP RFC SDK binary files? Shd these binary files need to be placed in the gplus working directory? Does the tcp/IP connection failed due to missing binary files?
    Thanks in Advance. please reply me on [email protected]

  • Sending inbound payload toanother receiver based on the first receiver resp

    Hi all
    Sending inbound payload to another receiver based on the first receiver response.
    My Scenario is like
    File to WebService. Once it receive the response from the web service i want to send webservice inbound payload to another file system.
    can anyone plz provide me the steps to achieve this one
    Thanks in advance
    Regards
    Rams

    File to WebService. Once it receive the response from the web service i want to send webservice inbound payload to another file system
    once again,
    File systems A -> FileA -> WS.request message -> WS
    WS responds back with WS response message
    1. now do you want to send the WS response message to File System A?
    then follow the blog mentioned in above responses
    2. do you want to send the WS response message to File System B?
    follow the blog. only difference in the receiver determination from BPM to file sys use the File system B as the receiver and configure file receiver adapter with that file systems detail
    3. do you want to send the WS request message to File System A?
    same blog only difference is after sync send step you will have to have another transformation that will map the WS request message to the req. target
    4. do you want to send the WS request message to File System A?
    same as 3. only receiver sys and CC details will change

  • Partner adapter developer certification

    Is there any certification that SAP gives to an adapter developer partner? Is there any reference with this information?

    Hi,
    Refer to this link:
    https://www.sdn.sap.com/sdn/developerareas/xi.sdn?page=xi_adapter_framework_certification.htm
    https://www.sdn.sap.com/sdn/developerareas/xi.sdn?page=exchange_infrastructure.htm
    And post your question in this forum:
    https://www.sdn.sap.com/sdn/collaboration.sdn?node=linkFnode1-5&contenttype=url&content=https://SAP Integration and Certification Center (SAP ICC)
    Regards,
    Sridhar

  • How to do debugging for sending inbound or outbound email via ERMS?

    Hi Colleagues,
    I send an email to '[email protected]' with email titile 'CIM: 318238 2013', and want to display inbound email in email assignment block within CIM Service Request 10001503 in ICX. But it fails to be displayed on Web UI. And there is no problem to browse inbound and outbound emails via t-code SCOT as below.
    If I send an email to '[email protected]', there is no problem to display inbound email within one CIM Service Request in ICP as below.
    One related class ZSCL_CRM_ERMS_AH_CIM_CSS=>IF_CRM_ERMS_SERVICE~EXECUTE is used to implement this function, I don't know how to do debugging when sending inbound or outbound email? Could please tell me more detailed steps?
    Kind Regards
    Andie

    Hi Fabian,
    Thanks for your reply.
    How can I add this method ZSCL_CRM_ERMS_AH_CIM_CSS=>IF_CRM_ERMS_SERVICE~EXECUTE to the list in t-code SM50 for doing debugging?
    And another question is that I cannot attach inbound email to CIM Request via ICX email address '[email protected]', but no problem to send inbound email using ICP email address [email protected] as below. Is there any authorization issue for this case?
    Kind Regards
    Andie

  • File Adapter as Sender not picking the files

    We configured the File Adapter as Sender, Transport Protocol =NSF and message protocol as FCC.
    In OS we have folder to read the file, but SAP XI unable to read the file.
    To trouble shoot this issue we copied that file into another location and reverted back to the same location then XI File adaptor is able to read the file.
    Now we have compared the Attributes of the path
    the only difference in file attributes
    Coded character set ID . . . . . . . . :   819      
    CCSID 819 (decimal)
    0333 (hex)
    Name ISO 8859-1 ASCII
    Description ISO 8859-1: Latin Alphabet Number 1Latin-1 countries and regions
    Notes Related CCSID with euro is 923           
    able to read the file attributes:
    Coded character set ID . . . . . . . . :   1252                    
    CCSID 1252 (decimal)
    04E4 (hex)
    Name MS-WIN LATIN-1
    SC Co-existence/Migration
    FMS Subset
    Registration Date 
    Description MS Windows, Latin-1
    Notes CCSID for this code page with euro is 5348
    We have tried to chage the File type as Text and File Encoding with ISO-8859-1even then its not picking the files.
    Please suggest me where i am doing wrong here
    Thanks,
    Venkat.

    Hi,
    Check the file path & file name , Check  the processing mode parameter which you have set?
    Check the folder properties & provide all the permission ...
    Finally check the communication channel status in RWB, If the problem persist try to stop & start the communication channel again..
    Hope it helps...
    Regards,
    Kumar.

  • Adapter file sender doesn't split file into multiple message

    Hi everybody.
    We are in PI 7.0 SP10.
    In adapter file sender, I want to split a file into multiple file.
    We use protocole "file content conversion"
    in the field "recordset per message", I put the value 10 to test.
    The file content 30 records .
    The result we have is the treatment is not split into multiple message .
    The treatment is made but with one message.
    I need  to treat big files.
    Is there some one who have an idea  why t doesn't work ?
    Thanks in advance for your help.
    Regards
    Edited by: Eric  KOralewski on Jun 25, 2009 3:14 PM

    Hi,
    have you specified recordset name......if not, then specify it.............
    in recordset structure, specify like RECORD,1 and not RECORD,*
    again test your scenario......if still your file data is not getting split, then ask your basis guys to do a full CPACache refresh using PIDIRUSER..........your basis guys will know how to do it..........then again test your scneario............
    Regards,
    Rajeev Gupta

  • How to pass the SIN using a plain http adapter in sender side.

    Hi all,
       How to pass the SIN(System Identification Number) using a plain http adapter in sender side.
    Regards,
    Venu.

    You can set it in a specific HTTP header (as explained here : http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm) ...
    Rgds
    Chris

  • Configuring Mail Adapter as sender

    Hello,
    I'd like to ask for some help with configuration of SAP XI mail adapter as sender. I made a communication chanel with mail adapter type and specified transport protocol POP3, URL (pop3://localhost), user, password and poll interval. The problem is that XI doesn't trigger the
    process, in other words it doesn't connect to my email server to receive the mail. What could be wrong? To test the environment, I made a test case withmail adapter as a receiver - and it works ok - it sends mail via my email server - so SMTP is working fine.
    Thank you,
    Igor

    > I'd like to ask for some help with configuration of
    > SAP XI mail adapter as sender. I made a communication
    > chanel with mail adapter type and specified transport
    > protocol POP3, URL (pop3://localhost), user, password
    > and poll interval.
    The correct URL is: pop://localhost
    Which Mail-Server do you use?
    Regards
    Stefan

  • JDBC adapter as sender

    I have staging table where this table is populated with Legacy data for the sales orders. Every day , there are huge number of orders will be generated approx:30000. From the staging table,I am planning to use JDBC sender adapter to send the data to XI and from XI to SAP with ORDERS idoc.
    Can any one tell me how will be the perfomance of message transfrmation with these huge volume of data?

    Hi,
    >>>>>Can any one tell me how will be the perfomance of message transfrmation with these huge volume of data?
    it's best and most reliable if you test it yourself
    there are many tools like Loadrunner (Mercury)
    that will help you with stress tests for your interface
    and this way you'll know for sure:)
    Regards,
    michal

  • IDOC to BPM-SOAP adapter is sending Empty envelop

    Hello,
    I have a scenario where im using BPM Async/sync bridge to realize the IDOC to SOAP adapter scenario.
    The web services will take the request and send the response in string (CDATA). Everything is working fine upto the synchronous interface mapping. After the data gets converted, It calls the SOAP adapter.It is here that im facing the issue. The soap adapter is sending an empty envelop without any data. But in monitoring i can see the data that it is supposed to send.
    Please, can anybody help me????
    Thanks,
    Lakshmi

    If I understand correctlty, you are doing a asynt to sync to asyn scenario. In this case you dont need an async-sync bridge.
    Your BPM should have only a receive step, sync send and then an asyn send step. You might have one transformation wherever applicable. If you have opened any bridges in BPM, please remove them and try.
    VJ

Maybe you are looking for