How to call second page in Smartform without calling first page

Hi Gurus,
I have two pages in one smartform. I am using this for PWB purpose. PLease tell me how I first or second page will be triggered depending on the conditional flag that has been defined in global variables.
For first page it is working...but I don't know how to call the second page bypassing the first page on condition basis.
Thanks in Advance
Gautam

Hi,
The smartform will always start with the first page in the structure by default.  However when you call the smartform you can specify which page to start with in the structure CONTROL_PARAMETERS field STARTPAGE, this does mean you have to change you print program to include the logic, not the form.
Regards,
Nick

Similar Messages

  • Smartform problem how to make second page main window dynamic?

    Hi SAP Community,
    I am facing a problem with designing a smartform. I have taken a table in the main window of the first page, and the main window length varies according to the number of entries in the table. If the records are more than that can be adjusted in the first page then the ramaining records move to the second page main window. After the second page main window i have defined a window which i have marked to get displayed after the main window, but the problem i am facing is that that the second page main window is geting overlapped with the window defined to come after it. Can any one help me with how to control the length of second page main window dynamically.
    Regards,
    Tushar

    Hi,
    Normally, to trigger next page the main window is mandatory.
    However, if the contents of main window are not sufficient enough to move over to next page then the next page would not get trigerred.
    Moreover, please check whether the table of contents in the first page are also existing in the next page otherwise you need to trigger a new page by using a command.
    Also please direct the next page of SECOND page to SECOND itself and check.
    Regards,
    Ram

  • How to print second page as continuation of First Page.

    Hello,
    I am printing a script. I want to print next page as continuation of first page.
    I am printing some contents. It is overflowing the first page, But remaining contents are not appearing at
    Next page.
    How to print that.
    Can any body plz help.

    Hi,
       If the text doesn't fit in page, the it will be printed in the next page.
    If it is one line or two line by increasing the length of the window, you can accomodate.But if it more than than then its not possible to print in the same page.
    If you dont want to get the text truncated then just use PROTECT and ENDPROTECT command in order to protect the text.
    Then the whole text will be printed either in First Page or Second page depending on the amout of text.
    Thanks & Regards,
    Vamsi.

  • How to link second page to my Homepage? (Help sources do not help.)

    After checking my three Help sources (two of which I printed out), this question remains unanswered:
    How do I link each page to the other pages? I know that I can access them when working in iWeb by clicking on folder icons in the vertical navigation panel on the left, but I would like to be able to click onto a PAGE itself and acces other pages.
    I published to the Internet but can only get my Homepage. I thus cannot view the second page that I am working on. I clicked the box "Make visible" but this doesn't enable me to see (on the Internet) that second page I'm working on, clearly because I don't know how to make a link from the Homepage to that second page.
    — Lorna in Southern California

    Hi Lorna!
    Congrats on figuring out the iWeb navigational
    choices. Doesn't it feel great when we can accomplish
    something on our own?
    .......... Lorna says ................................................
    Lisa hi Thank you for the congrats, and yes, it does feel good to figure things out on my own, but much of my progress I owe to others who have pointed me in the right direction or outright told me the answer. But it feels SO GOOD to discover that I can solve some problems, given a lot of time to think and fiddle.
    Like James said (I think his name is James) the
    little blue inspector button gives you the choice of
    turning any picture or text into a hyperlink, to go
    either to another page within your site, or to an
    external link. It took me forever to figure out it
    seemed!
    .......... Lorna says ................................................
    So I am not the only one who sits for a long time trying to figure things out! As for the hyperlinks: I guess having the navigational bar at the top of each page is minimally good enough, but I like knowing that I can make any object into a hyperlink.
    QUESTION:
    HOW CAN I MAKE THAT OBJECT VISIBLY AND CLEARLY A HYPERLINK so that the casual visitor eating a Krispy Kreme donut does not overlook it because it blends right in?
    Currently I am unable (like hundreds of others, it
    seems) to publish my website.
    .......... Lorna says ................................................
    Lisa, WHY ARE YOU UNABLE TO PUBLISH YOUR WEBSITE?
    However, I am enjoying
    working with iWeb as far as 'practicing' making
    pages, editing, working with the color, text, all
    that sort of fun stuff. Being new to the world of
    Macintosh/Apple, I'm inching my way to learning
    things.
    .......... Lorna says ................................................
    I love the Mac. I am so glad I bought one way back in 1984. I just installed Tiger and iLife '06 last week (middle of July, '06) and am so glad to have it.
    One thing I've noticed though, and I don't know if
    this amounts to a hill of beans... but the folks that
    seem to be having the problems publishing their
    webpages via iWeb are on the East Coast of the US.. I
    wonder if that's a clue...???
    .......... Lorna says ................................................
    I haven't a clue as to why except to say that it is prolly a non-causal relationship!
    — Lorna in Southern California

  • How to populate Second drop down based on the first drop down value

    Hi Experts,
    i have a HTML BSP page. with 2 drop down with SELECT and OPTION tags. i need to populate the second drop down based on the first drop down value.
    i tried HTMLB script they work good as stand alone when i try to embed the HTMLB with HTML it does not work.
    Please can you give me a solution only with ABAP script and HTML.
    please clearly let me know on what event i should implement it. sample code is really appreciated .
    With regards,
    Chella

    You can have event handler for first drop down . Then populate the data for 2nd field when the event triggers on first field.

  • How to display a text in smartform without compression

    Hi,
    My requirement is to print a text in a smartform with out compression of the line text.
    ex. In my internal table having a line text as
        'spoolno     25200   |  pageno    500--> while printing in smartform, it was displayed as
        ''spoolno 25200 |  pageno 500'.
    but i want to print the line as it is in Internal table. please send me the solutions..
    Thanks in advance.

    If you want your text to be read-only, you can use the RichText component instead of TextArea. Search for Text Layout Framework for more info on how to mark up your text.

  • How do I download pdfs from link without opening first in Safari?

    I am running OS 10.7.2 and browse with Safari 5.1.2.  I download PDF files routinely for my work.  In previous versions of Safari (with OS 10.5.x), clicking a link to download a PDF led to the PDF immediately downloading and then opening in Adobe Acrobat Pro.  Since upgrading to current system and Safari, I can no longer do that.  Clicking on PDF links opens in Safari, and then I have to find and click Safari's download button, and then I have to go to the downloads folder and click to open the document.  Does anyone know how to bypass this opening feature and get Safari to just download and then get the pdf to instantly open like it used to?  I am finding myself moving to Firefox, which I don't like as well and don't know as well, because it doesn't interfere with PDF docs. 
    Any solutions out there?

    Thanks for the suggestion, but those are the settings I'm already using.  Unfortunately, the various websites I visit don't respond uniformly to control-click, and choosing to download a file from that menu often just downloads an HTML of the page rather than the pdf doc itself.  I find shift-option-click works more often than other key combos, but I still have to then go to the downloads folder and manually open the file. 
    You may be right about Firefox being my only option.  Thanks for the suggestions.

  • How to call a servlet in new window without toolbar from OA page

    How to call a servlet in new window without toolbar from a OA page?Please provide sample code

    I have tried with the way suggested in Mukul's blog using javascript in Destination URI property.
    I tried to open a OA Page and from which forwarded it to a servlet..
    It is showing the error:
    Error Page
    Exception Details.
    oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist.
         at oracle.apps.fnd.framework.webui.OAPageErrorHandler.prepareException(OAPageErrorHandler.java:1223)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:1969)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
         at oa_html._OA._jspService(_OA.java:96)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    ## Detail 0 ##
    oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist.
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:5391)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:969)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
         at oa_html._OA._jspService(_OA.java:96)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)
    oracle.apps.fnd.framework.OAException: The application id or shortname () you entered does not exist.
         at oracle.apps.fnd.framework.webui.OAWebBeanFactoryImpl.getAppId(OAWebBeanFactoryImpl.java:5391)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:969)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:502)
         at oracle.apps.fnd.framework.webui.OAPageBean.preparePage(OAPageBean.java:423)
         at oa_html._OA._jspService(_OA.java:86)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at oracle.jsp.provider.Jsp20RequestDispatcher.forward(Jsp20RequestDispatcher.java:162)
         at oracle.jsp.runtime.OraclePageContext.forward(OraclePageContext.java:175)
         at oa_html._OA._jspService(_OA.java:96)
         at oracle.jsp.runtime.HttpJsp.service(HttpJsp.java:119)
         at oracle.jsp.app.JspApplication.dispatchRequest(JspApplication.java:385)
         at oracle.jsp.JspServlet.doDispatch(JspServlet.java:259)
         at oracle.jsp.JspServlet.internalService(JspServlet.java:178)
         at oracle.jsp.JspServlet.service(JspServlet.java:148)
         at javax.servlet.http.HttpServlet.service(HttpServlet.java:588)
         at org.apache.jserv.JServConnection.processRequest(JServConnection.java:456)
         at org.apache.jserv.JServConnection.run(JServConnection.java:294)
         at java.lang.Thread.run(Thread.java:534)

  • How to print main window data in second page without header

    hi friends.,,,,,,,,,,,,,,,,,,,,
    I am printing billing docu details in main window ,the data is coming in two pages but there is problem in printing as the tables is continuing in second page the line is not coming for the table for first row,space is also coming for second page for header .
    my issue is to remove space before printing table and line should come for the table for 1st row in second page.
    please help .
    thanks in  advance.

    Hi Raghukumar,
    1. For the line not coming on the top row of the second page, check if the rowtype u have used in the table has been given a border on the upper side.
    2.For the space issue in the second page, I assume you might have used only a single Page in your smartform and the same page is called again.Hence as per the main window size and length data will be displayed in all pages of the smartform.
    You may need to create a second page with the Main window length occupying the compete page so that data display starts from the top of the page. next Page attributes of the smartforms should be entered accordingly.
    Please try to elaborate your query to help us understand your issue.
    Regards,
    Rijuraj

  • How to call the new page in smartforms

    Hi friends,
    How to call the new page in smartforms.
    Thanks,
    Ravi

    Hi,
    Create a command node and click the 'Go to new page' check box specifying the page u want to go.
    You can enter your condition for which it should branch to a new page in the 'conditions' tab.
    Regards
    Shiva

  • How to Display 10 columns in first page,next columns in second page in smartforms in sap.

    In internal table having 30 columns of data.
    i have to display like
    first 10 columns in first page with page no :1
    second 10 columns in second page with page no :2
    third 10 columns in second page with page no :3
    how to develop this.
    please how develop this in smartforms .
    please help .

    Hi,
    You dont have to divide the data.
    You must be using TABLE node in your smartform to display the table.
    Copy the node 2 times more so that the total table nodes become 3.
    Now, change the headings in each table according to the column you want to display.
    Change the fields of the workarea in the ITEM lines accordingly.
    Add a COMMAND node after each table and set it to go to next page.
    E.G :
    Suppose I have a table with 6 columns and I need to display 2 columns in a table then page break.
    Work area name is WA.
    Then first table will have headings : FIELD1 FIELD2
    Items will have field     :     WA-FIELD1 WA_FIELD2
    COMMAND NODE : Go to Next Page
    Second table will have heading : FIELD3 FIELD4
    Items will have field     :     WA-FIELD3 WA_FIELD4
    COMMAND NODE : Go to Next Page
    Third table will have heading : FIELD5 FIELD6
    Items will have field     :     WA-FIELD5 WA_FIELD6
    So, same table with same work area will be used 3 times, displaying different set of columns in each TABLE node.
    Regards,
    Ashish

  • How to call specific page of smartforms

    i have smartform in which 5 different pages are there
    i want to call PAGE1 when my sy-tcode eq tc1
    and PAGE2 when sy-tcode eq tc2 like wise...
    how to pass the page name in function module of smartforms???

    HI,
    try this...
    case sy-tcode.
    when ' '.
    Populate the TDPAGESLCT of structure SSFCOMPOP include SSFSPOUTOP of OUTPUT_OPTIONS in form interface of the smartform.
    endcase.
    call the smartform functionmodule
    regards
    padma

  • Smartforms : Second Page Main Window not being called

    Hi All,
    The smartform has 2 different pages, with totally different layout.
    This also include that the Main window of both pages are different, having 2 different tables to fetch data.
    The main window width sizes are the same on both the pages.
    I have already used the Command node to call the second page, which it does.
    The problem I am facing now is that the Secondary windows on page2 gets displayed, but the main window does not get displayed.
    I have put a break-point in the code of main window of Page2. When executing this, it does not get triggered at all.
    Now if I change the attribute of this main main window to secondary window and then I execute it then it gets triggered and gets displayed.
    I have to keep this window as the main window as there might be chances of data overflow which should then continue printing on the next pages, therefore I cannot make it as the secondary window.
    Please tell why the Main Window is not being called? (Note: Size of Main Windowin Page2  is same as main window in Page1)
    I have searched the SDN already and did not find a solution to resolve this problem.
    Thanks in Advance.
    Regards,
    Darpana.A

    Hi All,
    I have got the solution to this probelm.
    In Page1 Main Window I have Table1 and a command node to Goto Page2.
    Just after this command node I have added Table2 which earlier was the table in Main window of Page2.
    So currently the Main window in Page2 has nothing included in it.
    Anything after Command gets printed into the next page. Table2 is a part of Main Window in Page1 which gets printed into Main window of Page2.
    Thanks for all your replies.
    Regards,
    Darpana.A
    Edited by: Darpana Ahire on Aug 21, 2009 9:59 AM

  • Smartforms - how to call 2nd secondary window page

    Hi
    How to call 2nd secondary window page from Ist Main window. The scenario is i have one main page. I have already called 2nd page thru command line and now want to call another page (i mean third page) from same main window. How do I do?
    Thanx and regards,
    Rajesh Vasudeva

    Hi Rajesh,
    Go for the below link>>>>>
    [http://help.sap.com/search/highlightContent.jsp]
    thnks.

  • How do i add a second page to a document in Pages 5.2.2

    How do I add a second page to a document in Pages 5.2?

    Hello jeddi17,
    You can insert a page break with the Insert (menu) > Page Break.
    Note if your typing overflows the first page, then a new page is automatically created.
    Pages for Mac 5.0: Change the flow of text
    http://support.apple.com/kb/PH15334
    Force text to the next line or page
    A line break, also called a soft return, starts a new line without starting a new paragraph. A page break moves the next line of text to the top of the next page.
    Click where you want the break to occur.
    Do one of the following:
    For a line break: Press Shift-Return. 
    For a page break: Click Insert in the toolbar, then choose Page Break.                                
    Take care,
    Nubz

Maybe you are looking for

  • Family sharing using iTunes cards

    both my wife and I use iTunes cards for the purchase of apps and music in the App Store. We now want to enable family sharing on our devies and are being forced to provide credit card or bank details in our accounts to use it. apple need to allow the

  • Complaint regarding my Lumia 920

    To the person responsible, My name is Rana Abraham. I have a Lumia 920. IMEI number of the same is 3**************. The problems with this handset is that it overheats when any application that work based on internet is used.(The problem persists in

  • CS4 First Quadrant CS5 Fourth Quadrant???

    I just installed my upgrade to Illustrator CS5 and have quickly noticed the quadrant change from previous versions. I need the y-axis to be positive, not negative...is there any way to change this? Unfortunately I have a feeling that I won't get the

  • What is your health & fitness goal??

    This board seems like a ghost town.  Let's see if we can spark something! I am in no way a trained professional and I will not claim to be.  That is the farthest from the truth, but I have been involved with health and fitness, in some fashion, ever

  • Loss of Superdrive courtesy of Fusion

    XP in Boot Camp had been running happily for some time. Recently I've had to switch between Windows and Mac OS more frequently, and rebooting became a chore. So I downloaded a trial version of Fusion and accessed my Boot Camp partition through it. Al