on 09-29-2004 12:00 PM
Hi All,
I am sending IDOCS to SAP using JCO IDOC Class Library.
This is precisely the code I am using to send the IDOC.
transactionID = client.createTID();
client.send(idoc, transactionID);
client.confirmTID(transactionID);
IDOC is sent successfully and I am left with the transaction id to trace the IDOC in SAP. In the table EDIDS, the transaction ID is not populated and I am not able to find the IDOC.
Is there anything wrong with my code? Do I have to do something else to populate the tid in the table EDIDS?
I am doing all this to find the status of the IDOC.
What about document number of an IDOC? Is it automatically assigned by SAP to the IDOC? OR Can I create an arbitrary document number and give it as doc number?
Thanks and Regards,
Vijaya Gopal.
Hi,
if you're using a RFC to send the IDOC it might be necessary to commit the IDOC with BAPI_TRANSACTION_COMMIT.
Cheers,
Heiko
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
i have a similar problem with tid.
i execute a function, then confirmed it. but no data created in system.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
No replies to my question.
Hasn't anyone developed a system to post IDOCs from an external system to SAP using JCO? If yes, how did you monitor the IDOC once it reached SAP system?
Can someone please throw some light on this issue? Or you can post a weblog on this.
Thanks and Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi All,
No replies to my question.
Hasn't anyone developed a system to post IDOCs from an external system to SAP using JCO? If yes, how did you monitor the IDOC once it reached SAP system?
Can someone please throw some light on this issue? Or you can post a weblog on this.
Thanks and Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.