Interface mappin in File to File using BPM

Hey guys
why is it that in a asynchronous File to File scenario using BPM,we make interface mapping between outbound message interface and the abstract message interface whereas in general its between outbound and inbound message interface.also why we dont have any interface mapping between Abstract interface and inbound interface.
thanx
ahmad

Ashish,
From the link,
http://help.sap.com/saphelp_nw04/helpdata/en/43/d92e428819da2ce10000000a1550b0/content.htm
<i>Every step of an integration process uses Integration Server resources.
&#9679;      Every message that is sent to the Process Engine is duplicated.
&#9679;      Every message that is sent from the Process Engine is duplicated.
&#9679;      A work item is created for the process itself and for every step the process contains.
This means that for a process that just receives one message that is sent without being processed further, four messages and three work items are created.
For this reason, you must ensure that you take Integration Server resources into account when you define integration processes. </i>
So, by having the transformation outside the BPM , you are avoiding one message to be stored inside your BPM and therby the replication. The message that hits the BPM is the transformed message directly which avoid consumption of resources.
So, as much as possible keep mappings outside the BPM.
Regards,
Bhavesh

Similar Messages

  • File to Webservice Using BPM

    Dear Friends,
    Kindly give me some walkthrough doucment for File to Webservice Using BPM
    it is urgent. Kindly help.

    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    refer that to design your interface. Note that instead of RFC you will require to use a WSDL for the WS call.
    Fotr more about WSDL and its usage in a scenario ref:
    /people/shabarish.vijayakumar/blog/2006/03/23/rfc--xi--webservice--a-complete-walkthrough-part-1
    /people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

  • File to Database Using BPM

    Hi All,
    I am trying to do one of the End-To-End scenarios which are described in the following document published by Mukeshlal Parida https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
    I followed the steps described for the File to Database Using BPM. 
    I created a software component File Workshop and DB Workshop and created the respective products.  I created the appropriate namespaces under the specified products.  However, when I go to create the container elements in the Integration Process, I am only able to view and add the Abstract interfaces created in the specific software component where I am creating the integration process. 
    The instructions are not clear.  I am on XI 3.0 (SP16).  Any help would be appreciated.
    Thanks
    Sandeep

    Hi,
      U can use the abstract interfaces in BPM.
      U have to define all the Interfaces as Abstract and use in BPM transformations. The Container elements are specific to the Software component.
    From...
    Yallabandi.

  • Problem with File RFC File scenario without using BPM

    Hi all,
      I am trying a File RFC File scenario without using BPM with the help of the following thread:
    File - RFC - File without a BPM - Possible from SP 19.
      The XI system is PI 7.0 sp 12. When I am trying to acheive the above scenario, I am getting wierd results i.e., when I observe in SXI_MONITOR, the message is showing as processed successfully, but when I watch the message status in communication channel monitoring, I am getting the following error:
    "Attempt to process file failed with com.sap.aii.af.service.cpa.CPAException: Couldn't retrieve inbound binding for the given P/S/A values: FP=;TP=;FS=DEV120;TS=Test_Service;AN=MI_Invoice;ANS=urn:sap.com:test;"
    I am not able to understand what the problem is. By the way, one more thing, is, I have kept the File processing mode as "Delete" in the sender file adapter. But the file is not getting deleted. I think the reason could be because of the above error.
    Can any body help me out in getting my problem resolved?
    Thanks,
    Adithya K

    CPA Cache Refresh from the Adapter Engine To trigger a cache refresh from the individual Adapter Framework, open a browser window and enter the following
    URL: http://<host>:<port>/CPACache/refresh?mode=<b>delta|full</b>
    The Monitoring url is like this: http://<host>:<port>/CPACache
    Thanks & Regards,
    Farooq.

  • File to Idocs using BPM

    Hi,
    Current Interface Flow - File (xml) to Idoc (single Idoc type)
    Thirdparty sends a File for Goods Receipt. This file may have multiple orders.
    Orders are sorted in an xslt by ORDNUM. Each record has a delivery type (Deliver Type PO or Delivery Type STO). For each order Graphical Message mapping occurs.
    In case of PO, inbound delivery number and item number have to be received from ECC via an RFC call and passed to VBELN and POSNR. While in case of STO, source field ORDNUM and ORDITEM are passed to VBELN and POSNR. (RFC call happens only for POs, not for STOs)
    In case of STO, TCode  will be MB0A.and IDoc would be WMMBXY (As is the case right now)
    In case of PO, there may be two cases -
         a) There is at least one response from ECC for all the line items inside an order --> in this case TCode will be MB0A and IDoc is  WMMBXY .
         b) If there is no inbound delivery number for any line item from ECC inside an order --> TCode MB01 will be used and IDoc used is WMMBXY
    So for all the above cases Target IDoc is WMMBXY.
    Changes to be done - Now  File (xml) to Idoc (Two different Idoc types, WMMBXY and DELIVERY03)
    Now there is an additional requirement that I will be using an additional IDoc (DELIVERY03) in above case a).
    I want to use BPM in this case
    1) RFC call in message mapping to get the inbound delivery number (for POs only) (Should be before the message enters BPM)
    2) Separating the messages based on IDoc type
    3) Interface / Message mapping for each IDoc type
    4)Send the message to ECC
    Please suggest how to proceed with BPM
    Thanks,
    Varun
    Edited by: Varun Reddy on Feb 4, 2011 4:47 PM

    Hi Varun,
    Follow this thread... You have answer for this.
    This link gives design ideas for your requirement
    /people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure
    Follow Bhavesh discussion. It might be helpful too
    Message Split: File to Multiple IDOC Types

  • File to RFC using BPM

    hey guys
    i m doin a synchronous File to RFC scenario using BPM and getting a 'NO receiver found error' in MONI,i checked my File as well as RFC adapter in RWB,the sender File adapter is green,RFC adpater is also green and the receiver file adapter is green but says 'no message processing until now'
    i m takin help from the followin blog
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    the error in MONI is
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Receiver Grouping
      -->
    - <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="RCVR_DETERMINATION">NO_RECEIVER_CASE_ASYNC</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>No receiver could be determined</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    I checked SM58 as well but it does not have any error XML messages.
    and idea where shuld i check?
    i check my mappin by using payload from MONI,mapping is working fine
    thanx
    ahmad
    Message was edited by:
            Ahmad ansari

    Hi Ahmad,
    In which step is the error occurring?
    Have you checked your BMP status using SXMB_MONI_BPE?
    PS: Usefull link: <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb47159e169c">How To Monitor Integration Process (ccBPM)</a>
    Regards,
    Sergio

  • How to merge/append two files in sequence using BPM

    Hi All,
    My senario is to append two files data into a  new file on target system, only if the two files are available on source system. In case one file on the source system, no need to process file. Data in the new file should be in sequence means 1st file data then 2nd file data.
    Please suggest me how can i achieve this functionality using BPM.
    Thanks & Regards
    Sreeni

    For the first part (two files required) design as per Prateek's suggestion
    Data in the new file should be in sequence means 1st file data then 2nd file data.
    create a data structure which will be a combined structure of File1 and File2....target structure should have first reference for File1 and then for FIle2....than having two MTs (File1 and File2) at the source and the target MT at the receiver create your mapping......this will ensure that File1 data occures first and then File2 data.
    Regards,
    Abhishek.

  • FILE TO IDOC USING BPM

    Hi,
             I am the fresher and new to XI. I want to know the step-by-step procedure for file to idoc scenario using bpm.I require it urgently.
    Please help me out.
    Thanks and have a nice day.

    Sangeet - Check this blog :
    <a href="/people/anish.abraham2/blog/2005/12/22/file-to-multiple-idocs-xslt-mapping to multiple IDocs using IP in ccBPM</a>
    Hope this helps.
    Cheers!
    Shireesh M

  • Multiple files to single using bpm

    Hi,
    Scenarion : 6 files to 1 file using BPM
    ( 6 files are generated from the tool in a folder )
    Files
    abc1xyz_20101210.txt
    abc2xyz_20101210.txt
    abc3xyz_20101210.txt
    abc4xyz_20101210.txt
    abc5xyz_20101210.txt
    abc6xyz_20101210.txt
    Conditions
    1) Sender File Adapter needs to pick the files when all the files are generated .
    2) Should not pick the duplicate files
    (eg : abc1xyz_20101210.txt
             abc2xyz_20101210.txt
             abc1xyz_20101211.txt
    abc1xyz was repeated 2 times , ignore the file before file is picked.
    ponints will be awarded
    Thanks

    Hi,
    I prefer these kind of check can be easily done by the sender system or tool while generating those files itself..
    that is during the generation of file if the file already exists then overwrite the content or delete the existing file and create new file...
    other option can be..using OS scripts to validate the file name till 4 characters..read the file name and take first four chars and compare it with the all other files...
    I cannot provide the exact code but check with some scripting guys..I think the above logic can be achievable..
    HTH
    Rajesh

  • Multimapping(File to RFC) using BPM...issue!!!

    Hi
    Am working on following scenario:
    #Two request files merged to map to RFC request ( 2:1mapping )
    RFC response is split into two response messages( 1:2 ).
    I have done the whole thing in BPM that looks somewhat like this :
    Fork(Rec1 , Rec2)-> Transformation1(2:1 map) -> Send(Synchronous BAPI call) -> transformation(1:2 map) -> send(Response 1) -> send(Response 2)
    1st part i.e File Merge(2:1) works fine and the request is formed as desired. Next step when synchronous call is made to the RFC the response recieved is where i am facing issues. I dont get the expected response and eventually the following steps fail.
    When tested the same RFC(BAPI_SALESORDER_SIMULATE ) in tx SE37 with same data it works fine.
    But when same data is sent from XI it returns a error message in place of the response.
    Error Message states "Please enter SoldToParty or ShipToParty Number" .
    Irony is sold-to-party is sent in the request message and can be seen in payload in monitoring.
    Any kinda help is appreciated !!!

    > 1. Make sure that bapi commits...there will be a check box option in RFC receiver CC side for this.
    >2. Make sure that Sold to party/bill to party field is of 10 char before passing it to SAP.
    @ Santosh :
    I checked the tab in CC but still the same issue...Do we need to add something to the Name/Value section below that?
    And yeah I am sending 10 digits only..
    BTW do we need something additional when we call a BAPI from XI apart from the data we normally use in  tx SE37.
    Can my Configuration be a problem?
    For this synchronous call in BPM I have created :
    a) 2 interface determinations...One from BPM to ECC and another from ECC to BPM. But both are without any operation mapping as the message types are same & both are synchronous...
    b) 1 receiver determination i.e : from BPM to ECC.
    c) 1 receiver agreement.

  • How to send 100 records from an IDOC to File Scenario without using BPM?

    Hi All,
    I have a requirement that i need to send 100 records from sap to file by using the scenario IDOC to File. Can you suggest how can i achieve this?
    Regards,
    Ramvilas.

    Hi,
       Create a H type RFC destination.Tagert host and port give  Xi system host and port.Path give the
       /sap/xi/adapter_plain?namespace=<NameSpcae>&interface=<Interface> &service=<SenderBusinessSystem>&qos=EO or EOIO.
    Go to we21 find xmlhttp port.give the port name and assign RFC.Give the port in we20 your idoc and change to collective.
    In Xi export the IDOC and change the occurance to 0-unbounded and import it.
    Regards,
    Prakasu.M

  • Combined FIles in PI using BPM without correlation

    Hi All
    I have a requirement, I have two files coming from the source system one file with Header Detials & other file with Item Detials and I have to combine these two files into a single file.
    I have used the BPM in PI to combine the two files uisng correlation.
    This scenario is working fine if both the files are having equal number of records wiht the same correlation ID.
    Based on the correlation ID files will be combined in PI and send to the target system.
    Now in case I am receiving the files in which corelation is not matching for few records then in that case process in waiting in BPM and get cancelled after some time & files will not be processed.
    Do we have any option in BPM which will just cominge two files without correlation & passed through BPM & files got processed?
    Thanks for your help in advance.
    Thanks
    Ajay

    Hello Ajay,
    I do agree with Anudeep that corelation is necessary to in order to merge the two messages.
    I am sure you will find a correct corelation factor in order to merge the messages.
    If there is no corelation, you can ask the functional consulatant to add certain veriables in the incoming messages that will corelate the messages.
    Tx
    Saurabh

  • File-soap-file : problem in getting Interface Mapping

    Hi
    I am doing file to Soap to file scenario by using BPM. But I have several methods in Web Service.I am using one method for my requir in that I have to trigger by using CharSoapIn and CharSoapout interfaces .
    I have created
    <i>Message mappings</i> 1 Sen_File_MT to CharSoapIn and 2. CharSoapout to Rec_File_MT.
    <i>Interface Mapping</i> 1. File to Soap and 2. Soap to File respectively.
    I know I have to create 3 receiver determinations.
    Problem is I am not finding out the Interface Mapping where I am configuring from BPM to Business Service.
    I am using Business Service I feel that I am going wrong some where  in adding the "Services".
    Anyone help me out..what would be the problem
    Thanks
    Shankar.

    Yes I am using Abs interfaces and I am following below block
    /people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
    Fig 13 I am using separatly FileRequest_MT to CharSoapIn and FileResponse_MT to CharSoapOut.
    But here instead of RFC I am using SOAP also I am using Business Service intead of Business System.
    I am unable to fine the Interface Mapping from BPM to Soap or BMP to File
    Thanks
    Shankar

  • Async-Sync scenario with out using BPM

    Hi All,
    With SP19 we can implement File-RFC-File scenario with out using BPM.
    But can any one suggest how can I implement the following File-RFC-File scenario without using BPM.
    My input file has five elements. A1,A2,A3,A4,A5
    The RFC (BAPI) needs A2 and A3 as input and it produces the output R6.
    Now in the destination I need to populate D1,D2,D3,D4,D5,D6.
    D1 has to be mapped from A1 and so on till fifth element. D6 will be mapped from R6. In order to achieve this we need to store the value of source interface before calling the RFC so that when we get the response back we can populate the entire destination structure.
    Can anyone advise how to go about it. I don't want to use a BPM here.
    Thanks
    Abinash

    Hi
    the following thread may help you
    Weblog to send Response from RFC to File in Asyn Mode Using Proxy [original link is broken]
    File - RFC - File without a BPM - Possible from SP 19.
    Thanks,
    Ram

  • FTP TO RFC using BPM

    hello
    I am creating a scenario of
      File to RFC, Using BPM where in again input from File and updating using RFC in multiple steps...( Not creating a scenario of FTP to RFC to FTP )
    do i have any web-blog or step wise guide for above scenario
    Regards,
    Keith

    Hello Keith,
    The file to RFC scenario can be implemented in the following steps,
    1. In the design, create the requsite DataType, MessageType and MessageInterfaces. One message interface will be outbound asynch and the other will be inbound async.
    2. Do the message mapping and also the interface mapping as required.
    In the configuration, the following has to be done,
    1. Create 2 communication channels. One for file as sender and the other for RFC  as the receiver.
    2. Create 1 sender agreement and 1 receiver agreement. In the sender agreement give your FILE communication channel and in the receiver agreement give your RFC communication channel.
    3. Then, do the receiver determination, interface determination.
    4. In each of this, the sender service is the business system  you have created and the receiver service is the system in which your RFC resides.
    Regards,
    Bhavesh

  • How to use BPM?

    Hello,
    1.Could some one provide me the Step by Step procedure for using BPM.
    2.whati si the use of BPM
    Regards,
    Swaroop

    Hi,
    1.Could some one provide me the Step by Step procedure for using BPM.
    [Step By Step file to webService Using BPM|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/10c73036-f019-2b10-20bc-f15a25be9588]
    2.whati si the use of BPM
    Use Of BPM
    BPM in SAP XI is generally used for stateful message processing. Having said that if you want two messages to be processed depending on certain criteria you will have to use BPM.
    The places where we generally use BPM is:
    1. Error handling.
    2. Handling messages from multiple senders
    3. Collecting of messages
    4. Splitting of messages
    5. Processing message based on certain criteria
    6. If the receiver structure is created based on certain criteria.
    These are just some of the examples. If you hace SAP XI installed, then you can go to SWCV SAP BASIS and you will find examples out there.
    Also, you can find examples in here
    http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm and
    http://help.sap.com/saphelp_nw04/helpdata/en/69/4ad13fa69a4921e10000000a1550b0/content.htm
    BPM is one way to raise your alerts in an excetion step. This does not mean BPM is mandatory for raising alerts
    Hope this gies you some clarity.
    Thanks.

Maybe you are looking for