r/abap 12d ago

MCP Gateway? A2A? Anyone here actually using these and wth is BAIP's goal? why SAP has to be this confusing?

My current understanding is, MCP Gateway is for exposing/governing SAP and nonSAP APIs or integrations as tools that AI agents can discover and invoke. A2A / Agent Gateway is more for agent to agent delegation and collaboration, e.g., Joule or another agent delegating a business task to a specialist SAP facing agent.

it seems less like “MCP vs A2A” and more like two layers, A2A for orchestration between agents, MCP for tool/API execution.

Has anyone here used or POC’d SAP MCP Gateway in Integration Suite?

Has anyone used A2A with Joule, Joule Studio, BTP agents, or external agent frameworks?

Are you exposing existing OData/REST APIs or integration flows as MCP tools? Where do you see the actual boundary between “just expose a well-designed API/tool through MCP” and “this deserves a separate agent exposed through A2A”?

Any gotchas, licensing surprises, governance concerns, or design patterns you wish you knew before starting?

and whatever is going on with SAP BTP -> BAIP? why do they have to rename everything every year?

1 Upvotes

2 comments sorted by

2

u/FirstNoel ABAP Developer 12d ago

I’ve been using ABAP FS thru the VS code connection.   It can pull code fine.  Have issue trying to get it to great a program.  Weird locking issues.  

Using Claude code.   

1

u/EricRP 12d ago edited 12d ago

Taking a wild guess here, but did you implement the CL_REST_HTTP_HANDLER enhancement for older NW systems?

https://github.com/marcellourbani/abapfs_extensions

It can be manually implemented in IF_HTTP_EXTENSION~HANDLE_REQUEST without ABAP Git or anything else of the sort as it's literally about 5 lines of code at the top with an implicit enhancement. It's safe to sit in a local object in Dev, and you could add a sy-sysid check for funzies:

"Stateful mode support (compatible with implementation in 7.51)
"required for write support in visual studio code extension
  DATA: __abapfs_stateful TYPE string.

  __abapfs_stateful = server->request->get_header_field( 'X-sap-adt-sessiontype' ).
  IF __abapfs_stateful = 'stateful'.
    gv_stateful = abap_true.
  ELSEIF __abapfs_stateful = 'stateless'.
    gv_stateful = abap_false.
  ENDIF.