Smart forms - Dynamic sizing of the windows.

Hi gurus, iam working on smartforms, i have a problem.
My requirement is: Printing a table data on the smart form. Is the window which prints this table data is resized with the amount of table data, if so, what is the procedure i should follow for to print this data in the window.
Please give me the steps to go with the above issue. iam new to smartforms. what is the size of the window i should give in the Form painter and what all the attributes i should declare.
Plz give a detailed explanation..
Regards,
chaitanya

Hi Chaitanya.
I would like to suggest a few references,
[SDN - Reference for Smart form - setting dynamic window height  |Smart form-setting dynamic window height;
[SDN Library - Standard Reference - Dynamic Window Height - SMARTFORM Tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d937ec90-0201-0010-0ca8-b6cb3b6dd1ef]
Hope that's usefull.
Good Luck & Regards.
Harsh Dave

Similar Messages

  • How to change the font of variables in smart forms dynamicly

    Dear all,
    Is there any suggestion of how to change the font of variables in smart forms dynamicly?
    Thanks in advance.

    Hi,
    You cant change the font dynamically but tell me the scenario I will try to give the solution.
    Regards,
    Nageswar

  • Possible to generate graphics within smart forms dynamically like SVG ?

    Hello,
    I would like to generate a graphic for a smart form. This graphic will only be needed in the smart form. Therefore my question:
    It is <b>possible to generate dynamically graphics using ABAP</b> as programming language? In the same line like SVG (Scalable Vector Graphics) or ChartDirector? I know it works in many other programming languages.
    Smart forms can handle *.bmp and *.tif picutres. Therefore the output of this ABAP program should be a picutre within the format *.bmp and *.tif.
    Daniel

    Welcome to SDN,
    I am not sure whether you can use SVG in smart form, but certainly in ABAP yes. check out the following atricle for more info.
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sapportals.km.docs/documents/a1-8-4/how to generate and display svg graphics in abap,%20Part%201.article
    Regards
    Raja

  • Smart Form: Which Action triggered the form?

    Hi all,
    we are using a Smart Form that should show information depending on which action triggered it. The Smart From is called by one class that does some preparation logic (Parent CL_SF_PROCESSING_PPF, Method EXEC_SMART_FORM). This class is started by several actions.
    I know I could have several classes, one per action. But in case of changes, I would have to change all classes.
    Is there a way to determine in the class which action was used to call it?
    Thanks for your help,
    Timo
    Message was edited by:
            Timo Koch (rephrased question)

    Hi,
    I'm facing the same issue, for the moment the best answer is to read the value of the GUID from PARAMETER values.
    DATA: para TYPE tpara-paramid VALUE 'TRIGGERGUID'.
    GET PARAMETER ID para FIELD wv_ppf_guid.
    IF sy-subrc <> 0.
      MESSAGE 'Parameter not found' TYPE 'I'.
    ENDIF.
    SELECT SINGLE * FROM ppfttrigg INTO ws_ppfttrigg
    WHERE os_guid = wv_ppf_guid.
    The problem is on creation mode, the guid is filled but the table is not, I'm trying to get info through class cl_manager_ppf but I haven't found yet ...
    Regards,
    Guillaume Mackowiak.

  • Smart forms- how to get the copies of form in other pages as duplicate

    hi experts,
    i am facing problem in smartforms.
    one copy is ready for me.
    i have to take that one in 4 pages  as 1st page original,
    2nd duplicate, 3rd triplicate, 4th quadriplicate.............
    how to get them....
    all theremaining data is same ....
    Message was edited by:
            dasr r

    U can achieve this with the help of NAST table,
    in that table field ANZAL is the field for number of copies of the output.
    Suppose u have a smartform which will print 3 pages for a Purchase Order,
    and u want 4 copies of the same. (totally 3*4 = 12 pages)
    U need to handle this in the smart form ifself with the help of ANZAL field, it holds number of copies to be printed on the output device.
    if ANZAL = 1
        print 'original'.
    elseif ANZAL = 2
        print 'Duplicate'.
    elseif ANZAL = 3
        print 'Triplicate'.
    elseif ANZAL = 4
       print 'Quadriplicate'.
    endif.
    or else u can handle the same with CASE ... ENDCASE.
    I think, it may solve ur problem.
    Regards,
    Sujatha.

  • Smart form dynamic tray selection on printing

    Hi Experts,
    I have a requirement in smart form that need to output the a particular invoice to a particular tray a printer. For e.g. tray 2.
    I have added TRY02 to the resource name of the pages in the smartform, but still the invoice is being printed to the default tray of the printer.
    I have done a test to that printer by printing the SAPCRIPT-TRAYTEST from SO10, and the output is being printed correctly i.e. to the different trays. So I guess the printer has been configured correctly.
    Is there any additional configurations that need to be done for smart forms for the tray selection works correctly? And, is it correct the way I implemented the functionality in the smart form?
    Can someone help please?
    Thanks in advance
    Regards,
    Zaheed

    Hi Experts,
    I have a requirement in smart form that need to output the a particular invoice to a particular tray a printer. For e.g. tray 2.
    I have added TRY02 to the resource name of the pages in the smartform, but still the invoice is being printed to the default tray of the printer.
    I have done a test to that printer by printing the SAPCRIPT-TRAYTEST from SO10, and the output is being printed correctly i.e. to the different trays. So I guess the printer has been configured correctly.
    Is there any additional configurations that need to be done for smart forms for the tray selection works correctly? And, is it correct the way I implemented the functionality in the smart form?
    Can someone help please?
    Thanks in advance
    Regards,
    Zaheed

  • How to show image in Smart Form dynamically , Image is stored on local PC

    Hi All,
    I have a requirement where user can attach any image to PM Order in T-code IW33. Now this image  gets stored on user`s local PC.
    After this user will generate a report which is a Smart form, On this Smartform i have to show that attached image.
    So that image will contain Order Id and attached image.
    How this can be achieved.
    Regards,
    Abhishek

    Actually this Image(Image of Signature ) will be coming from Mobile device and then it will be stored as an attachment for an PM Order.
    So there will not be any manual interuption and therefore no one will be storing this in se78. But this image gets stored in local PC. And now i have to get this image on my Smartform.
    Any idea how to do it?
    Regards,
    Abhishek

  • How do u get New page in Smart form dynamically

    How do u get New page in Smart form dynamically

    page break in smart form
    Re: New Page in Smart Forms
    Page break inside a loop  in smart form

  • Smart form-setting dynamic window height

    Hi all,
    I am new to smart-forms.My requirement is the set the height of the window to dyamic.How do I do that ?
    Your ideas are appreciated and will be rewarded.
    Thanks,
    Stock.

    Hi,
    You can't keep the Window Height dynamic in Smartforms. It's not possible.
    Regards,
    Anji

  • Migrate the script to smart forms

    I have use ECC5.0 .
    access the migrate function: got to Utilities-->Migrate script form
    but in this no option is there (Migrate script form) any other choice is there in this ECC5.0

    Hi,
       Step 1. Access the initial screen. Choose Tools>Forms printout>Smart Forms (transaction SMARTFORMS) from the SAP Easy Access Menu. The dialog window SAP Smart Forms: Initial Screen appears.
    Step 2. Name the form. In the Form Field, enter field name you want to give, for example ZTF_GR_## (based on your company standard starting with Z to identify this as a customized form, where “##” is the group number).
    Step 3. Access the migrate function. Go to Utilities>Migrate SAPscript Form. In the dialogue window enter the SAPscript form name, for example Y_SAPSCRIPT_STD. Choose the Check button.
    Step 4. View the migrated layout. On the screen that appears, the SAPscript form is migrated into a rough Smart Form . Click on Form Painter to see an overview of the form layout.
    Use the following steps for mass migration or simultaneous migration of multiple SAPscript forms: Step 1. Run the mass migration program. In Reporting (transaction SE38), select the program SF_MIGRATE and execute it (Figure 3). Select the names and the language of the SAPscript forms and click the execute icon. The system creates the Smart Forms named for the SAPscript forms plus the extension SF. It displays a list of the migrated forms.
    Step 2. Make changes (if necessary). To change and adapt a form, go to transaction SMARTFORMS. Then activate the changed Smart Form.
    Once the SAPscripts are converted, whether in Smart Forms or Smart Styles, you should clean up any errors made during the conversion process, in terms of attributes, window alignment, or syntax errors. Cleaning up errors during conversion is often standard procedure, as SAPscript might have used local logic. Errors may occur when a field displayed is extracted or manipulated to display and doesn’t exist, or fields exist but appear with no values. Errors may also arise in ABAP syntax.
    Step 1. Define the Import Parameter. Double-click on the Global Settings> Form Interface from the navigation menu
    Step 2. On the Import Tab, enter the import structure information. For example, enter Parameter Name (table name, such as LIKP), Type Assignment: Type, Reference Type (table name), Optional (or Mandatory); Pass Val: (Passing value indicator). This must be done for all the data retrieved from the SAP tables.
    Step 3. Remove irrelevant or unnecessary windows. To delete a navigational menu node, right-click on the node, and select Delete. Since you start with windows in SAPscript, there might be redundant windows created for text.
    Step 4. Set the first page. Delete the NEXT page node on the menu tree. Double-click on the first page node. In the General Attributes tab, change the Next Page value to FIRST.
    Step 5. Delete the DETAIL frame window. Expand the MAIN window and delete all its text nodes.
    Step 6. Adjust the text nodes. Click on the text nodes and let the system fit the text.
    Step 7. Save and check the syntax.
    Regards

  • Smart Forms - Final Window

    HI,
    Can any give explanation for my problem.
    What is the Final Window in Smart Forms. What is the use of this.When we use this.
    Thanks & Regards,
    Kumar.

    Hi Kumar,
    Please check this link
    /people/vinod.chandran/blog/2005/08/23/using-final-window-in-smartforms
    The window types final window and copies window have the same characteristics as a secondary window. Final windows are processed only after all the nodes in the tree have been processed. Copies windows can be used to explicitly print a particular content only on the copy or only on the original.
    You may want to display or query values on the first page that are determined only during processing. For example, you may want to name the grand total in the letter text of an invoice. However, this amount is determined only after listing all individual items. Or you may want to query on the first page within a condition the total number of pages, which the system calculates only after processing all pages.
    In such a case, you use the final window: Processing first skips all windows of this type in the tree and works its way to the end of the tree. Only after the actual processing is finished, the final windows are processed in the order in which they appear in the tree (from top to bottom). Now any information is available that is known only at the end of the form processing.
    Best regards,
    raam

  • How to Pass the Internal table of a report to Smart Form

    Hi Experts,
    I have one report in which from selection screen i am getting the values from the users, and upon that values i am filling data in to the internal table.
    Now i want to pass that internal table data to the smart form
    and print that data in the smart form.
    So could you pls give me some pseudo code or any steps to achieve it.
    Thanks & Regards,
    DS

    Hi DS,
    First of all you need to create a SF and then need to call the FM generated by the FM in your report.
    In the SF in the form interface>tables tab>mention the name of the table and its type structure.
    Pls note that a new structure has to be created as the same type of your internal table which holds the data.
    And the import and export parameters as just the same as in a FM.
    Now after you create and activate your SF a FM will be generated (wen u execute your SF you will be taken to this SE37 screen with the name of FM so no probs..)
    You can call this FM in your report. Hope this helps.
    Ex:
    say itab has your final data, and you also want to export a variable var1 to the SF.
    after your normal report operations end, call the FM and pass on these data.
    say your FM name is FM1.
    call function FM1
    exporting
    var1 = var1
    tables
    itab1 = itab1.
    pls note that in the SF also i gave the same names, it is not mandatory to give the same names.
    and as you want to print a table in the smartforms, you need to create a table in the smart forms and then display the data which is quite simple.
    Hope this helps...
    if you need any further explanations, pls revert...
    Regards,
    Narendra.
    Reward points if helpful!!!

  • How to allow, user to enter the free text in smart forms and Drop Down list

    Hi Experts,
    How to provide the user to enter text in smart forms? ie Once the smartform generated, there the user allowed to enter text.
    And also is there any option to provide Dropdown list  in smart forms.
    Possible give with example with clear idea.
    Its very urgent!!!!
    Thanks in Advance!!!

    Hi!
    No, there's no way to it, because Smartform is just like a piece of paper, it can't handle any objects, after it is ready.
    It can be printed out/archived/sent on email as an attachment and that's all. It cannot be modified after it is completed.
    Regards
    Tamá

  • Smart form ..{Record should get the color}

    Hi,
    good day guys
    Thank you for supporting me. I got a prob in smart form. Ive dev the smart form and dev the custom programme for that form.
    my final itab got items with subtotal. Just iam passing the final itab to smart form. there iam using directly.
    my requirement is i need to get the all sub tottal records should be yellow color.... how to make it? subtotal will be come end of the item. ive 8 iteams.. its like a
    my final itab data
    Items
    A           10
    A           10
    A           10
    Subtot    30         "should be yellow color
    B            10
    B            10
    b            10
    subtot     30     " should be yellow color
    Thank you
    Edited by: balaji kiran on Feb 22, 2010 8:22 AM

    Hi,
    Thank you for reply.
    I did in different way ,but it doesnt work out
    if &lwa_out-ktgrm_d& = 'subtotal'.
    s2  &lwa_out-ktgrm_d&                            "bold pharagraph format
    else
    s4 &lwa_out-ktgrm_d&                             " normal pharagraph format
    endif.
    plz see and give me advice

  • Dynamic columns in smart form

    Hi All,
    The requirement is to display columns in the form dynamically based on the user input. For example if a country is chosen, each of the states is to come as a column. So based on the country, the no. of states is likely to change. This would call for dynamically changing the no. of columns in the smartform based on the country chosen. Is this possible to achieve in smartforms?
    Regards,
    Divya.

    You cannot have dynamic columns in smartform instead create all the required columns and display them based on the conditions passed from the program.
    Refer the link -
    Re: smartforms - dynamic column of tables
    Regards,
    Amit
    Reward all helpful replies.

Maybe you are looking for

  • New hard drive....how do i use my ipod now?

    My computer recently crashed and I had a new, 80 MB hard drive installed. Prior to the crash, iTunes on my computer and an iPod. My iPod battery is nearly dead and it still has songs on it. I just re-installed iTunes using the disk my iPod came with.

  • You Can't Create A Mail Folder For POP Accounts?

    I can't believe that I am unable to create a folder for a POP email account so that I can file and manage my email on the iPhone 3g! Which rocket scientist at Apple made this decision? What happend to the "manage email on iPhone" Use Case? So, how do

  • Cannot access certain web sites through Airport Extreme Base Station

    I use the old (round) Airport Extreme Base Station (AEBS). Approximately three weeks ago I could no longer connect to americanexpress.com or to Godaddy or their mail servers. About a week ago the Godaddy sites started working again, but the American

  • Photo Booth screen is black afterin stalling Leopard on iMac Intel

    i reinstalled leopard. same problem, black screen on Photo Booth. green light is on next to build in iSight. i can take fotos for chat and video works with skype. since day one photo booth has been a headache but i dont use it much. happy new year fr

  • I can't delete "Front Row".

    I installed "Front Row" then I tried to erase it. I found everything of it (application, preferences, etc.) and I erased them. Now, after a month, when I start my computer, it appear ("Front Row") and I've to close it pressing "esc" key. It doesn't a