How to restrict height of table  in smartform without using template

Hi Gurus,
I am facing a problem with table in smartform.I have 5 records in my table.If i print all 5 then table is fine.But if i get only one record in table then size of the table reduces to one row.Is there any way that i can keep my table height same as for 5 records,though i pass 1 record.I cannot use template here,because  page-breaks are used in the form .
Your solutions are highly appreciated.
Thanks and regards,
Meenakshi

Hi,
As far my knowledge goes, If there is one record then table lines will take the height of only one row. You cannot Restrict it to take height of 5 rows.
A temporary solution could be to add empty records in your internal table so that the table uses all the 5 rows in the table while printing in the smartform. Since they are empty records your smartform will not display any data but will only use the height.
If you have 1 record add 4 empty records, Similarly if you have 2 records add 3 empty records...
This way all time the table will take the height of 5 rows.
As i said earlier this could be a temporary solution.
Thanks,
Hari Prasad.

Similar Messages

  • Can we create graphic and text in the same window of smartform without using template?

    we create graphic and text in the same window of smartform without using template?

    Hi Kinjal,
    as far as i understand you are talking about a template which you can partitioned and in one part you wants to show your graphics and in other part you wants to print your text, the border of template shall remain invisible.
    If you wants to do it without using a template, you can do it as sujjested by Susmitha, but creating a template will provide you more flexibility that if you wants to change the attributes in future you can do it easily.

  • Internal table in smartforms without use predifined structure

    Hi !!!
      I have a doubt is possible to use an internal table that was defined in a program but not in a structure in the data dictionary ??
      How i need define this in smartform ??
      I'm doing  the following:
       In the global definitions in the tab types i define a type.
       types: begin of ty_tab,
                  data1  like ....
                  data2  like ...
                end of ty_tab.
       types: ti_itab type standard table of ty_tab.
      In the form interface in the tab import
      I define the internal table  ti_namex:
       parameter name:  ti_namex type ti_itab.
    When i try to activate the system send a message: Form interface,  type ti_itab is unknown
       Somebody have any suggestions ??
      Thanks for your support
            Noemí H.
    Edited by: Noemi Reyna Huerta Araujo on Jun 28, 2011 8:25 PM

    Hi Noemi,
    As per Srilathau2019s answer, it cannot recognize the parameter, it showu2019s error.
    But it is possible to pass the values from your driver program to the smart form through the internal tables defined in the driver program to the smart forms, without needing to create structure to the internal table in the data dictionary.
    Follow the procedure given below.
    In smart form to get the required data from driver program you need to declare the variable / field in form interface menu as import parameters with their associated types.
    Run the smart form take functional module generated by smart form, then in driver program call function by using function module.
    In that called function you get field which we declared in smart form.
    Then pass final internal table field to fieldu2019s in exporting section of call function
    Hope this will help you.
    Regards,
    Pravinkumar

  • How can I use table headers only without using rows.

    how can I use table headers only, without using rows and without leaving the space.
    If anyone could say me how to paste the pic in this questions, I would have shown it.
    The flow of view is in this way
    {Table header(table on top of table)
    column header1___|| column header2__ || column header3__ ||}
    <b>Here is the blank space I am getting, How to avoid this space?this space is of one table row height</b>
    {Contents column1 || Contents column2 || Contents column3 || (This is of other table below the uper table)}
    I am using scroll for the content part of table only.
    So I am using two tables.
    I am using NW04.

    I did the possibles you explained, but couldn't get rid off the space.
    Any other solutions?
    I am keeping the header static and the content columns scrollable.
    I have used two tables one to display header above and the other to display only the contents.
    I have put the contents table in scroll container.
    And the header table in transperent container.
    Thanks and Regards,
    Hanif Kukkalli

  • How to restrict saving of a sales order without a material.

    Hi Gurus
    Please advice How to restrict saving of a sales order without a material. That is the system saves the order even if no item is assigned to it.

    Hi Raghu,
                 In standard SAP we can not do that. Even for some requirements of the customer this feature is required, specially in case of milestone billings, custom materials etc. client after saving the empty sales order they may create materials based on that sales order number.
                 If it is mandatary for u to save sales order only after the entry of the materials, u can try user exits or go for a code with the help of an ABAPer.
    Regards,
    Ravi Duggirala
    Edited by: ravi duggirala on Jun 20, 2008 11:11 AM

  • How to make a table in java without using GUI??

    how can i make a table in java without usinf GUI, just simple codes??
    NAME ID NUMBER ADDRESS STATUS

    If you simply want to store them internally, you don't want to use a table.
    Make a simple class with properties id, name, number, address, status. Then create a Hashtable that indexes instances of the class by id or some other property.

  • How to display the fields in ALV Output without using Field catalog?

    How to display the fields in ALV Output without using Field catalog?
    Could you pls tell me the coding?
    Akshitha.

    Hi,
    u mean without building field catalog. is it? I that case, we can use the FM REUSE_ALV_FIELDCATALOG_MERGE.
    data: itab type table of mara.
    CALL FUNCTION 'REUSE_ALV_FIELDCATALOG_MERGE'
    EXPORTING
    i_program_name = sy-repid
    i_structure_name = itab
    CHANGING
    ct_fieldcat = lt_fieldcat[]
    EXCEPTIONS
    inconsistent_interface = 1
    program_error = 2
    OTHERS = 3.
    *Pass that field catalog into the fillowing FM
    call function 'REUSE_ALV_GRID_DISPLAY'
           exporting
                i_callback_program      = gd_repid
                i_grid_title            = 'REPORTING'
                is_layout              = gt_layout
                it_fieldcat             = lt_fieldcat[]
           tables
                t_outtab                = itab.

  • HT1689 How can I play podcasts on my iphone without using data?

    How can I play podcasts on my iphone without using data?

    I used to sync my podcasts to my phone individually, but found out that the Podcast app works better for me.  It continously downloads the podcasts (not really sure when, that's the only thing, when its downloading it may use data depending on where you are) and also deletes the ones i have listened to.  Hopefully that will help you out!

  • How to transfer files from mac to ipad without using itunes

    how to transfer files from mac to ipad without using itunes ???
    as i want to use my ipad for official use as well...please suggest..

    well to be 100% technical, no you didn't but that aside, it good to know there are ways for people to transfer music into the default apps without iTunes, if they have a need.
    I tend to use 3rd party apps for documents, like your mentioned iExplorer etc, which are handy.
    I see from a search the two "apps" you mentioned are not iOS apps, which I had assumed, SyncPod and FreeSync are apps for your computer, that would explain their access to the default Music/Video apps.
    I had wondered how Apple had allowed iOS apps in the store that could get around the sandboxing in iOS of apps.
    Message was edited by: CGW3

  • I have all my pictures in an external drive, how do i create a library in iphoto without using my internal drive space?

    i have all my pictures in an external drive (around 1tb), how do i create a library in iphoto without using my internal drive space? thanks!

    In iPhoto use the command "File > Switch to Library" and then click "Create New" in the Library Chooser panel.
    Select a folder on your external drive as the destination.
    You can also get to this panel by holding down the alt/options key when you launch iPhoto.

  • HT201371 how do i un-disable my iphone 5s without using itunes

    how do i un-disable my iphone 5s without using itunes

    Make a Genius Bar appointment at your nearest Apple Store and have them Restore it as a new iPhone in iTunes.

  • How can i ge into the app store without using a credit card?

    How do i get into the app store without using a credit card?

    Unless you can find an item in the store that costs the same as your balance then you will need to contact iTunes Support and ask them if they can remove the balance : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • How can I back into the main screen without using the activator bottom?

    How can I back into the main screen without using the activator bottom?

    I assume you mean the HOME button. You cannot. The HOME button is the only way to exit an app.

  • Does anyone know how to get an application you had once without using App Store?

    Does anyone know how to get an application you had once without using App Store?
    Because I'm underage and I couldn't get it back.
    I just want it back, I'm not going to use any money in App Store...

    When you say you "had it once", how did you get it then?  The App Store has only been around for a few years, so there are lots of apps out there that you would once get from the developer, but now they're only available on the App store.  Which app(s) are you referring to? 

  • HT2204 I have recently immigrated to the US but my apple ID is still stuck with my previous country. How do I change the country? Preferably without using a credit card

    I have recently immigrated to the US but my apple ID is still stuck with my previous country. How do I change the country? Preferably without using a credit cardI've only been here in the US 2 months and still have no US credit card.

    Your credit or debit card credentials must be associated with the same country where you reside.
    "Although you can browse the iTunes Store in any country without being signed in, you can only purchase content from the iTunes Store for your own country. This is enforced via the billing address associated with your credit card or other payment method that you use with the iTunes Store, rather than your actual geographic location."
    From here >  The Complete Guide to Using the iTunes Store | iLounge Article

Maybe you are looking for

  • How do I use a custom UserInfo with a T3Client?

    This is related to my previous post, 4655. The problem is I if use a custom implementation of the interface weblogic.security.acl.UserInfo in a T3Client constructor, the client fails to connect. If I use weblogic.security.acl.DefaultUserInfoImpl, the

  • Itunes for WIN7: attempting to copy to disk "..." failed.  The file name was invalid or too long

    itunes for WIN7: attempting to copy to disk "..." failed.  The file name was invalid or too long help!!

  • More GB for Macbook Pro

    Hi, I bought a 15" Macbook Pro 120GB last month from Apple.com. I do a lot of video editing and wanted to upgrade my memory to 200GB. I am under Apple's Warranty, however I am afraid of buying more GB and installing it on my Macbook Pro myself. Is th

  • Creation of detailed packing list from SAP PS

    Dear Sir, We have ETO scenario and are in the business of manufacturing "Industrial Machinery" . We are using Project System (PS) also . After the final assembly the FERT Equipment gets ready and then it is put on trial for testing . After the succes

  • Update table in another SAP system

    Hi Guru's I have requirement, in which the outout of the report should be update Z table in another SAP System. How we can do this? Thanks Karthi