Skip to Content
avatar image
Former Member

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

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

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Best Answer
    avatar image
    Former Member
    Nov 18, 2006 at 04:23 PM

    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-adbb6ee89b34

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

    Regards,

    Moorthy

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Nov 18, 2006 at 03:58 PM

    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

    Add comment
    10|10000 characters needed characters exceeded