Script : info from 2nd page .

Hi,
I have script with two pages . I am dumping internal table data into the main window . But when the page  number is greater than 1 I need to display some addtionla info at the top of the main window in a box before I dump the table data .Can anyone please guide me on how we can do this ?
Regards,
Vijay .

Hi Vijay,
Use TOP...ENDTOP to trigger at the top of main window and have a condition on page number (&SY-PAGNO&) to get from second window onwards.
Try with this code:
/: IF &SY-PAGNO& > 1.
/: TOP
/: BOX COMMNAND
/: WRITE SOMETHING IN BOX
/: ENDTOP
/: ENDIF.
Thanks,
Vinay

Similar Messages

  • How i start printing report from 2nd page

    When Press on Print button to print report, then it start from 1 page.
    Is it possible that report start printing from the 2nd page....
    Plz help if possible...
    Thanks alot..

    hi dear,
    I think wht u do is place a "Form feed" char on the first line of your report
    and make sure it has property "print object on" set to "first page"
    so as and when u startyour printing it will make a form feed and your first page will
    be printed with nothing and print starts from 2nd page....
    Enjoy Oracle...

  • How to send info from JSP page as email-body

    Hi,
    i have a JSP page that generates dynamically as a result of some query. I have a Button - "Send Email".
    I want to send the information to the receipient thru email automatically on a button click,
    All information is in the memory. How can we pick the info from memory and send it as a message thru email?
    Pls help.
    thanx & regards,
    Shalini

    create a servlet to send mail (use the JavaMail api) then Post the message to the servlet when you click on the button.
    OR, put the message and any other data (like the email address) into the session, and then just call the servlet on click of the button, and have the servlet retrieve the information from the session.

  • Reports moves to the left from 2nd page?

    We have a 6i report when executed, the 1st page shows correctly, but from the 2nd page onwards one repeating frame shifts to the left and this crops the left side information in that repeating frame.
    This frame has some columns which are made to display/not display depending on certain conditions.
    We tried making the horizontal elasticity of the repeating frame to FIXED but still the same problem exists.
    Any help would be grately appreaciated.

    hi julia, i placed the anchor in various places to see what works. I placed the anchor center top towards the left and right side within the browser. I also tried upper top outside of the browser center, right and left and it still moves diagonally. Here's what I noticed. On my desktop I use a 25" monitor so the anchor works fine the page moves straight up but whenever I view it on both  laptops  it moves diagonally.  I had my sister test the link on her laptop (she lives in Brazil) and she told me that sometimes it would go straight up and another time it moved diagonally. Here's the link to my website so you can see the problem in action. There's a 'back to top' link on almost every page see for yourself. www.sweetproductionmedia.com 
    thanks so much for taking the time to help:-)

  • In Smart Form alignment disturbed from 2nd page

    Hello experts,
    Help me to resolve the issue.
    Smart form output disturbed from second page. Here giving snap shots of first two pages only.
    The value of column Item no is not from database. It come from loop, variable 'Counter' is incremented, in main window
    First Page
    Here line no 10 and data is disturbed.
    Total number of record lines printed are 10.
    Second page
    Here alignment of line no and data is disturbed
    Number of record lines are printed 6,not 10 as printed in first page
    Item number and data record lines are not in aligned.
    Sixteen(16) item no associated data is printed but item number is not printed ( printed on page  3)
    Last line ‘Expected Date…’ coming on each page. How to print only after completion of all rows.?
    Your help is highly appreciated in anticipation.
    Regards
    B R Phatak

    Hi,
    Last line ‘Expected Date…’ coming on each page. How to print only after completion of all rows.?
    for this you can use the Table footer  so that it can be dispalyed after the end of all records,
    and can you tell me what is the type of your counter variable?
    Try using CZ options for item to compress
    Regards
    Pavan

  • Showing items caption on top from  2nd page..

    Hi,
    I have multiple tables in items form  .They are flowed.
    I have a item captions text row in 1st page.How Do i make it repeat in second page and so...on.
    If it was single table I could have done that but how do I handle this in multiple tables.My item caption texts is same for all .
    In brief:
    I have created subform for header data display -positioned
    i have created itemform for item data display and included all item tables row wise. -flowed
    finally i have footerform which does the totals .-flowed
    I tried creating a itemtext in 2nd page of master pages.. but this is not showing up.
    Any ideas?
    vara
    Edited by: Vara K on Mar 11, 2009 10:03 PM

    when you format the subform, increase the height of subform by .75 inches and tell it to align bottom center.

  • How to write Java script for refering the 1st page text field from 2nd page?

    Hello I am developing an VISITOR info interactive form with webdynpro ABAP, its with 2 pages. Their heirarchy is,
    VISITOR_form
        |
        |
        |------Page_1
        |            |
        |            |
        |            |------Text_Field_A_1
        |            |
        |            |------Text_Field_A_2
        |
        |------Page_2
                     |
                     |
                     |------Text_Field_B_1
                     |
                     |------Text_Field_B_2
    Now, i have selected the 'Text_Field_B_1' of page_2 and writing the Java script, my requirement is; If Page_1's 'Text_Field_A_2' has a value of "Value_ABCD", THEN the 'Text_Field_B_1' of page_2 should be 'readOnly'. Pls let me know Wht is the Java script for this requirement?

    if (xfa.event.newText=="ABCD")
    VISITOR_form.Page_2.Text_FieldB_1.access ="readOnly";
    place script on change event of Text_FieldA_2

  • Remote PowerShell script execution from web page

    I am building a web interface for Active Directory for a school project. (It will NOT touch the Internet, it is for intranet use.) I want to click a "button" on my interface and execute a PowerShell script on a server. (example: Clicking on "AD Users" would execute a PS script to get a list of users) Does anyone know a good approach to accomplish this? I can nandle writing the PowerShell scripts, I am just not sure what the best way to call them from a web interface would be. Any reference or information would be appreciated.

    hi igor
    i am actually working on a simillar project , i'm planning to publish it as an open source in codeplex
    the idea is that you have to know another programming language like VB , C# ... in my case i used ironpython
    ASP.NET , while ironpython calls powershells command using system.managment.automation through runspace
    iron python only handles the web interface stuff , like button click events , and handling output stuff from powershell
    you can convertto-html cmdlet from powershell it will make your life alot easier :)
    G

  • Footer content is blank from 2nd page onwards

    I have two master pages: First and Next
    First page has a restriction to occur only once. It has a Footer.
    The same Footer is repeated on the next page.
    Both are Flowed.
    I have a code as below in the initialization event of the First: Footer as well as Next:Footer
    var curpage1 = $layout.page ( ref ( $ ) )
    var totpages1 = $layout.pageCount()
    if ( curpage1 ne totpages1 ) then
    $.presence = "hidden"
    endif
    This way I am able to control the footer to appear on the last page.
    I am paassing an internal table to the footer.
    But the Footer shows up empty..
    To test further, I added a text field and passed a value to it.
    It however appears on the last page as desired.
    But the actual Footer shows up empty.. only the border for the Footer shows up..
    Please advise.
    Thanks,

    After further debug, this is what is happening:
    If it is only one page, then the internal table prints in footer.
    As soon as the second page is triggered, the internal table is becoming empty.
    So I passed the internal table to another internal table and passed the value to the second page. (this is the case when there are only two pages to be printed).
    Now the footer appears.
    As soon as a thrid page s added, this internal table is also becoming empty.
    I circumvented all this by putting text fields (in my case I always know that it is only 4 lines) and passing each line of internal table to each of the text fileds.
    it works good now even for n number of pages.
    I will keep looking to find a proper solution with the internal table and post the details here.
    leaving this post open may be for a week days more to see if any one has a better idea.
    Thanks,
    Ven

  • Why can't i send info from web page AESdirect.gov

    I DO TRANSMISSION THROUGH TE WEB SITE AESDIRECT.GOV TO SEND INFORMATION TO U.S. CUSTOMS.
    THROUGH FIREFOX I CAN ENTER AESDIRECT.GOV WEB PAGE, BUT WHEN I ENTER MY INFORMATION AND SUBMIT IT TO U.S. CUSTOMS IT DOESN'T TRANSMIT IT. WHY.
    THANKS
    RAFAEL

    The following previous discussion may have something that will help: i can receive email but cannot send any on my new iphone5.  have followed suggestions. any ideas?
    Also, if you are using Gmail's 2-step verification, be sure you are using an application specific password: https://support.google.com/mail/answer/1173270?hl=en

  • Direct the control to third page from 1st page instead of 2nd page.

    Hello All.
    I have three seeded pages.
    -When i click on *'Add Button'* On the first page, the control goes to 2nd page. When in click on *'Find Button'* on 2nd page, the control goes to 3rd page which is a search page.
    My Question: When i click on Add Button on 1st page, the control should be directed to the *3rd page, the search* instead of the 2nd page.
    How can i achieve it..??
    What shall i write in the extension of the controller.?
    Need an answer urgently.
    Regards

    Hi,
    I understand you are trying to customize a standard page flow instead of A->B->C, you want to make it
    A->C,
    You have to extend the A's Controller and get the handle of the "Add Button" and transfer the page to 3rd page.
    Decompile the 2nd page controller and check what the standard code is doing for the event 'Find Button' click.
    You have to replicate the same.
    But this could give some error, since the third page might expect some parameters which was passed from 2nd page.
    You have to try and check.
    Thanks.
    With Regards,
    Kali.
    OSSI.

  • Report running from 3rd page.

    Dear All,
    I have created a oracle report. i have created a header, main and trailer sections.
    the problem is once i start the report.
    1st page is header it is showing correctly but main section report is coming from 3rd page. In 2nd page iam getting only column name not content. from 3rd page onwards im getting columns with content.
    I want report from 2nd page onwards, Which settings i need to change.
    Pls help me on this issue,
    Thanks in advance.
    regards,
    Shitab.

    I got answer. in header section repeating frame go to properties and
    select 'Page Break Before' Property No.
    Thats it,

  • Cannot continue using the beta as it prints out my emails & info from websites as unreadable info. Are you working on this?

    When I print out emails or info from web pages such as bank statements, the text comes out very small, out of order, not spaced properly. I had to switch back to the regular firefox browser because I was wasting too much paper.

    There is a known bug involving printing in beta 12 that has been fixed in the Firefox 4 release candidate which has just been released.

  • Developing a 2 page form, username on the 1st page, password on 2nd how can i force FF to use the username from previous page when it asks to remember acct info?

    I am developing a 2 page signup form, where the person enters their username on the 1st page and password on the 2nd.
    When I test the form, FF asks to remember my password for the site - however it thinks the zipcode (field above the password) is the username on the account.
    I have tried to put their username/email in a hidden field on the 2nd page, just above the password field - and that did not work.
    How can i force FF to use the username from previous page when it asks to remember acct info?

    This website is using autocomplete=off to prevent Firefox from saving and filling the name and password.
    You can remove autocomplete=off with a bookmarklet to make Firefox save names and passwords and other form data.
    *http://kb.mozillazine.org/User_name_and_password_not_remembered

  • ASP / PHP pages: How to get streaming info from a XML file?

    Hi all
    I am using Adobe Flash Media Streaming Server 3.5 but I can't find any output file (fx a xml file) that I can pull out info from and use on my website via a PHP or ASP script. It could be nice - in the website - to retrieve info like "online users attending", "running / streaming state" (online or offline) and other relevant info about the streaming, so I on the website can display how many that are online when a webtv event is streaming.
    I see the the info when I login at the web admin for FMS, but I need a solution that can work with ASP or PHP.
    I simply can't find any file / address to get this kind or output out of FMS - can you help?
    Thank you
    Kind regards,
    Jens

    hi,
    can you share php code for grabbing data. i make php code using "simplexml_load_file" but the problem is it takes 2-3 minutes before it show the result. i want to monitor the current video if stop feeding.
    http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname
    xml
    This XML file does not appear to have any style information associated with it. The document tree is shown below.
    <result> 
    <level>status</level> 
    <code>NetConnection.Call.Success</code>
    <timestamp>3/21/2015 7:47:17 AM</timestamp>
    <name>_defaultRoot_:_defaultVHost_:::_0</name>
    <data> 
    <_0>appname</_0> 
    </data>
    </result>
    here;s my php code:amsstats.php
    <?php
        $result = simplexml_load_file("http://server1:1111/admin/getLiveStreams?auser=admin&apswd=admin&appInst=appname");
        echo $result->data[0]->_0;
    ?>
    result:
    http://server2/stats/amsstats.php

Maybe you are looking for

  • I get no sound on Youtube

    I tried the MIDI set-up solution. Its settings are ok, still no sound. Thank you in advance, p

  • Using imac's monitor with a pc?

    hey is this possible? and any way i can use the imac's internet aswell on a pc?

  • Down Payment Request not being listed on F110

    Hi Guys I have completed down payment config for Sp GL indicator A and F. I have set up the recon accounts and allocated the required SP GL indicator to the paying company code. I have posted a down payment request. The open item credit is lying agai

  • How to load and define Java Store Procedures using Consolidator Manager??

    Hi, I am trying to create a store procedure with a very easy example and I can not succeed. i am a bit new with OLite and I will appreciate any help from your side. I am quite lost now regarding of using java with OLite and it is becoming quite urgen

  • Keep button pressed?

    Hi, im coding asimple gui with a few buttons. The thing that has me stumped is that I cannot for the life of me keep a button "pressed" until it is clicked again (ie click once, it stays pressed, click it again or click a different button and it beco