Skip to Content
author's profile photo Former Member
Former Member

basic report programming

i am new to SAP.

please provide information abt report programming like what are the basic things we have to remember while writing a report program.please provide any link which gives basic information abt report programming with some hands-on practice.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

8 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 05:35 AM

    hii amar,

    Report programming is a simple abap program which deals with presentation of the output to the client.

    Report is generally designed when we want to have the output on the screen in a particular manner..

    Report has many things attached to it like alv etc.

    But basically reports are managed by events. The order of the events are as follows.

    Initialization

    At selection screen

    Start of selection

    End of selection

    Top of page..

    We write the code in these events and this will be executed sequentially. If u want any detailed thing in report. Do revert back.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jan 28, 2008 at 11:42 AM

    hi ,

    Check on with this link :

    http://www.geocities.com/mpioud/Abap_programs.html

    This link will guide you with various examples of report programs which will be helpful on an overall understanding of report writing , rest is based on your understanding on the subject and the practise.

    Regards,

    Ranjita

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 11:43 AM

    You can talk about these type of reports.

    Classical

    Interactive

    Logical Database

    ABAP Query

    Report Writer

    Report Painter

    Drill Down Report

    Classical Report

    Also you can talk about the events in Classical Report with example programs:

    INTIALIZATION .

    AT-SELECTION-SCREEN

    START OF SELECTIONS

    TOP-OF-PAGE

    END-OF-PAGE

    AT PF

    END-OF-SELECTION

    AT USER-COMMAND

    Check these links perhaps it may help.

    http://sap.mis.cmich.edu/sap%2Dabap/abap08/sld001.htm

    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm

    http://www.erpgenie.com/abap/ireports.htm

    Reprots

    http://www.sapgenie.com/abap/reports.htm

    http://www.allsaplinks.com/material.html

    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm

    http://www.sapfans.com/forums/viewtopic.php?t=58286

    http://www.sapfans.com/forums/viewtopic.php?t=76490

    http://www.sapfans.com/forums/viewtopic.php?t=20591

    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.

    ALV

    http://www.sapfans.com/forums/viewtopic.php?t=58286

    http://www.sapfans.com/forums/viewtopic.php?t=76490

    http://www.sapfans.com/forums/viewtopic.php?t=20591

    http://www.sapfans.com/forums/viewtopic.php?t=66305 - http://www.sapgenie.com/abap/reports.htm

    http://www.allsaplinks.com/material.html

    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm

    Top-of-page in ALV

    selection-screen and top-of-page in ALV

    ALV Group Heading

    http://www.sap-img.com/fu037.htm

    ALV

    http://www.geocities.com/mpioud/Abap_programs.html

    Reports

    http://www.sapgenie.com/abap/reports.htm

    http://www.allsaplinks.com/material.html

    http://www.sapdevelopment.co.uk/reporting/reportinghome.htm

    http://www.sapfans.com/forums/viewtopic.php?t=58286

    http://www.sapfans.com/forums/viewtopic.php?t=76490

    http://www.sapfans.com/forums/viewtopic.php?t=20591

    http://www.sapfans.com/forums/viewtopic.php?t=66305 - this one discusses which way should you use - ABAP Objects calls or simple function modules.

    Reward points if useful.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 11:50 AM

    Hi Amarnath,

    Check out this link where u can find some good examples regarding report programming.

    http://publib.boulder.ibm.com/infocenter/cchelp/v7r0m0/index.jsp?topic=/com.ibm.rational.clearcase.cc_proj.doc/c_rpt_rptprogxmpl.htm

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:01 PM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 28, 2008 at 12:25 PM

    hi,

    Here's a hello world program.

    Call Transaction 'SE38'.

    Create a new program.

    To proceed in an SAP 3.x system you must be registered as a Developer. You get your Developer Key from your Sys. admin in a couple of minutes/hours/days after you applied for it. It must be entered once when you create your first program.

    Program attributes:

    Type: 1

    Application: S

    Choose a meaningful title

    (Save)

    Choose Development Class &TMP or press Button 'Local object'

    Now you can edit the source code.

    Position the cursor in a line number cell. Press F1 for the help of editor line commands.

    enter i3 which inserts three new rows into your program.

    report zhello.

    write: / 'hello world'.

    (Save, Generate, Execute)

    Hope this is helpful, Do reward.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 29, 2008 at 06:05 AM
    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jan 30, 2008 at 12:50 PM

    hi amarnath,

    report is basic programing place where u can write ur code and u can display required output.

    for example:

    • i think know about how to open SAP login window. enter T.code se38 there u have to write a ur report program name. and short description. type of program here it is executable program.

    then u will get new window where it starts

    REPORT ZXXXXXXXXXX .

    • WHERE ZXXXXXXXX is your report program name.

    now test the following code.

    write: / 'HELLO WORLD!'.

    SAVE (CTRL+S)

    CHECK(CTRL+F2)

    AVTIVATE(CTRL+F3)

    COMPILE(F8).

    • ABOVE FOUR STEPS R SAME FOR ALL REPORT PROGRAMS.

    NOW U WILL GET OUTPUT

    HELLO WORLD!

    IF U ALREADY TRIED THIS REPLY ME I WILL GIVE FURTHER DETAILS.

    IF HELP FULL REWARDS PLZ.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.