none
BizTalk 2010 - mapping EDI x12 850 to SAP ORDERS05 iDOC RRS feed

  • Question

  • Hello, I'm working on mapping information from an EDI x12 schema (850, version 4010) into an SAP ORDERS05 schema.  I would like to include some information from the ISA and GS segments but they aren't included in the EDI schema.  Is there a way to easily access this information when mapping?


    Joe
    Saturday, October 23, 2010 12:00 AM

Answers

  • Hi Joe, 

    ISA and GS segments values are part of the EDI Context properties so these are easily available inside your orchestration. In order to access these values inside your map you need to play with the EDI850 schema. You need to add a new elements for ISA or GS values, promote these properties and write to these properties inside your pipeline. Thus these node will have the values at the time of mapping. If you do not want to modify your standard EDI message then you need to Identify some of the free elements which your partner is not using.


    Best Regards, Vishnu
    Saturday, October 23, 2010 11:18 AM
  • Joe,

    You can make use of the Context Accessor Functoid to access the ISA and GS segments value into the Map.

    You can Download it from http://contextaccessor.codeplex.com/

    It has to 2 different functoids to access the Context Values.

    If the Map is used in Port use the RcvPortContextAccessor Functoid

    If the Map is used inside Orchestration use the OrchContextAccessor Functoid

     

    Another Option will be using Multiple Input Schema's to the Map. This will be useful when you have the Map inside the Orchestration.

    Create a New Schema with fields from ISA and GS segments

    Populate these fields from EDI message Context Properties.

    Have both the New Custom Schema and 850 EDI as input to the Map.

     

     


    Sathish - http://blog.tsathish.com
    Sunday, October 24, 2010 2:49 AM

All replies

  • Hi Joe, 

    ISA and GS segments values are part of the EDI Context properties so these are easily available inside your orchestration. In order to access these values inside your map you need to play with the EDI850 schema. You need to add a new elements for ISA or GS values, promote these properties and write to these properties inside your pipeline. Thus these node will have the values at the time of mapping. If you do not want to modify your standard EDI message then you need to Identify some of the free elements which your partner is not using.


    Best Regards, Vishnu
    Saturday, October 23, 2010 11:18 AM
  • Joe,

    You can make use of the Context Accessor Functoid to access the ISA and GS segments value into the Map.

    You can Download it from http://contextaccessor.codeplex.com/

    It has to 2 different functoids to access the Context Values.

    If the Map is used in Port use the RcvPortContextAccessor Functoid

    If the Map is used inside Orchestration use the OrchContextAccessor Functoid

     

    Another Option will be using Multiple Input Schema's to the Map. This will be useful when you have the Map inside the Orchestration.

    Create a New Schema with fields from ISA and GS segments

    Populate these fields from EDI message Context Properties.

    Have both the New Custom Schema and 850 EDI as input to the Map.

     

     


    Sathish - http://blog.tsathish.com
    Sunday, October 24, 2010 2:49 AM