---
article_id: KB0402394
article_type: FAQ
component_ids:
  - BNS-ARI-CI-AN
  - BNS-ARI-CI-FND-PRT
  - BNS-ARI-CI-SCC-BUY
component_descriptions:
  - SAP Integration Suite 托管网关 > 托管网关基础和工具 > 面向托管网关门户的托管网关
  - SAP Integration Suite 托管网关 > 面向业务网络 SCC 的托管网关 > 面向采购商业务网络 SCC 的托管网关
  - SAP Integration Suite 托管网关 > 面向业务网络的托管网关
products:
  - SAP Ariba Procurement, cloud edition
  - SAP Ariba Sourcing, cloud edition
  - SAP Business Network for Procurement and SAP Business Network for Supply Chain
personas:
  - Admin
  - Buyer
language: zh-cn
created: 2023-09-18
updated: 2023-09-18
source: Knowledge Base
url: https://support.ariba.com/item/view/KB0402394_zh-cn
connect_url: https://support.ariba.com/item/view/KB0402394_zh-cn?min=1
sap_for_me_url: https://me.sap.com/notes/KB0402394/zh
---

# 如何使用面向 Spend&Network 的托管网关映射工具中的 substring 功能？

## 症状

如何使用面向 Spend&Network 的托管网关映射工具中的 substring 功能？

## 解决方法

当只需要映射字符串的选择部分时，使用 substring 函数。要在面向 Spend&Network 的托管网关映射工具中执行此操作，请执行以下步骤：

1. 选择源字段并映射到所需目标字段。
2. 右键单击映射行，然后选择**函数** > **添加函数** > **添加子字符串函数**。
3. 选择**子字符串开始位置**（最小值 1）和子**字符串长度**（最后一个字符的大小）。
4. 保存映射。

**附加信息**

有关详细信息，请参阅 SAP 文章 [如何使用面向 Spend&Network 的托管网关映射工具中的子字符串功能](https://launchpad.support.sap.com/#/notes/2836072) 。

## 关键字

子字符串、CIG 子字符串、CIG 子字符串、在 CIG 中剪切单词、如何在 CIG 中缩短单词、子字符串 CIG、子字符串函数
