Step by step to create a text table

本文详细描述了如何在数据库中创建主表,包含字段CHANNEL,以及关联的文本表,确保SPRAS作为主键。通过设置外键和指定Cardinality1:N关系,最后在SE11中自动显示文本表的分配情况。提供了一个使用FM从给定主表名获取文本表名的方法。
摘要由CSDN通过智能技术生成

1. create a main table as usual:

define the key field CHANNEL:

2. create another table which will be used as text table. Ensure a field with data element SPRAS is included as primary key. The primary key CHANNEL of main table must also be included in the text table.

3. mark field CLIENT and click button "Foreign Keys":

Click Yes

Click copy button:

you could observe the message below:

4. Repeat the operation for field LANGU

5. for key field CHANNEL, maintain the main table name ZCRMM_CCTV_CHAL in check table field, click button Generate proposal.

Then the entries under "Foreign Key Fields" are automatically populated.

Mark the radio button "Key fields of a text table", specify Cardinality 1:N.

Save and activate the text table. After that go to main table to check whether text table is assigned successfully by clicking 

Goto->Text Table:

After that the text table is displayed in SE11 automatically.

You can use the following FM to determine the text table name from a given main table name:

  • 5
    点赞
  • 5
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值