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: 

abap reports

Former Member
0 Kudos

hi my friends,

I want to get good command on reporting in ABAP ,like control break stmts,passing data from one program to another using AT-NEW,AT_LAST,AT-END events,subrotines and all basic funtonality we use in reports so if any one have sample codeing or any material for this,it will be great help to me,

waiting for your reply,

thanks friends,

aruna

1 ACCEPTED SOLUTION

Former Member
0 Kudos
9 REPLIES 9

Former Member
0 Kudos

Hi,

See AT-NEW,AT-END,AT-LAST,AT-FIRST are events..We cant send datas from one program to another using this..We can only use this in loops of the programs to make the report to be in any key order..We can sum the numeris fields using this...

Subroutines we need to use to make the program readability efficient...We can give inside form and endform..We can access the subroutine by using Perform subroutine name...

REWARD IT WHEN USEFUL!!!!!!!!!!!!!!1

0 Kudos

thanks myfriend for your reply,but do u know any website which can give me more information about codeing in reports.

0 Kudos

Hi Aruna,

There are lot of good websites avialable for SAP the only thing is u have to explore...listed few websites and make useful of these..

www.sap-img.com

http://www.sapbrainsonline.com/

http://www.sapbrain.com/TUTORIALS/TECHNICAL/ABAP_tutorial.html (<b>SIEMENS MATERIAL)</b>

https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/840ad679-0601-0010-cd8e-9989fd65...

Regards...

Balaji ( Reward points if its useful....)

Former Member
0 Kudos

Hi Aruna,

AT-NEW: This is use for suppose while procccesing based on new document numer user want to do some thing(like color, sum..) then it can useful.

AT-LAST: Suppose if we want sum the amount for different document numbers then it is useful.

AT-END: suppose if user wants sum of all amounts at end of the output then it is useful.

subroutines functionality is mainthing to pass the variable values and internal table values. Suppose if u take exmaple BDC we will write so many performs for dynpro and program name, but write only onr form statement. Based on the program name and screen number automatically values can be changed by sub routines.

Hope this helps you. Reply for queries, shall post the updates.

Regards.

Kumar.

Former Member
0 Kudos

Former Member
0 Kudos

Former Member
0 Kudos

Passing data from one ABAP program to another

1. You have to define an internal table ITAB in program AAA.

2. In the program AAA you export your ITAB to the memory.

EXPORT ITAB TO MEMORY ID 'TD' (ID is the name of memory, you don't need to create it ).

3. In program BBB you have to declare The same table (same table's name and same fields).

4. In BBB you can import ITAB :

IMPORT ITAB FROM MEMORY ID 'TD'

5. Now you can export it to AAA after modifications.

EXPORT ITAB TO MEMORY ID 'TD'

6. In AAA :

IMPORT ITAB FROM MEMORY ID 'TD'

This solution is independant to SUBMIT.

Regards

Aparna

0 Kudos

thank you aparna,its really helpful