Mapping EDI ISA06 segment to BPEL element

Hi
We have created a BPEL process for PO Inbound using X12 4010 EDI Version.
One of the trading partner send their EDI document and place them in B2B server.
B2B server has been setup to handle different partners.
One of our BPEL process will deQuee the messages from B2B server.
One of our requirement is to Map ISA06 segment value to BPEL one of element.
Where these values will be stored in this process and how can acchieve this requirement?
Regards
Kiran Akkiraju

Hi Kiran,
Actually If you see the EDI-XML generated by the B2B.The
<Internal-Properties>
<Data-Structure Name="Interchange">
<Lookup Name="InterchangeSenderID">SOME value </Lookup>
<>
section will have the value you are looking for i.e the ISA06 segment.
If you are using the 850.ecs and 850.xsd shipped with the product then the ISA segments are not there.
However the edi-xml generated by B2B has that value.
Now while doing the Mapping we have to extract the value from Internal properties->datastructure->lookup.
I hope these inputs would help you get started.
One more thing I wanted to know are you using XML Gateway from APPS Adapter
for invoking Oracle APPS.
Regards
Lalit

Similar Messages

  • How to use '*' as data Element in the NTE(Edi 850) Segment

    Hi All,
    I am facing a field level error while using '*' in EDI 850 (NTE segment). '*' is also used as Data Element.
    For Eg: NTE*GEN*My Text *goes here
    Here, NTE02 should be My Text *goes here. So, how can I use "*" here without changing anything in the EDI message?
    I have asked this question before
    http://social.msdn.microsoft.com/Forums/en-US/1668e8d8-ee99-4d79-961b-8d26f3a496f8/error-while-using-in-the-nte-edi-850-segment-where-is-also-used-as-data-element?forum=biztalkediandas2
    The answer in the above forum was to ask client modify the EDI message.
    Previously, our client was using a different technology (other than BizTalk) which was working fine with this format. So, they are insisting on this format only.
    Thanks,

    Sorry, the answer is the same.
    It doesn't matter what EDI platform either side is using, the '*' in the field content conflicts with the '*' that is the element delimiter. That is invalid EDI, there is no way around that short of writing a custom EDI parser.
    It's not clear if you're sending or receiving this message.  But again, it's really doesn't matter.
    1. Change the Element Delimiter to something other than '*'.  < or > are not uncommon.
    2. If you are receiving the EDI, create a custom Pipeline Component that "handles" NTE02 either by replacing the '*' with a substitute char or deleting it.
    3. If you are receiving, you could add extra elements to NTE to accommodate extra fields (since that's how the parser will see them).  Then you can join them again in a Map.

  • Error while using '*'in the NTE (EDI 850) Segment where '*' is also used as Data Element

    Hi All,
    I am facing below mentioned error while using '*'in the NTE (EDI 850) Segment where '*' is also used as Data Element
    Error: 1 (Field level error)
      SegmentID: NTE
      Position in TS: 70
      Data Element ID: NTE02
      Position in Segment: 2
      Data Value:
      3: Too many data elements
    For Eg: NTE*GEN*My Text *goes here
    Here, NTE02 should be My Text *goes here. So, how can I use "*" here without changing anything in the EDI message?
    Can it be done?
    Thanks.

    Sorry, no.
    X12 does not support an escape character so whatever is used for delimiters become reserved characters.
    If you want to allow '*' in the data, you will have to chooser a different Element delimiter.  The receiver should read the from this from the ISA Segment so it's supposed to be dynamic but that's not always the case in practice.

  • Map EDI messages to SAP iDocs

    Hi all,
    Is is possible to map EDI messages to SAP iDocs using Oracle Integration?
    Thanks

    Yes, OracleAS Integration has several components. One is called Integration B2B, which allow you to send and receive EDI messages. You can then pass this on either using Integration InterConnect or BPEL Process Manager to the SAP adapter which can talk to SAP systems using e.g. iDocs.

  • Getting Error in java mapping: Parsing empty source. Root element expected!

    Hi Experts,
       I am using java mapping for schema validation of input message. I have followed all the standard procedures and implemented the java class in the interface mapping.
    My interface mapping is like this:
    OrderData --->Java Class ---SchemaValidate
                         Mesg Map ---OrderData_to_BAP --->BAPI Msg
    So first I want to validate the schema of the input message. If the input message is invalid then XI should throw an exception. Then I use the actual message mapping to map the input order data to the BAPI input parameters.
    In the java code I am using xerces parser.
    The java code works fine when I run it as a standalone application.
    The interface mapping also works fine if I don't include the java mapping. Ofcourse schema validation does not happen.
    But when I test the interface mapping by including the java mapping then I am getting the error:
    Call method execute of the application Java mapping SchemaValidate
    Java mapping SchemaValidate completed. (execute() of SchemaValidate
    com.sap.aii.utilxi.misc.api.BaseRuntimeException: Parsing an empty source. Root element expected!
    What am I doing wrong? Why it is not getting the root element?
    My Java code is as follows:
    import com.sap.aii.mapping.api.StreamTransformation;
    import com.sap.aii.mapping.api.StreamTransformationConstants;
    import com.sap.aii.mapping.api.StreamTransformationException;
    import java.io.*;
    import java.util.Map;
    import javax.xml.parsers.*;
    import org.xml.sax.helpers.*;
    import org.xml.sax.*;
    import org.apache.xerces.jaxp.*;
    Sample mapper for SAP-XI
    @author Gopal
    public class SchemaValidate implements StreamTransformation {
        //Constants when using XML Schema for SAX parsing.
         static final String JAXP_SCHEMA_LANGUAGE =
         "http://java.sun.com/xml/jaxp/properties/schemaLanguage";
         static final String W3C_XML_SCHEMA =
         "http://www.w3.org/2001/XMLSchema";
         static final String JAXP_SCHEMA_SOURCE =
         "http://java.sun.com/xml/jaxp/properties/schemaSource";
    Injection of mapping parameters
    from integration engine
    @param map Map with configuration data
        public void setParameter(Map map) {
    Mapping implementation
    @param inputStream Input data from integration engine
    @param outputStream Output data to integration engine
        public void execute(InputStream inputStream,
                            OutputStream outputStream)
          throws StreamTransformationException {
            try {
                  // obtain an object of class javax.xml.parsers.SAXParser,
                  SAXParserFactory spf = SAXParserFactoryImpl.newInstance();
                  spf.setNamespaceAware(true);
                  spf.setValidating(true);
                  SAXParser sp = spf.newSAXParser();
                  // setup the schema file
                  sp.setProperty(JAXP_SCHEMA_LANGUAGE, W3C_XML_SCHEMA);
                  sp.setProperty(JAXP_SCHEMA_SOURCE, new File("IOReqMsgSchema.xsd"));
                  //parse the input xml using the given schema
                  sp.parse(inputStream, new ParseErrorHandler());
            catch(SAXException se) {
              se.printStackTrace();
            catch ( Exception e ) {
              throw new StreamTransformationException( e.getMessage() );
    My input message is :
    <?xml version="1.0" encoding="UTF-8"?>
    <ns0:OrderCreate_request xmlns:ns0="mynamespace">
       <ORDER>HTEST1234567</ORDER>
       <ORDER_TYPE>z001</ORDER_TYPE>
       <ORDER_NAME>Test Order</ORDER_NAME>
       <CO_AREA>INTC</CO_AREA>
       <CCTR_POSTED>1234567890888888888</CCTR_POSTED>
       <CURRENCY>USD</CURRENCY>
       <PERSON_RESP>12345679</PERSON_RESP>
    </ns0:OrderCreate_request>
    Kindly help! please this is urgent!!!!!!
    Thanks
    Gopal
    Edited by: gopalkrishna baliga on Feb 28, 2008 9:34 AM

    Hi Stefan,
       I did the code changes to return output stream and the java code works perfectly in standalone mode in my PC.
       But when I use the same in the Java mapping with XI then It throws an error "Getting Error in java mapping: Parsing empty source. Root element expected!".
    My XI J2EE server has JDK1.4.3.11.
    Is there any limitation of using SAX parser in XI? If Yes, then which parser should be used for schema validation in XI?
    I have included the XSD file for schema validation along with class files in the .jar file. This jar file is then imported in XI repository. Is the XI engine not able to read the XSD file?
    Do I have to handle reading XSD file differently? Any suggession how?
    Is this parser error due to some security access?
    Kindly help me! I have been struggling with this problem since 2 weeks. I will be greatfull to you if you can help me.
    Thanks
    Gopal

  • Mapping EDI 820  (remittance advice) to IDOC

    Hi,
      Can anyone give me the steps required to do a mapping of EDI 820 (Remittance advice) to IDOC? If you have the mapping already, can you send that to me at garapatic at yahoo.com

    Hi Greetson,
        Before I posted information on this forum, I checked the web to see if I can look at any helpful stuff for this mapping and I could not find any.
       I tried to look for EDI EDIFACT stuff on the website for my mapping EDI vendor(Biztalk) and could not find any.
       Can you point me to specific websites which will be helpful to me? Or to any mapping document.
    Thanks,
    Nile

  • EDI IDoc Segment Filtering Transactions

    Hi All,
    Is there any transaction for EDI IDoc segment filtering where partner profile is set up with partner type as 'customer' or 'vendor' (and not partner type as 'logical system' where ALE IDoc segment filtering transactions BD59 & BD64 can be used) ?
    Thanks !

    Thanks Lokeshwari.
    Actually, a perticular field in an IDoc segment needs to be filtered. e.g. I dont want to send idocs with a perticular item category for ORDERS05 IDoc.
    Is there any transaction to fulfill the same ?

  • Mapping to dublicate segments

    Hi all,
    My scenario  File to IDoc. I am doing the mapping from Flat file to Idoc. whenever I imported Idoc in Message mappin  i am finding the dublicated segments with the same name.  Whether I have to map for all the segments ? If yes which one I have to map to which segment.
    thanks in advance.
    Regards,
    Anjaneya

    Anjaneya,
    it all depends upon business rules or mapping rules, so first of make sure if you have to map only one segment or not.
    If you have to map only one segment, then just map with any one, since they are duplicate and disable the other one by right click on segment and chose disable.
    Note: Make your requirement very clear, mapping is not a problem (map to any segment).
    Regards,
    Sarvesh
    ****Reward points, if found helpful.

  • 856 EDI mapping for G_SHL Segment

    Hi Guys,
      I have a question regarding the G_SHL segement mapping in DELVRY01.-- EDI856 scenario.
       I have this mapping for other customer now i need to implement the same for new customer.
    In that mapping they created 3 duplicalte G_SHL .
    For 3rd G_SHL they created a UDF for generating ITEMS, PACKS, and their count by taking the inputs as E1EDL24 and TDLINE.
    what is the need of these two inputs.
    Regards,
    Sandeep

    I think TDLINE is just a free field to fill data as description and stuff like that, on the other hand the EDL24 contains all the position data and packing data
    for example, if you have 2 positions in the delivery and they're packed in two packs, you would have 4 EDL24, the 2 positions and the 2 positions within the packs  (maybe some reference to how the  pack is done?)  : (00001), (00002), (90001), (90002)
    I think that's easier than to check for EDL37 and the sub EDL44 (Pack and Item segments)
    but since the TDLINE can be used in many ways as reference you should probably check the logic and any document for that development
    By the way, i was currently requesting in one of my questions how to create a UDF for the Pack, items structure, could you provide more info about that? thanks!

  • Graphical Mapping Problem : Create Segments by conditions

    Hi,
    i have a problem while mapping an incoming invoice to IDoc Invoic02. I had to create some Segments (E1EDP02) on basis of identifiers in the incoming message. I hope the following example i created will help to understand my exact problem:
    EXAMPLE MESSAGE:
    <invoice>
    <document>
    <position>
       <line>
         <posnum> 1 </posnum>
         <IMD>
         <ident> Name </ident>
         <val>   Maxx </val>
         </IMD>
         <IMD>
         <ident> Age </ident>
         <val>   19 </val>
         </IMD>
         <IMD>
         <ident> Gender </ident>
         <val>   Male </val>
         </IMD>
       </line>
    </position>
    <position>
       <line>
         <posnum> 2 </posnum>
         <IMD>
         <ident> Name </ident>
         <val>   Tina </val>
         </IMD>
         <IMD>
         <ident> Age </ident>
         <val>   28 </val>
         </IMD>
         <IMD>
         <ident> Gender </ident>
         <val>   Female </val>
         </IMD>
       </line>
    </position>
    </document>
    </invoice>
    THE RESULT I WANT:
    <invoic02>
    <E1EDP01>
    <SEGMENT> </SEGMENT>
    <POSEX> 1 </POSEX>
      <E1EDP02>
           <SEGMENT> </SEGMENT>
         <QUALF> 021 </QUALF>
         <BELNR> 19 </BELNR> // THIS should be the Age
      </E1EDP02>
      <E1EDP19>
      </E1EDP19>
    </E1EDP01>
    <E1EDP01>
    <SEGMENT> </SEGMENT>
      <POSEX> 2 </POSEX>
      <E1EDP02>
         <SEGMENT> </SEGMENT>
         <QUALF> 021 </QUALF>
         <BELNR> 28 </BELNR> // THIS should be the Age
      </E1EDP02>
      <E1EDP19>
      </E1EDP19>
    </E1EDP01>
    </invoic02>
    I tried to different ways to get the above result but i failed
    My first try:
    ident      -------|--- equalsS ------ createIf ---- E1EDP02
    Constant[000] --------- SEGMENT
    Constant[Age]--|
    ident      -------|--- equalsS ------ ifWithoutElse ---- QUALF
    Constant[Age]--|             |          
                           |
                        Constant[021]
    ident      -------|--- equalsS ------ ifWithoutElse ---- BELNR
    Constant[Age]--|             |          
                           |
                           val
    Result:
    The E1EDP02 Element will not created reliable. Sometimes it is there sometimes not dunno why ? Any Idea ?
    My second try:
    IMD -------------- E1EDP02
    Constant[000] --------- SEGMENT
    ident      -------|--- equalsS ------ ifWithoutElse ---- QUALF
    Constant[Age]--|             |          
                           |
                        Constant[021]
    ident      -------|--- equalsS ------ ifWithoutElse ---- BELNR
    Constant[Age]--|             |          
                           |
                           val
    Result:
    Now every E1EDP01 Element has two E1EDP02 Elements. One correct one and an empty one with only a segment element. Is there a way to delete this empty elements ?
    Any ideas to create a working mapping ?
    Thanks

    @Liang Ji 
    When i do this i have only the first E1EDP01 Element
    @Tarang Shah
    Which function i had to use for this ?
    Thank you

  • BIC Mapping creates wrong  segment sequence

    Hello,
    i have a problem with Seeburger BIC Mapping  invoic02 => Edifact D96a. From the PI Message mapping is the following source structure
    Segment             Value
    S_BGM
      C_C002
         D_1001          380
         D_3055          9
    D_1004              91156548
    BIC Mapping creates this wrong Edifact Code
    BGM380::991156548'
    correct code would be:
    BGM 38091156548+9'
    What am I doing wrong? Or how can I change the sequence in the BIC?
    kind regards
    Tobias
    Edited by: Tobias Landbeck on Aug 3, 2010 3:27 PM

    Hello Tobias,
    I doubt,if you can achieve the order what you have mentioned because as per the structure of EDIFACT ,the order:
    BGM380::991156548'   is correct.This is the structure: 
    BGM
       |_C002
       |     |__1001
       |     |__3055
       |_1004
    + indicates element at different level,  : indicates element at same level.
    If you edit BIC mapping to change delimiter rules,then this would be reflected in all fields.
    The only option to achieve this ,would be to change your EDIFACT xsd ,but if you change standard EDIFACT structure ,you need to adjust your BIC mapping accordingly.In this case,EDIFACT structure should be:
    BGM
       |_C002
       |     |__1001
       |_3055
              |__1004
    Thanks.
    Regards,
    Shweta

  • Mapping edi 820 VS idoc

    Hi
    I am doing mapping for EDI 820  and PEXR2002 IDOC output . I couldnt able to map for sure certain  interchange control header and functional group header ?. I need to submit this map to EDI team to process . For example Control number field ,Sender application code ,Reciever application code i couldnt able to map corresponding segments in IDOC for Sure .
    It would be appreciated if you could help me out in this .
    Email id  [email protected]
    Thanks in advance

    thanks

  • Mapping of XML attributes with XML elements in Mediator Transformations

    Hi,
    The soure XML look like as below in the source directory of file adapter/read:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!-- Edited by Oracle JDeveloper 11.1.1.1.3®
    -->
    <CATALOG>
    <PLANT COMMON="Bloodroot" BOTANICAL="Sanguinaria canadensis">
    <ZONE>4</ZONE>
    <LIGHT>Mostly Shady</LIGHT>
    <PRICE>$2.44</PRICE>
    <AVAILABILITY>031599</AVAILABILITY>
    </PLANT>
    <PLANT COMMON="Columbine" BOTANICAL="Aquilegia canadensis">
    <ZONE>3</ZONE>
    <LIGHT>Mostly Shady</LIGHT>
    <PRICE>$9.37</PRICE>
    <AVAILABILITY>030699</AVAILABILITY>
    </PLANT>
    <PLANT COMMON="Marsh Marigold" BOTANICAL="Caltha palustris">
    <ZONE>4</ZONE>
    <LIGHT>Mostly Sunny</LIGHT>
    <PRICE>$6.81</PRICE>
    <AVAILABILITY>051799</AVAILABILITY>
    </PLANT>
    </CATALOG>
    The target XML will be as below in the target directory of file adapter/write.:
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!-- Edited by Oracle JDeveloper 11.1.1.1.3®
    -->
    <CATALOG>
    <PLANT>
    <COMMON>Bloodroot</COMMON>
    <BOTANICAL>Sanguinaria canadensis</BOTANICAL>
    </PLANT>
    <PLANT>
    <COMMON>Columbine</COMMON>
    <BOTANICAL>Aquilegia canadensis</BOTANICAL>
    </PLANT>
    <PLANT><COMMON>Marsh Marigold</COMMON>
    <BOTANICAL>Caltha palustris</BOTANICAL>
    </PLANT>
    </CATALOG>
    So, I need to map attributes(COMMON and BOTANICAL) of XML data in the source with common and botanical elements of the XML in the target. How should I map attributes with elements in the XSL editor of the Mediator Transformation.
    Thanks,
    Arnab

    I will test it.
    I sale myself ONLY half CNY!

  • EDI header segment E1EDK04 not populating

    Hello,
    We are currently using the intercompany EDI process to create vendor invoices based on an EDI output from a billing document. 
    This worked well for us, until we wanted to change our pricing procedure for tax condition type MWST print i.d. for condition line from "S" to "a". 
    Now when the iDoc is created it contains the correct tax values at the line item level in E1EDP04 but no segment is created for the header tax in E1EDK04. 
    Therefore, the iDoc fails with message 51.
    SAP note 398414 (from 2001) suggets setting "S" in the print i.d. 
    It seems our options are to have a correct idoc output or a correct printed form for EU tax, but not both.  This seems a limitation. 
    We are currently exploring a custom exit but I would like to know if anyone has a std SAP solution as being able to automate intercompany clearing does not seem a unique problem.
    Generous points awarded.

    Dear Roger,
    would you please be more specific on how you resolved this? when use new pricing IDs for item-level relevancy E1EDP04 is not getting populated.
    My requirement for printing is to show tax at item level, any header-relevant pricing ID incurres inconsistent processing of billing output.
    I'm not seing any standard way to meet both requirements, please advice.
    Dear All, any assistance on this topic would be highly appreciated.
    Kind Regards,
    Anastasia

  • Mapping in idoc segment

    Hi
    I am using ARTMAS04 idoc from sender side in which i have segments and following fields
        E1BPE1MATHEAD(Segment max occurence is 1)
               MATERIAL
        E1BPE1MARMRT(Segment max occurence is 999999)
               MATERIAL
               EAN_UPC
    Even my target side also is ARTMAS05
    My condition for mapping is i need to compare material in E1BPE1MATHEAD segment with material in
    E1BPE1MARMRT if both are same then i should not pass EAN_UPC field to other side, if materials are different then only i should pass the field EAN_UPC to target side.
    What is the logic should i right to meet the above condition.
    I tried by using equals and if logic,but it is not working.
    regards
    raghu

    Hi Raghu
    Try with this
    IfWithoutElse(Not(E1BPE1MATHEAD/MATERIAL equalS E1BPE1MARMRT/MATERIAL)) then EAB_UPC -> Target
    Thanks
    Gaurav

Maybe you are looking for

  • After downloading Firefox 4, it will not open.

    On Mac OS10.4.11 I downloaded Firefox 4 into Applications folder, moved the icon into my menu bar, and attempted to open Firefox. A new 'notice box' appeared, "The application "Firefox" cannot be launched. -10661

  • Scripting applications preferences in Indesign CS2

    Hey folks, I'm attempting to set the cmsSettings preferences (current color management system) in Adobe InDesign CS2 using javascript but my code is not working. The script goes something like this: #target InDesign app.ColorSetting.cmsSettings="MyCo

  • How to get sub cluster element's caption?

    Hi All, I have a big cluster, which contains several sub clusters. They are all typ def.  My queation is,  how to get the sub cluster element's caption? Thanks. Anne  Solved! Go to Solution.

  • HT4550 Download or Print PDFs from Safari

    I cannot get Safari to download pdfs or print them from the screen. If I try to download it tells me file cannot be saved. If I try to print, the pages are blank. Any suggestions? iMac 27"

  • Macbook pro slow after yosemite 10.10 update

    I updated my Mac book pro 2010 from mavericks to yosemite. And now it is so slow it will take 20 minutes just to turn on to the login menu. If i turn the laptop off for a couple of hours it seems to speed up a bit but then after 30 minutes or so it w