cancel
Showing results for 
Search instead for 
Did you mean: 

Getting IDoc Number after posting it frm Java Program

Former Member
0 Kudos

Hi All:

I had written a Java Program to post an IDoc into the SAP System. I was successful in posting an IDoc. My next step is, to get the Idoc number generated by SAP system for the posted IDoc. Using this IDoc number i want to track its status.

Can anyone please let me know how to get the IDoc Number from SAP from a Java program? I have Transaction ID with me, can i get IDoc Number via Transaction ID?

Please let me know ur views on this.

Thanks & Best Regard,

- - Rajiv

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Rajiv,

Could you Please help to clear one thing .I am very new to SAP JCO Programming.To remove the dependency of Posting Data to SAP through RFC program which is written by SAP People ,I want to use IDoc,is it possible to use it ? if yes could u please help with Some Java code so i can post Data through Java Code to SAP with IDoc.

Wait for Your Kind Reply.

Thanks & Warm regards,

Kamal

maoberpriller
Newcomer
0 Kudos

Rajiv,

I have the same problem. I have a TID that I should be able to use to link to the IDoc, and I've also "discovered" the EDIDS table, which links the TID to the IDoc number and status. The problem I am having is that queries against this table never complete. Maybe it's an archiving issue. Anyway, if you've found a different/better solution to this problem. Please post it or let me knwo via email.

Regards,

Matt Oberpriller

Former Member
0 Kudos

Hi Rajiv,

I am also working on this only. Will let you know once I find it out. Meanwhile, if you find it out, please let me know. You can post on this forum. or send me a mail at yvg2@yahoo.com