- 博客(9)
- 资源 (12)
- 收藏
- 关注
转载 BAPI_CLASS_CHANGE
This data is only for class changes without change numbers!Structuresclassbasicdatao Table_new and table_old empty: nothing happenso Table_new filled, table_old empty: table_new will be savedo Table_new empty, table_old filled: nothing happenso
2016-08-22 21:21:29 1213
转载 SAP ABAP OLE 操作上传的EXCEL模板(转)
ABAP直接操作EXCEL实现数据处理。这里是用OLE实现操作EXCEL的。现在还有DOI操作EXCEL等方法。以后用到再做介绍。此处不是直接生成EXCEL文件,而是从服务器已经上传的EXCEL模板中下载模板然后打开修改实现数据保存。也可以直接创建新的EXCEL文件往里面传递数据并设置格式。这里不做介绍。1.采用模板文件实现。上传EXCEL模板T-code:SMW0 WebRFC 的二进制数据 包:MI点击按钮,上传excel模板。模板数据保存在系统表wwwdata中。
2016-08-19 10:38:22 8682
转载 OO ALV字段的修改状态
若用ALV输出的数据,希望某个字段某些行中可以修改,某些行中不可以修改。我们可以利用ALV的单元格编辑状态对象(lvc_t_styl)来解决。 在数据存储的内表中增加如下的字段: data:begin of gs_show occurs 0, ………… cellstyle type lvc_t_styl, end of gs_show. 假设我们希望主数据中的 CHKBX(选中)字段为可写,并且是复选框,那么我们需要在
2016-08-18 09:35:56 2055
原创 Validations in FI-AP
Step 1:-Create a message ID via transaction code SE91 for message class /EACC/MSG/ACC_COMP. The message text should be which you want to display to the user. Step 2:-Go to transaction GGB0 and create the validation step at line item level in Financ
2016-08-10 20:52:33 538
原创 F4 help functionality for a dynpro screen field using the PROCESS ON VALUE-REQUEST statement
Pressing the F4 button on a dynpro screen field brings up a list of possible values you can enter into that field. This list of values is usually derived from the domain of the data dictionary definition the screen field is based on. Alternatively if you d
2016-08-04 21:07:15 591
原创 user exit for migo after save
背景:在很多需求中,migo收货完成生成凭证后,需要获取生成的凭证,可以用增强MB_CF001.M06B0001 采购请购单发放的角色确定M06B0002 为采购请购单发放修改通讯结构M06B0003 编号范围和凭证编号M06B0004 编号范围和凭证编号M06B0005 对所有的申请下达更改为共同结构M06E0004 为发放采购凭证改变通讯结构M06E0005 采购凭证发放的角色确定M60E0001 用户退出来开始计划的独立需求维护M60E0002 用户退出来结束计划的独立需求维护M
2016-08-04 19:43:59 2133
转载 ABAP中怎样获取随机数
在ABAP程序中有两种方式可以获取随机数: 方式一: 使用 function QF05_RANDOM_INTEGER 来获得随机数, 第一次使用的时候只是获得种子. 所以在程序中使用的时候,要在最开始设置种子. 如, 我想获得一个1-10的随机数,应该在 CALL FUNCTION 'QF05_RANDOM_INTEGER' EXPORTING ran_int_max = 10 ran_int_min = 1 IM
2016-08-04 19:32:59 1411
转载 Add Material classification field in QA32 ALV
1. Append the structure qals_d02 in se11 with the field you want to display..2. Append the same field in QALS table in se11. (to save you from dump on running QA32) (e.g. you want to add material group matkl in the alv of QA32. go to se11, append 'zzmat
2016-08-02 14:29:40 1898
原创 smartforms在不同语言下翻译
Language translation in smart forms:Here are the steps...1. Go to transaction 'SE63'.2. Click on 'Translation' -> 'ABAP objects' -> 'Other long texts'.3. Click on 'FS forms and Styles' and select 'SSF SAP Smart form'.4. Then enter the smart form name
2016-08-01 15:43:47 1962
SAPscript Legacy Text Editor patch
2017-08-31
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人