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

Error While Converting IDOC XML to Flat File

Hi Gurus,

I am trying to convert IDOC XML to flat file using below blog.

http://scn.sap.com/community/pi-and-soa-middleware/blog/2009/04/01/how-to-use-user-module-for-conversion-of-idoc-messages-between-flat-and-xml-formats

I did everything according to this blog and when i execute i am getting below error.

MP: processing local module localejbs/SAP_XI_IDOC/IDOCXmlToFlatConvertor 03.09.2013 17:01:32.951 Error MP: exception caught with cause com.sap.conn.idoc.IDocException: (0) IDOC_ERROR_INITIALIZATION: Exception in record factory. Check the configuration of ResourceAdapter 03.09.2013 17:01:32.952 Error Exception caught by adapter framework: (0) IDOC_ERROR_INITIALIZATION: Exception in record factory. Check the configuration of ResourceAdapter

Also i want to give few information with respect to communication channel and settings with respect to Connection factory -

1. Confusion on SAPRelease value - I am on ECC 6.0 version with respect to sender ECC system (IDOC Sending system). I am using SAPRelease = 6.0 or if it is going to be receiving system SAP Release - PI 7.31.

2. Second confusion is - What should be the port number? When we go an edit this value, it says it should be the system ID of ECC system.

Please help me resolve this issue as well as confusions I have. I am using module IDOCXmlToFlatConvertor in communication channel.

Regards

Vidhi S

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Sep 04, 2013 at 05:11 AM

    Vidhi,

    >>>1. Confusion on SAPRelease value - I am on ECC 6.0 version with respect to sender ECC system (IDOC Sending system). I am using SAPRelease = 6.0 or if it is going to be receiving system SAP Release - PI 7.31.

    It is fine & your understanding is right ( Sending system ECC , that is IDOC tiggering system)

    >>>2. Second confusion is - What should be the port number? When we go an edit this value, it says it should be the system ID of ECC system.

    Tcode - we21

    Cheers

    Agasthuri

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hi,

      Normally above error occurs if there are any issues with the JCA object you have created.

      Go to NWA and check the appropriate client details have been provided for the connection factory object you have created for your scenario...

      Regarding the Release you need to mention the ECC release 6.0 as the metadata of the same will be fetched from the ECC system using the parameters configured....

      HTH

      Rajesh

  • Posted on Sep 03, 2013 at 06:38 PM

    Hi,

    Refer the below thread, you may try doing a Java restart.

    http://scn.sap.com/thread/3344764

    Regards,

    Zameer

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05, 2013 at 07:37 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 05, 2013 at 08:17 AM

    Hi Vidhi,

    Please check the link below

    http://scn.sap.com/thread/3344764

    I guess there is a problem with creation of JCA connection factory.

    Ambrish

    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.