Skip to Content
author's profile photo Former Member
Former Member

Interface mapping Error

Hi,

I am getting an error in Interface mapping for the scenario EDI to Mail. The error is " Mapping program Message Mapping MM_EDI820_TO_HTMLMAIL | urn:cisco-com:test:Verizon_EDI820Invoice_3060_to_E-mail does not match the interface mapping. The number or frequencies of source or target messages for the message mapping are not identical to the number or frequencies of source or target interfaces.".

The same I have tested in the Message Mapping and is working.but not working in Interface mapping.

any idea please..

Thanks

Manmadha

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 01:28 AM

    This is the error " Start of test

    Call method execute of the application Java mapping com.sap.xi.tf._MM_EDI820_TO_HTMLMAILNew_

    Cannot produce target element /ns0:Messages. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd

    End of test" when I am testing the mapping in Interface mapping

    your inputs are highly appreciated...

    Thanks

    Manmadha

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 04:10 AM

    Hi,

    Any body come across this kind of problem? If so, please share.

    I am able to execute message mapping successfully and getting the desired output at target structure. When I am trying to test or activating the mapping program in the Interface mapping, its throwing an error Like cannot create the target structure.

    My mapping is like:-

    source is EDI document and Target is Mail. For getting target elements I have created My Data type as below and all occurrences are 0..unbounded. Both content and row Line items occurs multiple times based on EDI XML data

    <DT_EDI_TO_MAIL>

    <Content> 0..unbounded

    <X></X> 0..unbounded

    <Y></Y> 0..unbounded

    <row> 0..unbounded

    <A></A> 0..unbounded

    <B></B> 0..unbounded

    <C></C> 0..unbounded

    </row>

    </Content>

    </DT_EDI_TO_MAIL>

    I am able to execute message mapping successfully and getting the desired output but not getting successful message in In the Interface Mapping.

    Thanks in Advance

    Manmadha

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi samson,

      Thanks for ur your response. I have tested earlier as you said. It was working fine with the below results

      Start of test

      Call method execute of the application Java mapping com.sap.xi.tf._MM_EDI820_TO_HTMLMAILNew_

      Java mapping com/sap/xi/tf/_MM_EDI820_TO_HTMLMAILNew_ completed. (execute() of com.sap.xi.tf._MM_EDI820_TO_HTMLMAILNew_

      Executed successfully

      End of Test.

      If I am trying to activate or trying to execute with out values, then it is throwing error.

      Any other idea..

      Thank you

      Manamadha

  • author's profile photo Former Member
    Former Member
    Posted on Nov 20, 2007 at 06:55 AM

    hi manmadha ,

    " Mapping program Message Mapping MM_EDI820_TO_HTMLMAIL | urn:cisco-com:test:Verizon_EDI820Invoice_3060_to_E-mail does not match the interface mapping. The number or frequencies of source or target messages for the message mapping are not identical to the number or frequencies of source or target interfaces.".

    <b>this is problem because in your Message Mapping you have different frequency or occurance ( 0 or 1 to unbound or 1:N)

    so plz correct these and make the same in both <b>Message Mapping

    and Interface Mapping</b>. if you made some some <b>changes in Message Mapping so make same changes in Interface Mapping in occurance</b></b>

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.