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

Similar Messages

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

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

  • Mapping from File to IDoc with multiple Idocs and multiple line items?

    Hi All,
    Need some help with mapping, requirement as below: I have a flat file with multiple records, need to create multiple idocs per each separate order in flat file with as many line items.
    Order_1 field-1 field-2 field-3 field-4
    Order_1 field-1 field-2 field-3 field-4
    Order_2 field-1 field-2 field-3 field-4
    Order_2 field-1 field-2 field-3 field-4
    Order_3 field-1 field-2 field-3 field-4
    Order_3 field-1 field-2 field-3 field-4
    I have imported IDoc changed to 1:Unbounded, able to create multiple Idocs based on separate order from flat file.
    Order_No - removeContexts - splitByValue(ValueChanged) - collapseContexts - exists - creatIf - IDOC
    Now I am having hard time creating a line item segment E1EDP01. I want to have Idoc created below way:
    IDoc-1 (Order_1)
    E1EDP01
    E1EDP01
    IDoc-2 (Order_2)
    E1EDP01
    E1EDP01
    IDoc-3 (Order_3)
    E1EDP01
    E1EDP01
    I am getting multiple IDocs created. Please help me to create mutlieple line items under each Idoc. Please be speficic about the node funtions to be used, because I tried many times with different combinations, didn't work.
    Regards,
    N@v!n

    Hi Navin,
    Create your source structure like below
    <Order>1 to unbounded
        <Order_No>
        <field1>
        <field2>
        <field3>
        <field4>
    </oder>
    to create mutiple IDocs based on order number,use below logic
    Order_No-->removecontexts--->sort--->splitbyvalue(Valuechange)--->collapsecontext-->Idoc
    use below logic for E1EDPO1,
    Order----->removecontexts------>
                                                                                    formatByexample------>E1EDP01
    Order_No-->removecontexts--->sort--->splitbyvalue(Valuechange)-------->
    try above logic and let me know if you any issues.
    Regards,
    Raj

  • File to Idoc with wait for 30 secs time

    Hi Experts,
    We  have a requirement like, sending a file using MDM adapter to Idoc.
    We need to process messgaes coming into ftp one by one to target system ECC with a time interval of 30 seconds.
    After 1 msg is processed, wait for 30 seconds and next message have to process.
    Please let us know any user defined function code for this.
    Thanks in advance...
    Soumya A

    Check below thread.
    File adapter to pick a single file
    CONFIGURE FILE ADAPTER ,get files one by one.
    Edited by: phani kumar on Jan 6, 2012 12:50 PM

  • File to IDOC with content conversion

    Hi
    I am trying to do a file content conversion scenario. This is a fixed length file which needs to be converted to idoc.
    I have configured IR and ID (FCC parameters added). While testing the end-end scenario we are able to see that sender adapter has successfully read the message , but we are not able to see any message in SXMB_MONI.
    Please help

    Following is the file structure
    "RecordType HeaderField2 HeaderField3"
    "RecordType LineItem2 LineItem3"
    "RecordType TrailerField2 TrailerField3"
    Following are content conversion Parameters [KeyFieldName -> RecordType]
    HeaderRow.beginSeparator -> '"'
    HeaderRow.fieldFixedLengths -> 10,20,10 (for ex)
    HeaderRow.fieldNames -> RecordType,HeaderField2,HeaderField3
    HeaderRow.keyFieldValue -> 01 (COnstant)
    HeaderRow1.endSeparator -> '"'
    Similar for line item and trailer
    Is there any way to check our input file against the content conversion parameters to make sure that they are correct
    Thanks

  • Multi mapping.. is it possible File to Idoc & FIle .. its urgent?????

    Hi All,
    File to Idoc & File.
    I need to pick the file and i need to do multi mapping, so that from the file we can generate
    one idoc which has to go to SAP and
    one acknowledgment's file and sent back to partner.
    Based on the below blog, looks like we can't use Idoc adapter when the target message is Idoc using Multi mapping.
    /people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible
    Can anyone suggest me how i can achieve this scenario without using BPM.??
    Regards
    Seema.

    Hi,
    The Multi mapping is possible without BPM but not for IDOC as its not part of Java Stack. IDOC adapter is on ABAP stack.
    As Raj have suggested,
    You could create two different Mappings one for file to IDOC and another for file to file as an acknowledgment.
    In Receiver determination you need to use multiple receivers as IDOC --R/3 receiver and the File receiver system.
    It will create the IDOC as well as push the acknowledgment to file also.
    But incase if you get any problem with sending the IDOC then also you will get successful acknowledgment via file. So directly there will not be any relation between these IDOC and File receivers as an delivery recipt of IDOC.
    Here either you have to use the IDOC acknowledgment feature or BPM or Alert notification to get the exact notification about the IDOC posting to receiver system.
    Please refer below links
    1. IDOC acknowledgment
    This Feature is Available under SP 18 and we are on SP16
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    Check this document on handling IDOC acknowledgements. This might give you some pointers.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    This Feature is Available under SP 18 and we are on SP16
    http://help.sap.com/saphelp_nw04/helpdata/en/42/c8f66bc7a56bb0e10000000a1553f6/frameset.htm
    Check this document on handling IDOC acknowledgements. This might give you some pointers.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe
    How to Handle Acknowledgments for IDoc (NW7.0)
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/903a0abc-e56e-2910-51a8-9dc616df56eb
    IDOC acknowledgements
    2. BPM
    File to IDOC with BPM
    File to idoc with BPM
    Problem in BPM implementation
    Use Aleaud in BPM
    /people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements
    /people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm
    3. Alert Notification
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--step-by-step - Alert Configuration
    /people/michal.krawczyk2/blog/2005/09/09/xi-alerts--troubleshooting-guide - Trouble shoot alert config
    Thanks
    Swarup

Maybe you are looking for

  • 5.1 Digital - h

    Hi there, my question is, I hope, fairly fundamental; I have a PC I'm in the process of turning into a media-center; y'know, PVR, jukebox, etc. Now, I've got most things covered -- processor, RAM, hdd, video card, TV-card, etc. -- but feel I'm missin

  • Disk cannot be read...

    When I try to download music to my nano an error message comes up that says disk cannot be read from or written to. what does that mean? Also says it can not be updated?

  • Acrobat 9 Header print Flush Right???

    I enter the text I want in the Right Header box and in the preview pane it shows it as Flush right in the right header box, but when I apply it and go back to the document it is aligned to the left in the right header box. How do I get it to insert i

  • Between two ViewContainerUIElements want to add RadioButton & Its Events ch

    Hi friends, I have requirement using the WebDynpro JAVA that between the DropdownList and TableView I want to add Radio Button. And want to change the even accordingly. There is a ViewContainerUIElement_A which contained the Single DropDownList and a

  • Confirmed Quantity not displayed in SO

    Hi All, Recently we went live on ECC 6.0 and now we are using APO for availability. We have an issue: A sales order contains 5 line items. The first line item is confirmed for Feb mid. the other items are not confirmed while creating the SO. User lat