- 1、本文档共21页,可阅读全部内容。
- 2、有哪些信誉好的足球投注网站(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 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
您可能关注的文档
- 中国衡器协会200X年度工作总结和200X年工作计划要点…(China weighing apparatus Association 200X annual work summary and 200X work plan points...).doc
- 中国计算机学会《学科前沿讲习班》(Chinese Academy of Computer Science Workshop on Frontiers of disciplines).doc
- 中国评级公司如何与标普穆迪争夺话语权(How does China's Rating firm compete with S & P Moodie).doc
- 中国赏石文化溯源(Origin of Chinese stone culture).doc
- 中国辩诉交易第一案的思考(Reflections on the first case of plea bargaining in China).doc
- 中国法律思想选择题(Chinese legal thought choice question).doc
- 中国现代诗歌大全席慕容诗选(Chinese Encyclopedia of Modern Poetry Selected Poems of Xi Murong).doc
- 中国舞等级考试一级(Chinese dance class).doc
- 中国近现代音乐史(Modern Chinese music history).doc
- 中国陶瓷工艺大师江欣文(文艺)(Chinese ceramic art master Jiang Xinwen (literature and Art)).doc
- [中央]2023年中国电子学会招聘应届生笔试历年参考题库附带答案详解.docx
- [吉安]2023年江西吉安市青原区总工会招聘协理员笔试历年参考题库附带答案详解.docx
- [中央]中华预防医学会科普信息部工作人员招聘笔试历年参考题库附带答案详解.docx
- [保定]河北保定市第二医院招聘工作人员49人笔试历年参考题库附带答案详解.docx
- [南通]江苏南通市崇川区人民法院招聘专职人民调解员10人笔试历年参考题库附带答案详解.docx
- [厦门]2023年福建厦门市机关事务管理局非在编工作人员招聘笔试历年参考题库附带答案详解.docx
- [三明]2023年福建三明市尤溪县招聘小学幼儿园新任教师79人笔试历年参考题库附带答案详解.docx
- [哈尔滨]2023年黑龙江哈尔滨市木兰县调配事业单位工作人员笔试历年参考题库附带答案详解.docx
- [上海]2023年上海市气象局所属事业单位招聘笔试历年参考题库附带答案详解.docx
- [台州]2023年浙江台州椒江区招聘中小学教师40人笔试历年参考题库附带答案详解.docx
文档评论(0)