Skip to Content
avatar image
Former Member

Unable to load 2 External Definition in Message Mapping

Hi Everyone,

I have to map 2 messages to an idoc.  One message is the header and the other is Line item.  Two WSDL has been provided to me by the salesforce team.

Both the WSDLs are in synchronous format.  Meaning they contain both the notificationsRequest and notificationsResponse. 

Now When i load the 2 notificationsRequest in Source side of the message mapping.  Both the structures are reflecting as either header or lineitem.

i am unable to load both the structures.

Is it because both the External message have the same name notificationsRequest ?  The data structure is different inside both the EDs.  Has anyone experienced this issue ? Is there any work around to this?



Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

4 Answers

  • Nov 04, 2015 at 06:30 AM

    Hi Nirmal,

    AFAIK - you can only load on message/structure to the source side of message mapping. in your case you need to create two message mapping for two structure.



    Add comment
    10|10000 characters needed characters exceeded

  • Nov 04, 2015 at 07:00 AM

    Hi Nirmal,

    May be the best solution is to do two scenarios SOAP to Proxy, In the proxy code when you have the second message you could generate the IDOC. In this way you shoul store the first message on a Z table and when second message arrives you read the first message and with the second you will generate the IDOC from the proxy code, what do you think?

    Another thing,  and per the name of the WSDLs, are you sure that you are really getting two messages?, it seems the notificationsRequest will be used as outbound message for you sender interface and the notificationsResponse as the inbound message for you sender  interface, may be im wrong but you should clarify this.


    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Feb 18, 2016 at 09:47 AM


    Please try creating two different message types(namely Header, Line) using these external definitions and in message mapping use message types instead of EDs.

    Hope this helps ! 😊



    Add comment
    10|10000 characters needed characters exceeded

  • Feb 17, 2016 at 05:01 PM

    Hi All,

    I have one requirement for a sync scenario in which for below fault message we have 2 external defination coming whenever there is a wrong data request for a WS.

    so can any one help me ,how we can handle 2 ext def in message mapping for same target fault message typ.

    Also i tried to add two ext defination in signature tab but itz not working as at a time we can have only one source external def.

    PFB screenshot for reference:-

    some logic to change this to ServiceError( 2nd external Definition Name) in case 2nd ext definition is send and rest the target structure is same.

    Its just that, we are getting two types of external definition so the one which is there in message mapping(selected) runs successfully for other it gives us mapping error.

    Help me with the logic to handle such kind of situation

    Your quick response shall be highly appreciated.

    IMP.png (31.8 kB)
    imp2.png (19.5 kB)
    Add comment
    10|10000 characters needed characters exceeded