cancel
Showing results for 
Search instead for 
Did you mean: 

SMARTFORMS: write items 1-10 vertically on left and 11-20 vertically on the

aris_hidalgo
Contributor
0 Kudos

Hello Experts,

Usually we write the line items per line but my new requirement is that the format of looks like this:


ITEM NO.  MATERIAL DESCRIPTION  AMOUNT  |  ITEM NO. MATERIAL DESCRIPTION  AMOUNT

So I need to populate it like this:

ITEM NO.  MATERIAL DESCRIPTION  AMOUNT  |  ITEM NO. MATERIAL DESCRIPTION  AMOUNT
					|
1	  Material 1		100	|  11	    Material 11		  100		
					|
2	  Material 2		200	|  12	    Material 12		  200
					|
3	  Material 3		300	|  13	    Material 13		  300
					|
4	  Material 4		400	|  14	    Material 14		  100
					|
5	  Material 5		500	|  15	    Material 15		  100
					|
6	  Material 6		600	|  16	    Material 16		  100
					|
7	  Material 7		700	|  17	    Material 17		  100
					|
8	  Material 8		800	|  18	    Material 18		  100
					|
9	  Material 9		900	|  19	    Material 19		  100
					|
10	  Material 10		1000	|  20	    Material 20		  100

So in effect, the MAIN window is like divided into 2. what is the best way that I can achieve this?

Thank you guys and take care!

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Viraylab,

Create the template of two cells (Header details) within this cell draw the cells for the lines items and display.

Regards,

Sravanthi

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi,

I also worked with this type of requirement. I achieved this by using Template Node. I think you can also achieve it by using Two Templeates side by side. Divide the template the into 10 Rows first. Before Every row use Program lines to get the Correspoding line item value using Read Statement with Index.

Check Sy-subrc if it is 0 then display the Line item. For this keep the Templates in a Loop with needed internal table.