Sender RFC Adapter AND Rec. File Adapter

Hi
Workflow of my scenario is like this :
<b>SAP R/3 ---> Sender RFC Adapter ---> XI Server -
> Rec. File Adapter -
> Legacy System</b>
I am using Async Inbound interface for this as I dont need any response back & I just need to create file.
I am just picking some data from BAPI & creating a file on a folder in Legacy System.
Now during execution, file is getting created but I am getting dump on SAP R/3 and even when I am using Async communication, response is coming back from Legacy Business System ( service ) & giving an error " <i>No Mapping Program Found</i> " in sxmb_moni.
Kindly suggest how can I avoid getting response from Legacy System. Pls. take note again I am using Async Inbound Interface.
Regards
- Lalit -

Hi Lalit,
When your RFC is called from R/3 by default it would be in Sync mode. When this is in Sync mode it obviously will expect a response and where as in your scenario XI dose'nt give any response and there is no mapping for that and I think that is the reason you are getting that error.
So when your Sender RFC is triggered it will like this in ABAP
CALL Function "Function Name" <SM59 Destination>
and this is Sync call. To make it Async i should be
CALL Function "Function Name" IN BACKGROUND TASK <SM59 Destination>
Hoep this helps
Thanks,
Prakash

Similar Messages

  • Scenarios using Sender JMS adapter and Reciver JMS adapter

    Hi All,
    I am not able to find god step by step blog on senderJMS adapter and Receiver JMS adapter.
    also please explain when we use JMS.What does a messng system means?please provide some examples.
    Thanks and regards

    Hi  Goyal,
    Messaging System :
    Messaging system allows separate, uncoupled applications to reliably communicate asynchronously. The messaging system architecture generally replaces the client/server model with a peer-to-peer relationship between individual components, where each peer can send and receive messages to and from other peers.
    Go thru this you will get better idea :
    http://java.sun.com/developer/technicalArticles/Networking/messaging/
    JMS adapter (Java Message Service) enables you to connect messaging systems to the Integration Engine or the PCK.
    regards
    Ganga

  • Prepopulate Adapter and Rule Generator Adapter

    Can anyone tell me the exact difference between Prepopulate adapter and Rule generator adapter? I have read the documentation but both seems to be same.
    Please explain me with an example scenario..
    Regards
    Pavan

    Hi,
    See if this help you in gaining more understanding.
    PrePopulate Adapter: They are mapped with the fields of process form and are used to prepopulate the fields value during the resource provisioning.
    RG Adapter: A RG Adapter incoporates business rules to the fields of either OIM user form or user defined form so that these fields can be automatically populated
    and saved to the database. You can use the RG & Entity Adapter to construct the userid from the firstname and lastname fields and prepopulate it.
    Difference:
    While both these adapter can be used to prepopulate values but RG Adapter has one to one mapping with the RG adapter and custom field. An RG Adapter once
    attached to a field cannot be attached with another field thus preventing adapter reuse. Beside this, no other type of adapter can be associated with that custom
    field.In contrast, the PrePopulate adapter can be reused and attached with multiple fields.
    Hope this will help you.
    Regards
    Sunny Ajmera

  • Microsoft Teredo Tunneling Adapter and Microsoft 6to4 Adapter

    Hi ,
    as per best practice of Cluster Hyper-v All drives on all nodes should be the same version
    But I found network drivers "Microsoft Teredo Tunneling Adapter and Microsoft 6to4 Adapter" are installed one some nodes and not installed on other nodes
    IP Ver 6 is enabled on all network drivers
    So What should I do and How ?  Install the drivers or uninstall it  and how to do that ?
    thanks in advance.
    Ramy

    Hi Ramy,
    "So What should I do and How ?  Install the drivers or uninstall it  and how to do that ?"
    Teredo is an IPv6 transition technology that provides address assignment and host-to-host automatic tunneling for unicast IPv6 traffic when IPv6/IPv4 hosts are located behind one or multiple IPv4 network address translators (NATs).
    You may keep the default setting .
    If you want to create a hyper-v cluster , please refer to the step-by-step guide :
    http://technet.microsoft.com/en-us/library/cc732181(v=WS.10).aspx
    "Before you create the cluster, we strongly recommend that you run a full validation test of your configuration. Validation helps you to confirm that the configuration of your servers, network, and storage meets a set of specific requirements for failover
    clusters. You can validate either an existing cluster or one or more servers that are not yet clustered."
    This step will help you to check cluster configuration .
    Best Regards
    Elton Ji
    We
    are trying to better understand customer views on social support experience, so your participation in this
    interview project would be greatly appreciated if you have time.
    Thanks for helping make community forums a great place.

  • Sender File adapter and duplicate file processing

    If I set the sender file adapter to delete or archive and when a file gets picked up and processed, this file will not get deleted/archived unless it was successfully processed.  However, if it errors out during processing, the file remains but it's message will get persisted in the integration engine or adapter engine.  Since there's automatic retry, we have the potential for duplicate processing as in addition to the retry, the file is still continously polling for this file.  In other words, how do we stop this duplicate file processing?
    Thanks.

    Hi Bevan,
    However, if it errors out during processing, the file remains but it's message will get persisted in the integration engine or adapter engine.
    your file wont get deleted unless adapter engine sucesfull pickups. if does not picked up at adapter engine then is not stored in adapter engine . if it reached Intergation Server and failed their then file would be deleted.
    please let me know if you haveany questions
    please reward points
    Regards
    Sreeram.G.Reddy

  • Problem when doing fcc and configuring file adapter

    Hi all,
    I have done all my xi work in my interface task -design IR, mapping, ID.I aslo passed succesfully  XML testing.Now I am going to use 2 file adapters to complete the task..
    I am having problems configuring content conversions parameters in receiver.
    ..I want to be able to pass a text file to input and output again text file.
    If someone can help me I can provide screenshots .Appreciate your help..
    Thanks

    Hi,
    File Content Conversions
    http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
    /people/michal.krawczyk2/blog/2004/12/15/how-to-send-a-flat-file-with-fixed-lengths-to-xi-30-using-a-central-file-adapter - FCC
    /people/jeyakumar.muthu2/blog/2005/11/29/file-content-conversion-for-unequal-number-of-columns - FCC
    /people/anish.abraham2/blog/2005/06/08/content-conversion-patternrandom-content-in-input-file - FCC
    /people/shabarish.vijayakumar/blog/2006/04/03/xi-in-the-role-of-a-ftp - FCC
    /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy - FCC
    /people/mickael.huchet/blog/2006/09/18/xipi-how-to-exclude-files-in-a-sender-file-adapter - EOIO - File
    /people/venkat.donela/blog/2005/03/02/introduction-to-simplefile-xi-filescenario-and-complete-walk-through-for-starterspart1
    /people/venkat.donela/blog/2005/03/03/introduction-to-simple-file-xi-filescenario-and-complete-walk-through-for-starterspart2
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    /people/arpit.seth/blog/2005/06/02/file-receiver-with-content-conversion
    /people/shabarish.vijayakumar/blog/2005/08/17/nab-the-tab-file-adapter
    /people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-problem
    /people/sap.user72/blog/2005/01/06/how-to-process-csv-data-with-xi-file-adapter
    Hope it helps..
    Kumar.S

  • File adapter and large file

    hi experts, i have a problem:
    i have configured sender file adapter to send 4mb file from FTP server, so when i upload file to FTP, file adapter don't upload it, file just stay in folder.
    I have tried to upload small file, is about 16kb, so it works fine, without any errors
    I checked communication channel log in RWB, there are not any errors, all leds are green.
    So i don't know how to upload 4mb file, also i checked all rights and permissions for file and user, they all have admin rights - "777".
    Can anybody give me some suggestion or solution?
    Thanks all for reply.

    Hi,
    Try to increase your server parameters as below and try ....then you would be able to process large data
    u2022     UME Parameters :  May be we need to look into the pool size and poolmax wait parameters - UME recommended parameters (like: poolmaxsize=50, poolmaxwait=60000)
    u2022     Tuning Parameters:  May be we need to look/define the Message Size Limit u201Clike: EO_MSG_SIZE_LIMIT = 0000100u201D under tuning category
    u2022     ICM Parameters: May be we need to consider ICM parameters (ex: icm/conn_timeout = 900000. icm/HTTP/max_request_size_KB = 2097152)
    Regards,
    Naveen

  • File Conversion in Rec File Adapter with subnodes

    Hi
    My XML Structure is like this -->
    <?xml version="1.0" encoding="UTF-8" ?>
    - <ns0:MT_Test xmlns:ns0="urn:TESTconversion">
      <MstName>Hello</MstName>
    - <Header>
      <TableName>1tst</TableName>
      <PayDate>0102</PayDate>
      <TotalAmt>24.00</TotalAmt>
      <Total>000002</Total>
      <PaySource>CHK</PaySource>
    - <Subheader>
      <TableName>1tst</TableName>
      <SelectCatgry>test</SelectCatgry>
      <CustID>200</CustID>
      <PayAmount>11.00</PayAmount>
      </Subheader>
    - <Subheader>
      <TableName>1tst</TableName>
      <SelectCatgry>test</SelectCatgry>
      <CustID>400</CustID>
      <PayAmount>13.00</PayAmount>
      </Subheader>
      </Header>
    - <Header>
      <TableName>1tst</TableName>
      <PayDate>0103</PayDate>
      <TotalAmt>10.00</TotalAmt>
      <Total>000001</Total>
      <PaySource>ONE</PaySource>
    - <Subheader>
      <TableName>1tst</TableName>
      <SelectCatgry>test</SelectCatgry>
      <CustID>100</CustID>
      <PayAmount>10.00</PayAmount>
      </Subheader>
      </Header>
    </ns0:MT_Test>
    which means
    MT_Test is root 1..1
    Header is the sub-node of MT_test as 1...*
    Subheader is sub-node of Header which is also 1...*
    rest of the fields are elements as 1..1
    Now I need to convert this into Flat file using Receiver File Adapter, I gave this in my content conversion logic
    recordset Structure -
    MstHeader,BFKKZK,BFKKZP
    MstName.addHeaderLine     0
    MstName.fieldFixedLengths     8
    MstName.endSeparator     'nl'
    Header.addHeaderLine     0
    Header.fieldFixedLengths     30,10,15,6,6
    Header.endSeparator     'nl'
    Subheader.addHeaderLine     0
    Subheader.fieldFixedLengths     34,10,35,16
    Subheader.endSeparator     'nl'
    But with this I am getting exception as -->
    Could not process due to error: java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'Conversion configuration error: Unknown structure 'ns0:MT_Test' found in document', probably configuration error in file adapter (XML parser error)'
    I know that http://help.sap.com/saphelp_nwpi711/helpdata/en/44/686e687f2a6d12e10000000a1553f6/content.htm says following -->
    The expected XML structure contains the structure as nodes filled with any number of elements without additional subnodes.
    But does that mean Structure with sub-nodes cannot be converted in flat format.
    Pls. suggest the solution for this.
    - lalit -

    Shab
    I resolved the issue & able to convert the hierarchical XML file into flat file with the desired format I wanted.
    Rather then FCC, I use MessageTransformBean module and I have to insert more dummy contexts & dummy fields in the target structure in order to achieve the flat file format.
    I am getting file ( not actual file below just template is shown below) like this now
    Header1 ....details....
    SubHeader1.1
    SubHeader1.2
    SubHeader1.x
    Header2 ....details....
    SubHeader2.1
    SubHeader2.2
    SubHeader2.x
    Headerx ....details....
    SubHeaderx.1
    SubHeaderx.2
    SubHeaderx.x
    Once the total development is over on my side I will create the blog for this. So this following statement is only correct when you use protocol as FCC but not with module.
    "The expected XML structure contains the structure as nodes filled with any number of elements without additional subnodes."
    Thanks
    Lalit

  • How to send input parameters to a file adapter module

    Hi all,
    i have a requirement like , i need to pick a file from a file server based on a condition. that condition we write in adapter module (in file sender channel).
    the condition needs some input , so how can we send input parameters to adapter module.
    please suggest me some way,
    thanks in advance
    jhansi

    hi jhansi,
    u define the parameters to send to a module in 'module configuration' (in module tab) by giving the key to identify the module for which u r giving giving the parameters.
    for details refer this:
    Adapter module
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/02706f11-0d01-0010-e5ae-ac25e74c4c81
    This is all u have to do
    http://help.sap.com/saphelp_nw04/helpdata/en/8b/895e407aa4c44ce10000000a1550b0/content.htm
    [reward if helpful]
    regards,
    latika.

  • File Adapter and Determining File Size

    I have added a Header Variable to my Receive activity so that I can capture the size of the file coming in. I've also added a "size" element to the InboundFileHeader.wsdl.
    I can't figure out how to populate that header variable! I was hoping it would just be populated automatically since I've added the element to the wsdl but no such luck, just null variables.
    Thanks.

    865094 wrote:
    ... if we have File protocol available inside proxy, where do we need File adapter then?The FileAdapter (JCA Resource) can be also used by BPEL/Mediator... I would always first consider using File protocol for OSB, unless there's some feature in the JCA adatper that may be interesting for a particular use case (like native format builder for example)...
    Cheers,
    Vlad

  • Adapter Module for File Adapter

    I have a scenario where I have 2 related files (text file and a pdf file) for the message. I need to enhance the payload (content conversion from text file) with the size of the pdf file. I have developed a adapter module for this and it is working fine if there is 1 set of text and pdf file. But if there are more than 1 set of files, it is processing the first set and giving the below error for other files.
    "Error: com.sap.engine.services.ejb.exceptions.BaseTransactionRolledbackLocalException: Exception thrown in method process. The transaction is marked for rollback."
    Regards
    Yogesh

    check this thread :
    BaseTransactionRolledbackLocalException in custom adapter module
    Exceptions in Recievr Communication Channel with Adapter Module

  • What is the difference between a VGA adapter and an AV adapter? Which would be better for my iPad 2 if I just wanted it for games and browsing the Internet?

    If I just wanted to play games and surf the web, would a VGA adapter or an AV adapter be better? For my iPad 2? I asked my family for a VGA adapter for Christmas and I'm not too sure if it's the one I want. Also, what is the difference?

    HDMI Adapter

  • Adapter moduler in file adapter receiver - get Target Directory from param

    Hi everybody,
    We are in PI 7.1
    I need in an adapter module (file adapter receiver) to access to the Target Directory comming from parameters
    I foound the code in a weblog
    /people/sap.user72/blog/2005/07/15/copy-a-file-with-same-filename-using-xi
    Here is the code I found
    public ModuleData process(
              ModuleContext moduleContext,
              ModuleData inputModuleData)
              throws ModuleException {
              Object obj = null;
              Message msg = null;
              try {
                   Channel ch = new Channel(moduleContext.getChannelID());
                   obj = inputModuleData.getPrincipalData();
                   msg = (Message) obj;
                   XMLPayload xmlpayload = msg.getDocument();
                   String path = ch.getValueAsString("file.targetDir");
                   if (!path.endsWith("
    ") && !path.endsWith("/"))                    
                             if(path.indexOf("
    ")!=-1)
                                  path+="
                             else
                                  path += "/";
                   if (xmlpayload != null) {
                        convert(xmlpayload.getContent(), path);
                   inputModuleData.setPrincipalData(msg);
              } catch (Exception e) {}
              return null;
         private void convert(byte[] bs, String path) throws Exception {
              String bs_out = new String(bs);
              String filename =
                   bs_out.substring(
                        bs_out.indexOf("<FileName>") + 10,
                        bs_out.lastIndexOf("</FileName>"));
              bs_out =
                   bs_out.substring(
                        bs_out.indexOf("<Base64>") + 8,
                        bs_out.lastIndexOf("</Base64>"));
              byte bb[] = com.sap.aii.utilxi.base64.api.Base64.decode(bs_out);
              File f1 = new File(path + filename);
              FileOutputStream fos = new FileOutputStream(f1);
              fos.write(bb);
              fos.close();
    The object Channel come s from the package import com.sap.aii.af.service.cpa.Channel;
    The jar is in the build path (com.sap.aii.af.service.cpa.jar);
    When I write in NWDS
    Channel ch = new Channel(moduleContext.getChannelID());
    NDWS gives me an error "Cannot instantiate the type Channel".
    Can somebody help me about that, please?
    Does that code dosn't work in pi 7.1?
    Thanks in Advance for your help.
    Best Regards.
    E. Koralewski
    Edited by: Eric Koralewski on Feb 3, 2011 1:40 PM

    > When I write in NWDS
    > Channel ch = new Channel(moduleContext.getChannelID());
    > NDWS gives me an error "Cannot instantiate the type Channel".
    it should be:
    Channel ch = (Channel) LookupManager.getInstance().getCPAObject(CPAObjectType.CHANNEL, moduleContext.getChannelID());
    (taken from sample module ConvertCRLFfromToLF)
    http://help.sap.com/javadocs/pi/pi711sp03/index.html?com/sap/aii/af/service/cpa/Channel.html
    Edited by: Stefan Grube on Feb 3, 2011 2:02 PM

  • Difference between DB adapter and Ebusiness Application adapter

    Could anyone please explain the difference between the two adapters?
    If you want to access Applications objects, you could this via the DB adapter - so why use the other one?
    Rgds, Henrik

    DB adapter connect to any database, bu form most of all the Oracle database.
    The Apps Adapter is based on the DB adapter, and access only the specific components of Oracle EBS, that are exposed.
    Marc

  • IPHONE UBS Adapter and iPOD UBS Adapter

    Does anyone know if one can use the UBS adapter from iPOD Mini to connect the iPHONE 3GS? Be great to have one packed for my travels and one at home.
    Thanks!

    All of the plug parts and the cables will work with any iPod.
    That includes the older style power adapter and the new one - i.e. the one that comes with either the iPhone 3G or the 3GS which is just the plug. I'm fairly certain they will also power up all old iPods (except the shuffles of course).

Maybe you are looking for

  • Trying to tween a colour change on an mc with AS...

    Hi I have a Flash front-end that loads menu data from an XML file, duplicates an empty movie clip and populates a dynamic text field with each menu item mc and then populates the text fields with the text from the XML. With help from others in the fo

  • AppleScript "choose file" issue

    This is not a question but instead a cross-reference to one I posted in the AppleScript forum about using the AppleScript command "choose file of type{}" & the URI's for iWork '08 application files. If you are an Applescript user, please take a look

  • HELP!!  I partitioned my hard drive and lost all of my pictures!!

    Arrrrrghhh!! I was an idiot and partitioned my HD and reinstalled Mac OS X only to find that I had forgotten to back up my pictures!! Does anyone know the best and most cost efficient software (FOR A MAC) to recover those files? Thanks.

  • Firestarter logging - empty events tab

    Does anyone know if there's an Arch "package update" for Firestarter on the horizon? - ie one that's going to fix the current empty "events tab" ?? It's not a huge problem checking /var/log/iptables.log, but would just be easier to have the events ta

  • One Solution to Safari Issues Printing PDF's (Landscape)

    If your combination of hardwar and software leads to the following trouble: You are trying to print out a PDF from Safari, and The document is in Landscape orientation, and The print dialogue from the PDF provides no method to switch from Portrait, a