Skip to content

get_user_transports returns empty while list_transports returns same data (follow-up to #9) #111

@AnOffeElco

Description

@AnOffeElco

Summary

On the same system / same user, the hyperfocused universal SAP tool routes list_transports and get_user_transports return inconsistent results:

  • SAP(action="system", params={"type": "list_transports"}) → correctly returns all 3 modifiable workbench requests for user EOFFERMANNAN
  • SAP(action="system", params={"type": "get_user_transports", "user_name": "EOFFERMANNAN"}) → returns "No workbench requests found. No customizing requests found."

Case-insensitivity was ruled out (user_name: "eoffermannan" yields the same empty result).

This looks like a follow-up to the closed #9 (which I filed for v2.21.0): that fix appears to have repaired list_transports but left the user-filtered path broken — or the user-filtered path has regressed since.

Environment

Reproduction

SAP(action="system", params={"type": "list_transports"})

returns:

[
  {
    "number": "WIEK911568",
    "owner": "EOFFERMANNAN",
    "type": "K",
    "status": "D",
    "statusText": "Modifiable",
    "target": "/Z_CUS/",
    "targetDesc": "Workbench Request",
    "changedAt": "20260415195636"
  },
  {
    "number": "WIEK911412",
    "owner": "EOFFERMANNAN",
    ...
  },
  {
    "number": "WIEK910087",
    "owner": "EOFFERMANNAN",
    ...
  }
]

But the user-filtered variant:

SAP(action="system", params={"type": "get_user_transports", "user_name": "EOFFERMANNAN"})

returns:

Transports for user EOFFERMANNAN:

No workbench requests found.

No customizing requests found.

Same system, same session, same user, same minute — one route sees the data, the other doesn't.

Suspected cause

Two paths likely call different ADT endpoints or parse different response shapes:

A git log v2.21.0..v2.32.0 on the transport client code, filtered on GetUserTransports / user-filtering logic, should isolate the issue quickly.

Workaround

Use list_transports and filter owner == "<user>" client-side. That's what I did here.

Happy to provide full verbose traces or CSRF/cookie dumps if a debug flag emits them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions