You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd cortex-code-skills/skills/manage-zerocopy-sapbdc
67
67
```
68
68
69
-
For external (Snowflake-Labs) distribution, the skill will be published separately at `https://github.com/Snowflake-Labs/cortex-code-skills` (forthcoming).
summary: Manage the lifecycle of the SAP BDC zero-copy connector: create, enroll, consume, publish, analyze, and troubleshoot.
4
+
summary: "Manage the lifecycle of the SAP BDC zero-copy connector: create, enroll, consume, publish, analyze, and troubleshoot."
5
5
description: >-
6
-
Manage the end-to-end lifecycle of the Snowflake and SAP BDC Zero-Copy
7
-
Integration and connector. Use when: consuming SAP data products in Snowflake,
8
-
publishing Snowflake databases to SAP BDC, analyzing shared SAP data, or
9
-
troubleshooting SAP BDC connector issues. Triggers: SAP BDC, SAP connector,
10
-
zerocopy connector, SAP data product, SAP BDC Connect, SAP publish, SAP share,
11
-
SAP troubleshoot, catalog-linked database, LINKED_ZEROCOPY_CONNECTOR, SAP BDC
6
+
Use when consuming SAP BDC data products in Snowflake, publishing Snowflake
7
+
databases back to SAP BDC, analyzing shared SAP data, or troubleshooting SAP
8
+
BDC connector issues. Covers the end-to-end lifecycle of the Snowflake and
9
+
SAP BDC zero-copy integration. Triggers: SAP BDC, SAP connector, zerocopy
10
+
connector, SAP data product, SAP BDC Connect, SAP publish, SAP share, SAP
11
+
troubleshoot, catalog-linked database, LINKED_ZEROCOPY_CONNECTOR, SAP BDC
12
12
share back.
13
13
tools:
14
14
- snowflake_sql_execute
15
-
- snowflake_object_search
16
15
- Bash
17
16
- Read
18
17
- Write
@@ -22,116 +21,113 @@ tools:
22
21
prompt: "$manage-zerocopy-sapbdc create a new zero-copy connector and enroll it with SAP BDC"
23
22
language: en
24
23
status: Published
25
-
author: Sanjay Nagamangalam
24
+
author: Snowflake Solutions Team
26
25
type: snowflake
27
26
demo-url: ""
28
27
---
29
28
30
29
# SAP BDC <=> Snowflake Zero-Copy Integration
31
30
32
-
Manages the full lifecycle of the SAP BDC <=> Snowflake zero-copy integration and connector: setup, consume, publish, analyze, and troubleshoot.
31
+
## Overview
33
32
34
-
## When to Use
33
+
This skill manages the full lifecycle of the SAP BDC <=> Snowflake zero-copy connector: create, enroll, consume shared SAP data products, publish Snowflake data back to SAP BDC, analyze mounted data, and troubleshoot connector states. Use it when working with `ZEROCOPY CONNECTOR` objects whose `PARTNER = SAP_BDC`.
35
34
36
-
- User asks to create, connect, or enroll an SAP BDC zero-copy connector
37
-
- User wants to consume or mount SAP BDC shared data products in Snowflake
38
-
- User wants to publish Snowflake data back to SAP BDC as a data product
39
-
- User asks to explore, query, or join data from mounted SAP data products
40
-
- User needs to troubleshoot SAP BDC connector states, privileges, or connectivity
41
-
- Do NOT use for: general Snowflake data sharing (non-SAP), SAP HANA direct connections, or SAP BTP non-BDC services
35
+
Do NOT use this skill for general Snowflake data sharing (non-SAP), SAP HANA direct connections, or SAP BTP non-BDC services.
42
36
43
37
## Prerequisites
44
38
45
-
- An ORGADMIN must have accepted the SAP® BDC Connect for Snowflake Terms (Admin » Terms » Snowflake Marketplace section in Snowsight). This only needs to be done once per Snowflake organization.
46
-
- SAP Business Data Cloud (BDC) setup must be complete
47
-
-Role must have`CREATE ZEROCOPY CONNECTOR` on the target schema
48
-
- For publishing: `CREATE SHARE`privilege on the account
39
+
- An ORGADMIN has accepted the SAP® BDC Connect for Snowflake Terms (Admin » Terms » Snowflake Marketplace in Snowsight). One-time per Snowflake organization.
40
+
- SAP Business Data Cloud (BDC) tenant is set up.
41
+
-Your role has`CREATE ZEROCOPY CONNECTOR` on the target schema.
42
+
- For publishing: `CREATE SHARE` on the account.
49
43
50
44
## Workflow
51
45
52
-
### Step 1: Ask User Intent
46
+
### Step 1: Ask user intent
53
47
54
-
**Every time this skill is invoked**, present this menu:
48
+
Always present this menu when the skill is invoked:
55
49
56
50
```
57
51
What would you like to do with the SAP BDC <=> Snowflake zero-copy connector?
58
52
59
-
1. Create a new zero-copy connector - Set up a new connector and enroll it with SAP BDC
60
-
2. Consume shared data products - Mount shared SAP BDC data products as catalog-linked databases in Snowflake
61
-
3. Publish a data product - Share a Snowflake database back to SAP BDC as a new data product
62
-
4. Analyze shared data - Explore, query, and join data from SAP BDC data products already mounted in Snowflake
63
-
5. Troubleshoot - Diagnose and fix connector state errors, privilege issues, and connectivity problems
53
+
1. Create a new zero-copy connector
54
+
2. Consume shared SAP BDC data products
55
+
3. Publish a Snowflake data product back to SAP BDC
56
+
4. Analyze shared data already mounted in Snowflake
57
+
5. Troubleshoot connector state, privileges, or connectivity
| CREATE SHARE | Account | Publish data back to SAP BDC |
112
117
113
-
## Examples
114
-
115
-
### Example 1: Create and enroll a connector
116
-
User: `$manage-zerocopy-sapbdc create a new zero-copy connector and enroll it with SAP BDC`
117
-
Assistant: Asks for database/schema/connector name, runs CREATE ZEROCOPY CONNECTOR, provides Partner ID for SAP 4 Me registration, then connects with invitation link.
118
-
119
-
### Example 2: Consume a data product
120
-
User: `$manage-zerocopy-sapbdc mount the Workforce Persons data product from SAP`
121
-
Assistant: Lists available shares, creates a catalog-linked database, confirms tables are accessible and semantic views are generated.
122
-
123
-
### Example 3: Publish Snowflake data to SAP
124
-
User: `$manage-zerocopy-sapbdc publish my ANALYTICS_DB.SALES schema to SAP BDC`
- Trying to `DISCONNECT` while CLDs still exist or share-back is enabled. Drop CLDs and `SET SHARE_BACK = FALSE` first.
121
+
- Calling `DROP ZEROCOPY CONNECTOR` while CONNECTED. Disconnect first; only NEW, CONNECT_ERROR, DISCONNECT_ERROR, or DISCONNECTED states allow DROP.
122
+
- Skipping the one-time ORGADMIN acceptance of the SAP BDC Connect terms. The connector will fail to connect.
123
+
- Using a stale or already-consumed `INVITATION_LINK`. Each link is single-use; regenerate from SAP for Me.
124
+
- Granting only `MONITOR` and expecting to create a CLD. CLD creation needs `USAGE` on the connector and `CREATE DATABASE` on the account.
130
125
131
126
## Stopping Points
132
127
133
-
- After Step 1: Route to selected sub-skill
128
+
- Step 1 — wait for the user to choose an option (1–5) before loading any sub-flow.
129
+
- Sub-flows contain their own stopping points before destructive actions (`DISCONNECT`, `DROP`, `ADD SHARE`, publishing data products). Do not run those commands without explicit user confirmation.
134
130
135
131
## Output
136
132
137
-
Depends on selected use case — see sub-skill outputs.
133
+
Depends on the selected sub-flow — see each `INSTRUCTIONS.md` for outputs.
0 commit comments