SAPIDocProcessorOutbound Object Reference 

Use

The SAPIDocProcessorOutbound object allows you to wait for one or more outbound IDoc(s) (IDoc documents sent from an R/3 system) and then receive them as XML document(s).

The SAPIDocProcessorOutbound object allows you to either receive the XML document immediately after the IDoc is received, or it allows you to get a document ID with which you can get the XML document at a later time.

For details of the process of receiving outbound documents with the SAPIDocProcessorOutbound object, see Using the Component for Receiving Outbound IDocs.

Syntax

SAPIDocProcLib.SAPIDocProcessorOutbound

Property Summary

Name

Type

Description

Trace

ITrace

Use for tracing errors with using the IDoc Connector for XML. See Tracing Errors and Messages.

Method Summary

Name

Description

Syntax (In Visual Basic)

Listen

A blocking call that waits for the next IDoc to be sent from the R/3 system

Sub Listen(rfcdest As String)

PickIDoc

Gets an XML document resulting from a single outbound IDoc based on document ID

Function PickIDoc(Id As Long) As String

Event Summary

Name

Description

Syntax (In Visual Basic)

IDocReceived

Occurs when the outbound IDoc is received, and returns the ID of the XML document. You can later use the PickIDoc method to get the actual XML document.

Sub idoc_IDocReceived(ByVal Id As Long)

IdocReceived2

Occurs when the outbound IDoc is received, and returns the XML document.

Sub idoc_IDocReceived2(ByVal idocxml As String)

See Also

Using the Component for Receiving Outbound IDocs