- 浏览: 295090 次
- 性别:
- 来自: 深圳
文章分类
最新评论
-
Kisses99:
怎么锁了?readonly?
tomcat不能正常启动 -
zhangliixi:
老板果然还是要厉害点~~
tomcat不能正常启动
在abap开发过程中,clear,refresh,free都有用来清空内表的作用,但用法还是有区别的。
clear itab,清空内表行以及工作区,但保存内存区。
clear itab[],清空内表行,但不清空工作区,但保存内存区。
refresh itab,与clear itab[]相似,只清空内表行,但保存内存区。
free itab,与refresh相似,清空内表行,但不清空工作区,且释放内存区域。
clear Effect
Without the optional additions, the data object dobj is assigned the type-specific initial value. The following applies:
The initial values are assigned to elementary data types according to the table of built-in ABAP types.
Reference variables are assigned null references.
Structures are set to their initial values component by component.
All rows in an internal table are deleted. All the memory required for the table, except for the initial memory requirement, is released (see Declaring Internal Tables). The FREE statement is used to release the memory space occupied by the rows of internal tables.
The optional additions allow you to fill the spaces of a data object with other values than the initial value.
Note
If dobj is an internal table with a header line, you must specify dobj[] to delete the rows, otherwise only the header line will be deleted.
----------------------------------------------------------------------
REFRESH itab.
Effect
This statement sets an internal table itab to its initial value, meaning that it deletes all rows of the internal table. The memory space required for the table is freed up to the initial memory size INITIAL SIZE. For itab, you must specify an internal table.
To delete all rows and free the entire memory space occupied by rows, you can use the statement FREE.
Note
The statement REFRESH itab acts for all internal tables like CLEAR itab[]. If an internal table itab has a header line, then the table body and not the header line is initialized. If the internal table itab has no header line, REFRESH itab acts like CLEAR itab. Therefore, you should always use CLEAR instead of REFRESH.
----------------------------------------------------------------------
FREE dobj.
Effect
The FREE statement has the same effect as the CLEAR
statement for any data objects except internal tables.
For internal tables, FREE has the same effect as the REFRESH statement, though the entire memory area occupied by the table rows is released, and the initial memory area remains unoccupied. If dobj is a structure with table-like components, the memory of each table-like component is released.
Note
If dobj is an internal table with a header line, FREE has the same effect as REFRESH on the table body, and not the header line.
clear itab,清空内表行以及工作区,但保存内存区。
clear itab[],清空内表行,但不清空工作区,但保存内存区。
refresh itab,与clear itab[]相似,只清空内表行,但保存内存区。
free itab,与refresh相似,清空内表行,但不清空工作区,且释放内存区域。
clear Effect
Without the optional additions, the data object dobj is assigned the type-specific initial value. The following applies:
The initial values are assigned to elementary data types according to the table of built-in ABAP types.
Reference variables are assigned null references.
Structures are set to their initial values component by component.
All rows in an internal table are deleted. All the memory required for the table, except for the initial memory requirement, is released (see Declaring Internal Tables). The FREE statement is used to release the memory space occupied by the rows of internal tables.
The optional additions allow you to fill the spaces of a data object with other values than the initial value.
Note
If dobj is an internal table with a header line, you must specify dobj[] to delete the rows, otherwise only the header line will be deleted.
----------------------------------------------------------------------
REFRESH itab.
Effect
This statement sets an internal table itab to its initial value, meaning that it deletes all rows of the internal table. The memory space required for the table is freed up to the initial memory size INITIAL SIZE. For itab, you must specify an internal table.
To delete all rows and free the entire memory space occupied by rows, you can use the statement FREE.
Note
The statement REFRESH itab acts for all internal tables like CLEAR itab[]. If an internal table itab has a header line, then the table body and not the header line is initialized. If the internal table itab has no header line, REFRESH itab acts like CLEAR itab. Therefore, you should always use CLEAR instead of REFRESH.
----------------------------------------------------------------------
FREE dobj.
Effect
The FREE statement has the same effect as the CLEAR
statement for any data objects except internal tables.
For internal tables, FREE has the same effect as the REFRESH statement, though the entire memory area occupied by the table rows is released, and the initial memory area remains unoccupied. If dobj is a structure with table-like components, the memory of each table-like component is released.
Note
If dobj is an internal table with a header line, FREE has the same effect as REFRESH on the table body, and not the header line.
发表评论
-
程序方法添加SAP_ALL权限
2012-04-10 14:28 2009REPORT ZTEST_001. data zUSR04 ... -
Business Add-ins
2011-12-20 10:33 1281本文是BC425中BAPI部分的内容,闲来无事学习一下,顺便翻 ... -
维护成本控制凭证的编号范围报错:co area have different elements
2011-08-19 16:30 1382在做维护成本控制凭证的编号范围时,从0001控制范围cop ... -
初级成本要素和次级成本要素 .
2011-08-18 16:40 2840初级成本要素与次级成本要素。SAP除总帐的及时集成外,它的另一 ... -
SAP query传输以后需要重新生成程序
2011-07-26 10:53 5836最近有个需求,需 ... -
ABAP程序启动后台作业
2011-07-15 10:03 5063FORM frm_set_bgex . DATA: ... -
SAP菜单显示事务码
2011-07-11 16:34 2883SAP的菜单项上,默认不显示该菜单项的事务码,进行如下操作可显 ... -
程序查找Customer Exit
2011-04-11 10:27 1095REPORT ZEXIT_HELP no standard p ... -
inner join on, left join on, right join on区别(转)
2011-03-31 14:06 16441.理论 只要两个表的公共字段有匹配值,就将这两个表中的记录 ... -
For all entries使用中注意的问题
2011-03-30 21:54 12301.SELECT CARRID CONNI ... -
ABAP memory中的Export和Import
2011-03-30 17:02 3592REPORT z_barry_export_import . ... -
ABAP中的各种接口技术(转)
2011-03-30 12:19 2337下面总结一下ABAP中的各 ... -
导入现成的安装有SAP的虚拟机报错:Failed to lock the file解决方法
2011-03-23 10:52 2254虚拟机文件来源:windows server 200 ... -
sap 标准abap程序优化example
2011-03-22 11:11 1388用se38进入程序编辑器,然后在Environment-Exa ... -
BADI 入门
2011-03-21 22:17 1127badi入门的文章看了不少,感觉下面这一片讲的挺好的。 地址: ... -
根据事物码查找BADI(转)
2011-03-21 20:29 1446对于根据事务代码查找对应的BADI,网上介绍的方法很多,但总结 ... -
SAP IMG的概念
2011-03-05 11:14 2152SAP - IMG IMG是SAP后台配置的入口。 Imp ... -
abap debug中设置watchpoint
2011-03-02 23:12 5129拿一个实例来说:先将文件写入服务器,然后再从应用服务器上读取, ... -
abap screen parameters自动转化成大写
2011-02-22 13:32 1841当我们写下面这段代码时 PARAMETERS: name ty ... -
使用Call Transaction来实现BDC(转)
2011-02-22 10:54 2341data: ls_bdc like bdcdata, lt ...
相关推荐
以下是关于 ABAP 开发中 CATT 用法的详细步骤和注意事项: 1. **启动 CATT** - 通过输入事务代码 **SCEM**,你可以进入 CATT 主界面。这个界面提供了创建和管理测试案例的功能。 2. **创建测试情况** - 测试情况...
### Webdynpro for ABAP中select option 用法 #### 引言 本文将通过一个具体的应用场景来探讨如何在Webdynpro for ABAP中使用Select Options功能。该应用场景涉及展示一个选择屏幕,用户可以在其中输入航空公司的ID...
ABAP 三种内表区别 在 SAP 系统中,ABAP 语言是开发者的不二之选,而 ALV(Application List Viewer)则是 ABAP 中的一种报表展示工具。今天我们将探讨 ABAP 中的三种内表区别,及其在 ALV 报表开发中的应用。 第...
本篇文章将详细介绍`collect`的用法并提供实例。 首先,理解`collect`的基本概念。`collect`操作是基于一个或多个关键列对数据进行分组,并对指定的数值列进行计算,例如求和。它适用于处理内表中的数据,但不推荐...
### ABAP 7.4 新语法关键知识点 #### 一、概述 ABAP(Advanced Business Application Programming)作为SAP系统的核心编程语言,在SAP软件开发领域占据着举足轻重的地位。随着技术的发展,ABAP也在不断进化和完善...
在SAP ABAP中,表(Table)和结构(Structure)都是用来组织数据的,但它们之间存在一些关键的区别: 1. **存储数据的区别**: - 表:实际存储数据的容器,可以通过SE16等工具直接查看和编辑表中的数据。 - 结构...
在SAP系统中,ABAP调用ABAP Proxy是一种常见的技术操作,用于在不同系统间或者同一系统内的组件之间实现通信。ABAP Proxy是SAP提供的一个强大的接口技术,它允许开发者创建安全、高效的远程调用机制。接下来,我们将...
这是一个ABAP子程序SUBMIT调用的方法,要根据实际灵活使用。
abap tips abap tips abap tips abap tips abap tips
《SAP ABAP 4.7开发指南》 在企业级信息技术领域,SAP系统扮演着至关重要的角色,尤其在企业资源规划(ERP)方面。SAP ABAP(Advanced Business Application Programming)是SAP系统中的一种编程语言,用于开发、...
ABAP - Keyword Documentation This documentation describes the syntax and meaning of the keywords of the ABAP language and its object-oriented part ABAP Objects. Alongside this, language frameworks ...
ABAP(Advanced Business Application Programming)是SAP系统中的一种编程语言,主要用于开发和定制企业级业务应用程序。在“ABAP Program Tips V3”这份资料中,涵盖了从基础交易到对象编程等多个方面,对于ABAP...
本资源提供的是五个不同应用场景的DEMO程序,旨在帮助开发者理解并熟练掌握ABAP2XLSX的用法。 1. **YDemo_01**:基础表格创建 YDemo_01是最基础的示例,展示了如何使用ABAP2XLSX创建一个简单的Excel表格,包括定义...
ABAP,全称为Advanced Business Application Programming,是SAP公司开发的一种高级编程语言,主要用于构建企业级的业务应用程序。本资源包包含从入门到高级的ABAP学习材料,旨在帮助学习者在11天内掌握ABAP的基础,...
作为ABAP的学习资料,"ABAP学习资料abap"包含了针对初学者和进阶者的全面教程,旨在帮助用户在三个月内掌握ABAP的基础到高级知识。 文档“ABAP三月通.doc”很可能包含以下关键知识点: 1. **ABAP概述**:介绍ABAP...
在“ABAP 函数大全”中,我们可以看到对各种ABAP函数模块的详细描述和用法。这些函数模块涵盖了数据处理、数据库交互、报表生成、界面控制等多个方面,是ABAP开发中不可或缺的工具。 1. 数据处理:ABAP提供了大量的...
由于这部分内容比较专业,我将尽量详细地阐述ABAP(Advanced Business Application Programming)逻辑数据库和数据库操作的概念和用法。 首先,ABAP是SAP系统中用于开发和扩展应用程序的主要编程语言。在进行数据库...
ABAP(Advanced Business Application Programming)是SAP公司开发的一种编程语言,主要用于开发和扩展SAP系统。Git是一种分布式版本控制系统,广泛用于软件开发中的代码管理。在这个“ABAP GIT 项目 AI SDK FOR ...
标题“abap-ALV.rar_ABAP系统ALV_abap_abap开发alv”暗示我们将深入探讨ABAP ALV的使用,特别是在ABAP系统中的应用以及如何进行开发。 描述中提到“ABAP ALV总结,ALV格式,REUSE_ALV_GRID_DISPLAY_LVC函数使用”,...
### ABAP Function 使用笔记 #### 1. CONVERSION_EXIT_ALPHA_INPUT **功能描述:** 此函数模块用于将字母数字类型的输入转换为纯文本格式。它主要用于处理非数值型数据对象的转换。 **输入参数:** - `input`: ...