cancel
Showing results for 
Search instead for 
Did you mean: 

ALV Header and details in the report

Former Member
0 Kudos

Hi Experts,

I have the following requirements for the report:

-


Company Code: -->Report Header

Plant:

Posting Date:

-


Material Jan Amount Feb Amount March Amount --> Header info

-


Sales order number Delivery dates Order dates Qty UOM Amount -->Details Info

-


1234 1,000.00 500.00 300.00 --> Header info

-


0001 02/02/2008 01/02/2008 10 PC 60.00 -->Details Info

0002 02/03/2008 01/02/2008 5 PC 30.00

0003 02/03/2008 01/02/2008 12 PC 70.00

0004 02/04/2008 01/02/2008 14 PC 90.00

0005 02/06/2008 01/02/2008 10 PC 60.00

-


5678 2,000.00 400.00 300.00 --> Header info

-


0001 02/02/2008 01/02/2008 10 PC 60.00 -->Details Info

0002 02/03/2008 01/02/2008 5 PC 30.00

0003 02/03/2008 01/02/2008 12 PC 70.00

0004 02/04/2008 01/02/2008 14 PC 90.00

0005 02/06/2008 01/02/2008 10 PC 60.00

the report should look like the one above. How can I develop this in ALV Grid or List? Thanks so much!

Best Regards,

Kurtt

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi..

i hope u have to use Hierarchical ALV.

for sample code check below link.

Regards,

KP.

Answers (5)

Answers (5)

I355602
Advisor
Advisor
0 Kudos

Hi,

You can use Hierarchial ALV.

Refer:-

BCALV_TREE_01 ALV : tree control: build up the hierarchy tree

BCALV_TREE_DND ALV : tree control: Drag & Drop within a hierarchy tree

BCALV_TREE_DND_MULTIPLE ALV : tree control: Drag & Drop within a hierarchy tree

Hope this solves your problem.

Thanks & Regards,

Tarun Gambhir

Former Member
0 Kudos

Hi,

Check the below Thread,

Hope it will help You.

Regards,

Anki Reddy

Former Member
0 Kudos

Hi,

Go through this program of Alv Tree, Hope it might be helpful to you...

http://www.sap-img.com/abap/a-sample-tree-programming.htm

Regards,

Mansi

Former Member
0 Kudos

Hi,

Set paramter I_GRID_TITLE in Fm.

Regards

Md.MahaboobKhan

Former Member
0 Kudos

hi

check this standard program

rpr_abap_source_scan.