Troubleshooting the Groupware Adapter

The errors that may occur when the groupware adapter processes messages are listed in the following table along with information to resolve them:

Error Messages

Description

Error parsing XML document

This error occurs when the XML document (BDoc) is invalid. The transformer validates the BDoc document against the corresponding ABAP Dictionary structure of the BDoc. The BDoc can be invalid for one of the following reasons:

  • The data in certain fields in the BDoc segment exceeds the field length of the corresponding field in the ABAP Dictionary structure.

  • The MapBox is corrupting the output XML document by adding some extra attributes. These attributes make the BDoc document invalid.

Solution: Delete the message from the queue. If you find a field that exceeds the maximum length, reduce the size of the content. Otherwise, edit some of the values and resend the message.

Unspecified error in SyncPoint

SyncPoint was unable to process the message.

Solution: Switch on the trace function for the SyncPoint and monitor the performance data. Execute the program CMW_ISPTRACE_DISPLAY. For information on how to enable the SyncPoint trace, see the section Enabling the SyncPoint Trace below.

Timeout during allocation of registered program

SyncPoint was unable to process this message because MapBox was processing another message.

Solution: Try to reprocess this message later, when MapBox is not processing other messages.

Message edited in target system

If messages in the outbound queues still have the status Message edited in target system, they have not been accepted (confirmed) by the client.

The following error codes can be returned to the client:

  • 0 - Success

  • 1 - Success / Inbound queue created dynamically

  • 2 - Not used

  • 3 - Read queue (session mode = 0/1) not available

  • 4 - Session for same queue already established

  • 5 - Invalid session handling

  • 6 - Invalid parameter specified

  • 7 - Unknown property

  • 8 - Not used

  • 9 - Severe error, for example, database problems

  • 10 - Queue empty

  • 11 - Wrong session mode

  • 12 - Illegal operation: Only post to read-only queues

  • 13 - Concurrent logon to same queue not allowed

Solution: Check the log file of the connector to get detailed information regarding this error.

Enabling the SyncPoint Trace

The trace is used to analyze the performance of the internal SyncPoint. It is activated by assigning X to the parameter TRACE in the table ISPCFG. Tracing is activated per site type. The trace shows the following information for each message passed to the MapBox:

  • Start date

  • Start time

  • qRFC TID

  • Internal MapBox Job ID (GUID)

  • Return value of MapBox

  • Return value of internal SyncPoint processing

  • Size (in bytes) of message

  • Number of resulting upstream messages

  • Number of resulting downstream messages

  • Total processing duration

  • Duration of ISP processing (without MapBox)

  • Duration of MapBox processing

  • Duration of MapBox Commit

  • Duration of R/3 Commit Work

  • End time

  • Application server

To view the trace file information, run the program CMW_ISPTRACE_DISPLAY in transaction SE38. Enter the Site Type ID as GWA_01, enter the time range, select inbound to get trace information regarding inbound message processing and outbound for outbound message processing. The trace file can contain the trace from all the application servers.

Enabling the Payload Interface Trace

For each call, the trace of the payload interface displays the parameters passed from the client as well as the resulting return values.

In table ISPCFG enter the value X for the parameter PIF_TRACE. The site type must remain empty.

To view trace file information, run the program CMW_PIFTRACE_DISPLAY in transaction SE38.

Queue Naming Convention for the Groupware Adapter

Internal SyncPoint frequently uses the qRFC queues with the following naming conventions:

Queue

Description

ISP_I_*

Inbound queue filled by PLIF.

ISP_S_*

Secondary inbound queue filled after MapBox processing.

ISP_U_*

Site-type-dependent inbound queue (for thrust reversing).

ISP_D_*

Site-type-dependent outbound queue (technically inbound queue).

ISP_O_*

Outbound queue filled by the pay load interface.