IDoc storage and mapping in PI

As part of our Middlware Migration from Websphere to Datastage , I am being told by my Datastage team that in SAP ECC, I would have to define an Unique IDoc type for every Interface. This is to facilitate for the Datastage to extract just the IDocs relevant for a given Interface/Partner at a given time instead of scanning through all the IDoc types and then filtering on Message type and any other attributes necessary to map and push the Idoc/file to a partner  . ( Apparently there is a file folder based on IDoc type in Datastage, for example all ORDERS05 Idocs go into one folder, ZORDERS5 go into another folder) .
My question is that does PI have any functionality where it stores IDoc data based on not just IDoc type but any more freely definable IDoc control attributes like for example Message Type? So that there could be separate files/folders for every IDoc type/Message Type combination?

1. Scenario IDoc Sender  --> SOAP Receiver with XSD validaton on integration server
  Is a negative system acknowledgement also sent back via ALEAUD if there is a processing error in PI, such as XSD validation failed, message mapping error etc. So all errors that occur before the message is sent out?
its only a transport acknowledgement like idoc has been received in PI..but there is no option to send any errors or mapping errors messages back to sender system.
2. Scenario Proxy Sender - BPM - AS2 Receiver
If I request technical acknowledgements in an integration process send step. Is it then possible to handle a negative acknowledgment if an error in the send step occurs? So, to create a message and send it back to the sender system?
No there is no option like that....
HTH
Rajesh

