Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8411

Re: No. of Labels as Input in Smartform Label Printing

$
0
0


Ya I've gone through your logic. But it didn't work out for my requirement.

 

Your Logic:

 

   DATA: gv_tot_pages TYPE numc3,
      gv_index TYPE I.

Loop at lt_final into ls_final.
  gv_tot_pages = gv_tot_pages + ls_final-no_of_labels.
endloop.

Loop at lt_final into ls_final.
  do ls_final-no_of_labels times.
    gv_index = gv_index + 1.
  enddo.
endloop.

 

1. My ALV Internal Table came to my Smartfrom

 

LB 7.JPG

2. As my internal table contains Three (3) line items, in smartform i got Three (3) line items as Three (3) boxes.

 

LB4.JPG

 

3. According to my requirement,

    first box or first line item should comes 3 times as (No. of label = 3)

    second box or second line item should comes 4 times as (No. of label = 4)

    third box or third line item should comes 5 times as (No. of label = 5).

 

Now kindly let me know the exact logic and where exactly should i write it.

 

With Regards,

Sudhir.

  


Viewing all articles
Browse latest Browse all 8411

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>