Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 9159

Re: RE: How to group data from file on to IDOC Header & Line Item based on 2 fields

$
0
0

Hey! Javier

 

The above logic worked for Header to IDOC Node - 1 IDOC / Header.

 

However, I was not able to manage the line Item to be limited to 998 - plesse detail requirement below.

 

Please, find below the source structure.

<Header>

     <Carton_Number></Carton_Number>

     <Ship_Date></Ship_Date>

     <LineItem>

          <Quanity></Quanity>

          <Prepack></Prepack>

          <Order_No></Order_No>

     </LineItem>

</Header>

 

<Header> will be mapped to <IDOC>

 

<LineItem> will be mapped to <E1EDP01> (IDOC Line Item)

 

Requirement:-

  1. Header will be mapped to IDOC - Whenever a particular Header crosses 998 LineItems - There should be a second IDOC created.
  2. The 2nd IDOC need to have the remaining LineItems.
  3. Example: A message has 1200 Line Items - 1st IDOC has 998 LineItems & 2nd IDOC has the remaining 202 LineItems.

 

Thank you so much for all the help!!

 

Regards,

Ritu



Viewing all articles
Browse latest Browse all 9159

Trending Articles



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