Jack Wu
Jack Wu · 共 607 篇文章
如何设置'REUSE_ALV_GRID_DISPLAY'的单个单元格的颜色
在ALV报表设计有时候需要根据一定条件将特定的单元显示成特定的颜色,具体实现步骤如下: 1. 在需要显示的内表中添加新的字段,字段类型为lvc_t_scol 2. 根据条件设置颜色数据; 3. 设置layout-coltab_fieldname的数据指定显示颜色的字段. 代码如下:(注意红色部分) REPORT z_alv_color. TYPE-POOLS: slis. DATA: BEGIN OF it_flight OCCURS 0, carrid LIKE sflight-carrid, connid LIKE sflight-connid, fldate LIKE sflight-…
2008-08-18T15:55:00Z · 评论(0)
SD--va01的屏幕增强
在销售订单处理中,用户会需要控制屏幕的一些字段是否允许修改,在配置里没有设置,为了实现该要求只能通过sap提供的增强来实现。sap为用户提供了三种增强,用户可以选择任一种来实现。 1)BADI 对应的接口类是:IF_EX_BADI_SD_SALES_BASIC 实现方法参见: http://blog.csdn.net/CompassButton/archive/2006/10/21/1344686.aspx 2)函数型增强 对应函数是:FUNCTION EXIT_SAPMV45A_004 FUNCTION EXIT_SAPMV45A_004. *"----------------------…
2008-08-04T18:25:00Z · 评论(0)
如何设计折叠样式的屏幕(类似MIGO的屏幕)
在sap的应用中,我们有时会需要设计折叠样式的屏幕(类似MIGO的屏幕),以缓解屏幕区域的太小的矛盾。折叠样式屏幕实现的基本原理是用子屏幕根据用户的输入调用不同的子屏幕来实现的。现在以放置两个子屏幕的折叠式的屏幕来说明实现的步骤。为了实现两个子屏幕的折叠式的屏幕需要设计7个屏幕(一个主屏幕,两个信息屏幕,一个全展示子屏幕,一个下半部展示子屏幕,一个上半部展示子屏幕,一个下全关闭子屏幕)。具体步骤如下: <o:p></o:p> Step 1:设计一个主屏幕,放置一个”子屏幕范围”<o:p></o:p> 屏幕的逻辑流为:<o:p></o:p> PROCESS BEFORE OUTPUT.<o:p…
2008-07-21T16:17:00Z · 评论(0)
ABAP---如何将内表数据转成HTML格式文件
<style type="text/css"> SPAN { font-family: "Courier New"; font-size: 10pt; color: #000000; background: #FFFFFF; } .L1S31 { font-style: italic; color: #808080; } .L1S32 { color: #3399FF; } .L1S33 { color: #4DA619; } .L1S52 { color: #0000FF; } </style> 本代码使用下列三个函数来完成将内表数据转换成本地的 HTML文件,并使用 IE打开浏览。三个函…
2008-07-21T11:28:00Z · 评论(0)
BI--SDN上收集到的SAP BI的极好文章的链接
1)Overview https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/60981d00-ca87-2910-fdb8-d4a2640d69d4 Volume Testing for SAP BW ERP: Note 821148 - Installing/upgrading Basis Plug-in (PI_BASIS) 2005.1 2)Model https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e701051a-…
2008-06-16T20:12:00Z · 评论(0)
BW--BW各种对象对应的图标列表
2008-06-10T13:02:08Z · 评论(0)
BI--SAP BI的权限管理
一、sapBI的用户分类 There are different types of users in SAP BW. Most of your users will be the users who execute queries and workbooks. These people could be considered "reporting users" or "end users." There are also users who develop new queries. Some people may refer to them as "power users" or "data…
2008-06-07T16:04:00Z · 评论(0)
BI--如何成为一个SAP BI顾问
SAP Business Information Warehouse (SAP BW) is the name of the Business Intelligence, Analytical, Reporting and Data Warehousing (DW) solution which is one of the major enterprise software applications produced by SAP AG. It was originally named SAP BIW, (Business Information Warehouse), but is now…
2008-06-07T10:31:00Z · 评论(0)
ALE IDoc--BDOC和IDOC的区别
一、说明 IDoc: An Intermediate Document (IDoc) is a SAP standard format for data transfer between systems. IDocs are mainly used for Application Link Enabling (ALE) and for Electronic Data Interchange (EDI). They are not used for processing inside an application. DBoc: Business Documents (BDocs) are us…
2008-06-04T16:57:00Z · 评论(0)
BI--如何创建BI的新client
最近在sap的SDN上发现了一篇详细讲叙如何创建BI的新Client,该文章讲得非常详细,对BI安装的新手非常有用,特贴出链接供大家参考: https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/007af9a7-e48e-2a10-5c85-fcac22d58e82
2008-06-02T13:05:33Z · 评论(0)
ABAP--使用SLIN事务码进行ABAP程序扩展语法检查,提高程序开发的质量
TCODE: SLIN 或者在SE38 界面的菜单: 程序-》语法-》扩展程序检查 就会弹出下面的界面,用户可以根据自己的需求设置检查点,并根据检查结果修改程序,使自己的代码更加可靠。另外在SE38 界面的菜单: 程序-》语法-》Code Inspector 提供了从另外的一些角度来检查程序的合理性。
2008-05-20T14:22:00Z · 评论(0)
ABAP - 3D Graphs with SAP
在ABAP设计中,程序员经常需要用图形显示报表的统计结果,我们可以使用函数:GRAPH_MATRIX_3D来达到图形显示。 GRAPH_MATRIX_3D函数参数很多,但只有三个参数必须需要输入: Table DATA The first field of table DATA must be a C field of any length. The number values must then be passed in one or more numeric fields. These fields can have type P or F. Table OPTS Table OPTS …
2008-05-13T08:57:39Z · 评论(0)
FI---FI tables的结构和关系总览图
FI--数据表图 图中相关表的说明。 Parking Documents VBKPF Document Header for Document Parking 预制凭证的凭证抬头 VBSEGA Document Segment for Document Parking - Asset Database 凭证预制的凭证段-资产数据库 VBSEGD Document Segment for Customer Document Parking 客户凭证预制的凭证段 VBSEGK Document Segment for Vendor Document Parking 供应商凭证预制的凭证段 VBS…
2008-05-11T09:23:01Z · 评论(0)
ABAP--在查询条件只包含部分索引字段时,如何使用索引
One of the most important considerations when writing a select statement against a large table is the effective use of an index. However this is sometimes more easily said than done. Have you ever found that your WHERE clause is missing just one field of an index and that field is not at the end of…
2008-05-10T23:34:07Z · 评论(0)
ABAP--如何快速从BSEG读取数据
由于bseg表很大,而且表的索引字段是: BUKRS - Company Code BELNR - Accounting Document Number GJAHR - Fiscal Year BUZEI - Line Item Number 访问此表最佳的是包含所有的索引字段,但在实际应用是很少能达到的。但要有好的性能根据经验必须要有公司和凭证号作为查询条件。为了达到这一点,我可以根据条件不同而使用不同sap的其他表,先查出公司和凭证号,再去读取BSEG表**。** 代码如下: 注意:该程序包含了各种条件的查询,程序员可以根据自己应用需求选择对应一个的子程序来读取公司和凭证号。 REPOR…
2008-05-10T23:28:19Z · 评论(0)