Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Message Spliting problem

Hi Friends,

I am working on File to IDOC scenario.

My File structure is as below.

Header 1.....1

FH1

FH2

FH3

ItemHeader 0...Unbound

FI1

FI2

FI3

ItemDetails 0....Unbound

FID1

FID2

Footer 1....1

FF1

FF2

I have input file with number of records.

In ItemHeader, the field called FI3 value varies every time (Bold value).

Example file:

Header;00001;abc;a11

ItemHeader;00002;abc1;<b>sapsys1</b>

ItemDetails;00003;abc2

Footer:00004;abc3

Header;00002;aaa;b11

ItemHeader;00004;abb;<b>sapsys2</b>

ItemDetails:00021;bbb

Footer:0000;ccc

I have to send first record to <b>sapsys1</b> and Second record to <b>sapsys2</b>.

I have tried with context based routing. But its creating 1&2 records in sapsys1 and sapsys2 which not correct.

And i have tried with creating two Message Mappings & two Interface Mappings.

In Message Mapping, I have put condition based on ItemHeader files value. Its working fine.

But problem is here...

In input file <b>FI3</b> value varies 85 times, so those 85 record has to move to 85 systems.

So do i need to go with 85 mappings or any other solution is there?

Please suggest me because it is hampering my development time.

Thanks in Advance

Vijji

Former Member
Not what you were looking for? View more on this topic or Ask a question