SAP Data Agent troubleshooting guide

Use this guide to troubleshoot issues when configuring or running pipelines with the SAP Data Agent. It covers the SAP Table Reader and SAP BW Open Hub Destination (OHD) plugins.

SAP Table Reader

Use this section to troubleshoot issues when configuring or running pipelines with SAP Table Reader extraction.

Authorization errors

This section describes issues related to missing or insufficient SAP user authorizations during extraction.

Not authorized to access table/view

You may see the following error during extraction:

text
Not authorized to access table/view: <table/view name>
Why it happens

This error occurs when the SAP technical user running the extraction lacks sufficient authorization to the specified table or view.

The required role or authorization object is missing or incorrectly assigned.

How to troubleshoot

Complete the following steps to resolve the issue:

1

Execute transaction SU53 immediately after the failure to capture the missing authorization object.

2

Verify that the user has the SAP Table Reader role assigned.

3

Check role assignment in transaction PFCG.

4

Confirm the user assignment in transaction SU01.

5

Re-run the extraction.

Logging and monitoring errors

This section describes issues related to SAP application logs and monitoring visibility during pipeline execution.

SLG1 log not found

You may not see expected application logs in SLG1 after a pipeline run.

Why it happens

This can occur when:

  • The incorrect log object or subobject is used
  • The log retention period has expired
How to troubleshoot

Complete the following steps to resolve the issue:

1

Execute transaction SLG1 and verify that you are using the correct object and subobject.

2

Validate the log retention period.

Error capturing input payload in logs

You may notice that the input payload or request parameters are not visible in SAP logs.

Why it happens

This can occur when:

  • Logging configuration is incomplete
  • The user lacks logging authorization
  • Application log tables don't contain expected entries
How to troubleshoot

Complete the following steps to resolve the issue:

1

Validate the log object configuration in transaction SLG0.

2

Ensure the technical user has logging authorization.

3

Check tables BALHDR and BALDAT for log entries.

Advanced log tracking

Use advanced logging when standard SAP logs don't provide sufficient detail to diagnose extraction failures.

Extraction fails without clear error details

The pipeline fails, but logs don't provide sufficient diagnostic detail.

Why it happens

Standard logging captures high-level error messages but may not include detailed runtime parameters.

Background job logs in SM37 may also lack the internal context required to identify the root cause.

Advanced logging provides deeper execution insight for troubleshooting complex or unclear failures.

When to use advanced logging

Use advanced logging during the following scenarios:

  • The job fails without a clear root cause
  • Background job logs in SM37 do not provide sufficient detail
  • Input payload validation appears correct, but extraction still fails
  • You need visibility into filter criteria, field lists, or internal processing state
How to troubleshoot

Complete the following steps to enable advanced logging for deeper analysis:

1

Execute transaction /WKTO/ADV_LOG.

Execute transactionExecute transaction

2

Enable advanced logging for the affected Pipeline ID.

Enable advanced loggingEnable advanced logging

3

Refresh the pipeline view.

Refresh the pipeline viewRefresh the pipeline view

4

Re-run the failed extraction.

After you enable advanced logging, review logs in /WKTO/ERR_LOG and /WKTO/DA_LOG_SRV:

Access logsAccess logs

These logs include the following:

  • Input payload parameters
  • Filter criteria
  • Field lists
  • Job metadata
  • Internal processing status

Display logsDisplay logs

DISABLE ADVANCED LOGGING AFTER DEBUGGING

Disable advanced logging after troubleshooting to prevent excessive log growth and performance impact.

Pipeline and cleanup issues

This section describes issues related to pipeline state, runtime cleanup, and background job availability.

Pipeline details not found

You may see the following error during extraction:

text
Pipeline details not found
Why it happens

This can occur due to the following scenarios:

  • The pipeline ID is invalid
  • Pipeline runtime details were cleaned from memory
  • The SAP system is under a high background job load
How to troubleshoot

Complete the following steps to resolve the issue:

1

Verify the pipeline ID used for the extraction.

2

Ensure cleanup isn't executed prematurely.

Adjust package size for large tables

Large SAP tables that contain variable-length fields may require a smaller extraction package size to ensure stable processing.

Some SAP tables contain large data types, such as the following:

  • STRING
  • RAWSTRING
  • LRAW
  • SSTRING

The cumulative payload size may approach SAP's internal string size limits if too many large records are included in a single extraction package. This can lead to runtime instability or job termination.

