File to idoc with BPM

Hi All,
     I have  one  File to IDoc Scenario. Now I want to throw  posting error in a file.
i.e., if mapping goes not well and when IDoc is being sent to Recipient system then if any posting error is encountered, then a file(Flat file) will be created at sending system side.
     I am planning to design this scenario with BPM. Now end user requires a akwoledgement for this scenario eithere it may be succsess or failure in file format. If succsess the file will be created with succsess information(any format), either failure also file will be created with error information. The user requires only file format b'coz this file will be read by another java application (user didn't require to his mail).
Can anybody suggest the solution for this:
1. How to generate aknowledgement file for sucsess or failure.
2. How to use this file to idoc scenario in BPM with out using Alert configuration or Mail adapter.
Regards,
Konala.

Hi,
As you know Idocs are used for asynch communication, only was to get acknowledgemnet is using ALEAUDIT. For your scenario there can be one work around. When you post IDoc in the, in that function module after the posting is done call one more RFC with the the success/failure message which will trigger RFC to File sceanrio.
If you get any other solution, please post it back to same thread.
Thanks,
Prateek

Similar Messages

  • File 2 idoc with bpm

    hi experts
    can  u send  me the blogs of file 2 -doc with bpm (bpm collect pattern etc) and user defined functions in file 2 idoc

    Hi,
    User Defined Function are not generic,
    It depends on what you are trying to do and the requirement,.
    Please take a look at this link for some examples,
    http://help.sap.com/saphelp_nw04/helpdata/en/22/e127f28b572243b4324879c6bf05a0/content.htm
    Regards,
    Bhavesh

  • File sender adapter:FILE to IDOC without BPM, can't see in SXMB_MONI.

    Hi all
    I have a FILE - XI - IDOC Async scenario without BPM.
    I configured FILE sender adapter and IDOC receiver adapter. I made a mapping to transfer file data to the structure of IDOC.
    Now when i am trying to load the file using command prompt, i cud see nothing in the monitoring. Whereas if i go to the communication channel monitoring of runtime workbench, i saw that CC is polling correctly and was reading the file also.
    And also wen i saw in the processed folder which i mentioned in the CC configuration for the ARCHIVE DIRECTORY, i saw that file got transferred to the folder also.
    I don't understand why i cant see anything in the monitoring.
    Could anybody help me to rectify the problem. Is there anything i m missing ?
    Regards
    Naina

    Rajesh/Amar
    TCode:: SXMB_ADM->Integration engine configuration->specific configuration->runtime
    Trace_Level = 3 then you can get all MONI PIPELINE Steps also
    I did this change but cudn't see anything in SXMB_MONI.
    This is how i have configured my process:
    http://wiki.sdn.sap.com/wiki/display/XI/FiletoMultipleIDOCSplittingwithoutBPM
    But instead of IDOC splitting i have simple FILE - XI -IDOC scenario.
    I have configured everything exaclty the same way it is mentioned here. But for me the process is not visible at all.
    I can't even see the first request message in the monitoring.
    This is the message i can see in the communication channel monitoring:
    2010-05-24 09:07:41 Success Channel CC_*: Entire file content converted to XML format
    2010-05-24 09:07:41 Warning Channel CC_*: Empty document found. Proceed without sending message
    2010-05-24 09:07:41 Success File "/xyz/ABC.txt" archived after processing
    Is there any problem with the file and that could be the reason it cant convert the file to the request message MT_REQUEST and thus am not able to see anything in monitoring.
    help me guys....this is a simple process and i m stuck...its frustrating
    Regards
    Naina

  • 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

  • Multiple files to idoc without bpm

    Hi
    I have gone through the previous threads and came to know that n:1 is not possible without bpm. But in case of idocs you can collect them in r/3 system itself using RSEOUT00 program. But if my scenario is like.......you have 10 files which are coming through ftp and we have  to send the idoc to the target system. Is there any way to do this scenario without bpm ??
    Thanks
    kumar

    Hi palnati !
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible 
    Multiple IDocs without BPM(occurance change)
    /people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change
    In case you have multiple IDoc types ref:
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    Have a look at this blog.. Might be helps to you..
    https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2748. [original link is broken] [original link is broken] [original link is broken]
    Pls reward if useful

  • File to IDOC with some delay

    Hi Experts,
    My requirement is that i need to read text file line by line and post IDOC to R3 with 3 minutes delay.
    That means, between two idocs that got posted ot R3, there shuld be 3 minutes delay from XI.
    Is this possible, If it is possible how it si possible?
    Thanks,
    Subbu

    Hi,
    Two Mappings involved are:
    1..source file to idoc imported as external definition (whose occurance is 0..unbound)
    2..file(idoc imported as external definition) to IDoc
    1) When you are spllitting messages with 1:N mapping in BPM, with what name you saved the multiple fies at target.
    in BPM after receive step u need to add transform step where u specify ur mapping and there ur messge is getting spilt. and in File adapter for receiver give file name as temp.xml and choose option as add timestamp..so that ur file name will be "temp<timestamp>.txt" when it gets created and in sender file adapter choose option as "delete" bcoz if u don't delete it ...XI will just keep generating new multiple files
    2) How could you manage picking files at 3 mintes intervals from file communciaion channel from FTP.
    Now while picking file, in file adapter give file name as "temp*.xml"...here this * plays main role as it picks all files starts with temp...and again select "delete" option ..else XI again will just keep picking file forever
    and in polling interval in sender file keep 3 mins delay
    Hope this clears ur doubt.
    Regards,
    Manisha

  • File to IDOC with ACKNOWLEDGMENT

    Hi,
    Can anyone tell how to handle acknowledgment in FILE  TO IDOC scenario. ( no BPM please )
    Just tell me steps for this with any example but without using BPM.
    Thanks in advance..

    hi Prateek,
    >>You have to keep in mind that the acknowledgement in this case would be sent in the form of ALEAUD from receiver SAP system to XI. It could not be directly sent to file system without BPM.
    actuall it can be delivered to file system without a BPM
    you just need to specify that aleaud from this sender are treated as XI request messages
    unless I got your response wrong
    Regards,
    Michal Krawczyk

  • File to IDOC, with External Definition to hold multiple IDocs

    Hello Experts,
    I am configuring a sample File to IDOC scenario. Here are the steps I am following, can you please guide me what I am missing here.
    I am having a flat file with 10 records to be transferred to my ECC system through IDOC adapter to create 10 different IDocs.
    1. I am picking up my flat file using a 3rd party Business System with File Content Conversion
    2. I uploaded CREMAS Idoc and exported as XSD file and modified Occurences paramter to unbounded and uploaded back as an External file definition into IR
    3. I defined an SAP WEBAS ABAP type Business System with LS (representing my ECC system) and configured with IDOC Rcvr channel.
    4. In the IDOC recvr Channel, I specified RFC destination pointing to my ECC system & Port, Release...etc
    5. On the ECC side, I configurated a PARTNER PROFILE with the above mentioned LS(used in step 3) and added an Inbound Idoc paramter CREMAS with process code CRE1. Selected the option Trigger Immediately.
    Testing:
    1. When I checked my CC monitoring in RWB, my file on the sourced is getting picked up successfull with respect to the specified polling intervals.
    2. I don;t see any messages in my SXMB_MONI. I verified SXMB_ADM configuration it looks fine to me
    3. I used TCode:WE02 on ECC side, nothing is there
    4. I used Tcode SM58 on ECC side, nothign is there
    I have no idea what is happening after successfully picking up the file on the source side.
    Is there a way to trace where exactly the error is or what is wrong with my scenario?
    Just an observation, We don;t need to specifiy any LS on the Sender Business Sytem(3rd party in my case) which picks up my file on the source side. Rather I am specifiying LS on the Target Business Sytem(type WEBAS ABAP in my case) to send my IDOC to ECC system. I am using the same LS to define PP on ECC system.
    Edited by: Chris Rock on Oct 21, 2008 5:03 PM

    Aamir,
    I tried full cache refresh, also cleared SLD Cache for both IR & ID. No luck.
    I think either some thing wrong in connection parameters, but atleast if I see some error in Moni or RWB, it helps, but in my situation, nothing is showing up there.
    Connections:
    I specified PORT & RFC Dest in IDOC RCVR Adapter along with WEBAS Release version. These PORT & RFCs are created in XI using SM59 & IDX1 and both passed the connection test.
    On the ECC side, I created a PP with inbound Idoc CREMAS and process code as CRE1. This PP uses the LS that was used in RCVR BS specified in XI side.
    I also loaded Idoc meta data into XI with Tcode: IDX2
    Please help me, any body. I will sincerely award the points.

  • File to Idoc with error in trfc

    Hello,
    I have a scenario like
    File -> XI -> (idoc) R3
    The scenario works fine but yesterday I had a problem with the user in the rfc destination(pwd wrong) which is used for the idoc-adapter. In the sxmb_Moni and the RWB the msg. got an success flag/info but it was not delivered to the r3 because the rfc-destintion could not work.
    I know that the idoc-adapter is not part of the adapter-engine and  my understanding was that the adapter send his status back to the integration engine. But in this cause I got no feedback from the adapter. I think this is not Ok or I am wrong ?
    Regards Jami

    Hi Jami,
    The reason is simple.....the message is sent from the integration server to the adapter engine which was susessful.but what went wrong is the rfc destination being wrong in the receiver adapter which is not known to the integration server. So in simple words, if things work fine in your integration server then it will not throw an error in your sxmb_moni. So had there been a problem between the message transfer from the integration engine to the adapter engine then it would have surely given you an error in your sxmb_moni(for example you specify some wrong parameters while configuring your receiver IDOC adapter).
    But in this case since we dont have an IDOC adapter in the component monitoring (it has adapters which are in the JAVA stack only but IDOC adapter is in the ABAP stack)we can see the error in SM58 only.
    I hope this answers your question fully. If any other doubts regarding the same pls do ask me.
    Regards,
    Abhy
    Message was edited by: Abhy Thomas

  • 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

  • File 2 Idoc with Acknowledgement to Mailreceiver

    HI,
    i have a simple file to Idoc scenario.
    A file is sent to Xi, mapped to an ORDERS Idoc and the IDoc creates an SalesOrder in the SAP R/3.
    Is it possible to send an acknowledgement or something else back to a mail receiver ?
    In case the SalesOrder is processed -> Mail to the filesender (Mailaddress) everything is fine.
    In case the SalesOrder failed -> Mail to the filesender (Mailaddress) there is an error.
    ideas ?

    Hi Gordon,
    When Idoc creates SalesOrder in SAP R/3 an acknoledgement Idoc is created in R/3 for corresponding SalesOrder.
    You need to create a scenario in such a way that, when Ack Idoc will created in R/3 it will be picked up by Sender side Idoc Adapter and sent to XI from where you can configure Email Receiver and you can get Ack details through email.
    Regards,
    Shripad
    **Reward points if it helps you**

  • File-PI-Idoc with Acknowledgments

    Dear All,
    We are working on File-PI-Idoc scenario. In our existing scenario we were not required of any acknowledgments back from ECC system but now on successful posting of Idoc or on any error in posting idoc in ECC, we want an acknowledgment to be sent back to sender system as file.
    I have checked previous posted threads on the same topic and tried making some congiguration changes but not getting any acknowledgment.
    Please guide me in this.
    Regards,
    NJ

    Surely I have not tried that and to be honest I am confused about what has to be done in there. But will that send ACK back to the FILE folder?
    @Nishu: The workaround that I know have mentioned it in the earlier reply, about triggering another process which will send back the IDOC status and which can be passed to the FILE as a new scenario. Check if the reference given by Shabz matches your requirement....and I think it is for SAP PI7.11

  • File to idoc with Master data

    Hi All,
       We have File to Idoc(Purchase Requisition) scenario. In this scenario file contains master data which is not available in R/3,then how to transfer data?
    regards,
    Khaja.

    Hi Srvya Talanki,
       I want to Accept the file. B'coz My file is having <b>Material Code</b> filed which is  Master data in SAP. If this materail code is not there in SAP I will not post only material code. Remaining all fields will be sent to sap(b'coz it is not mandatory field).
    Thanks & regards,
    Khaja.

  • File to IDOC With Screenshots

    Hi,
    I am doing FIle to IDOC scenario but have got stuck in ID part what to take care in Receiver COmmunication Channel and Receiver determinaiton etc and donot know how to test after finishing ID part.
    ALso we need to put xml file as input in directory but how we get IDOC activated from, and where to see whether our FIle to Idoc scenario is running fine.?? NOt clear pls help
    Surbhi Bhagat

    Surbhi
    <b>Create Receiver Determination</b>
    Sender Service :File system
    Sender Interface : Outbound Interface.
    Configured Receivers - SAP R/3 system
    <b>Interface Determination</b>
    Sender Service :File system
    Sender Interface : Outbound Interface.
    Inbound Interface : IDOC Interface mapping : File to IDOC Mapping
    <b>Receiver Agreement</b>
    Sender Service  : File System
    Receiver Service : SAP R/3
    Inbound Interface :IDOC
    Receiver comm Channel : IDOC Comm.Channel(Receiver)
    Don't forget to give the Header mapping.
    Give Sender service & Receiver service.
    I hope it helps!!!
    Best regards,
    raj.

  • Unsorted Flat File into IDoc with multiple use of nodes

    Hi Experts!
    I am facing a little problem. I have a source flat file for a classification where some fields appear several times.
    My source flat file looks like this:
    item1; field1a
    item2; fieldA
    item3; fieldxa
    item1; field1b
    as you can see the item1 exists twice (further appearances are also possible).
    Now i have to map the flat file into an IDoc structure
    My target IDoc looks like this
    Header
    -- node1
    attribute1
    -- node2
    the "field1a" and "field1b" has to be mapped into the "attribute1" in "node1". "node1" has to be duplicated for each time an "item1" appears (.. and if item2, item3 etc. appears twice, three ... four times...).
    So how can i reach it that the node1 will be duplicated automatically when an item appears twice or more times? I know that it could be possible to work with "SplitByValue"... but for this i need all item1 in an straight order.... but i dont have them in a correct order.
    I am looking forward to your suggestions.
    Thank you in advance.
    Udo

    Complex sorting is not or not easy possible with the grafical mapping tool.
    Use a sequence mapping. The first mapping is a simple XSLT which does the sort. The second mapping works as usual.
    I have an example XSLT which I used for a different purpose:
    <?xml version="1.0" encoding="UTF-8"?>
    <xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
      <xsl:template match="/">
        <ORDERLIST>
          <xsl:for-each select="ORDERLIST/ITEM">
            <xsl:sort select="ID"/>
            <xsl:copy-of select="."/>
          </xsl:for-each>
        </ORDERLIST>
      </xsl:template>
    </xsl:stylesheet>
    Regards
    Stefan

