cancel
Showing results for 
Search instead for 
Did you mean: 

How to send IDoc from SAP Netweaver to Java IDoc Server?

Former Member
0 Kudos

Hi, I am new to SAP world and trying to integrate SAP system to Java application. Currently for POC I have setup a Java StepByStepServer for receiving an IDoc from SAP given in link Example Program IDoc Server but facing a problem in sending an IDoc from SAP. I am following these steps :

  1. Start the SAP GUI.
  2. Create a logical system using BD54 transaction.
  3. Create an RFC destination in TCP/IP connections using SM59 transaction.
  4. Create a port using WE21 transaction and attach it to the RFC destination created in the last step.
  5. Create a partner profile using WE20 transaction with the required message type and IDOC type, and then attach it to the port created in the last step.
  6. Maintain a distributed model by using the BD64 transaction. (Getting Error : Communication error occured)


     7. Sending an IDOC from transaction WE19.

     8.Checking status of IDOC in transaction WE05. (Getting status = 03)

At this time I know that the status 12 means IDoc succesfully dispatch to the external system. But I am stuck here and no clue how to proceed forward, any help will be appreciable.

Thanks

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member185537
Participant
0 Kudos

Hi Mayank,

Can you post the screen shot of the port and destination that you are using