-
ABAP Program Tips.pdf下载
资源介绍
这个文档对ABAP开发从业者有很大帮助,日常开发过程中碰到的基本上都包含在这个文档里面:
Table of Contents
3.4 FILE PROCESSING-----------------------------23
CHAPTER 1 USEFUL TRANSACTIONS 3
3.4.1 DOWNLOADING TO EXCEL.......................23
3.4.2 FTP A FILE TO ANOTHER SERVER.............24
1.1 EDI SPECIFIC TRANSACTIONS---------------3
3.4.3 DATASET.............................................25
1.1.1 SCHEDULING AGREEMENTS.......................3
3.4.4 WS_DOWNLOAD.................................26
3.4.5 GUI_DOWNLOAD WITH POPUP FILENAME REQUEST 27
1.2 MESSAGE CONTROL----------------------------3
1.2.1 DELIVERY.................................................3
1.2.2 INVOICE....................................................3
3.5 MACROS-------------------------------------------27
1.2.3 ORDER RESPONSE....................................3
3.6 SELECT STATEMENTS-----------------------29
1.3 IDOC ADMINISTRATION-------------------------3
3.6.1 JOINS.....................................................29
1.4 IDOC DEVELOPMENT----------------------------4
3.7 SAPSCRIPT---------------------------------------29
3.7.1 CHANGING THE SUBJECT FOR EMAIL ORDER CONFIRMATIONS....................................................29
1.5 REQUIREMENTS CODING----------------------4
1.6 SALES-------------------------------------------------4
3.8 GENERAL------------------------------------------30
1.7 GENERAL--------------------------------------------4
3.8.1 RETRIEVING THE EMAIL ADDRESS OF AN SAP USER 30
1.7.1 COMMON TABLES......................................5
CHAPTER 2 USEFUL PROGRAMS 7
3.8.2 EXECUTING A PROGRAM..........................30
3.8.3 CHANGING \ CREATING REQUIREMENTS...31
3.8.4 DISPLAYING TRANSACTION......................31
2.1 FUNCTION MODULES---------------------------7
3.8.5 GUI-STATUS..........................................31
2.1.1 USEREXIT_KOMKBV1_FILL.................7
3.8.6 DOCUMENT FLOW...................................31
2.1.2 MASTER_IDOC_DISTRIBUTE..............7
3.8.7 MAINTAINING TRAILING SPACES WHEN DOWNLOADING TO PC...........................................31
2.1.3 IDOC_STATUS_WRITE_TO_DATABASE 7
3.8.8 HIDING ABAP SOURCE CODE.................32
2.1.4 IDOC_TYPE_COMPLETE_READ.........7
3.8.9 WHERE IN IMG IS A TABLE CONFIGURED..32
3.8.10 EDITOR TIPS (*EJECT AND *$*$)............32
2.2 PROGRAMS---------------------------------------11
3.8.11 LIST OF WAYS TO TRANSPORT VARIANTS..32
2.2.1 RHSOBJCH – FIXES PD CONTROL TABLES MISSING IN TX SWU3.............................................11
3.8.12 CHECKING FOR BACKGROUND PROCESSING32
2.2.2 RV80HGEN..........................................11
2.2.3 SCHEDULING OF SYSTEM MAINTENANCE JOBS....12
CHAPTER 4 WORKFLOW PROGRAMS 33
2.3 INCLUDES-----------------------------------------12
4.1 VIEWING PARTICULAR USERS INBOX--33
2.3.1 MBDCONWF – IDOC DEFINITIONS.........12
2.4 FIELDS----------------------------------------------12
CHAPTER 5 ALV GRID CONTROL 35
5.1 TOP-OF-PAGE---------------------------------35
CHAPTER 3 GENERAL PROGRAMMING 14
3.1 BAPIS-----------------------------------------------14
CHAPTER 6 OBJECT PROGRAMMING 37
3.2 DIALOG PROGRAMMING---------------------14
6.1 SAP DEMO REPORTS-------------------------37
3.2.1 PROCESS ON VALUE REQUEST – F4.........14
6.2 TREE REPORTS---------------------------------37
3.3 REPORTS------------------------------------------15
6.3 ALV GRID CONTROL--------------------------46
3.3.1 REFRESHING DATA ON REPORTS.............15
6.3.1 ADDING CUSTOM BUTTONS ON ALV GRID CONTROLS............................................................46
3.3.2 TREE REPORTS......................................15
3.3.3 INITIALIZING DATE RANGES ON SELECTION-OPTIONS 19
6.3.2 HIGHLIGHT LINES....................................49
6.3.3 FIRST LINE VISIBLE..................................50
3.3.4 REPORT HEADINGS.................................19
6.3.4 READ ONLY TEXT BOX.............................50
3.3.5 POPUP SELECTION – GET FILENAME........19
6.3.5 ENTERING TEXT......................................50
3.3.6 CHECKBOXES IN REPORTS.......................20
3.3.7 LIST BOXES ON SELECTION SCREENS......20
3.3.8 AT LINE SELECTION.................................20
CHAPTER 7 IDOC PROGRAMMING 52
3.3.9 TABSTRIPS ON A SELECTION SCREEN.......21
3.3.10 DYNAMIC SELECTION SCREENS................21
7.1 CREATING AN IDOC---------------------------52
ABAP Programming Tips Page 1 of 151
7.2 SENDING AN IDOC------------------------------52
7.3 CHANGING AN IDOC---------------------------52
7.4 CHANGING AN IDOC’S STATUS-----------53
7.5 READING AN IDOC-----------------------------53
7.5.1 EXAMPLE – OPEN DOCUMENT FOR READ..53
7.6 DISPLAYING AN IDOC-------------------------54
7.7 IDOC TYPE POOL-------------------------------54
7.8 LAUNCHING AN ERROR WORKFLOW---54
7.9 RETURNING IDOCS LINKED TO DOCUMENTS----------------------------------------------56
7.9.1 * RETURN THE LIST OF IDOCS LINKED TO THE DELIVERY 56
7.9.2 * RETURN THE LIST OF IDOCS LINKED TO THE INVOICE 56
7.9.3 VERSION 4.6X........................................56
7.10 EXAMPLES-------------------------------------58
7.10.1 WRITE IDOC STATUS...............................58
7.10.2 BDC PROCESSING & IDOC STATUS UPDATE58
7.10.3 MAILING IN SAP......................................60
7.10.4 PROGRAM EXAMPLE – REPORT TO SHOW EDI STATUS 65
7.10.5 EXAMPLE UPLOAD FILE TO IDOC...............78
7.10.6 IDOC CREATION FROM INBOUND FILE........85
7.10.7 LIST TRANSACTIONS................................96
7.10.8 REPORT WITH JOINS AND MACROS...........98
7.10.9 GRAPHICAL POPUP PROGRESS DISPLAY104
7.10.10 CHANGE IDOC STATUS TO ERROR STATUS AND SEND TO WORKFLOW....................................104
7.10.11 REPORT TO DOWNLOAD PROGRAMS...111
7.10.12 DISPLAY TABLE IN HTML...................120
7.10.13 TREE REPORTS.................................122
7.10.14 SHELL LIST REPORT OFF A TABLE - NAST 125
7.10.15 ALV REPORT....................................130
7.10.16 SAP GENERATED REPORT \ DIALOG PROGRAM 133
7.10.17 LIST OF TRANSACTIONS REPORT.........144
CHAPTER 8 BASIS ERRORS AND RESOLUTIONS 147
8.1 CANNOT ACTIVATE A TABLE------------147
CHAPTER 9 INDEX 149
- 上一篇: PS水墨效果插件
- 下一篇: javascript经典特效---用参数打开新窗口.rar