Skip to Content
author's profile photo
Former Member

What does this error mean in idoc_apapter

Hi,

Im getting this error while doing a flat file to an idoc scenario.

<SAP:Code area="IDOC_ADAPTER">ATTRIBUTE_WRONG_INTF</SAP:Code>

<SAP:Stack>Unable to interpret IDoc interface MI_ZPURCHASEORDER01_Inb</SAP:Stack>

Can anyone explain me what to do.

Thanks in advance,

Bhargav

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

5 Answers

  • Jul 31, 2007 at 07:24 AM

    Hi,

    1.Have u loaded the metadata for IDOC in IDX5.

    2.Check the Interface Determination and Message Interface(Inbound) pointing to the IDOC.

    Regards

    Santhosh

    Add comment
    10|10000 characters needed characters exceeded

  • Jul 31, 2007 at 07:24 AM

    have u created a MI WRT to Idocs?

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jul 31, 2007 at 07:43 AM

    I have created an external definition(imported the xsd) of the Idoc and created an Message Interface for the Idoc using this External definition.I have checked everything is correct.

    Add comment
    10|10000 characters needed characters exceeded

    • Hi Bhargav,

      Follow thse seteps

      1. If you are having a custom iDOC or standard IDOC in R/3. Just import it into IR under Imported IDOC under namepsace

      2. No need to create External defination until unless there is some Occurance change for IDOC or something else.

      3. You can use this IDOC directly in Message Mapping, Interface Mapping .. No nedd to Create MI

      Check my posting in WIKI for File to IDOC where you can find how u can use it without interface mapping

      https://www.sdn.sap.com/irj/sdn/wiki?path=/display/xi/fileToIDOC&

      Regards

      Sachin

  • author's profile photo
    Former Member
    Jul 31, 2007 at 09:31 AM

    Hi,

    i am replying based on what understand from previous replies....

    why u have used external definitons?

    or..

    u need to import the idoc in imported objects..

    u can use this structure in mapping

    no need of creating interface for IDocs....

    even in interface mapping u can directly select the idoc...

    Regards,

    Chaitanya.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo
    Former Member
    Jul 31, 2007 at 10:11 AM

    Hello Bhargav,

    You should not create any message interfaces refering to IDoc.Infact Idoc acts both like Message type and Messge interface.

    In interface determination choose ALL radio button and choose Idoc itself instead of interface.Ty doing the configuration in directory without the Message Interface and Message Type for IDOC just base on IDOC .

    Hope This is useful

    With Regards,

    Raju.

    Add comment
    10|10000 characters needed characters exceeded