cancel
Showing results for 
Search instead for 
Did you mean: 

Skip Row in Smartform Table.

vikram_maduri2
Explorer
0 Kudos

How to Skip row in Smartform table ?

I have data in 2nd & 4th column,that needs to be matched in same line.

Header 1Header 2Header 3Header 4
nameDescriptiontextAmount
xxxxamountchasis material 344354

taxfor benz2345435

Need to display as below.

Header 1Header 2Header 3Header 4
nameDescriptionTextAmount
xxxxamountChaisis material344354

tax
2345435


for benz




So,in 3rd column "for benz" Needs to be printed in next row.

Can anyone please advice. Thanks

Accepted Solutions (0)

Answers (3)

Answers (3)

praveenboss
Participant
0 Kudos

   Hi Vikram,

            Use This strategy I hope And Shure It's Work.

            if You have Only 2row in Table.AS Your Spesification.

     

1.    Inside Your Table Loop Create Programe Line.

2.    Write code for Pickup H3 value In Temperary Variable wher H1 is Empty.

3.    After Table Create An Template Same Design AS Table .

4.    Print That Temp. Variable In Template  In Specific Position .

  Thanks  .                                                                         

Former Member
0 Kudos

Hi Vikram,

Considering your example, you have two lines of data in the itab.

  • H1, H2, H3 and H4 are getting filled on the first loop
  • H2 and H4 are only getting filled in the second loop run;

Same way just append one more line to itab after these lines, which contains the data to be filled in the third row H1, H2 and H4 as blank, and H3 as 'for benz'.

Hope this will help you.

Thanks & Regards

former_member186052
Active Participant
0 Kudos

Hi Vikram Maduri,

If I understand your requirement properly, you need your column 2 and column 4 details in 1 row and the column 3 in the subsequent row.

If yes, in the main window create a table.

Now inside the table main area, create 2 table lines, in the first table line columns just add column2 and column4 to the cells.

In the second table line add your column3 data.

So within the table this applies as loop for entire table.

Hope this helps.

Regards,

Sandeep