Smart forms--print total on 1st page...

hi friends...
   i've a smartform...it is related to excise invoice..
   on first page i've summery of  next n pages....getting it..?
   so...on next pages there r several line items...
   i need to print total of 'quantity' n total 'amount' of those on first page...
   i've not tried it..but i am worried it wont execute as my first page is having summery only....
   if u stil dont get my question  pls let me know.......

hey, if u r printing only summary on first page then u cant use the total feature of table in smartforms.
then u can do it by following way :
1) add a program line before the text where u wanted to print total.
2) loop that internal tbale which u will submit to tale in smartforms.
3) get the total of that internal table in loop and assign to one variable and print that variable in TEXT.
Reward some points if useful.
Regards,
Padmakar

Similar Messages

  • Smart Form printing issue in repeate page

    Hi,
    We have one smartfforms printing  some notification details in which Only one page layout is use and it is repeated again  at one block Upper margin is 18.23  and Height is 9.60 CM  on first page it is printing properly  but on second page it is stating at  Upper margin is 18.23   properly but not printing total height it is printing only two rows on second line.
    how to solve it
    the block is a interbal table and it is printing material and qty. of that table if material is more means there are more than 8 material then it is printing only upto 11 rows remaining rows it is not printing.
    regards,
    zafar

    Hi zafar,
    I searched SAP.COM for you:
    [Smart Form Trace|http://help.sap.com/saphelp_nw70/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm]
    Transaction Smart Form Trace, switch on, level 60 Fields. Process smartform. Analyze.
    What is the remaining question?
    Regards,
    Clemens

  • 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

  • Regarding Smart Form Printing

    related to smart form printing :
    I have to print the data using template , but i dont want to fix the line in template ,
    i want to take the data in template , and how much data is accessed that much space
    must be occupied on the page, i dont want to fix the area in template
    Hope you have got me.
    Edited by: rihano7 mansoori on Jul 13, 2011 2:48 PM
    Edited by: rihano7 mansoori on Jul 13, 2011 2:49 PM
    Moderator message: please choose more descriptive subject lines for your posts.
    Edited by: Thomas Zloch on Jul 13, 2011 3:53 PM

    Hi,
    Do you intend to say , that template cell size should vary depending on your data.
    I doubt that is possible.
    You should look for a workaround.
    Why dont you be more specific in your exact requirment, so that an alternate soln can be found.

  • SAP Vendor Master Communication Details for SMART FORM Printing.

    Hi
    Could you please advice Functional module to extract SAP Vendor Master Communication Details for SMART FORM Printing.
    Thanks in Advance.
    Regards
    Ravi

    Hi Ravi,
    I don't know about a function module, but the vendor master table LFA1 has a field ADRNR pointing to the general address table with the fields for e.g. language and to the tables ADR2 for phone numbers, ADR3 for fax numbers and ADR6 for e-mail addresses.
    BR
    Raf

  • Communication Details Vendor Master SMART FORM Printing.

    Hi
    Could you please advice Functional module to extract SAP Vendor Master Communication Details for SMART FORM Printing.
    Thanks in Advance.
    Regards
    Ravi

    Hi,
    class VMD_EI_API_EXTRACT with method GET_DATA could make it.
    There are also some eSOA services that could make it fine. See services starting with Supplier*.
    Otherwise, this is more complicated.
    BR
    Alain

  • Regarding Smart Form Printing, Print Preview issues

    Hi,
    I have couple of issues regarding Smart Form Printing, Print Preview.
    In my program i am passing below parameters to smart form function module:
    t_control-device = c_printer.
    t_control-no_dialog = space.
    t_control-preview = space.
    t_control-no_dialog = c_x.
    t_output-tddest = g_spld.
    t_output-tdimmed = c_x. " Print Immediately
    t_output-tddelete = space. " Don't Release spool after output
    g_user_settings = c_x.
    Issue#1: Though i have set preview paramter to space, after executing program it is prompting for Preview Screen, There again i have to give printer name though i am passing printer name as above and i need to hit on print preview button to set Layout output.
    Here how can i go directly to layout output without preview screen.
    Issue#2: In some cases we need to Print the layout set output after executing program immediately without prompting for preview screen and then Layout set output should also be shown after printing the output.
    How can i solve these issues!
    Thanks in advance.
    Thanks,
    Deep.

    Hi,
    In the SAP menu screen goto <b>System->User Profile->Own data</b>
    There in the defaults tab, for the output device give the value you had maintained for <b>g_spld.</b> This will not prompt you a dialog screen, and if you want to print immediately select the checkbox as well. Then try to execute the smartform. Hope this solves ur issue.
    Tushar

  • Smart form printing same data  in all the 10 pages for tcode va03

    Hi Experts
    with tcode va03 i am taking print preview of sales document when i go for print preview it is showing all the 10 pages
    with line items but when i take print for all 10 pages it is displaying first page data in all the 10 pages
    i had checked with basis consultant regarding print problem it is fine from their part
    what can be the reason
    Thanks & Regards
    anu

    Hi Anu,
    Welcome to SDN.
    In hope your Sales Document Print Preview is a Smartform. So, in the Smartform first page check for the next page assignement. Also, debug your Smartform for any issues with reference to the looping of data.
    Regards,
    Pranav.

  • Print total in last page,

    Hello Everyone
    In PLD i have a requirement whereby if the layout goes into more than a page says 2 pages,then the total should display "Continued in next page" in the 1st page and in the last page(in our case 2nd page) total should print the document total in the same area. How can this be done? How to achieve this if...then...else statement in PLD
    if CurrentPage()!=TotalPages()
    then "Continued in Next page"
    else Doctotal
    Thanks and Regards
    Raghu
    Edited by: Raghu Ram on Apr 7, 2009 12:38 PM

    Dear Raghu,
    If you would like to print certain fields on the last page only,
    'TotalPages()' cannot be used in formula, therefore, please follow the
    Workaround below.
    As a Workaround create the following field:
       Field_Formula
       General Tab
       Untick visible
       Left = 0 / Width = 0 / Top = 0 / Height = 0
       Content Tab
       Source Type: Formula
       SystemString(ContinueNextPageNotice) ==''
    And enter the ID of this field as the "Link to" for the Fields you
    like to print on the last page only.
    For more information please refer to the NOTE 1058584.
    Hope this helps.
    Regards,
    Gagan Thareja
    SAP Business One Forums Team

  • Smart Form - Printing ouput in 2 columns - 2 main windows ?

    Hi All,
    I have a situation here to print the output in 2 column display.
    It has to work like 2 Main windows concept in SAP script.i.e,., Once the first column completes its printing ( reaches to end of page ) the printing should start from the begin of page of second column.
    In other words the 2 columns should work as 2 pages conceptually. But, they will be on same page.
    If this is SAP script I can do very easily by defining second main window and the text once over flows automatically populates to second main window.
    I found that second main window concept wont work the same in Smart Forms. If there is no second main window concepts, why is it allowing me to have more than my main window is a weird thing for me. It is not even throwing an warning while activating.
    Can anyone help me to achieve this 2 column printing? If you are sure that , it wont possible by Smart Forms please let me know that even.
    Thanks a lot in advance.
    Soujanya.K

    Hi All,
    I have a situation here to print the output in 2 column display.
    It has to work like 2 Main windows concept in SAP script.i.e,., Once the first column completes its printing ( reaches to end of page ) the control should start from the begin of page at second column.
    In other words the 2 columns should work as 2 pages conceptually. But, they will be on same page.
    If this is SAP script I can do very easily by defining second main window and the text once over flows automatically populates to second main window.
    I found that second main window concept wont work the same in Smart Forms. If there is no second main window concepts, why is it allowing me to have more than my main window is a weird thing for me. It is not even throwing an warning while activating.
    Can anyone help me to achieve this 2 column printing? If you are sure that , it wont possible by Smart Forms please let me know that even.
    Thanks a lot in advance.
    Soujanya.K

  • Issue Regarding Chinese characters In Smart Form Print preview..

    Hi All,
    I am working on a smart form development for chinese users. The requirement is the user will login using English & when the delivery will be issued for output, a check will be done on the country of user. If that comes as china then the international version (C) maintained for that customer will come as output.
    Now the problem is even if I login using EN or ZH the below issue I am facing always.
    In the database I can view the details in chinese properly by logging in as ZH. During debugging also i checked the data from table ADRC & MAKT is coming in chinese properly. But when i gave the values to be output in SmartForm, it is showing the characters like how it will look if I login using EN & view the table contents.
    When i view the data by changing character set as Simplified Chinese then in table i can see chinese texts properly. But when the same data goes to print preview it shows the chinese characters like as it would appear when character set is Unicode or West European..
    Please help..
    Thanks in advance.
    Edited by: malayanayak123 on Jun 1, 2011 5:48 AM

    Dear,
    print preview and physical printout are two different things.
    PrintPreview:
    The data stream will be sent to the frontend and rendered with windows-fonts etc (for backend prints a simulation).
    Printout:
    Frontend: You need a printer, that maps the character, you have to use SAPWIN or SAPWINCF when using cascading fonts. The rendering will be done in the windows spooler.
    Backend: Your printer needs also a mapping (look like something with UTF8). Also the printer needs the fonts installed because the rendering will be done in the printer!
    If you use the pdf-printer in SAP, you need to upload all necessary fonts (TTF) for the pdf-composer. Also you need a unicode pdf printer for that.
    Regards,
    Christian

  • Smart forms Print preview problem

    Hi
    Experts,
    I am working in CRM2007. I am creating number of different type Smart forms for our client requirement. All Smart Forms working fine in WEB GUI. In Web GUI there have two buttons; one is print buttons and another one is Print Preview buttons.  When we press print buttons it is directly go to printer for printing service order or service invoice or sales order or sales invoice whatever user is selected. Means working fine print buttons. And in case when we press print preview button it is open selected forms in PDF format; it is also work fine in our desire. But problem is here PDF format front size; which is very small. And after looking the PDF format if we select for print out of this PDF form; the print out orientation is Landscape and front size is very small. Now my question to all of experts u2026u2026u2026.How I change PDF front size and orientation? u2026u2026u2026u2026u2026u2026any type of BSP Enhancement or functional setting is required? Please Experts help meu2026u2026u2026u2026u2026u2026u2026u2026..
    Regards
    Tarapada  D.

    please CRM Experts give me some answer!!!!!!!!!!!!!!!

  • 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

  • Alv List  print printer information in 1st page

    Hi,
    At the time of alv list printing the following information is printed on 1st page. How to avoid this information when printing.
    INITSTRING
    Start r_3-Prolog
    Drucker :  Wipro EX-330+DX
    System :   RAP (reprdfo)
    User :        11BO
    End  r_3-Prolog
    Thanks in advance.

    Hi GoldMoon,
    (edit) Print another basic ABAP list (print anything else) on the same printer to see if that first page is printed. If yes, it's probably either SAP, OS, or Print Server cover page. They are explained in "cover page" SDN wiki, there are explanations how the cover page can be output (and so you can deduce how to remove it).
    Best regards,
    Sandra
    Edited by: Sandra Rossi, 5 minutes later

  • Sap smart form printing error

    hi!
    I am trying to print one smart from through print program.
    the name of smart form is ztestform.
    and the name of the function module is /1BCDWB/SF00000099
    I am writing following print program.
    REPORT  ZSMARTFORM.
    data fname(30).
    CALL FUNCTION '/1BCDWB/SF00000099'
    EXPORTING
    formname = 'ztestform'
    IMPORTING
    fm_name = fname.
    call function fname.
    and it returns with the error " function parameter form name is unknown"
    so what should i do?
    points will be awarded.
    Cheers
    Troy.

    Hi Troy,
               Use FM  SSF_FUNCTION_MODULE_NAME.
    pass smartform name . it will give u SF function name. u call that fm.
    Please refer this code :
    data  : p_form type TDSFNAME.
           CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
        EXPORTING
          FORMNAME                 = P_FORM
      VARIANT                  = ' '
      DIRECT_CALL              = ' '
       IMPORTING
         FM_NAME                  = P_FUNCTION
       EXCEPTIONS
         NO_FORM                  = 1
         NO_FUNCTION_MODULE       = 2
         OTHERS                   = 3
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CALL FUNCTION P_FUNCTION
    EXPORTING
      ARCHIVE_INDEX              =
      ARCHIVE_INDEX_TAB          =
      ARCHIVE_PARAMETERS         =
      CONTROL_PARAMETERS         =
      MAIL_APPL_OBJ              =
      MAIL_RECIPIENT             =
      MAIL_SENDER                =
      OUTPUT_OPTIONS             =
      USER_SETTINGS              = 'X'
    IMPORTING
      DOCUMENT_OUTPUT_INFO       =
      JOB_OUTPUT_INFO            =
      JOB_OUTPUT_OPTIONS         =
        TABLES
          D_VBRK                     = IT_VBRK
          D_VBRP                     = IT_VBRP
          D_LIKP                     = IT_LIKP
       EXCEPTIONS
         FORMATTING_ERROR           = 1
         INTERNAL_ERROR             = 2
         SEND_ERROR                 = 3
         USER_CANCELED              = 4
         OTHERS                     = 5
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    Reward points if helpful.
    Regards,
    Hemant

Maybe you are looking for

  • Audio out of sync with video in timeline SOLVED

    The audio and video are in sync when playing .MP4 video (but may apply to other video files) in the Premiere Pro viewer and Windows Media Player and VLC however, as soon as you drag the clip into the timeline it goes out of sync. Since it took so muc

  • How to do a count on one column with a group by on another column

    Hello there I have one report that I need to generate. On that report there are several measure columns. Column A is number of calls, column B is type of calls.. Now I need a new column which is column C, and C need to be a count (A) group by B.. I k

  • Moving iphone to new pc

    I have an iphone 4 and got a new computer...i did not remember to deauthorize the old PC and wiped the hard drive... when i plug in the iphone to the new machine I get a warning that the phone is sync'd to another PC and everything will be replaced b

  • Enter matrix coordinates into GUI text fields

    Hello, I have a GUI with an extra panel that appears with a molecule. I have managed to use the mouse to rotate the molecule. It is also used to get the coordinate values of the molecule as it is moved and print them onto my DOS screen. I have set up

  • Bug with h:messages and client state saving?

    I have an application that uses <h:messages ...> to display validation/conversion errors on the page. I find that when I use "client" for my javax.faces.STATE_SAVING_METHOD, the messages completely destroy the display of the web page - HTML seems to