How to find remaining space left in the main window

Hi Guys,
In one of the smartform there is a MAIN WINDOW, in which a table will be displayed with 3 or 4 entries for each material. ( so that atleast 3 tables are displyed on a single sheet)
Some times if the space  is not enough in the main window to display the contents of the table, the contents will be displayed in the next page. (Eg - 1 entry at the end of the page with the header at the end of the page and remaining entries int he next page with the header, which is satisfying the client's requirement)
Problem is some times only header gets displayed at the end(end of the main windw), but so space is avaliable to display the contents, so the contents will be displayed in the next page with the header again,
so the end user will be seeing a header at the end of the page with no contents,
Is there any way to solve this(Not to dislay the header if the contents of the table cannot be displyed)
Is there a way to find the remaining space in the main window dynamically so that if i am able to find the remaining space is JUST 1 LINE ( or CM  or INCHES), then I can put a condition for not displaying the header).
Regards,
Naveen.

Hi,
In smartforms, there is no other way to find the remaining height of the main window on a page.
Hence, another way to solve this is to restrict the contents of the table with templates designed such a way that if there is header and items then display exactly a set of rows which would fit clearly on a page.
Also make the folder as page protected.
This is tedious but there is no other way i think as we also faced similar kind of issue.
Regards,
Ram

