Skip to Content

Hope you liked R/3 to Java Sending IDOCs Using SapIdoc Jar of this where the configuration and sending of IDoc from R/3 to java was explained. In this we are trying to do the reverse with a different IDoc MATMAS.

We have already created the Inbound partner profile in R/3 to Java Sending IDOCs Using SapIdoc Jar of this blog.

Following is the code needed to send the IDoc from Java to R/3

Once this code is executed You will see the following statements in the console.
Creating IDoc… done.

Checking IDoc syntax… done.

done.

Now you can login to the R/3 system and check whether the Material Master is created or not.

Incase if the material is not created use the transaction WE02.

Following should be the status if its successfully posted.

image

If the status is red, double click on the status record number for the error reason and details.

For more information on the latest jar files please refer https://service.sap.com/connectors.

To report this post you need to login first.

Be the first to leave a comment

You must be Logged on to comment or reply to a post.

Leave a Reply