on 05-07-2010 9:43 AM
My scenario is FILE to IDoc:
ORDERS05 - ORDERS IDOC
-IDOC
--E1EDP01 - ITEM DATA
---E1EDP02 - SCHEDULE AGREEMENT ITEM DATA
-
E1EDP02-BELNR - BELNR
---E1EDP20 - SCHEDULE LINE ITEM DATA
INPUT FILE IS:
HEADER 1:1
-ITEM 1:UNBOUNDED
--ITEM1 1:UNBOUNDED
---ITEM1-UNIQUEIDENTIFIER
Whenever a new E1EDP02-BELNR ORDERS05 idoc should be created.
Example:
E1EDP02-BELNR = 10000
E1EDP02-BELNR = 10000
then only one IDoc should be created
E1EDP02-BELNR = 10000
E1EDP02-BELNR = 10001
then two Idocs should be created with two BELNRs...
How to acheive this in mapping...
From the file take the BELNR and map to IDOC segment like this...
BELNR ->RemoveContext->Sort--->SplitByValue (on value change) -
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.