cancel
Showing results for 
Search instead for 
Did you mean: 

How to get IDoc Status from WCF Service Adapter?

Former Member
0 Kudos

I have successfully transfered a strong typed Idoc to SAP using a BizTalk WCF Service Adapter. I did so based on this example: [http://msdn.microsoft.com/en-US/library/cc185231(v=BTS.10).aspx]. We are using the IDoc to create a purchase order. The IDocClient.Send(idoc, ref guid); method returns only a guid. I can translate that using the SapAdpaterUtilities to a transaction ID. When I look at the Idoc in WE02, I can see that it has status information which includes the purchase order number. Is there any way for me to capture this status information in my .Net application when I send the IDoc? Can I query the transaction ID? Or do I just need to get the last PO Number through an RFC?

Scott

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

I ended up using the SAP .Net Data Provider in the Biztalk Adapter Pack to retrieve the PO Number. Essentially when you pass the IDoc you won't get anything in return unless the file transfer fails.

Scott