cancel
Showing results for 
Search instead for 
Did you mean: 

Prining issue

Former Member
0 Kudos

Hi All,

I have a requirment where I have to print text based on some condition after Total amount.

ex

doc dat amount Customer

1234 12.12.2009 500 xyz

2314 10.12.2009 600 abc

-


Total - USD 867

EUS 142

RS 123

-


IF &Table-F1& eq '1''

include Standatrd text 1 (Print text).

Elseif &Table-F1& eq '2'.

Include Standardt text 2 (print text).

elseif &table-f3& eq '3'.

Include Standard text 3(Print text).

Endif.

Printing text sholud be printed after Total as given above.

This total is being accounted inside main SAP program with some elemnet inside the loop.

So currently this text is printing 3 times.

I m unbale to find any new element as it's STANDARD SAP program.

Pls provide me solution hw to solve the same.

Thanks

Rag

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

you need to create 2 tables.

1 is item table you can dispaly all itme values

2nd table create this is only for total amount. the total amount needs to be calculate and append to another internal table and dispay the total amount...