Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

Mapping for Sales Order Idoc

$
0
0

Hi Experts,

 

I am facing problem with mapping for standard SalesOrder Idoc ORDERS.ORDER05.

 

My Source Structure is: X12 EDI850

 

<G_SPO1> (occrance 1..100000)

<S_PO1> (occurance is 1..1)

                  <D_234/>

                  <D_234_2/>

                  <D_234_3/>

                  <D_234_4/>

                  <D_234_5/>

                  <D_234_6/>

                  <D_234_7/>

                  <D_234_8/>

                  <D_234_9/>

                  <D_234_10/>

</S_PO1>

</G_SPO1>

 

Target Structure is:

 

E1EDP01

    --->E1EDP19

                --->IDTNR

 

Functionality is passing material numbers of EDI customers to IDTNR field in E1EDP19 filed under segment E1EDP01.

From source i will get set of material numbers, for one set 10 material numbers(In source you can find 10 fields for 10 material numbers)

 

Requirement: I need to send those material numbers to IDTNR (One to one mapping ).

For getting 10 material numbers i just duplicated segment E1EDP19 in target side and mapped one field of source to IDTNR target in each segment. Totally mapped 10 source fields in 10 segments.

 

If 20 material numbers I will get two sets <G_SPO1> will repeat two times, each time 10 material numbers. So I mapped G_SPO1 to E1EDP01

S_PO1 to E1EDP19.

My out put is coming as 10 E1EDP19 segments under E1EDP01 if 10 materail numbers.

 

But problem is ECC team asking to get one E1EDP19 line item value under E1EDP01 line item header. They are not accepting duplicate E1EDP19 segments under header E1EDP01.

 

How to acheive this with my requirement.

Appreciate your hellp on this.

 

Thanks & Regards,

A.Neelima.


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>