以簇方式存储数据对象(Storing data objects in clusters).doc

以簇方式存储数据对象(Storing data objects in clusters).doc

  1. 1、本文档共21页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
以簇方式存储数据对象(Storing data objects in clusters)

以簇方式存储数据对象(Storing data objects in clusters) Text entry: ABAP Portal -- storing data objects in clusters : jesse188 You can save any of the complex internal data objects of the ABAP/4 program in a data cluster, save it temporarily in ABAP/4 memory, or store it in a database for a long time. You can store data clusters in ABAP/4 memory. ABAP/4 memory is allocated to a specific transaction store, and any module is called from the keyword CALL or SUBMIT. Storing data objects in memory using the EXPORT TO MEMORY statement. Read data objects from memory using the IMPORT FROM MEMORY statement. Delete data clusters from memory using the FREE MEMORY statement. First, storing data objects in ABAP/4 memory Writes a data object from the ABAP/4 program to ABAP/4 memory, using the following statement: EXPORT, F1, [FROM, g1], F2, [FROM, g2]... TO, MEMORY, ID, key. This statement will be specified in the list of data objects stored in memory data for cluster ABAP/4. If the option FROMgi is ignored, the data object fi is stored under its own name. IDkey is used to identify memory data and must not exceed 32 characters. EXPORT always completely rewrites the contents of any existing cluster of data of the same IDkey. example DATA TEXT1 (10) VALUEExporting. DATA, ITAB, LIKE, SBOOK, OCCURS, 10, WITH, HEADER, LINE. DO 5, TIMES. ITAB-BOOKID = 100 + SY-INDEX. APPEND ITAB. ENDDO. EXPORT TEXT1 TEXT2 FROMLiteral TO MEMORY IDtext. EXPORT ITAB TO MEMORY IDtable. In this example, the text fields TEXT1 and TEXT2 are stored under the ID text of the programs ABAP/4 memory, and the inner table ITAB is stored in the ID table. Two. Read data objects from memory To read data objects in ABAP/4 memory into a ABAP/4 program, use the following statement: Syntax: IMPORT, F1, [TO, g1], F2, [TO, g2]... FROM, MEMORY, ID, key. This statement reads the data objects specified in the list from the data cluster in the ABAP/4 memory. If the option TOgi is ignored, the data object fi in memory is assigned

文档评论(0)

jgx3536 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:6111134150000003

1亿VIP精品文档

相关文档