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

Report output

Former Member
0 Likes
422

Hi,

Can you please help me in showing the net shell in my report outpot.

MENGE (Quantity)

25000

20000

- 20000

0 -


> This raw should be added since there total is = 0

100000

Thanks.

1 ACCEPTED SOLUTION
Read only

mahaboob_pathan
Contributor
0 Likes
401

REPORT zk_test10.

TABLES:ekpo.

SELECT-OPTIONS:s_ebeln FOR ekpo-ebeln.

DATA:i_ekpo TYPE ekpo OCCURS 0 WITH HEADER LINE.

SELECT ebeln

menge

FROM ekpo

INTO CORRESPONDING FIELDS OF TABLE i_ekpo

WHERE ebeln IN s_ebeln.

LOOP AT i_ekpo.

  • WRITE:/ i_ekpo-menge.

IF sy-tabix = 5.

WRITE:/ 'total = 0'.

ENDIF.

WRITE:/ i_ekpo-menge.

ENDLOOP.

2 REPLIES 2
Read only

Former Member
0 Likes
401

any suggestions please

Read only

mahaboob_pathan
Contributor
0 Likes
402

REPORT zk_test10.

TABLES:ekpo.

SELECT-OPTIONS:s_ebeln FOR ekpo-ebeln.

DATA:i_ekpo TYPE ekpo OCCURS 0 WITH HEADER LINE.

SELECT ebeln

menge

FROM ekpo

INTO CORRESPONDING FIELDS OF TABLE i_ekpo

WHERE ebeln IN s_ebeln.

LOOP AT i_ekpo.

  • WRITE:/ i_ekpo-menge.

IF sy-tabix = 5.

WRITE:/ 'total = 0'.

ENDIF.

WRITE:/ i_ekpo-menge.

ENDLOOP.