Similar Messages

  • Retreive IDOC number and map it to a field in Target XML

    Hi Experts,
    IDOC to file scenario
    I have a requirement where I have to retreive the number of the IDOC generated and map it to a field ID in the target XML.
    Do i have to use a UDF for this? can ne one pls explain?
    Regards,
    Teja

    Hi Ravi,
    You dont need use a UDF for this.
    this is a very simple requiremen.
    You can get the IDOC number from source IDOc
    under EDI_DC40 node field name DOCNUM.
    This DOCNUM fielsd will contain the IDOC number
    Map this DOCNUM field from source IDOC to target XML structure.

  • Sending Idocs from SAP-R/3 to XI, bundle and map them to one XML-file

    Hi All,
    We need to send IDoc's (DEBMAS06) from R/3 to XI and  bundle and map them to a single xml-file. Please help us with your suggestions on how to proceed using a simple solution (probably need of BPM).
    Regards,
    Theo

    Hi Theo,
    there is an example in SAP Library: <a href="http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm">Collecting and Bundling Messages - One Interface</a>. Plz post us your detailed quetions.
    Regards,
    Udo

  • Difference in idoc adapter header mapping between SP14 and SP19

    Hi All,
    i have a very strange problem.......i have 2 XI systems : XI-sandbox and XI-dev.....
    XI-sandbox is on XI3.0 SP19 whereas XI-dev is on XI3.0 SP14...........
    I have a file->XI->idoc scenario which is same on both XI-sandbox and XI-dev....
    in receiver idoc adapter, i am using header mapping for sender service and in the sender service i am using XPATH of a field of control rec of idoc.........
    this scenario works fine on XI-sandbox which is on SP19 and the idocs are sent to SAP R/3 sandbox...........but this scenario on XI-dev gives error in SXMB_MONI in XI-dev of Call adapter - "No party conversion found".........
    So my question is that is there any difference in idoc adapter header mapping between SP14 and SP19.........
    Thanks,
    Rajeev Gupta
    Message was edited by:
            RAJEEV GUPTA

    ><i>so i cant use apply control rec values from payload.........</i>
    rajeev,
    I know this has nothing to do with the original problem but please do bear.
    If I undertood you posts correct, the Sender Partner Name is set in the Idoc Control record in the field SNDPRN in the mapping using some mapping logic.
    Now, this is the partner name with which the idoc is to be posted to thge R3 system.
    if yes, then like I have pointed above, using "Take Sender From Payload" in the Receivcer Idoc Adapter is a better option as pointed in the SAP help as well.
    As you are already populating the idoc control ecord with SNDPRN just make the SNDPRT as LS and then select "Take Sender from Payload" in the receiver Idoc adapter and the Sender Partner Name will not be taken from SDNPRN just as you want.
    This is different from "Apply Control Records From Payload" .
    Regards
    Bhavesh
    PS : you can ignore this reply if the situatios is too late to make this change and thanks for the patience.

  • Issue with IDOC occurence and SeeBurger message mapping

    Hey Guys
    While developing a EDI 850 to IDOC scenario i came across this issue with pre-delivered Seeburger mapping(A_850_V4010_to_I_ORDERS05).
    I actually need to post multiple IDOC's to SAP system in the same message so i changed the IDOC occurence to unbounded and re-imported that as a .XSD file in Integration repository.
    Earlier the pre-delivered message mappings provided by SeeBurger(under SEEBURGER_HIGH-TECH, 1.7.1 of seeburger) was working fine for me since i was posting only 1 IDOC but now the mapping is failing as the IDOC occurence has changed(unbounded).
    Is there a way we can do some settings on SeeBurger server or Bic so that we can use the pre-delivered mapping for Multiple IDOC's as well?
    I just want to make sure before i start off with doing whole of the mapping manually.
    Thanx
    Aamir

    Thanx for the input guys
    @Deepthi.
    Doing whole of mapping manualy is definitely the last option but i m looking for ways to re-use the pre-delivered SeeBurger mapping.
    >>Seeburger Mapping is only just to convert XML to EDI and EDI to XML.
    Bic mapping designer does this,i m dealing with message mapping of XI(convert source to target) not Bic designer right now,and Bic does more than just XML to EDI and vice versa,it handles other industry standards too.
    @Jens
    >>The XI message mappings from Seeburger in the Industry solutions are mapping templates
    Yeah,but the mapping template i have deals with 850 to ORDERS05,when i change IDOC occurence and re-import it back in Integration repository,it doesn't stays as ORDERS05,it has to be changed to user defined message interface(in my case MI_ORDERS05) so i m unable to use 850 to ORDERS05 template.
    @Seshagiri
    >>Open the Seeburger SWCV From the IR--goto External Def---Select the right one and copy it and paste it in notepad.
    Changing the occurence is not an issue,i want to re-use the pre-delivered mapping in Integration repository,which is not working.
    Looks like i need to do it manually
    Thanx
    Aamir

  • IDOC Acknowledgement and Header Mapping

    Dear all,
    I've got the following scenario:
    SAP 4.6C is sending many different IDOCs to XI 3.0 (SP14).
    On XI side there are several integration processes, business systems and business services receiving the IDOCs.
    I want to create IDOC acknowledgements and send them back to SAP system.
    For one integration process I was able to successfully create and send back an acknowledgement by following the steps described in the very good blog:
    /people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
    Now I want that every integration process/business system/business service is sending back an acknowledgement with the <b>same</b> logical system name (meaning "this acknowledgement is coming from XI").
    As it is not possible to enter the same logical system name for more than one process I created a receiver agreement with:
    Sender Service = the integration process
    Receiver Service = the SAP 4.6C business system
    Receiver Interface = ALEAUD.ALEAUD01
    Receiver Communication Channel = IDOC receiver channel called "Ack_IDOC_Receiver", existing in SAP 4.6C business system and pointing to this system
    Additionally I created a header mapping in this receiver agreement where I set the Sender Service to the business system of the XI system.
    Unfortunately the tests showed to me that obviously the header mapping (maybe even the whole receiver agreement) is being ignored completely as no Acknowledgement IDOC will be created. Instead I get the error message "Unable to convert sender service to an ALE logical system".
    I also played around a bit with the options "Apply Control Record Values from Payload" and "Pass Sender value from Payload" but this didn't make any difference.
    Why is the header mapping not replacing the sender service in the acknowledgement message?
    Best regards,
    Tobias

    Tobias,
    we have the same Problem.
    we´re sending with Receiving Partner "12345" and the IDoc in the target System is filled with the standard SAP Value maybe the one configured in the SDL.
    We have configured our IDOC_REceiver with a mark on "Apply Control Record Value from payload".
    If you have a look at the SAP Helpfile you will find out that some header fields are not be changeable and get the value from sap.
    like IDOC-Number, Receiving Partner and maybe the sender service ???
    Regards,
    Gordon

  • "Standard" mapping between SAP IDOC INVOIC02 and Finvoice

    Hello all
    We are about to implement invoicing via IDOC (INVOIC02) => XI => mapping to Finvoice (http://www.fkl.fi/verkkolasku/english/index.htm).
    Now i am interested in a "standard" mapping between Invoice02 and Finvoice as a starting point for our mapping.
    I cannot find anything in the internet, so i wanted to ask you, if you have such a mapping?
    Thank you and best Regards
    Martin

    Hi  Martin,
    Now i am interested in a "standard" mapping between Invoice02 and Finvoice as
    a starting point for our mapping.
    Do you have the XSD or DTD for the Finvoice structure.If you are able to load the XSD structure
    then try mapping according to the business requirement.Pls ref link below.
    XML definition -> SAP data dictionary structure
    Finvoice (http://www.fkl.fi/verkkolasku/english/index.htm).
    Not sure if you are trying to use the service by http://www.ebxml.org/.
    Please elaborate more on your requirement.
    Regards,
    Srinivas

  • EDI 821 and EDI 823 field mapping file and basic IDOC type and message type

    Hi All,
    We are facing some issues regarding EDI 821 and EDI 823 file mappings.
    We are mapping EDI 821 and EDI 823 transactions into SAP using IDOCs. Currently we are using the below entries
    EDI 823 - Lock Box
    Basic IDOC type - FINSTA01
    Message type - FINSTA
    Process Code  - FINS
    The problem is we are able to get the IDOC into SAP with status red and the various errors were due to not able to create the lockbox entry in SAP and once we got yellow status also but the lock box entry was not created and the errors are like No Conversions,no header etc.
    EDI 821 -
    Basic IDOC type - PEXR2002
    Message type - PAYEXT OR REMADV
    Process Code  - PEXC OR REMA
    We are facing the same problem here also and the internal payment order is not creating in SAP and IDOC was generated with yellow status and red status.
    We are trying different combinations but nothing is working so far.
    I need the following things to proceed furthur.
    1)Are the IDOC , Message and process codes are correct that I am using now for both EDI 821 and EDI 823
    2)If those are not correct, can you please let me know the correct entries
    3) Please provide me the field mapping if any one of you have worked earlier for both the above IDOC and message type or new ones and we have one field mapping now but if you can send it to me then  I can re check it.
    4) Do we have to create any configuraion or customizing in SAP to create the IDOC in green status and if so please let me know the customizing steps and procedures for both EDI 821 and EDI 823.
    thanks in advance for all your help.
    Please let me know if my question is not clear.
    Thanks,
    Ramesh.

    Hi Ramesh,
    I believe you are using those interfaces with the business partner type as Bank, Whatever idoc type, message type and process code you have used are perfectly correct.
    First of all did you enable your bank for EDI, the house bank has to be EDI enabled first then only your idoc's can be processed, talk to your fi functional consultant and he might help you.
    Are you can give me the exact error and i can help you as well.
    Thanks,
    Mahesh.

  • Data from a file need to be read and mapped  into a custom table of R/3

    Hello all,
    This is related to inbound to  SAP ECC via SAP PI.
    There is a requirement concerning PI part that data from a file need to be read and mapped  into a custom table of R/3.
    To have this scenario developed , do we have any other  option than the Proxy ?
    My understanding is as follows : File --> SAP PI --> Proxy
    You suggestions are welcome.
    Regards,
    Rachana

    Hi Ravi,
    As suggested by Inaki, you can use proxy communication in recever.
    but you can also use the below
    FILE -----> PI -------> PROXY
                                  RFC
                                  IDOC
    to communicate to ECC system.
    Regards
    srinivas

  • IDOC to and from eternal system

    Hi All,
    I've following scenario:
    Sender SAP R/3 system is sendind IDOC of type say A to XI system, XI system is mapping IDOC of type A to say IDOC B, then finally XI is sending IDOC B to receiver SAP R/3 system [External system}
    Note: Reverse scenario is also there in which we are receiving IDoc from external r/3 system and mapping it to different IDOC in XI then sending to SAP System.
    Development done so far:
    ID:
    I've imported IDOC A in XI. SInce I didn't had authoriztion to import IDOC B from target so I asked client to provide XSD od IDOC B.
    I created one inbound message interface using IDOC B XSD and also completed the mapping part using same XSD.
    IR:
    I've created one IDOC receiver communcation channel for external system. I completed the configuration
    ALE:
    I've created on RFC destination of type 3 to connect external SAP system. I created port in IDX1 for IDOC communcaition.
    Problem:
    When I am sending IDoc to exxternal sap system then message is getting failed in moni. IDoc adapter is not accepting the message interface creted based on IDoc XSD.
    I believe  I need to import IDoc meta data from target system for IDOC B. since in XI i didn't imported IDOC instead I used IDO XSD.
    it may be the reason.
    Please help me to solve the problem

    HI Experts,
    I am doing testing of my scenario.
    As I've described the scenario in my last post. I am sending a IDoc A from my sender system and traslating it to IDoc B in XI, then sending it to the external SAP system (SAP 4.6). Basically IDOC XI IDC scenario but with the slightly change of converting one idoc to other.
    During test:
    I received following error:
      <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    - <!--  Call Adapter
      -->
    - <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
      <SAP:Category>XIAdapter</SAP:Category>
      <SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_IDOC_METADATA</SAP:Code>
      <SAP:P1>I::000</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:ApplicationFaultMessage namespace="" />
      <SAP:Stack>Error: I::000</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    Trace:
    <Trace level="1" type="T">Parse XML-BODY</Trace>
      <Trace level="1" type="T">Get the Metadata for port SAPLSD</Trace>
      </Trace>
      </Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_LOG_TO_PERSIST" />
      <Trace level="1" type="System_Error">Error exception return from pipeline processing!</Trace>
      <Trace level="1" type="B" name="CL_XMS_MAIN-WRITE_MESSAGE_TO_PERSIST" />
    I've created one idoc port in XI named 'SAPLSD' inside I've used RFC destination to the target system. During runtime metadata is not loaded in IDX2.
    When I tried importing metadata manually, i received the following error
    "No RFC destination is maintained for the port"
    is there any particular naming i should use for idx port and for rfc destination??
    what could be the problem?? ....
    Q. is it because of the RFC destination is not OK or
    Q. the I do not have proper authoirsation to import metadata from LES system or
    Q. Since target system is SAP 4.6 system.... is it could be the problem? [Unicode]
    Please suggest

  • Compare two Idoc's and send to te recievers as per the Condition.

    Hi,
    Scenario: Sender are a Idoc's and Receiver is Mail and File.
    Sum the value of field1 of IDOC1 loop and compare with the field 2 of IDOC2. If the Condition satisfy send the data to file and mail reciever else send to only mail reciever.
    I tried using a BPM. Steps used in BPM are as follow:
    Step: 1
    Fork -- with two branches.
    Branch 1:loop1-- reciever1 -- container
    Branch 2:reciever2
    Step2:
    Switch with two branches: Check the compare condition of the two Idoc
    Branch 1:
    Fork with two branches with send step with mail and file recievers
    branch 2: Only mail reciever.
    However if the condition is true or false the information is send mail to reciever.
    I tried with the above steps, but failed.
    Any changes required, please let me know.
    Regards,
    Manoj

    sumit,
    I recieve N number of IDOC1. I need Sum the value of field1 of IDOC1 loop and compare with the field 2 of IDOC2.
    I tried using a BPM . Steps used in BPM are as follow:
    Step: 1
    Fork -- with two branches.
    Branch 1:loop1-- reciever1 -- container
    Branch 2:reciever2
    Step2: Transfomation with Mapping program, source and Target message
    Step3:
    Switch with two branches: Check the compare condition of the two Idoc
    Branch 1:
    Fork with two branches with send step with mail and file recievers
    branch 2: Only mail reciever.
    When i checked with workflow i observe that that the message is not moving out of transformation step.But the message mapping is succesfully tested
    Thanks,
    Manoj

  • Coding for ABAP Proxy and mapping

    Hi XI Ds
    which one need coding neither ABAP Proxy nor ABAP Mapping
    Thanks

    Hi Kushee  ,
    We need coding for both ABAP Proxy and mapping. We need to know some OO(Object Oreinted) ABAP concepts.
    We can also import JAVA CODE for certain functionality.
    Check the following websites for clarity:
    how to create a flat file out of an IDoc-XML by means of an ABAP mapping program and the J2EE File Adapter.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/46759682-0401-0010-1791-bd1972bc0b8a
    cheers!
    gyanaraj

  • Idoc control record mapping

    Hi,
    I am doing a flat file to idoc scenario from ftp server to SAP and in mapping I had disabled EDI_DC40 mapping and it is populated all the fields correctly except the sender partner no. field. It is populating the value as XXXFTPDEV whereas I need the logical system name of XI system to be populated. Do I have to enable EDI_DC40 mapping and map just the sender partner field with my value or in that case case I will have to map other control fields also. Is there any other way by which I can overwrite just the sender partner no. field value?
    Thanks,
    Jassi

    It seems SNDPRN is not populated from the values in mapping but it takes default values from IDOC adapter. I have tested this and it is mentioned in this blog also.
    /people/michal.krawczyk2/blog/2005/09/01/xi-idoc-adapter--edidc40--demystified
    Is there any other way to populate sender partner no. field other than changing the logical system name in SLD?
    Thanks,
    Jassi

  • What exactly is InheritableThreadLocal Storage, and how exactly do I use it

    What exactly is InheritableThreadLocal Storage, and how exactly do I use it?

    What exactly is InheritableThreadLocal Storage, andI have only seen one previous use of ThreadLocal objects and it was somewhere on http://www.javaworld.com on a solution to the Java double-checked locking problem.
    Roughly speaking, previously to Java1.2 you had two variable-type choices in Java. The first is a static variable that is the same across ALL instances of a class. The second was an instance variable, that is can be different in EVERY instance of a class. Java 1.2 introduced the ThreadLocal variable-type. If a variable type is ThreadLocal, then every running Thread may see a different value for the variable - essentially it is a Map of Threads to values.
    InheritableThreadLocal is finely different from ThreadLocal. They are almost identical excepting that if one Thread is spawned from another (ie. it is a "child" thread) then the value of the InheritableThreadLocal variable will be the same in the child Thread as the parent Thread.
    As to when it could be used, I'm not so sure (other than the no-brainer "when you want a variable to have different values in different Threads"). I'd be interested to hear about any instances where someone has used a variable such as this.
    how exactly do I use it?Carefully

  • How to Use IDOC in Java Mapping?

    Hello -
    1. How can i use an IDOC to map to an xml file using Java mapping in an IDOC -> XI -> XML file scenario?
    2. How can i test this scenario outside XI, i mean using Eclipse?
    3. How can i create a test data for IDOC for the above scenario in XML format to test it using Java program?
    Thanks,
    Tirumal

    Hi,
    <i>***1. How can i use an IDOC to map to an xml file using Java mapping in an IDOC -> XI -> XML file scenario?</i>
    It will be a direct xml to xml mapping. Is your requirement requires Java Mapping? Otherwise you can easily do without that - check this-
    Is there simply way to map an idoc to an flatfile?
    <i>***2. How can i test this scenario outside XI, i mean using Eclipse?</i>
    You need to have XML input for this. Just try to get the IDoc XML or create xml input based on the Idoc Structure. You can make use of  WE60 to get  IDOC xsd .
    <i>***3. How can i create a test data for IDOC for the above scenario in XML format to test it using Java program?</i>
    Go to Tcode WE19 in the R/3 and generate the outbound Idoc . And then use that xml ( for question no 2). as a test data to test independently.
    Hope this helps..
    Regards,
    Moorthy

