cancel
Showing results for 
Search instead for 
Did you mean: 

How to split the IDOCS based on document number change whit out BPM

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

Accepted Solutions (1)

Accepted Solutions (1)

moorthy
Active Contributor
0 Kudos

HI,

for this no need of BPM.

You can think of Idoc bundling concept to acheive this-just you need to do the external definition to change the idoc occurence

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

to achieve for each document no, one idoc, you can write small user defined function in the mapping with context handling you an achieve this.

For this e.g

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/6bd6f69a-0701-0010-a88b-adbb6ee8...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/877c0d53-0801-0010-3bb0-e38...

Regards,

Moorthy

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

There is no settings in integration directory. You can achieve it using external definition as you did. But create proper mapping which will map to correcponding IDOCs corresponding fields.

Regards,

Wojciech