Application Development and Automation 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: 
Read only

basic report programming

Former Member
0 Likes
748

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
Read only

Former Member
0 Likes
719

U go thru ABAP21 days book

5 REPLIES 5
Read only

Former Member
0 Likes
719

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

Read only

Former Member
0 Likes
719

Hi Amarnath,

Go to transaction ABAPDOCU

Here you will find some demo programs

Read only

Former Member
0 Likes
720

U go thru ABAP21 days book

Read only

Former Member
0 Likes
719
Read only

Former Member
0 Likes
719

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..