Application Development and Automation 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: 
Read only

main node in smart forms

Former Member
0 Likes
1,223

Hi all,

When i am trying to create a main window in second page with the same width ,length,height as in first page it's giving an error no two main windows are allowed in a form.

so i have tried to create like in other way.

just copying the main window from first page. But this time i am not getting any error but the problem is! the nodes which are already existing as sub nodes in the main window are also coming here if try to delete in second page the nodes in the first page also deleting.What can i do.Can any one help me how to solve the problem.

Regards,

Lisa.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,200

Hi Lisa,

Please Set conditions at second page.

Select> MAINWINDOW in Second page> Select NODE--> Conditions --> set check box only on First page.

this will allow these nodes from printing on second page. I hope this is what you are looking for.

Please award for all useful answers.

Regards,

Lanka

12 REPLIES 12
Read only

Former Member
0 Likes
1,200

Hi Lisa,

You should have the same nodes in the MAIN window irrespective of any page,but you can write conditions to trigger them for different pages.

Read only

0 Likes
1,200

Hi phani,

I am unable to get you so can please explain it clearly. Do you mean no need to create a main window again.If i am correct can you please tell me how can i do that.

Regards,

Lisa

Message was edited by: Lisa Roy

Message was edited by: Lisa Roy

Message was edited by: Lisa Roy

Read only

0 Likes
1,200

Hi Lisa,

Just as it is in SAP scripts,you cannot change the nodes (smartforms)or text elements(scripts) in main window.They will reflect the same in all the pages created.So,if you try to change in one MAIN window,it will reflect these changes in all the pages defined for the smartform.

Read only

0 Likes
1,200

Hi phani,

Can you please expain me how to solve it.

Regards,

Lisa

Read only

0 Likes
1,200

Hi Lisa,

I have provided you the solution for this :

Hi Lisa,

Please Set conditions at second page.

Select> MAINWINDOW in Second page> Select NODE--> Conditions --> set check box only on First page.

this will allow these nodes from printing on second page. I hope this is what you are looking for.

Please award for all useful answers.

Regards,

Lanka

Read only

Former Member
0 Likes
1,201

Hi Lisa,

Please Set conditions at second page.

Select> MAINWINDOW in Second page> Select NODE--> Conditions --> set check box only on First page.

this will allow these nodes from printing on second page. I hope this is what you are looking for.

Please award for all useful answers.

Regards,

Lanka

Read only

0 Likes
1,200

Hi lanka,

I am unable to understand first of all what you are saying.How to put check box in the first page.

regards,

Lisa.

Read only

0 Likes
1,200

Hi Lisa,

Please donot delete any node from MAIN window that will delete thet node from all the pages .

Youu can control this by setting "Only on First page" check box at conditions :

T/Code SMARTFORMS> Formname> change-->

Select the MAIN Window on any of the page-> Select the node(WINDOW/FOLDER/TEXTELEMENT/TABLE/TEMPLATE/ADDRESS TEXTELEMENMT) that you don't want to print on second page> selcect conditions--> Select check box at " ADD an Additional Event" --.Select check box "Only on First page".

This will allow to print the selected node only on first page.

Regards,

Lanka

Message was edited by: Lanka Murthy

Read only

0 Likes
1,200

Hi Lisa,

In any window there is a tab "Conditions".In that there is "And Additional Event" .You have radio-buttons like "Only on first page", "Not on first page".You can select any one accordingly.

Read only

0 Likes
1,200

Hi lanka,

does it mean these conditions will not apply again in any othe windows what is it mean.

Regards,

Lisa

Message was edited by: Lisa Roy

Read only

0 Likes
1,200

Hi Lisa,

Yes. You can apply conditions to any of the windows(Not only main) and any of the textelements/Address texts, Tables, Templates.

These are addtional events apart from the Conditions you have defined in the conditions.

Please award for all useful answers.

Regards,

Lanka

SAP Help on additional Events :<a href="http://help.sap.com/saphelp_nw04/helpdata/en/91/fe26ab78c411d4b5f4006094192fe3/content.htm">Additonal Events in Smartforms</a>

Lanka

Message was edited by: Lanka Murthy

Read only

0 Likes
1,200

Hi Lisa,

You can know more about smartforms here

<a href="http://www.sap-basis-abap.com/sapsf001.htm">smartforms</a>