ITPub博客

首页 > 应用开发 > IT综合 > 如何创建ABAP的text table

如何创建ABAP的text table

原创 IT综合 作者:i042416 时间:2020-08-19 11:25:48 0 删除 编辑

(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:



要获取更多Jerry的原创文章,请关注公众号"汪子熙":


来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/24475491/viewspace-2712832/,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论
SAP成都研究院开发专家,SAP社区导师,SAP中国技术大使。

注册时间:2018-01-20

  • 博文量
    1914
  • 访问量
    882456