Smartforms template

Hi Experts.
According to my requirement, I created smart form. But in main window I have to display total amounts. For that I had created template. It's working fine. But now requirement changed. Depending condition I have to display Totals i.e if condition true means I have to display the text& value, If false no need to display those. I have 3 totals like Total val incl. Tax, ZHDD tax, Total val Excl. Tax. I kept the conditions also. It's fine. But when the condition false it's giving space in between Total val incl. Tax, Total val Excl. Tax.But the gap must be avoid,if the condition is false. I tried with text elements but alignment is not coming in proper manner with text elements.
Please help me in this. If problem solved they will be rewarded.

Hi  Swapna,
  I had created style also. But what is the problem is the text must be left aligned& the value must be right aligned. But in a single line it's not accepting the 2 paragraph formats. Even when am using it's displaying the text in 1 line& the value in next line. But the text& value must be displayed in a single line.

Similar Messages

  • How to print multiple Smartform Templates

    Good day Gurus,
    I have 5 Smartform templates combined in one program. During printing if 1 data for each template is available, The pop-up screen also appears 5 times for me to print the templates. My question is how can I print the 5 templates using 1 pop-up screen. What I want is after pressing the PRINT button, all of the templates will automatically print.
    Note that P_V_CONTRACTTYPE varies depending on the template to be used. That's why this procedure appear 5 times also.
    For the controls, these are my inputs.
    - control-no_dialog = ' '.
    - control-preview   = ' '.
    - w_aux-tddest      = 'LP01'.
    determine smartform function module for service request
      call function 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          formname           = p_v_contracttype
        IMPORTING
          fm_name            = lf_fm_name
        EXCEPTIONS
          no_form            = 1
          no_function_module = 2
          others             = 3.
       MESSAGE 'For Multiple Contracts, Only First 10 pages will be displayed.' TYPE 'I'.
      call function lf_fm_name
        EXPORTING
           output_options     = w_aux
           user_settings      = space
           control_parameters = control
          it_noutput          = it_noutput2
          var_lessee_rep      = var_lessee_rep
          var_uses            = var_uses
          var_basic_monthly   = var_basic_monthly
          var_secdep          = var_secdep
          var_lessee_add      = var_lessee_add
          var_other_charge    = var_other_charge
        TABLES
          it_lessee_rep       = it_lessee_rep
          it_noutputrent      = it_noutputrent
          it_uses             = it_uses
          it_basic_monthly    = it_basic_monthly
          it_percentage_rent  = it_percentage_rent
          it_secdep           = it_secdep
          it_noutputrentB     = it_noutputrentB
          it_lessee_add       = it_lessee_add
          it_other_charge     = it_other_charge
          it_noutput          = it_noutput2
           it_adv_rent         = it_adv_rent
        EXCEPTIONS
          formatting_error    = 1
          internal_error      = 2
          send_error          = 3
          user_canceled       = 4
          others              = 5.
    Thanks in advance.

    Use tdnewid in the control parameters to create spool number on each template.

  • Smartform template problem

    HI ALL
    I have problem in smartforms template.
    My Template like this:
    in between columns columns there is a seperate by line this also having border  line.
    01            chemical                      smaple shall as per    
    02            Microbial                      respective specifications
    03          Swap/Raine
    but i want to printed like this
    01                chemical                     
        smaple shall as per    
    02                 Microbial                    respective specifications
    03                 Swap/Raine
    can any body pls tell me .................
    Edited by: leelaprasadakula on Mar 1, 2012 2:42 PM
    Edited by: leelaprasadakula on Mar 1, 2012 2:43 PM
    Edited by: leelaprasadakula on Mar 1, 2012 2:43 PM

    If you want to put image,
    Right Click on template -> choose Create -> graphics.
    In Graphics attribute tab ->
    There is name field.
    Click F4 & choose appropriate Image & fill all Attributes..
    But Here You have to upload image, through SE78.
    Then go to Bitmap image-> Click F5,
    & then upload your Bitmap image (.bmp)..
    Then Follow Above process
    Regards,
    KP

  • Issue with Smartform template

    Hi Guys,
    I want to increase the number of characters in a particular cell of smartform template, i have extended the size of cell but still its taking only fixed number of characters while i am providing the numbers more than fixed as an input . what to do next, can anyone please help me?
    Thanks
    IK

    Dear Khan,
    if you increase the length of cell it will display the data in full length.
    so it should be the problem with the variable / of internal table field problem.
    1. check data in field.
    2. if you have increased length of cell by deleting another cell then check
        line and column in output option of the text for that particular cell.
    3. check If you have given any char. restriction to the variable pass to the cell.
        Ex. &var1(20)& etc.

  • Smartforms - template printing on the wrong page

    Greetings, everyone.
    I've been searching the SAP library and the forum, but haven't come across a solution.
    I created a form in Smartforms, with two pages defined: "first_page" (with the "main" window, 15 cm high, and some secondary windows), and "other_page"
    (with only the main window - 27 cm high).
    Inside the "main" window there are two templates, first is 2,7 cm high, the second 12 cm.
    The problem is that if I set the second template for "currently" vertical alignment, it keeps printing on the "other_page", while it should fit in the "main" window on the "first_page", according to my calculations.
    Setting the vertical alignment to "absolute (from top)" seems to solve the problem, but that's out of the question, since later I will want the second template to be printed in a loop.
    Thanks in advance for the help

    Go through this <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3c5d9ae3-0501-0010-0090-bdfb2d458985">sample</a> you will get an idea on templets.
    Close the thread once your question is answered.
    Regards,
    SaiRam

  • Smartform Template -  Header and Items itab

    All,
    I wanna use template node in smartform as the number of rows should be fixed.
    I have two internal tables one each for header and items.
    I'm not sure how to proceed.
    Help is highly appreciated and rewarded
    Regards,
    Younus

    Younus,
      As per your query you know that no. of header and line items are fixed(total  records ).
    Ex : you have 3 header and 6 item
    Make  template with 9 rows and 1 for heading(column names).
    sales order no   Sales document item     material
    1                         A                               K
                                B                               L
    2                           C                               M
                                 D                               N
    3                            E                               O
                                  F                               P
    while passing data to templat
    when new sales order then only write the orderno else
    item values.
    Don't forget to reward if useful...

  • SmartForms: Template: Box for Single Cell

    Hi all,
    I am using template of one row and two Column, I want to draw a box around for Column(1,1), where don't want to draw any box around Column(1,2).
    Which pattern should i select so that i can achieve this?
    Thanks in advance.

    Make two box one with the border and the other without.
    Sincerely

  • Smartforms template for export forms

    Hi, I am fairly new to the smartforms developement. I am trying to create a few export forms. (such as the dangerous goods declaration form(IMO), statement of origin, etc. ). In stead of starting from scratch, I want to know where I can find all the out of the box standard smartforms I can use as a starting point. Thank you in advance.

    Hi
    These are the standard smartform related to export .
    /SAPSLL/SF_CH_802AZV     :     Export List                          
    /SAPSLL/SF_EU_SAD          :   SAD Export/Transit               
    /SAPSLL/SF_GL_EPL           :   Export Packing List             
    /SAPSLL/SF_US_7525V        :   Shipper's Export Declaration  
    Hope this will help you.
    Rewards Points if useful.
    Regards
    Nikunj Shah

  • Problem with PO smartform display

    Hi All,
    I've developed a Purchase Order Template using Smartform. In NACE I've assignd the smartform name for a new output type. Smartform isworking properly.
    But while executing ME21n transaction I'm not getting my smartform template. In TNAPR table also I'm not able to find my Smartform name for its output type.
    Can any one tell me the reason? And how to rectify this problem?
    Rgds,
    Nithy..

    I am almost a total computer novice and am having what I think is the same problem  Just got my first Apple computer (Macbook Pro).  MSN Hotmail is my email account.  All the events on my 'hotmail' account are now unreadble because they are squished to the left side of the screen and I don't find any instructions as to how to fix this in the system. This problem didn't exist when I first started using my MAC two days ago, but now I'm stuck.  Everything else in my 'hotmail' seems to work fine.  Don't know what Chrome or Firefox is or if there is a cost for them.  Also, have never downloaded a program if any kind.
    My calendar is critically important to me and I don't have a clue as to what to do now.  Hope you can help.
    Thanks.  Linda

  • Smartforms supression

    hai abapers,
            i am doing a smartform template in which i need to supress hostids in the  header area. suppose for a single order there is single host id then that host id should be printed in the header area. otherwise i.e., if there are more than one host ids then it should be printed on the data area. plz give some description + code if u have any. Thank u in advance.

    Hi ateeq,
    belwo links might help you.
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sapgenie.com/abap/smartforms_detail.htm
    http://www.sap-basis-abap.com/sapsf001.htm
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    regards,
    venu.

  • Smart form template size problem!!!

    Hi Experts,
    Now I met a pronlem about smartforms template. the cell in the template is set to 16CM width(which is enough) and height is only 3.5MM.
    and I define the sytle with font is 8pt.
    I input the text for the template and all check is fine. but the text cannot display when i test it. even i change the style font to 6pt, 5pt, 4pt, 3pt, 2pt... the text still cannot display.
    but when i change the template cell from 3.5MM to 4.5MM, it works fine and displayed the text.
    it seems the min hight of temlpate cell should be 4.5MM.
    doed anyone knows it? or give me some offical explanations? Thanks!

    hi,
    maybe you can check the lines per inch in the style. Mostly it is set to 6 lpi.
    Increase to 8.
    Hope it works.
    Gr., Frank

  • ERecruitment - Deleted existing smartform for correspondence

    Issue: Deleted an existing smartform for correspondence activity and configured a new smartform. Configuration changed to reflect this new smartform.
    Whenever, doing activity of candidate selection and assignments - system throwing error message "An internal error occured". SLG1 shows error reflecting the old smartform that was deleted, but this object does not exist anymore!
    Has anyone faced a similar issue? (ERC6.0/EP7/single-instance).
    Thoughts appreciated.

    Well,
    every smartform you used once for a candidate, is logged in hrp5136 or hrp5138 or hrp5143.
    Therefore you must not delete Smartform Template. They have to exist after using ones, because you need to track, what you sent.
    Either you create them again, or you clean up the table entries with a customer based report.
    Regards

  • SmartForm preview in MKT_PL

    Hi experts,
    I have a problem while displaying a marketing brief for campaigns in marketing planner. When I create a campaign and execute the smartform, a completely empty white page is displayed. The same smartform template has been tested in another system, and this is not ocurring.
    Do you know which can be the cause of this error?
    Thanks in advance
    Regards
    Pablo
    Message was edited by: Pablo Oliva Gómez

    Hi Senthil
    Where do you check company code assignment for SmartForms?What is this company code used for?
    To test the SmartForm in another CRM system, I just downloaded it (xml format) from the first system and then uploaded it into the other CRM system.
    Thanks for your answer
    Pablo
    Message was edited by: Pablo Oliva Gómez

  • SmartForm -  No driver pgm exists - how to proceed?

    Colleagues
    I need your advice for a SmartForm design challenge that I have. I have already searched through SDN and all other places but not found any good solution for my problem.
    Background:
    Customer is using Customer Service (CS) in R/3 4.7. We have installed all available SmartForm templates delivered by SAP also including the “Preconfigured SmartForms” that are not part of the standard R/3 installation.
    Now, there are no standard delivered driver programs for Notifications (trans IW51/2/3) and Service orders (trans IW31/2/3). This should have been, in my view, delivered by SAP but I guess it never was time for that. For SAPScript there are delivered standard driver programs for this (example: RIPRSN00 for Service notification and RIPRCT00 for Service orders).
    One might ask – why do you need a “standard driver program”? Answer: I need to attach the driver program in customizing along with the form definition so that the users can use the SmartForm printouts from within the standard transactions. And then, why not convert existing SAPScript standard driver programs? No, no way. That is a LOT of work IMHO. To stay with a SAPScript solution is not an option (of course!). To convert another SmartForm driver program, for instance from billing – RLB_INVOICE, is IMHO also a LOT of work but maybe a “last” solution.
    Question:
    ·     Has anyone faced this situation and how did you solve the problem?
    I know, of course, how to write an ABAP program that can produce the input to a form – there are also numerous examples of that in SDN but I feel that these examples does not solve my problem completely.
    Your comments are much appreciated and points will be given for helpful answers.
    Regards, Johan

    I did this for quality notifications, and i used the SAPSCRIPT driver program. It is not as hard as you might think. The program gets all of the external data from memory, or wherever, then calls the SAPSCRIPT code. It also has all of the code for handling any NAST or other output determination. I simply replaced the sapscript interrface with my smartform interface. Because the SAPSCRIPT version was fairly modularized, it was pretty straightforward.
    The steps were:
    1. Copy the standard SAPSCRIPT version of the code
    2. Remove the SAPSCRIPT related code (open form, etc)
    3. Insert the code to call the smartform

  • Diff. btwn Form Template & Table?

    Hi Guys,
    Wat r the differences between Template and Table(if possible with example)? Pls. list out.
    Thank you.

    In SAP SmartForms, templates (from template node) define the format of the columnar output but they are just structures which can used to set how the columns in the output are placed. Whereas as tables actually contain rows to hold data. The Template contains a fixed number of rows and columns, where the output is fixed. The Table can have variable number of rows
    The application data is selected in the application program and transferred to the form using the form interface. In contrast to the template node, the table node has another tab called the Data tab. On this tab, you enter the internal table whose data is to be output. The data is read to a work area in row format.
    The table layout is determined using row types (this is same for templates).
    A header area (for table headers), main area (for items of the table), and footer area (for whole sums, or similar) are table output areas. Table rows are created as subnodes of these areas.

