




全文预览已结束
下载本文档
版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
增强包括种:USER-EXIT 用户出口BADI用户增强替代BADI所用事务码:SE18 查看 SE19 激活并实现USER-EXIT所用事务码:SMOD查看CMOD激活并实现查找用户出口代码:可以用以下程序实现:Finding the user-exits of a SAP transaction code* Enter the transaction code in which you are looking for the user-exit* and it will list you the list of user-exits in the transaction code.* Also a drill down is possible which will help you to branch to SMOD.* Written by : SAP Basis, ABAP Programming and Other IMG Stuff* *report zuserexit no standard page heading.tables : tstc, tadir, modsapt, modact, trdir, tfdir, enlfdir. tables : tstct.data : jtab like tadir occurs 0 with header line.data : field1(30).data : v_devclass like tadir-devclass.parameters : p_tcode like tstc-tcode obligatory.select single * from tstc where tcode eq p_tcode.if sy-subrc eq 0. select single * from tadir where pgmid = R3TR and object = PROG and obj_name = tstc-pgmna. move : tadir-devclass to v_devclass. if sy-subrc ne 0. select single * from trdir where name = tstc-pgmna. if trdir-subc eq F. select single * from tfdir where pname = tstc-pgmna. select single * from enlfdir where funcname = tfdir-funcname. select single * from tadir where pgmid = R3TR and object = FUGR and obj_name eq enlfdir-area. move : tadir-devclass to v_devclass. endif. endif. select * from tadir into table jtab where pgmid = R3TR and object = SMOD and devclass = v_devclass. select single * from tstct where sprsl eq sy-langu and tcode eq p_tcode. format color col_positive intensified off. write:/(19) Transaction Code - , 20(20) p_tcode, 45(50) tstct-ttext. skip. if not jtab is initial. write:/(95) sy-uline. format color col_heading intensified on. write:/1 sy-vline, 2 Exit Name, 21 sy-vline , 22 Description, 95 sy-vline. write:/(95) sy-uline. loop at jtab. select single * from modsapt where sprsl = sy-langu and name = jtab-obj_name. format color col_normal intensified off. write:/1 sy-vline, 2 jtab-obj_name hotspot on, 21 sy-vline , 22 modsapt-modtext, 95 sy-vline. endloop. write:/(95) sy-uline. describe table jtab. skip. format color col_total intensified on. write:/ No of Exits: , sy-tfill. else. format color col_negative intensified on. write:/(95) No User Exit exists. endif. else. format color col_negative intensified on. write:/(95) Transaction Code Does Not Exist. endif.at line-selection. get cursor field field1. check field1(4) eq JTAB. set parameter id MON field sy-lisel+1(10). call transaction SMOD and skip first screen.*-End of Program点击双击一个用户出口,有可能存在多个功能模块名称我们常用表格为:INPORT CHANGIPNG TABL
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 重庆秀山非遗课件
- 新解读《GB-T 30748-2014旋转式压片机》
- 人教版八年级英语上册单元同步知识点与语法训练 unit3 section A (学生版)
- 新解读《GB-T 12022-2014工业六氟化硫》
- 重庆宠物蚂蚁吃西瓜课件
- 建筑施工-安全培训课件-建筑施工消防安全
- 世界地理选择题专项训练(一)-2023年中考地理高频考点复习(原卷版)
- 老年人自救互救知识培训课件
- 重力除尘工作原理
- 《英语小说选读》课程介绍与教学大纲
- 运维巡检服务方案
- 微机五防系统培训课件
- 《珍珠及其鉴别》课件
- 2025届四川省高三上学期第一次联合诊断性考试历史试卷(含答案)
- 人教版四年级数学上册单元课程纲要
- 2024年特种设备安全管理A证考试练习题(100题)含答案
- 三管三必须-新安法宣贯课件
- 单位二手房买卖协议
- 2024年两家土地纠纷协议书模板
- 医疗美容项目分级管理目录
- 01685《动漫艺术概论》历年考试真题试题库(含答案)
评论
0/150
提交评论