custom develpment 107

57
[email protected] Michelle Crapo

Upload: tamanam-kiran-kumar

Post on 22-Jul-2016

15 views

Category:

Documents


0 download

DESCRIPTION

custom 107

TRANSCRIPT

Page 2: Custom Develpment 107

• SAP Mentor

• 1998 Technical Role / Functional Role / Technical Role

Teched

Page 3: Custom Develpment 107

Objective

Requirements

Design

Build

Appendix – Other stuff

Page 4: Custom Develpment 107

Design fast, accurate, performance tuned, reports that meet or exceed business expectations.

Page 5: Custom Develpment 107

Critical

Page 6: Custom Develpment 107

Paper Word Painter Screen

Shots

White

board

Napkin

Page 7: Custom Develpment 107

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
Page 9: Custom Develpment 107
Page 10: Custom Develpment 107
Page 11: Custom Develpment 107

How are you doing this?

Page 12: Custom Develpment 107

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
Page 14: Custom Develpment 107

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

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

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

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

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

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

Finally Code!!!!

Page 21: Custom Develpment 107

EASY AND QUICK Excel ALV Structured ABAP SQL Many Others Webdynpro Dynpro VC JAVA

Page 22: Custom Develpment 107

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

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

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

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

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

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

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

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

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

Use a “cool”

tool Build Design

Requirement

Page 32: Custom Develpment 107
Page 33: Custom Develpment 107

Feedback Please complete a session evaluation for this session!

Page 34: Custom Develpment 107

Odds and Ends

Page 35: Custom Develpment 107

SE93

Page 36: Custom Develpment 107

Check the fields

Page 37: Custom Develpment 107

• System • Program Name

Page 38: Custom Develpment 107

SMOD

Page 39: Custom Develpment 107
Page 40: Custom Develpment 107

Easy to use Enhancement Point At the beginning of the form and in the table POSTAB

Page 41: Custom Develpment 107

Text, help documents, and a nice way to find them. The help document explains how to use them.

Page 42: Custom Develpment 107

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

Use the wild cards to find the class. It can be limited further by the short text.

Page 44: Custom Develpment 107

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
Page 46: Custom Develpment 107
Page 47: Custom Develpment 107
Page 48: Custom Develpment 107
Page 49: Custom Develpment 107
Page 50: Custom Develpment 107
Page 51: Custom Develpment 107
Page 52: Custom Develpment 107
Page 53: Custom Develpment 107

• 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

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

Class

Structured

Function

Modules

Webdynpro

Dynpro

Workflow

BSP

BADI

SAP

Enhancement

Points

Page 56: Custom Develpment 107
Page 57: Custom Develpment 107