cancel
Showing results for 
Search instead for 
Did you mean: 

How to display deep structure in a report program?

0 Kudos

Hi All,

I would like to ask for tips or possible way on how to display my simple deep structure. please see the structure below.

types: begin of gty_datex,

          dextaskid type edextask-dextaskid,

          dexproc type edextask-dexproc,

          dexstatus type edextask-dexstatus,

       end of gty_datex.

types: begin of gty_wflow,

          top_wi_id type sww_wi2obj-top_wi_id,

          wi_text type swwwihead-wi_text,

          wi_stat type swwwihead-wi_stat,

       end of gty_wflow.

types: begin of gty_output,

         ext_ui     type aufk-zzext_ui," NMI

         aufnr      type aufk-aufnr, "SO Number

         ktext      type aufk-ktext, "SO Description

         datex    type standard table of gty_datex,

         wflow    type standard table of gty_wflow, "workflow status

       end of gty_output.

data: gt_output type standard table of gty_output,

I have properly populated the GT_OUTPUT table. Now, my problem is how am i going to display the content of the GT_OUTPUT itab?

Is it possible to display it in ALV? If yes, How can i do that? Basically, this is the ouput i would like to display.


row1BC123aabbcc
123aabbcc
123 bbcc
row2BC123aabbcc
123aabbcc
123 bbcc

Thank you in advance.

Have a nice day.

Regards,

Nars.

Accepted Solutions (0)

Answers (2)

Answers (2)

former_member1321
Participant
0 Kudos

For someone who ended up here during search, can have a look at here and see if that solves the purpose.

daniel_mccollum
Active Contributor
0 Kudos

Right click on the  internal table, as shown below.

0 Kudos

Its not what i meant to do,

what i would like to is to show the content of the GT_OUTPUT on ALV.

is it possible? or is there other way around.

Thank you.

Former Member
0 Kudos

Hello Nars.  If you haven't already, take a look at program BCALV_TREE_SIMPLE_DEMO.  It provides some sample demonstrations of grid outputs.  If this doesn't immediately help you, you may want to try BCALV_* as there are several other demo programs based on ALV.  If there are no results coming back when you execute these reports then you'll need to generate the sample flight data via program SAPBC_DATA_GENERATOR.  Hope that helps.

James