custom develpment 107
DESCRIPTION
custom 107TRANSCRIPT
![Page 2: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/2.jpg)
• SAP Mentor
• 1998 Technical Role / Functional Role / Technical Role
Teched
![Page 3: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/3.jpg)
Objective
Requirements
Design
Build
Appendix – Other stuff
![Page 4: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/4.jpg)
Design fast, accurate, performance tuned, reports that meet or exceed business expectations.
![Page 5: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/5.jpg)
Critical
![Page 6: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/6.jpg)
Paper Word Painter Screen
Shots
White
board
Napkin
![Page 7: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/7.jpg)
Is there an SAP provided report with most of the data on it?
What do you want on the report?
How often does the information change?
Is there a special way the report should be displayed?
![Page 8: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/8.jpg)
![Page 9: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/9.jpg)
![Page 10: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/10.jpg)
![Page 11: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/11.jpg)
How are you doing this?
![Page 12: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/12.jpg)
Pros Cons
Google Search http://wiki.sdn.sap.com/wiki/pages/recentlyupdated.action?key=Snippets
Look for something close
Change as much as you want
No Guarantees or warrantees
Usually only part of it will be coded in a snippet
![Page 13: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/13.jpg)
![Page 14: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/14.jpg)
Pros Cons
Already coded most of it
SAP upgrades are supported
Maintenance will be saved during notes or upgrades
Security may already be done
Takes time May not be the best
choice based on performance
How often will the new report be used?
![Page 15: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/15.jpg)
SE93 – Short Text
If it looks like it can be used. One of the following have to be found: ◦ User Exit
◦ BADI
◦ Enhancement framework
Sustainability
![Page 16: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/16.jpg)
Pros Cons
As good as the programmer is – can quickly crunch large amounts of data
Usually finding and using tables takes less time
Upgrades are a possible problem
Performance only as good as the programmer
![Page 17: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/17.jpg)
Many different documentation for tables and links. Do a google search.
On of my favorite: ◦ http://www.recercat.cat/bitstream/handle/2072/54
19/PFCLopezRuizAnnex3.pdf?sequence=4
Always use F1 and then the tool to get the structure or table
![Page 18: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/18.jpg)
Pros Cons
SAP Supplied
All logic already completed
Sustainability – upgrades and notes
Quick
May not handle large amount of data quickly
May not need all the data from the object
CHECK PERFORMANCE Could be hard to find
the SAP code
![Page 19: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/19.jpg)
Easy to find BAPI via BAPI transaction
Function modules may be known or found via debug
Classes can be found using short description.
Again – google is your friend
![Page 20: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/20.jpg)
Finally Code!!!!
![Page 21: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/21.jpg)
EASY AND QUICK Excel ALV Structured ABAP SQL Many Others Webdynpro Dynpro VC JAVA
![Page 22: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/22.jpg)
Pros Cons
Quicker – if it is a known way of programming
Don’t have to think about how it will be used in the future
Assume that it is only for one program
Quick and Dirty
Need to learn and be quick at programming using objects
Short term solutions can become long term
Can easily code with “old” format. That format would be found in objects.
Not Pretty
![Page 23: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/23.jpg)
Hardest part will be the layout of the display – after all the design work has been completed.
Heading can be reused.
![Page 24: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/24.jpg)
Pros Cons
Quick and easy layout
Used easily to design effective screens that work with users dynamically
Coding rules are enforced
QUICK
May not know how to use – learning curve
![Page 25: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/25.jpg)
Many different examples on the internet.
One of my favorites that is in the example ◦ http://www.sdn.sap.com/irj/scn/go/portal/prtroot
/docs/library/uuid/eac1fa0b-0e01-0010-0990-8530de4908a6?QuickLink=index&overridelayout=true&5003637741929
![Page 26: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/26.jpg)
Add as many fields as you can think of that make sense. Even if they are not requested, you can “hide” them via a layout and have them available later. (Weigh performance with how many fields you add.)
Program with layout as a parameter on the selection screen.
Allow for saving of layouts.
![Page 27: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/27.jpg)
Pros Cons
A format that your business users know and love
Easy to do
Quick to code
Allows for business to change as they would like
Can create a very nice format
Learning curve Downloaded from
Code Exchange – like all custom code not supported by SAP.
![Page 28: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/28.jpg)
Join Code Exchange on SCN
Become a member of the ABAP2XLS project ◦ Upgrades
◦ Improvements
◦ Forum for questions
ZDEMO_EXCEL* will give you access to a lot of demos. This is an easy way to create Excel Spreadsheets in a “pretty” format.
![Page 29: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/29.jpg)
Pros Cons
Can be quick if using tables or pre-built Info-set
Not the best apperance
Performance can be REALLY poor
![Page 30: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/30.jpg)
Probably the quickest method
Take a look at the performance
Be careful when using it a lot – There could be an underlying problem that is not being addressed.
![Page 31: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/31.jpg)
Use a “cool”
tool Build Design
Requirement
![Page 32: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/32.jpg)
![Page 33: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/33.jpg)
Feedback Please complete a session evaluation for this session!
![Page 34: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/34.jpg)
Odds and Ends
![Page 35: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/35.jpg)
SE93
![Page 36: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/36.jpg)
Check the fields
![Page 37: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/37.jpg)
• System • Program Name
![Page 38: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/38.jpg)
SMOD
![Page 39: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/39.jpg)
![Page 40: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/40.jpg)
Easy to use Enhancement Point At the beginning of the form and in the table POSTAB
![Page 41: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/41.jpg)
Text, help documents, and a nice way to find them. The help document explains how to use them.
![Page 42: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/42.jpg)
Use the wild cards to find the BAPI or function module. It can be limited further by the short text.
![Page 43: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/43.jpg)
Use the wild cards to find the class. It can be limited further by the short text.
![Page 44: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/44.jpg)
Examples ◦ BCALV* - check that it is an object example (
Method/Class)
BCALV_EDIT_01
BCALV_EDIT_02
BCALV_EDIT_03
BCALV_EDIT_04
BCALV_EDIT_05
BCALV_EDIT_06
BCALV_EDIT_07
BCALV_EDIT_08
![Page 45: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/45.jpg)
![Page 46: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/46.jpg)
![Page 47: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/47.jpg)
![Page 48: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/48.jpg)
![Page 49: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/49.jpg)
![Page 50: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/50.jpg)
![Page 51: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/51.jpg)
![Page 52: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/52.jpg)
![Page 53: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/53.jpg)
• Transaction SE38 after the query is created will give you the program name.
• SE93 – Copy and paste the program name.
![Page 54: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/54.jpg)
ABAPDOCU - Documentation
DWDM – Demos
OLE – Word and Excel demo
SE30 – Runtime analysis
ST05 – Trace
SAT – Newer runtime analysis
ABAP Editor - Set breakpoints for outside users now
Read text function module – READ_TEXT
![Page 55: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/55.jpg)
Class
Structured
Function
Modules
Webdynpro
Dynpro
Workflow
BSP
BADI
SAP
Enhancement
Points
![Page 56: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/56.jpg)
![Page 57: Custom Develpment 107](https://reader033.vdocuments.site/reader033/viewer/2022051006/577cc7d21a28aba711a1c339/html5/thumbnails/57.jpg)