• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Report development technique
 

Report development technique

on

  • 433 views

 

Statistics

Views

Total Views
433
Views on SlideShare
433
Embed Views
0

Actions

Likes
0
Downloads
2
Comments
0

0 Embeds 0

No embeds

Accessibility

Categories

Upload Details

Uploaded via as Microsoft PowerPoint

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Report development technique Report development technique Presentation Transcript

    • Report Development Techniques
    • Business Reports: Providing Business Information / Data in a convenient form, as desired for Business Analysis. Analysis of Business Data for :     Taking Decision. Planning. Forecasting. Conclusion / Inferences. Purpose of analysis. According to SAP Reports means Business Analysis.
    • SAP Applications Present the Data Extract Data VA01--------------- Sales Order. ME21-------------- Create purchasing order. Database
    • Report Development Techniques  Classical Reports  Simple Reports  Complex Reports  Interactive Reports / Drill Down Reports  Report Development Using Logical Databases.  Report generation using SAP Queries.  Report Development using ALV (ABAP List Viewer).
    • Task: To Develop Customer Information Report Tables: KNA1- General Data in Customer Master Fields: KUNNR --------- Customer Number NAME1 --------- Customer Name ORT01 ------------- City LAND1 ------------ Country
    • ABAP Programming Guidelines and Naming Standards. 1. Separate each section of the program with a descriptive full line comment. 2. Provides mid line comment for each data object or type that refers to a dictionary definition. 3. User defined data type names should have the prefix “ ty_”. 4. Define data types and then define the data objects with reference to data types. 5. Work area names should have the prefix “ W” . 6. Internal table names should have the prefix “T”. 7. Modularize the program , where ever possible.
    • Report Events • Report Events are predefined with in the ABAP programming Environment. These events are triggered automatically as per their purpose but are processed only when they are specified in the report program. • Report Events are independent processing blocks in an ABAP program. • They can be defined anywhere in the ABAP program. • When the event gets triggered, a SAP system locates the event block and then process the same.
    • <event name>. <statements – To be processed when the event gets triggered> Top-of-Page. <statements> Event Block Event Block TOP-OF-PAGE is processed every time , before a new page is displayed onto the output.
    • Task : To Develop Customer Wise Sales Orders Report. Specifications to be fulfilled: Provides a selection screen accepting Customer Number range and order number range. 2. Provide Page Header and Page Footer with page number on each page. 3. Display Sub Total Order Value for each Customer’s Orders. 4. Display Grand Total Order Value for the report. 5. Display Sub Total Order Value in Words. 6. Details of every new customer to be displayed in a new page. 7. Do not display redundant data in the report. 8. Provide default input values to the selection Screen. 9. Validate input values of the selection screen. 1.
    • Tables & Fields: KNA1 - General Data in Customer Master KUNNR NAME1 ORT01 LAND1 VBAK - - Customer Number Customer Name City Country PK Sales Order - Header Data VBLEN ERDAT NETWR KUNNR VBAB - - Order No Order Date Order Value Customer Number PK FK Sales Order – Detail Data POSNR ARKTX WERKS VBELN - Item Number Item Description Plant Order No FK
    • Control Break Events: These events are used only within Loop … Endloop. AT FIRST. <Statements>. ENDAT. AT NEW <field>. <statements>. ENDAT. AT END OF <field>. <statements>. ENDAT. AT LAST <statements>. ENDAT.
    • Report Event : INITIALIZATION If this event is specified in the report program , this will be the first event to be processed by the SAP system. This event will be processed only once, at the beginning of the program execution. This event is used :  To provide default values to selection screen fields.  To initialize any other data objects.  To define Constants.  To execute any abap statement once, at the beginning of the program execution.