cancel
Showing results for 
Search instead for 
Did you mean: 

blank lines in smartform

Former Member
0 Kudos

Hi All ,

I have requiremnt to append blank lines depending on the value of qty ordered of the delivery form .

I.E if the item 0010 has qty 2 the there should be 2 blank lines after all item data for 0010 is printed .

Is it possible .

Thanks

vinay

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi vinay,

Its possible, Just add a Loop (Create -> FlowLogic -> Loop) and in Data tab uncheck Internal table and in the where condition give GV_COUNT LE ITEM_QTY ( You should declare GV_COUNT in Global defininitions) and in calculations tab select CNT Number and in Target Fieldname give GV_Count and in Time select Before Loop.

And Now Add a Text Inside the Loop with a Blank Line.

So this will print ITEM_QTY(your item qty field) Blank lines.

Regards

Karthik D

Former Member
0 Kudos

Hi Karthik ,

I tried this but it doe not loop more than once ,

Thanks

vinay

Former Member
0 Kudos

Hi Vinay,

Instead of using Calculations, include Program lines inside loop and increment counter by code. Also Initialise Counter variable while declaring.

Regards

Karthik D

Former Member
0 Kudos

Hi Karthik ,

This dint work as well , looped only once , dont know if i am doing some thiong wrong or it does not work that way at all .

I got it by creating an internal table and populating it QTY times and looped it for balnk lines .

Thank you For responses .

Regards

Vinay Kolla

Former Member
0 Kudos

This might be helpful:

[http://sapbrainsonline.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html]