Maybe you are looking for

  • Not able populate correct data into fields in alv report

    hi experts, question: from delivery document number(likp-vbeln) go to delivery items to get lips-matnr,lips-lgort TYPE-POOLS:SLIS. TABLES: MARC,LIPS,LIKP,VBAK,VBAP,VBRP. SELECT-OPTIONS:S_VKORG FOR LIKP-VKORG,                S_VBELN FOR LIKP-VBELN,   

  • Transfer iTunes to new mac, without losing ID3 tags (bpm, etc.)

    Hi Got a bit of a tricky one. I recently got myself a new MacBook as my old one's on its way out. I need to transfer my iTunes library from one to the other, but I'd really like to keep the information intact (particular bpm tags as I'm a DJ and its

  • 2.4 Camera Raw update Glitch

    I applied latest CR 2.4 upgrade to G5Quad and found that .dng files produced using Phocus software as a workaround are showing up at least 2 stops under exposed with nowhere left to go on the slider to correct. Any one seeing a similar problem Phil T

  • How can we call a jar files(seperate projects jars) to each link of the tre

    how can we call a jar OR WAR files(seperate projects jars OR War) to each link of the tree.

  • Resource Availability

    hi, I am facing problem in getting resource availability in staffing tab. I have maintained avialability for BP in RPM_EMPDATA. Please tell me what could be the solution to get availability of BP in staffing. Pramod