rootbin

总是很懒,写不来博客,最近发现可以从onenote同步到博客园,虽然格式丑点,勉强算写博客了吧,可能以后都不干abap,权当纪念一下.
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2015年4月28日

摘要: 外围系统调用导致锁丢失 java使用JCO的方式连接SAP Related: 获取锁的处理 Article 1 2014年4月6日 22:04 SAP锁机制 一、SAP为什么要设置锁: 1,保持数据的一致性 如果几个用户要访问同样的资源,需要找到一种同步访问的方法去保持数据的一致性。比如说,在航班预订系 统中,需要检查还有没有空座位,当检查的时候,你... 阅读全文

posted @ 2015-04-28 17:02 rootbin 阅读(960) 评论(0) 推荐(0)

摘要: 由于数据库越来越大,对于管理和使用都是一个大的问题,我们归档的目的就是为了是数据库进可能的小,加快用户响应时间,并且对于用户对于数据库的查询来说,进可能加载多的表到内存中。 归档就是上面两个要求的平衡点,首先把不需要经常使用的商务对象数据从数据库中提取出来写到一个归档文件中,然后把相关对象从数据库删除,这就减小数据库大小。并且这些归档数据同样还是可以被用户读取和查询的。 注意商业对象可能在... 阅读全文

posted @ 2015-04-28 17:00 rootbin 阅读(5421) 评论(0) 推荐(0)

摘要: 导致的数据缺失 for all entries in 自动去除重复数据的问题 以前也遇到过 但是没有引起足够的注意 而且发生错误时都是隐性的 很难找 所以开发程序 使用all entries in的时候就要考虑到这个问题 多选几个关键字段来避免被删除 原理的分析: 1)for all entries的解析 使用or 来连接多个条件 例如: for all en... 阅读全文

posted @ 2015-04-28 16:59 rootbin 阅读(825) 评论(0) 推荐(0)

摘要: The hit list summarizes the measurements of execution and processing times into one entry per operation. If the aggregation is 'per calling position', then you will see two separate entries for the... 阅读全文

posted @ 2015-04-28 16:58 rootbin 阅读(184) 评论(0) 推荐(0)

摘要: SQL statement execution on an SAP system 2014年4月7日 0:28 SQL execution plans, part 1: SQL statement execution on an SAP system Martin Merdes 9 Feb 2009 2:52 PM 1 The most common root causes... 阅读全文

posted @ 2015-04-28 16:53 rootbin 阅读(886) 评论(0) 推荐(0)

摘要: You can use this function to explain all SELECT, INSERT, UPDATE or DELETE statements. The statements may contain optional comments such as --OPTLEVEL( ) --QUERY_DEGREE( --LOCATION( , ). If no co... 阅读全文

posted @ 2015-04-28 16:52 rootbin 阅读(473) 评论(0) 推荐(0)

摘要: 关于复合索引的理解 EXP. 对于 ABC 三个字段建立符合索引 那么能够使用索引的只有 ABC AB A 三个条件 stpu的默认索引中 少了stlty 只会使用mandt 作为索引字段 其实是无效的 key columns 1 反之 就使用了全部索引字段 key column 4 创建索引 2014年5月22日 20:44 SE... 阅读全文

posted @ 2015-04-28 16:51 rootbin 阅读(213) 评论(0) 推荐(0)

摘要: 簇 : 简单的说就是更具相同的特征 合并数据 簇表 来自多张table 具有相同key的记录合并成一条记录 放在簇表里 簇表的存储空间在表簇 这个是SAP的bseg的demo 当然我们也可以自定义 原理的话见 cluster table 这篇文章 簇数据库 当然原理上是有类似的 但不能和这里的簇表和表簇相混淆 簇数据库 ... 阅读全文

posted @ 2015-04-28 16:50 rootbin 阅读(1134) 评论(0) 推荐(0)

摘要: TransparentPoolClusterContain a single table. Used to store master dataThey are used to hold a large number of very small tables(stores customizing data or system data)They are used to hold data from ... 阅读全文

posted @ 2015-04-28 16:49 rootbin 阅读(176) 评论(0) 推荐(0)

摘要: 在sap的table是属性描述中 有些sap自己的概念 这也是基于所谓的SERM(structured entity relationship management) 1.Entity 这个和通常认为的实体是一致的 通俗的说可以理解为sap tables的基本表 实体和实体之间可能有多中关系 多对多关系在逻辑上存在 但是不会直接在实体与实体的实现中存在 通常是引入relation ... 阅读全文

posted @ 2015-04-28 16:48 rootbin 阅读(1070) 评论(0) 推荐(0)

摘要: 自省数据及表存储 2014年4月6日 21:37 类似JAVA反射的特性 SAP提供自省数据的机制 这样可以保证程序的灵活性和动态性 1.使用OO中的cl_abap_typedescr等相关class的method 可以达到查看各种数据内部结构的功能 参见REPORT Z_QUERY_PARSER.解析table的结构 2.使用function D... 阅读全文

posted @ 2015-04-28 16:47 rootbin 阅读(2240) 评论(0) 推荐(0)

摘要: SM21 ST11 SM50 查看work process 使用情况 操作相关的查询功能 SM## 常用tcode SM01 锁定事务 SM04 用户清单 SM05 HTTP Session Management: Monitoring SM12 ... 阅读全文

posted @ 2015-04-28 16:18 rootbin 阅读(497) 评论(0) 推荐(0)

摘要: 1.5 物料修改记录的查询 6.8 BOM更改记录 sap标准:RSSCD100,RSSCD200 来自 sap的字段和对象的修改都会保存旧值,数据保存在CDHDR和CDPOS表中,对于提取旧值你可以采用两种方法 1)使用sap的标准函数CHANGEDOCUMENT_READ_HEADERS和CHANGEDOCUMENT_READ_POSITIONS ... 阅读全文

