Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

how to protect the lines in smartforms

Former Member
0 Kudos

hi gurus

i want to know how to protect the line in smartforms..

regards

baskar

1 ACCEPTED SOLUTION

Former Member
0 Kudos

I did not get your question ? but as of my understandings you want page protection like protect and end protect in script.

if i am right, you can do this

for text node you will have output options tab in that under style you can see page protection check box if you check it you will get page protection for all the line that are writen in that node.

3 REPLIES 3

Former Member
0 Kudos

I did not get your question ? but as of my understandings you want page protection like protect and end protect in script.

if i am right, you can do this

for text node you will have output options tab in that under style you can see page protection check box if you check it you will get page protection for all the line that are writen in that node.

Former Member
0 Kudos

Check this link.

http://www.saptechies.com/smartforms-protect-lines-in-main-window/

if you are using tables, there are two options for protection against line break: – You can protect a line type against page break. – You can protect several table lines against page break for output in the main area.

Protection against page break for line types – Double-click on your table node and choose the Table tab page. – Switch to the detail view by choosing the Details pushbutton. – Set the Protection against page break checkbox in the table for the relevant line type. Table lines that use this line type are output on one page.

Protection against page break for several table lines – Expand the main area of your table node in the navigation tree. – Insert a file node for the table lines to be protected in the main area. – If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file. – Choose the Output Options tab page of the file node and set the Page Protection option. All table lines that are in the file with the Page Protection option set are output on one page

Regards,

Maha

Former Member
0 Kudos

Hi Baskar,

This is kiran kumar.G.First i want to explain the purpose of protect and end protect.

PROTECT AND END PROTECT: We can call them it as control commands.The main pupose is doesnt splitting the pages into different pages.

we can place them in TEXT ELEMETS IN smartforms

syntax:

/: protect

  • itab-vbeln.

/: end protect

Award points if helpful.

kiran kumar.G.

HAVE A NICE DAY..