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

How to set partner profile when send idocs to SAP?

I implement the JCoIDocs classes sample:JCoIDocSample1.java to send idocs to SAP,then I checked the inbound IDOC status via transaction WE05,the idoc status is "EDI: Partner profile not available",how to set the partner profile to match the info in the java program?

In my java program,the reccipientPartner/sendPartner info as following:

doc.setMessageType("MATMAS");

doc.setRecipientPartnerType("LS");

doc.setRecipientPartnerNumber("TSTCLNT000");

doc.setSenderPort("SAPJCOIDOC");

doc.setSenderPartnerType("LS");

doc.setSenderPartnerNumber("JCOCLNT000");

so should I setup two Partner profiles via t-code we20 with the info as above?

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Posted on Dec 28, 2004 at 12:57 AM

    Hi,

    Partner profile should be defined explicitely in the SAP system.

    Steps to create partner profile.

    Create a Partner profile(TSTCLNT000) in we20 transation with required information :

    Inbound parameters : MATMAS.

    Double click on message type to define other parameters:

    Define Partner type as 'LS'.

    These settings will solve the problem.

    Regards,

    Senthil

    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.