Reducing the package size helps improve reliability for large or text-heavy tables.

How to adjust the package size

Complete the following steps to adjust the package size:

1

Execute transaction /WKTO/PACK.

2

Maintain a reduced package size for the affected table or view.

Maintain package size for Table ReaderMaintain package size for Table Reader

3

Start with 10,000 records, or 1,000 records for tables with very large text or blob fields.

4

Re-run the extraction.

5

Monitor the background job in transaction SM37.

Updated package sizes apply only to new runs. Existing running jobs aren't affected.

Concurrency and system overload

This section explains how to troubleshoot extraction failures caused by background job resource constraints in the SAP system.

Job failure due to system overload

Extraction jobs remain in a released state or fail intermittently.

Why it happens

The SAP system may not have sufficient background work processes available. When multiple pipelines or scheduled jobs run concurrently, available processes may be exhausted.

How to troubleshoot
1

Review available background work processes in the SAP system using the following transactions:

  • SM50
  • RZ12
  • RZ04
2

Update the Concurrency limit in the pipeline configuration.

Update concurrency limitUpdate concurrency limit

3

Set concurrency to approximately 50% of the total available background work processes.

4

Re-run the extraction.

This helps ensure system stability, reduce contention with other scheduled jobs, and improve extraction reliability.

SAP BW Open Hub Destination

Use this section to troubleshoot issues when configuring or running pipelines with SAP BW Open Hub Destination (OHD) extraction.

OHD configuration errors

This section describes issues related to the Open Hub Destination and its Data Transfer Process (DTP) configuration.

OHD having multiple DTP is not supported

You may see the following error during extraction:

text
OHD having multiple DTP is not supported
Why it happens

Multiple Data Transfer Processes (DTPs) populate the selected OHD. The SAP Data Agent supports extraction only from OHDs associated with a single DTP.

How to troubleshoot

Complete the following steps to resolve the issue:

1

Ensure that only one DTP populates the Open Hub Destination.

2

Create a new OHD associated with a single DTP and use it for extraction if the current OHD is linked to multiple DTPs. Refer to Create the Data Transfer Process for more information.

No DTP found for the entered OHD

You may see the following error during extraction:

text
No DTP found for the entered OHD
Why it happens

The OHD exists, but no Data Transfer Process (DTP) has been created or assigned to populate it with data. The SAP Data Agent can't extract data from the OHD as a result.

How to troubleshoot

Complete the following steps to resolve the issue:

1

Verify that a single DTP is associated with the Open Hub Destination.

2

Create and assign a DTP to load data into the OHD if no DTP exists. Refer to Create the Data Transfer Process for more information.

3

Execute the DTP to populate the OHD before you start the extraction.

The sync mode you configure for the object must match the extraction mode of the DTP. Refer to Select the sync mode for more information.

Authorization errors

This section describes issues related to SAP authorization and permissions.

Table or view not available when checking authorization

You may see the following error during extraction:

text
Table/View Not available: <table_name> - while checking authorization
Why it happens

The SAP technical user running the extraction lacks sufficient authorization to the specified table or view.

How to troubleshoot

Complete the following steps to resolve the issue:

1

Execute transaction SU53 immediately after the failure to capture the missing authorization object.

2

Verify that the user has the /WKTO/BWOHD role assigned. Refer to Configure SAP role for BW OHD for the required authorization objects and field values.

3

Check role assignment in transaction PFCG.

4

Re-run the extraction.

Package size

You can't manually adjust the extraction package size for BW OHD extraction. The /WKTO/PACK transaction applies only to SAP Table Reader extraction.

SAP transaction reference

The following SAP transactions and services are referenced throughout this guide:

Transaction/ServicePurpose
SE11Validate table structure and fields
SE16NTest table data selection
SU53Display last authorization check
PFCGMaintain roles
SM37Monitor background jobs
SM21View system log
ST22Analyze ABAP dumps
SLG1View application logs
SLG0Maintain log objects
AL11Browse application server directories
SM50Monitor work processes
SM13Monitor update failures
/WKTO/ADV_LOGEnable advanced logging
/WKTO/PACKMaintain custom extraction package size
/WKTO/ERR_LOGRetrieve detailed extraction logs
/WKTO/DA_LOG_SRVOData service for log retrieval
/WKTO/BWOH_LOGRetrieve BW OHD extraction logs
/WKTO/CLEANUP_BWOHPerform cleanup for the SAP Data Agent (BW OHD)

Last updated: