Skip to Content
0
Former Member
Mar 01, 2007 at 06:38 AM

Help neeed in IDOC EXTENSION

34 Views

Hi Experts,

I'm New to IDOC.

Actually i'm Creating one IDOC Extension namely HRMD_AX form the standard IDOC HRMD_A05.

In that HRMD_AX , I created 7 segments like form16,p9226,p9230 etc..based on standard infotypes like Eduction, Organisational Data. etc with Corresponding FIELDS in each segment.

BC Connector generetes XML file based on this IDOC. The Structure of XML is as follows.

<IDOC>

<E1PLOGI>

<EIITYP>

<SEGMENT 1>

<E1ITYP>

<SEGMENT2>.

......

.......

......

<E1PLOGI>

<IDOC>

As all of u know that IDOC works based on Change Pointers. So Whatever Changes that i made in each of 7 segment for an employee will get hit & will appear in IDOC DATA .

For one employee the Structure of XML is working fine with one E!PLOGI for one employee.

But if the changes made for two employees or more the XML strucuture collapses...i.e the Whole IDOC gets collapsed with the segments of both employess in different places Which is totally WRONG.

So is there any possible way for one IDOC with mulitple E!PLOGI like

<IDOC>

<E1PLOGI>

<EIITYP>

<SEGMENT 1>

<E1ITYP>

<SEGMENT2>.

......

.......

......

<E1PLOGI>

<E1PLOGI>

<EIITYP>

<SEGMENT 1>

<E1ITYP>

<SEGMENT2>.

......

.......

......

<E1PLOGI>

<IDOC>

Kindly help me.