Similar Messages

  • The inspector is staying on top. How do I set it to follow the main window so it is not on top of active app?

    I keep the inspector open when using ical. This problem seems to be new to Lion that the inspector window says topmost even when ical is not active. Any way to change this behavior or is it a bug?

    Go into Settings, General, Dat & Time, and set your time zone to New York.  That will set the correct time.

  • Can I to execute two times the MAIN window in the same page?

    Hello, friends:
    How I can to execute 2 times the MAIN window in the same page in SAPscript, this without modify the program link a SAPscript?
    I create in the same page two MAIN windows, but I can to print only one MAIN window, the second window is not appears.
    Thanks for advance,
    David

    You can't - only one MAIN window is allowed per page.

  • How to find remaining free space in your schema

    Hi
    I am new to Oracle hence this question..
    What is the command that would help me know how much percent of space allocated to my schema has been used and also how to find remaining amount of space in bits or bytes or whatever from SQL or any where... I am not a database admin (fyi)
    Appreciate ur help in this reg
    Thanx
    Kris

    Kris, free space is not assigned to a schema in Oracle per say, but it you mean "how can I see how much of their quota a user has used?" then the following should help.
    You can find quotas in dba_ts_quotas (also user version)
    You can find how much space has been used in dba_extents (also user_extents)
    You should be able to write a query that compared the sum of the used space for a tablespace to the quota for the tablespace. Try the following query (notice how DBA's are treated)
    select q.username, q.tablespace_name,
    q.bytes as Quota, e.spcused as Used,
    round(q.bytes/e.spcused * 100,2) as Percentage
    from dba_ts_quotas q,
    (select tablespace_name, owner, sum(bytes) as spcused
    from dba_extents
    group by tablespace_name, owner
    ) e
    where q.tablespace_name = e.tablespace_name
    and q.username = e.owner
    If you are actually interested in how much free space is left in a tablespace you can look at dba_free_space (user_free_space), but the value returned is not adjusted for the quota limitation. You need the query above for that.
    HTH -- Mark D Powell --

  • I have very little space left on the hard drive on my macbook, on my storage report it says "other" is taking up more than two thirds of the space on the hardrive. How can I identify what these files are?

    I have very little space left on the hard drive on my macbook, on my storage report it says "other" is taking up more than two thirds of the space on the hardrive. How can I identify what these files are?

    Hello,
    There is free software you can download that gives you a graphical image of what files are used on your hard drive. http://www.derlien.com/
    This may help you clean down your hard drive for more space.
    Best of luck

  • Error when recording f4v-files: Error from libmp4.so: No Space left in the stsd box.

    We are recording live streams on a Flash Media Interactive Server 3.5.3 r824. In general, everything works fine, so there are no appliaction-issues. But sometimes (it is not reproducable yet) a stream stops recording without any notice or event in the application. All we can find is such a message in our core.log:
    2010-03-05 03:30:00 4747 (e)2611178 Error from libmp4.so: No Space left in the stsd box. -
    2010-03-05 03:30:00 4747 (e)2611423 Failed to record [...]16891_14351_RGtBCODxPR4cM8QfML9CuxqhHqutMwWX.f4v (Unknown Error). -
    Can anyone give me a hint, where i could start searching for the cause of this error?
    These streams are in general sent by Adobe Media Live Encoder.
    Thanks in advance
    Suha

    You're running out of sample description spaces in your recording of an F4V - this is presumably because you're splicing together different H264 encodings or other types of media.  No matter, you can configure this value up from it's default of 10 - check out Server.xml in your configs and you'll find this section
    <Recording>
                        <!-- Maximum ELST entries in a recording.  ELST entries are used when there     -->
                        <!-- are gaps in a kind of content.  Gaps occur during an append to the file    -->
                        <!-- or when content like video ends while other content proceeds.  If more    -->
                        <!-- gaps or appends occur than configured here, recording would terminate    -->
                        <!-- Making this value too high takes up unnecessary space in each recorded file-->
                        <!-- Default value is 100                            -->
                        <MaxELSTEntries>100</MaxELSTEntries>
                        <!-- Each change in codec for a content type, like two different video codecs    -->
                        <!-- takes a sample description.  All space for sample descriptions is made on    -->
                        <!-- file creation.  If codec type changes more than descriptions available    -->
                        <!-- recording will terminate.  Adding too many descriptions takes unnecessary    -->
                        <!-- space for every file record.  Default is 10 for each type            -->
                        <MaxDataSampleDescriptions>10</MaxDataSampleDescriptions>
                        <MaxAudioSampleDescriptions>10</MaxAudioSampleDescriptions>
                        <MaxVideoSampleDescriptions>10</MaxVideoSampleDescriptions>
                    </Recording>
    You'll want to increase the appropriate SampleDescription Max.  Not sure which it is yet (audio/video/data) but in theory you can increase any or all as needed.  These boxes are set in size when you start your recording so all recordings will bloat very slightly to cover this case that most users don't run into, but feel free to set the SampleDescription limits higher and you should stop seeing this.

  • How to find out which type of the driver is used in our application?

    Hi all,
    can anyone tell me how to find out which type of the driver is used in our application?
    Thanks in advance,
    Phoeniox

    Hi,
    Check out this...
    Class.forName("com.mysql.jdbc.Driver"); //if u r using MySql
    List drivers = Collections.list(DriverManager.getDrivers());
                   for(int i=0;i<drivers.size();i++)
                        Driver driver = (Driver)drivers.get(i);
                        String driverName = driver.getClass().getName();
                        System.out.println("Driver "+i+":::"+driverName);
    you need to load the driver and display in the same program.
    Then only you'l get the required result.
    prakhyath

  • How to insert a space-bar in the Muse CC master slide page property metadata

    I'm using the latest version of Muse CC and need to know how to insert a space-bar in the master slide page property metadata page title suffix area

    I found it.  If anyone else has this problem press the shift and \ at the same time on a standard windows keyboard.

  • How to find out who has deleted the production Query

    Hi All,
    I have searche SD , i can find it for infoobject deletion but i couldn't find it for Query.
    Please let me know is there any possiblity to kow
        How to find out who has deleted the production Query
    Awaiting for your replies.
    cheers

    Hi Mahesh and all,
    Thanks for all your  inputs.
    I have tried with RSRREPDIR tabel , I am unable to see that query at all.
    If I use theT-code SLG1,
      please guide me on the steps with paramets to be given in the respective ..object, subobject etc..
    OR
    could you please suggest any other way.
    cheers
    leena

  • How to find out who had deleted the function moldule? S O S

    how to find out who had deleted the function moldule Thank you very much.

    if this fm was assigned to device class (package) you'll find it in
    tables tadir, e070, e071
    try with name of function module or function group
    hope that helps
    Andreas

  • How to find out what are all the change pointers assoicated for an idoc ??

    Hi ,
    How to find out what are all the change pointers activated for an idoc ??
    Thanks,
    Varma

    Verma,
    You can check what are the active Change Pointers for the message type in tcode <b>BD50</b>
    Use tcode <b>BD61</b> to check whether change pointers are active or not??
    Hope this helps..

  • Space left in the printout after hiding the text element in smartform

    Hi
    In my smartform there is space left in the printout after hiding the text element with condition.
    Is there any way by which we can remove the space in the smartform,
    Thanks
    Ank

    Hi ,
    I am displaying the text in table with two columns and in one column i am giving the text elemnt and in other the value.
    I had given the condition that if the data is not present then the text elemnt should not be shown in the form .My form is working perfectly except that its leaving the space for that text element.
    thanks
    Ank

  • How to remove black "blocked plug-in" window that opens with iPhoto. It covers iPhoto and everything under it. I've right and left clicked the black window, restarting the computer, shutting down the computer, but the window always appears when I ope

    How to remove black "blocked plug-in" window that opens with iPhoto. It covers iPhoto and everything under it. I've right and left clicked the black window, restarting the computer, shutting down the computer, but the window always appears when I open iPhoto and it will not move or go away. It stays on my screen (covering my desktop icons) even after I quit iPhoto. How can I get it off my screen?

    Which version if iPhoto and MacOS X do you have?
    Do you have any iPhoto plug-ins  installed?
    Open the folder /Library/Application Support/iPhoto/Plugins/
    To navigate to that folder, open the folder "Library" directly on your Macintosh HD, then inside the Library folder go to Application Support, then iPhoto.  Is there anything installed?

  • Formula - Get the remaining space available on the report page

    Post Author: Gerd
    CA Forum: Formula
    Hello,
    i need the output positions (on Page) of the last record of a group.
    It is possible the get the output coordinates (Pager x and y-Position) of this record.
    Or it is possible to get the remaining space available on the report page with a formula ?
    The formula should look like this. (e.g.)
    if OnLastRecord and
    ReportFieldName.OutputPositionY  > MyLimit then
    ..... &#91;do something&#93;
    or is this there a property where i can get the last output position
    thanks

    Post Author: synapsevampire
    CA Forum: Formula
    You'd need to keep a counter of lines used per page to do this.
    The amount of space isn't a property or a functionj within Crystal itself.
    Perhaps you shoukld post why and what the requirements are rather than asking that a specific architecture be used.
    I' can tell that you're bright, however there just might be someone somewhere with a different way of addressing the need.
    -k

  • How to find last inserted record in the table.

    Version: Oracle 10g
    I have a table called "Manufacture" and 3 columns as mfno,itemname,quantity.
    How to find last inserted record in the table "Manufacture".
    As i come to know that Rowid is not result perfect results. Please provide your inputs.

    user13416294 wrote:
    Version: Oracle 10gThat is not a version. That is a product name. A version is 10.1.0.2 or 10.2.0.4, etc.
    I have a table called "Manufacture" and 3 columns as mfno,itemname,quantity.
    How to find last inserted record in the table "Manufacture".Not possible as your data model does not cater for it. That simple.
    If there is a need to determine some order or associate some time to an entity, then that should be part of the data model - and a relationship, or one or more attributes are needed to represent that information. Thus your data model in this case is unable to meet your requirements.
    If the requirements are valid, fix the data model. In other words - your question has nothing to do with Oracle and nothing to do with rowid, rowscn or other pseudo columns in Oracle. It is a pure data modeling issue. Nothing more.

Maybe you are looking for