- 博客(12)
- 资源 (3)
- 收藏
- 关注
原创 ABAP代码性能改善
Performance techniques in abap programing Never use select * Never use select statement inside the loop Never use nested loops Use always key fields in where conditions Use always for all entries for joining tables Check the parent table whether it is ini
2022-03-21 10:02:17
151
原创 Badi开发步骤
Badi开发步骤 Badi development steps Step1:Find out the standard program of the tcode Step2:Find out the package of the program Step3:Goto se84 tcode and find out the suitable BADI Step4:Implement the BADI se19: for implement the badi
2022-03-21 09:48:40
166
原创 HR 开发1
常用表 T777D Tcode PPCI 创建HRI或OM infotype 用sm30 维护 T777I视图 PO10 (Maintain Organizational Unit) PO13 (Maintain Position)
2022-02-19 22:44:08
284
转载 Debug过程中保存function的测试数据到SE37
转载链接:link 在Debug ABAP程序过程中,能将输入Function的测试数据保存到SE37,这样就可以直接在SE37中测试function,而不用再次debug整个程序。 方法如下: 1,debug时,F5进入到需要测试的Function中,点击右侧工具按钮进入到variable Fast Display services屏幕,然后再点击Save Parameters as Test Data(SE37), ...
2021-07-10 21:42:15
690
原创 字符操作1
搜索字符 CP * 变量1(通配符) DATA(lv_test) = |abc-123|. WRITE: / lv_test. IF lv_test CP '*-*'. WRITE: / '- 在中间.'. ELSE. WRITE: / '没有在中间'. ENDIF. * 变量2(通配符) lv_test = |abc-123|. WRITE: / lv_test. IF lv_test CP 'ABC-*'. WRITE: / '匹配 ABC-XXX'. ELSE. WRITE: /
2021-06-14 20:01:49
101
原创 区分 S/4 HANA 新老事务代码
区分 S/4 HANA 新老事务代码 DATA: lv_s_tcode TYPE sy-tcode. PARAMETERS: p_rel TYPE saprl DEFAULT '751'. SELECT-OPTIONS: so_ta FOR lv_s_tcode. START-OF-SELECTION. SELECT c~rel_name, c~s_tcode, c~t_tcode, tx~ttext INTO TABLE @DATA(it_prgn_corr2) FROM prg
2021-06-14 19:46:30
550
原创 代码片段1(高端)
执行外部操作系统命令 DATA: lv_command(50) TYPE c, lv_line(150) TYPE c, lt_tab LIKE TABLE OF lv_line. lv_command = 'ls -l'. CALL 'SYSTEM' ID 'COMMAND' FIELD lv_command ID 'TAB' FIELD lt_tab. LOOP AT lt_tab INTO lv_line. WRITE: /
2021-06-14 19:42:48
219
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人
RSS订阅