cancel
Showing results for 
Search instead for 
Did you mean: 

How to set partner profile when send idocs to SAP?

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

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