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: 

smartforms

Former Member
0 Kudos

Hi Experts,

I need to create a smart form in such a way that the I should have 2 pages,

and I need to print the 6 items in the first page and there details in the second page.But the question is Iam not able to go to second page until the main window is filled.

If iam keeping some condition using command that once the 6 items are reached to go to next page, if there are less items it is not going to second page.Please advise How can i have 2 pages

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

for Smartforms material

http://www.sap-basis-abap.com/sapsf001.htm

http://www.sap-press.com/downloads/h955_preview.pdf

http://www.ossincorp.com/Black_Box/Black_Box_2.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

http://www.sap-img.com/smartforms/smartform-tutorial.htm

http://www.sapgenie.com/abap/smartforms.htm

How to trace smartform

http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF

http://www.sap-img.com/smartforms/smart-006.htm

http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm

check most imp link

http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html

<b>step by step good ex link is....

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...;

Subtotals - Check the link...

You can use the PROGRAM LINES node to calculate the page totals in Table node.

Table Node has three sections:

Header: (Triggered once in the beginning of a page)

Create a Program lines node to reset the value of TOTAL to 0.

Main Area (For each row of internal table)

Create a Program lines node to add the Value to TOTAL

Footer (Triggered once in the End of a page)

Display the TOTAL

Note: 1) You can declare the TOTAL variable in the GLOBAL Definitions under GLOBAL DATA.

2) In the PROGRAM lines always pass the TOTAL in both INPUT and OUTPUT parameters

Regards

Anji

4 REPLIES 4

Former Member
0 Kudos

Hi

for Smartforms material

http://www.sap-basis-abap.com/sapsf001.htm

http://www.sap-press.com/downloads/h955_preview.pdf

http://www.ossincorp.com/Black_Box/Black_Box_2.htm

http://www.sap-img.com/smartforms/sap-smart-forms.htm

http://www.sap-img.com/smartforms/smartform-tutorial.htm

http://www.sapgenie.com/abap/smartforms.htm

How to trace smartform

http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm

http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF

http://www.sap-img.com/smartforms/smart-006.htm

http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm

check most imp link

http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html

<b>step by step good ex link is....

http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.h...;

Subtotals - Check the link...

You can use the PROGRAM LINES node to calculate the page totals in Table node.

Table Node has three sections:

Header: (Triggered once in the beginning of a page)

Create a Program lines node to reset the value of TOTAL to 0.

Main Area (For each row of internal table)

Create a Program lines node to add the Value to TOTAL

Footer (Triggered once in the End of a page)

Display the TOTAL

Note: 1) You can declare the TOTAL variable in the GLOBAL Definitions under GLOBAL DATA.

2) In the PROGRAM lines always pass the TOTAL in both INPUT and OUTPUT parameters

Regards

Anji

0 Kudos

hi Reddy,

I would like to learn ABAP programming , I would appreciate if u send me some url's or some study material for beginners.

regards

Suresh

Former Member
0 Kudos

keep the count of how many docs you have to print...

if the count is occured give call next page...

OR

if you are sending these details via itab then fill blank lines in the remaining lines of table to make 6 lines in itab...

Former Member
0 Kudos

well just try this,

at the end of ur footer (in ur main window,PAGE 1) add a COMMAND to go PAGE 2 <b>without</b> any condition in it.

so only after ur printing on the PAGE1 is finished it will go to PAGE2,also number of records become irrelevant be it 6 or more or less