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: 

interacive report---URGENT

Former Member
0 Kudos

Hi,

I have to create an interactive report.I am entering material no,plant and storage location on selection screen as select options.In the basic list i want to display material,plant,stock,value/unit,open orders/deliveries/free orders(VBBE-OMENG).

open orders/deliveries/free orders will be decided by the indicator VBBE-VBTYP.

I have to display total open orders/deliveries/free orders in basic list.

After clicking either open orders/deliveries/free orders its breakage should be displayed in detailed list.

E.g. In basic list ,if open deliveries are 10 then in detailed list,the breakage 334 should be displayed with the subtotal matching open order in basic list.

1 REPLY 1

Former Member
0 Kudos

Hi Vishal

the total amount that you display in basic list ,you can use syntax "hide" to keep some data that you will use it for selecting detail data .

For <b>example 1</b>

WRITE / total.

HIDE: material , plant .

AT LINE-SELECTION.

select ..x1,x2. into table itab..form where xxxx = material and yyyy = plant

loop at itab.

WRITE/: itab-x1,itab-x2.

endloop.

I have another program that you can use for testing

<b>Example 2</b>

DATA: square TYPE i,

cube TYPE i.

START-OF-SELECTION.

FORMAT HOTSPOT.

DO 10 TIMES.

square = sy-index ** 2.

cube = sy-index ** 3.

WRITE / sy-index.

HIDE: square, cube.

ENDDO.

AT LINE-SELECTION.

WRITE: square, cube.