Maybe you are looking for

  • Drill function implemented on Measure object column in the webi report

    Post Author: madan kumar CA Forum: WebIntelligence Reporting Hi, I have a small issue in my project.(Maintenance Project)I created a measure object in the fact table of the existing universe and saved and exported to the repository. (Say Measure obje

  • F.07 does not pick correct customer balance

    I have two customer accounts for which upon running the transaction F.07 ,in test mode , it is returning the cumulative balance from last year( the top line in FD10N) . But in our test system , it is giving the correct balance . Test system was refre

  • Show search result in Portal navigation context?

    My question is if it is possible to show a search result in the context of the portal navigation? After a standard search with TREX a KM-document/folder opens in a new window without any navigation context (and portalframework). We find this not very

  • How to Create HyperV VM's remotely

    Hi, I have the following code typed in a remote windows 8 machine and trying to create a VM on my HyperV server. $CLI1 = "Windows7" $CRAM = 1GB $CLI1VHD = 20GB $VMLOC = "\\HypervSRV\c$\Vms\VM1" $NetworkSwitch1 = "vswitch" $W7ISO = "\\hypervsrv\c$\ISO

  • Kodo 3.2.0RC1 Now Available

    All, Kodo 3.2.0RC1 is now available. Feel free to download it at: http://www.solarmetric.com/jdo/Evaluate/ There are a number of exciting new features in 3.2.0RC1, as well as a number of fixes to bugs found during the beta period: * Many new JDO 2 pr