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

About displaying data in internal table

Former Member
0 Likes
501

Hi Experts,

I am facing the problem in the following displaying internal table.

i have table control with folowing header material data

material mat description quantity uom

1669 xxxx 1.0000 EA

254267 yyyyy 1.0000 PC

this i am storing in one internal table it_matnr.

i will explode and get the different component for header material.one header material may have may component

i am storing this in other internal table it_material. one header material will repit for 2 time

mat mat desc Qaunt Uom matdoc dte

1669 xxxx 1.0000 ea 21222

1669 xxxx 1.0000 eq 314

1111 yyyy 1.0000 pc 1234

2222 zzzz 2.0000 kkk 234555

254267 yyyyy 1.0000 pc 981818

254267 yyyyyy 1.000 pc 126262

my problem is i want to display in report

first it should display header 1669

1669 xxxx 1.00000 EA from it_matnr

than it should display header and componet it may be any number

1669 xxxx 1.0000 ea 21222

1669 xxxx 1.0000 eq 314

1111 yyyy 1.0000 pc 1234

for header it should give color and after finishing everything it should give line

254267 yyyyy 1.0000 pc 981818

254267 yyyyyy 1.000 pc 126262

can u tell me how we can do this?

4 REPLIES 4
Read only

Former Member
0 Likes
463

REUSE_ALV_HIERSEQ_LIST_DISPLAY

search SDN for two to use this

Read only

Former Member
0 Likes
463

Hi,

Please find the bellow link for code to use "REUSE_ALV_HIERSEQ_LIST_DISPLAY

" fm

Thanks & Regards,

Goutam Kolluru.

Edited by: goutam kolluru on Jan 6, 2012 10:02 AM

Read only

former_member209696
Participant
0 Likes
463

hi,

Please change the system date format and try..

To change system format goto SYSTEM -> USER PROFILE ->OWNDATA-> DEFAULTS....

Read only

Former Member
0 Likes
463

Hi abap udupi,

could u tell me how the two internal tables (it_matnr& i_material) are related?