cancel
Showing results for 
Search instead for 
Did you mean: 

How to do this table in smartforms ?

Former Member
0 Kudos

I want to create a table like image and i do not know how to do this ?

My solution is creating 2,3... pages one under the other.

I can't create side to side

Thanks,

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Volkan,

Here is a half solution. you try this out and check whether this will solve ur query..

1. Your internal table will be having 6 columns , kirano2, tarhi2 and tutar2 will be added ( these are copy of first 3 fields)

2. Print one page and note the no. of records coming in one table( ur screenshot shows 18)

3. In the code that fills the internal table will have a counter , if it reaches 18 or say multiples of 18 then modify inetnal table taransporting  kirano2, tarhi2 and tutar2 based upon the key field( this is your counter)

4. So now you get internhal table with both sides after 36 ( next multiple of 18) start appending to the internal table. ( use move corresponding fields) for the next multiple of 18 do the modify command.

This solution have limitations i agree.. yet give a try.

Thanks ,

Ben

Former Member
0 Kudos

i know i could not answer for a long time but when i remember, i came for writing sometings

firstly i defined

lv_tabix LIKE sy-tabix. for check my rows.

then

IF lv_no < 20. (this is my row limit)

          .
          .    

          .

         APPEND lt_odeme.

       ELSE.

         add 1 to lv_tabix.

         .

         .

         .

         MODIFY lt_odeme INDEX lv_tabix

          TRANSPORTING odeme_no2 afdat2 fakwr2 waers2 .

       ENDIF.


Thanks

Answers (0)