cancel
Showing results for 
Search instead for 
Did you mean: 

How to split the IDOCs based on the document number with out using of BPM

Former Member
0 Kudos

Hi all,

In File to IDOC scenario,How to split the IDOCs based on document number with out using the BPM.How can we achive this problum.

I tried with SplitByValue,contectChange and createIf,etc.But,while testing the mapping i am getting the single IDOC in target.

Document Numbers are given below:

20000092

20000092

20000092

50000050

50000050

50000050

Could u plz help me in this with detailed description.It is a great help for me

Accepted Solutions (0)

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi all,

Thanks,for giving the responce..

Scenario:File to IDoc.

Problum1 : How to Split the IDocs based on document number change in the source file with out BPM.My file contains document numbers like

20000092

20000092

20000092

50000050

50000050

50000065

I want 3 IDocs in target system.i.e 1 for 20000092,20000092,20000092

2 for 50000050,50000050

3 for 5000006

By using external definations i am getting 6 IDOCs insted of 3.

Problum 2:Is there any chnges/modifications in Directory when we are using external definations.

Could u plz provide me the step by step process(Repository/Directory) with using of external definations.

Thanks in advance.

Regards,

KP

agasthuri_doss
Active Contributor
0 Kudos

Hi,

Assume

1) In file you have 2 key field depending upon that you want to split means then proceed in the XML tag structure based on the key field and map to the respective IDOC you wanted.

<DOC1>

<DOC2>

depending on that Map it

2) If you want to send one file to 2 IDOCs also possible by 2 interface determination and 2 receiver determination

Regards

Agasthuri Doss

Former Member
0 Kudos

Hi,

If you are going to split on IDOC adapter it's not possible without BPM. If you would like to do it on any other adapter which is on java stack it's possible using message split.

Regards,

Wojciech

moorthy
Active Contributor
0 Kudos

HI,

Do you mean to say for each document no, you need to create a Idoc ? If so , you can create mulitple idocs with the help of occurence change in the idoc structure.

Just an e.g-

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Regards,

moorthy

former_member206604
Active Contributor
0 Kudos

Hi,

You will ahve only 1 IDOC created in the target. If you would like to do multiple IDOCS you can export the XSD and change the occurances and import it back.

Check out this blog by Michal

/people/michal.krawczyk2/blog/2005/12/04/xi-idoc-bundling--the-trick-with-the-occurance-change

Regards,

Prakash

agasthuri_doss
Active Contributor
0 Kudos

Hi,

It is possible with out BPM,

>> In File to IDOC scenario,

>>How to split the IDOCs based on document number

You want to Split in the IDOC or File.

is file from Sender side ?

Can you explain your Scenerio bit clearly

Regards

Agasthuri Doss