Add Icon to Selection-Screen
This is a very simple case, and no much words on this, just to say that in SAP, a lot of function could be finished in a simple and dramatical way.
1. Create a simple report like below:
This is a very simple case, and no much words on this, just to say that in SAP, a lot of function could be finished in a simple and dramatical way.
1. Create a simple report like below:
一般我们去找一个类或者方法都是直接进入SE24, 然后通过模糊查询找到类,然后查看类中的各种方法, 这样的做法要求你要非常明确你要找的目标. 下面我列出一个小方法, 能够加快搜索类和方法的小的tips:
首先打开view: VSEOMETHOD
本文根据Thomas Jung的一篇文章加以修改, 最终实现, 并且添加了一些中文的注释, 使这种技术更加容易被大家理解和使用. 效果如图:
Sometime we create a new program with selection-screen, and all the selection fields texted with text-element. And after we download the program and then upload to another place with Copy/Paste, the selection fields’ text lost, and in this article will tell you how to init you selection fields’ text in a normal report.
在SAP中有很多已经做好的demo程序教我们怎么样去使用某种程序设计方法,或者业务对象,但是这些demo往往都是基于FLIGHT数据表,其中包括SPFLI,SBOOK等等表,如果系统不是IDES系统,你会发现这些demo的数据都是不存在的, 那么如何手动生成这些表的内容呢?
在查了sap online help之后, 有一个程序可以自动生成这些表数据.
关于Timestamp, 在SAP系统中有很多的可以使用的转换函数, 但是并不是每种的timestamp格式都相同, 今天有空就玩一个timestamp对对碰的游戏. 在自建的程序中把这些对对转换的函数一一比较.
程序代码如下:
How to make ALV report much more easily? As we know there are about 3 ways to implement ALV report, that is REUSE_ALV, ALV_GRID classs, and SALV, in this section, I will show you on how to use SALV with a common include that makes ALV Report as simple as possible.
在网上闲逛, 突然看到了这个列表, 于是记录下来,以备以后使用. 说起XI, 在一年前的项目上曾经研究过, 大概的架构还算是清楚, 只是一直也没有自己的环境可以使用, 所有研究仅限于理论. 看来要加强实践.
This is a demo program part, that make you simply create material master data in SAP system. This is just contain the BAPI call part and value assign to the parameters used by this BAPI.
BAPI:BAPI_MATERIAL_SAVEDATA