Skip to Content
0
Apr 23, 2009 at 05:51 AM

Mapping Problem Context Change

24 Views

Hi all

I use Sap ABABusinessPartner to replicate Data.

Here I have to map only TelephoneNumber where StandardSenderIndicator = X

 
          partner 
          partner 
            Telephone 
                StandardSenderIndicator 
                TelephoneNumber 
            Telephone 
                TelephoneNumber 
          partner 

if context is set to partner Queue of StandardSenderIndicator is <null>;X;<null>

Queue of TelephoneNumber is <null>;Number1 Number2;<null>

; means ContextChange

any Ideas??

 
<?xml version="1.0"; encoding="UTF-8"?> 
<ABABusinessPartner > 
    <Partner> 
        <PartnerRecord> 
            <PartnerInformation> 
            </PartnerInformation> 
        </PartnerRecord> 
    </Partner> 
<Partner> 
    <PartnerRecord> 
        <PartnerInformation> 
            <AddressInformation> 
                <Address> 
              <AddressData> 
                        <CommunicationInformation> 
                            <TelephoneInformation> 
                                <CompleteDataIndicator>X</CompleteDataIndicator> 
                                <Telephone> 
                                    <Contact> 
                                        <ContactData> 
                                            <StandardSenderIndicator>X</StandardSenderIndicator> 
                                            <TelephoneNumber>123456</TelephoneNumber> 
                                        </ContactData> 
                                    </Contact> 
                                </Telephone> 
                                <Telephone> 
                                    <Contact> 
                                        <ContactData> 
                                            <TelephoneNumber>5556666</TelephoneNumber> 
                                        </ContactData> 
                                    </Contact> 
                                </Telephone> 
                            </TelephoneInformation> 
                        </CommunicationInformation> 
                    </AddressData> 
                </Address> 
            </AddressInformation> 
        </PartnerInformation> 
    </PartnerRecord> 
</Partner> 
    <Partner> 
        <PartnerRecord> 
            <PartnerInformation> 
                <AddressInformation> 
                    <Address> 
                        <AddressData> 
                            <CommunicationInformation> 
                                <TelephoneInformation> 
                                    <CompleteDataIndicator>X</CompleteDataIndicator> 
                                    <Telephone> 
                                        <Contact> 
                                            <ContactData> 
                                                <StandardSenderIndicator>X</StandardSenderIndicator> 
                                                <TelephoneNumber>333333</TelephoneNumber> 
                                            </ContactData> 
                                        </Contact> 
                                    </Telephone> 
                                </TelephoneInformation> 
                            </CommunicationInformation> 
                        </AddressData> 
                    </Address> 
                </AddressInformation> 
            </PartnerInformation> 
        </PartnerRecord> 
    </Partner> 
</ABABusinessPartner>