Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

basic report programming

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

U go thru ABAP21 days book

5 REPLIES 5

former_member181962
Active Contributor
0 Kudos

As a starting point, you can have a look at ABAPDOCU Transaction.

YOu will get the demo programs for basic abap statements.

Regards,

Ravi kanth Talagana

Former Member
0 Kudos

Hi Amarnath,

Go to transaction ABAPDOCU

Here you will find some demo programs

Former Member
0 Kudos

U go thru ABAP21 days book

Former Member
0 Kudos

Former Member
0 Kudos

Hi Amaranath,

I will develop a small code 4 u check it once.This the simple Report Program.

copy the below code and execute it ok..

SAMPLE CODE:

*Tables

TABLES:vbap.

*Internal Table

DATA:BEGIN OF itab OCCURS 0,

vbeln LIKE vbap-vbeln,

posnr LIKE vbap-posnr,

END OF itab.

*select-options

SELECT-OPTIONS:s_vbeln FOR vbap-vbeln.

*Initilization

INITIALIZATION.

s_vbeln-sign = 'I'.

s_vbeln-option = 'BT'.

s_vbeln-low ='4969'.

s_vbeln-high = '5000'.

APPEND s_vbeln .

*Start of selection

START-OF-SELECTION.

SELECT vbeln posnr FROM vbap INTO TABLE itab WHERE vbeln IN s_vbeln.

*End of Selection

END-OF-SELECTION.

LOOP AT itab.

WRITE:/ itab-vbeln, 20 itab-posnr.

ENDLOOP.

*Top of Page

TOP-OF-PAGE.

WRITE: / 'SALES ORDER REPORT'.

ULINE.

INITILIZATION: It is used to initilize the selection screen filed values.

START-OF-SELECTION :It is used to fetch the data from the database.

END-OF-SELECTION:For displaying the values.

TOP-OF-PAGE: For Headings

Award points if helpful

Kiran Kumar.G.A

Have a Nice Day..