SAP-Forum.ORG
   
This web site isn't affiliated with, sponsored by, or approved by SAP AG. Is only a SAP users community.

Go Back   SAP-Forum.ORG > SAP Forums > SAPScript - Smartforms

Similar Threads
Thread Thread Starter Forum Replies Last Post
Printed form vs Emailed Form/Smartforms Zoom SAPScript - Smartforms 2 08-12-2011 01:00 AM
Smartforms: Color printing problem using HPLJ4 Zoom SAPScript - Smartforms 2 08-01-2011 09:37 PM
How to change the look of the ESS Overview page Rampa SAP Portal 3 10-29-2010 12:40 AM
Login Page Based on URL Lala SAP Portal 2 10-01-2010 02:51 PM
Par file for HTML page Ramma SAP Portal 2 09-22-2010 05:51 PM

Aprenda SAP!
Reply
 
Thread Tools Display Modes
  #1  
Old 08-23-2011, 10:17 PM
Zoom Zoom is offline
Senior Member
 
Join Date: May 2010
Location: Pennsylvania
Posts: 322
Default SMARTFORMS - Won't go back to first page

Hi Gurus!

I badly need help on this.

The requirement expects me to have two pages,
PAGE1 has the customer details, header, logo, and total payment
PAGE2 serves as an extension of page 1 for data overflow.

Now, im using EVENT SORT BEGIN ... EVENT SORT END on the customer number.
At the EVENT SORT END, I used a command node that points back to PAGE1 (Go to New Page -> PAGE1) so that the customer details page will be displayed again. However, the result is that only the first page has the customer details of the first customer. The succeeding pages only contains the transaction infos of other customers. In short, it does not go back to PAGE1, instead, it prints only PAGE2 with the transaction infos.

It's really urgent and any response would be greatly appreciated. Thanks in advance!

Best regards,
Zoom
Reply With Quote
Sponsors
  #2  
Old 08-23-2011, 10:19 PM
Portal Portal is offline
Senior Member
 
Join Date: May 2010
Location: Miami
Posts: 791
Default Re: SMARTFORMS - Won't go back to first page

Hi Zoom,

Try replacing the event with an alternative (Create -> Flow Logic -> Alternative). If the customer number differs from the previous customer number, perform your "next page" command.

You could also try (instead of calling the smartform for your entire internal table) to call the smartform for each new customer.
You wouldn't need to create any additional page logic in that case (but you'd have to program the sorting in your calling program).

Regards,
Portal
Reply With Quote
  #3  
Old 08-23-2011, 10:21 PM
Zoom Zoom is offline
Senior Member
 
Join Date: May 2010
Location: Pennsylvania
Posts: 322
Default Re: SMARTFORMS - Won't go back to first page

Thanks Portal, but the alternative won't work either. tried it already, but still won't work. I am just having some issues on the last page, it's blank and i can't find a way to remove it. If there's anyway you can help me with it, ill be very grateful.

Regards,
Zoom
Reply With Quote
Entre a los Links relacionados
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 10:22 AM.


Powered by vBulletin® Version 3.7.4
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.
Forum Design By inferno