Maybe you are looking for

  • Can I download from a camcorder directly to iMovie?

    Hi, I am trying to figure out how to download movies directly to iMovie from my camcorder. I have gotten it to the point that it will download directly into iPhoto, and then I copy it to iMovie, but is there some sort of workaround that will allow me

  • Missing hierarchy by downloading DNL_CUST_PROD1

    Hi All, I´m very new to the installation and configuration of a SRM sytem using the self service scenario. So, I have to apologise for my following question.According to this I have to set up a self service scenario with EBP 4.0 and SRM 3.0. So, here

  • Approve Request App on Fiori Wave2 - Error

    Hi, We are trying to use the Approve Request App on Fiori Wave2.A dynamic tile has been created. While trying to launch the app from the Approver id we get a popup saying Failure-Unable to launch App. Steps mentioned in the Approve Request app on SCN

  • Find missing numbers in array

    HI ! I have an array which holds 999 different numbers between 1-1000 (which means that 1 number between 1-1000 does not appear in the array). I need to find the missing number in one pass and it's easy. My question is: Do you have any idea how can I

  • Replica Active Directory server in windows server 2008 R2

    I installed and configured a secondary active directory server in 2008 R2 for fault tolerance as well as backup active directory server what i wanted to know is if  my primary AD goes down??? what changes i need to do my users pc since they are  usin