posted @ 2015-04-28 16:17 rootbin 阅读(753) 评论(0) 推荐(0)

摘要: Custom Parameter-id Creation By Abhijit Daptary, Capgemini India Step1: Creation of parameter ID. Parameter ID can be created in the table TPARA. Just enter the name of the parameter id in the ... 阅读全文

posted @ 2015-04-28 16:16 rootbin 阅读(1803) 评论(0) 推荐(0)

摘要: "检查IP格式是否正确 DATA:ld_matchcntTYPEi. FINDREGEX'((2[0-4]\d|25[0-5]|[01]?\d\d?)\.){3}(2[0-4]\d|25[0-5]|[01]?\d\d?)' INclientipINCHARACTERMODE MATCHCOUNTld_matchcnt.... 阅读全文

posted @ 2015-04-28 16:15 rootbin 阅读(170) 评论(0) 推荐(0)

摘要: 调用函数直接修改table数据 在PRD上通常没有权限 但是可以激活sap内置的修改模式 SE16N 修改表数据、增加、删除行项目; 1. Execute tcode SE16N. 2. Type &SAP_EDIT into the command field and press enter. 3. Enter any standard SAP ta... 阅读全文

posted @ 2015-04-28 16:11 rootbin 阅读(4731) 评论(0) 推荐(0)

摘要: 对FUNCTION: GUI_DOWNLOAD中某些参数的用法. call function 'GUI_DOWNLOAD' exporting * BIN_FILESIZE = * filename = p_file * FILETYPE... 阅读全文

posted @ 2015-04-28 16:10 rootbin 阅读(3439) 评论(0) 推荐(0)

摘要: REPORTdemo_dynpro_status_icons. DATAvalueTYPEiVALUE1. DATA:status_iconTYPEicons-text, icon_name(20)TYPEc, icon_text(10)TYPEc. CALLSCREEN100. ... 阅读全文

posted @ 2015-04-28 16:09 rootbin 阅读(320) 评论(0) 推荐(0)

摘要: "Code should be written to minimize the time it would take for someone else to understand it." 日常工作的事实是: 写代码前的思考和看代码的时间远大于真正写的时间 读代码是很平常的事情,不论是别人的,还是自己的,半年前写的可认为是别人的代码 代码可读性高,很快就可以理解程序的逻辑,进入工作状态... 阅读全文

posted @ 2015-04-28 16:08 rootbin 阅读(203) 评论(0) 推荐(0)

摘要: http://scn.sap.com/thread/18844 SAP ABAP 实现多线程 第一步:初始化server group ,server group 可以用RZ12进行维护,参数支直复制即可,不要修改。 CONSTANTS:serv_groupLIKErzllitab-classnameVALUE'JOBRUN'. CA... 阅读全文

posted @ 2015-04-28 16:08 rootbin 阅读(1457) 评论(0) 推荐(0)

摘要: 设定一些系统参数 例如在生成table maintenance的时候 由于表格结构复杂 导致生成维护程序时 超出了默认的内存限制 这时候可以通过RZ10 修改 zzta/dynpro_area RZ10 修改了必须重启 RZ11 只是修改当前内存中的参数 RSPFPAR 查看所有参数 Auto logout 2014年9月1日 1... 阅读全文

posted @ 2015-04-28 16:07 rootbin 阅读(860) 评论(0) 推荐(0)

摘要: 在SE11 中 关于table的F4 help 有一个筛选条件是Package 同时由于不同的模块放在不同的Package中 很容易根据这个条件 获得某个模块的所有Tables 亲测有效 1. Goto SE11 2. Select the radio button Database tables 3. Click on F4 help 4. Now clic... 阅读全文

posted @ 2015-04-28 16:06 rootbin 阅读(144) 评论(0) 推荐(0)

摘要: 在一些日常业务中,总有一些长时间处理的任务,系统运行这些任务需要一晚甚至一个周末。 这就需要后台运行单元(background work process)来完成,而且其是不会发生超时(time out) 错误的。 进程(job)有下面几种类型: 时间驱动(Time-driven job):按照用户预先设定的有时间启动进程。 事件驱动(Event-Driven job):在一个事... 阅读全文

posted @ 2015-04-28 15:59 rootbin 阅读(413) 评论(0) 推荐(0)

摘要: 业务对象是在一定的编号范围内分配编号的,编号既可以是内部分配也可以是外部分配。对于外部分配,用户输入编号,系统检查这个编号是否被占用。对于内部分配,系统会自动的把编号分配给业务对象。所以内部分配和外部分配有不同的Number range。对于编号的分配,要考虑法规要求和业务规则,比如要求编号必须是连续的,按发生时间顺序排列等。为了保证编号的分配没有问题,可以通过相应的number range ob... 阅读全文

posted @ 2015-04-28 15:54 rootbin 阅读(1120) 评论(0) 推荐(0)

摘要: The ABAP Debugger is usedtool to execute and analyze programs line by line. Using it we can check the flow logic of a program and display runtime values of the variables. Currently, SAP offers two ty... 阅读全文

posted @ 2015-04-28 15:36 rootbin 阅读(252) 评论(0) 推荐(0)

摘要: 在debug下有一个中文叫做杂项的选项卡下有配置的内容里面可以配置debug的模式 有的时候一些莫名其妙的问题需要调整里面的设置 > 阅读全文

posted @ 2015-04-28 15:25 rootbin 阅读(123) 评论(0) 推荐(0)



亲爱的P.I.G 你应该是不会到这里来的吧 ? I'm always 怀挺!