Reg scipts n smartforms

Hi All,
Cud u pls let me know
1. the differences between scripts and smartforms..???
2. differences between standard text and text module in smartforms???
3. how do u upload graphics(logos) in smartforms?
Its really very urgent.
Thanx in Advance.

Hi,
1. The Following are the differences :-
a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
(like For the same form u can have one page with Landscape orientation and 2nd page with portrait orientation which is not available with scripts...)
b) It is possible to have a smartform without a main window.
c) Labels cannot be created in smartforms.
d) Routines can be written in smartforms tool.
e) Smartforms generates a function module when activated.
( Here u need to use the function module (thats been generated when u have activated the smart form) to call the smart form in your print program )
f) Here u can give colors to windows , texts , window edges .... which is not possible with scripts !!!
g) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk.
It was said that it was provided in CRM 3.0 version, but not available in R/3. You can download smartforms into Local PC in a XML format. In the same way you can upload this XML format into Smartform. From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment.
In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file
h) The most important one is these smart forms are CLIENT INDEPENDENT
2.  Text module (an encapsulated text) can be reused in several forms, whereas Standard text can be used in any form any number of times by calling its name, once it is released.
3. Use the SE78 T Code to upload graphics .
Hope this resolves your query.
Reward all the helpful answers.
Regards

Similar Messages

  • Reg- windows in smartforms

    Hi,
    1) What is the difference between the copy and final window in smartforms?
    2) What is the difference between at-selection screen output and initialization in reports?
    Points will be rewarded for correct answer.
    Regards
    sathish

    <i>Copies window:</i>
    You use the copies window to define an output area for the print output, whose content you want to appear either only on the copy or only on the original. This allows you to flag copies as copies when the form is printed.
    <i>Final window:</i>
    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.
    Check this link:
    http://help.sap.com/saphelp_nw2004s/helpdata/en/b1/243fe0beee11d4b633006094192fe3/frameset.htm
    <i>AT SELECTION-SCREEN OUTPUT</i>
    This is used to dynamically set the screen field attributes
    <i>initialization</i>
    this is used to set the default values to the scree fields.
    Regards,
    Naimesh Patel

  • Reg forms and smartforms

    Hi All,
    I have a very basic question it's like how did the data will come to the print program of a standard form?They use any select statements inside the driver program?Usually we will trigger the form printing from transactios like VA01,VA02 and all how the data flow between transaction, print program and layout?from print program it will go using write_form fun module i think.
    Thanks&Regards
    Mahesh

    Hi!
    You're right they may use selects in the standard printer programs. However sometimes they are not using select. In the standardd transaction they put the relevant data into ABAP memeory (using EXPORT command), and in the printer program they retrieve it using the IMPORT command.
    But mostly it is not important, where the data come from. You have to copy the standard printer programs and then you only have to modify a few things and not to rewrite everything.
    Regards
    Tamá

  • Smartforms vs scripts

    Hi gurus,
               can u kindly tell me technical differences b/w scipts and smartforms.
    how many MAIN WINDOWS are possible in scripts and smartforms.
    please tell me how to create multiple MAIN WINDOWS.
    Best answers will be rewarded.
    Thanks and Regards,
    vinay

    Hi,
    The Following are the differences :-
    a) Multiple page formats are possible in smartforms which is not the case in SAPScripts
    b) It is possible to have a smartform without a main window .
    c) Labels cannot be created in smartforms.
    d) Routines can be written in smartforms tool.
    e) Smartforms generates a function module when activated.
    f) Unlike sapscripts (RSTXSCRP), you cannot upload/download Smartform to your local harddisk. 
    It was said that it was provided in CRM 3.0 version, but not available in R/3.  You can download smartforms into Local PC in a XML format.  In the same way you can upload this XML format into Smartform.  From the smartform editor itself you can call download option, if you are working in CRM 3.0 environment. 
    In R3 also, you can download into XML format. However, it's not sure about uploading. Refer to the program 'SF_XSF_DEMO'.
    In 4.7 Enterprise, other have seen this utlity which is completey missing in 4.6c. There is functionality to downlaod a complete form or only a particular node. (Utilities -> Download form). It will create a XML file and save it in the hard disk. 
    For others, if you want to download/upload the Smartforms source, you will need the help from the Basis people.  What you can do is to create a Transport and then FTP down to your local harddisk.   When you need the Smartform source in another system, you have FTP up the Smartforms file back to the SAP server.  Finally, the Basis team, will tp it into your system.
    g) The protect and endprotect command in sapscript doesn't work with smartforms. For example on a invoice: First data of position no 80. is printed on page one, other data of position no 80 is printed on page 2. And there's nothing you can do about it.  Actually, there is something you can do about it.  By using a folder node and checking the 'protect' checkbox, everything in that folder will be page protected. 
    Hope this helps.
    Reward if helpful.
    Regards,
    Sipra

  • What is next

    Hello experts,
    we are developing documents in sap scipt and smartforms..
    is there any other option to develop documents..
    thanks,
    raj

    I guess adobe forms will come up.
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/849b3482206353e10000000a11466f/frameset.htm">LINK1</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/43/82538c0c4458bbe10000000a422035/frameset.htm">Simple adobe form</a>
    Regards,
    SaiRam

  • Reg: passing totals /subtotals of a ALV to a smartform

    I have a editable ALV report which has a button to call a smartform . Once the user edits some  fields I need to pass the refreshed total to the smartform.  I want to know - in what structure the totals/subtotals  of the ALV report are stored.

    Banu,
    Even if you figure out how to get the subtotals / totals from a ALV, I would still suggest you to use the features of SMART Forms to calculate the same again in the form.
    http://help.sap.com/saphelp_nw04/helpdata/en/55/610e2db57911d4b62c006094192fe3/content.htm
    So, that way if your form is triggered even without doing the subtotalling done by the user you are on the safer side as the form will still display what you have designed it for.
    Regards,
    Ravi
    Note :Please mark all the helpful answers

  • Reg .. functions used in smartforms

    Hye Friends,
    Im not getting y we use the functions SSF_OPEN AND SSF_CLOSE in smartforms.
    what is the basic defn of both and for what purpose they are used in.
    Many thanks
    Sunny

    Hi
    go through this:
    How to create a New smartfrom, it is having step by step procedure
    http://sap.niraj.tripod.com/id67.html
    Here is the procedure
    1. Create a new smartforms
    Transaction code SMARTFORMS
    Create new smartforms call ZSMART
    2. Define looping process for internal table
    Pages and windows
    First Page -> Header Window (Cursor at First Page then click Edit -> Node -> Create)
    Here, you can specify your title and page numbering
    &SFSY-PAGE& (Page 1) of &SFSY-FORMPAGES(Z4.0)& (Total Page)
    Main windows -> TABLE -> DATA
    In the Loop section, tick Internal table and fill in
    ITAB1 (table in ABAP SMARTFORM calling function) INTO ITAB2
    3. Define table in smartforms
    Global settings :
    Form interface
    Variable name Type assignment Reference type
    ITAB1 TYPE Table Structure
    Global definitions
    Variable name Type assignment Reference type
    ITAB2 TYPE Table Structure
    4. To display the data in the form
    Make used of the Table Painter and declare the Line Type in Tabstrips Table
    e.g. HD_GEN for printing header details,
    IT_GEN for printing data details.
    You have to specify the Line Type in your Text elements in the Tabstrips Output options.
    Tick the New Line and specify the Line Type for outputting the data.
    Declare your output fields in Text elements
    Tabstrips - Output Options
    For different fonts use this Style : IDWTCERTSTYLE
    For Quantity or Amout you can used this variable &GS_ITAB-AMOUNT(12.2)&
    5. Calling SMARTFORMS from your ABAP program
    REPORT ZSMARTFORM.
    Calling SMARTFORMS from your ABAP program.
    Collecting all the table data in your program, and pass once to SMARTFORMS
    SMARTFORMS
    Declare your table type in :-
    Global Settings -> Form Interface
    Global Definintions -> Global Data
    Main Window -> Table -> DATA
    Written by : SAP Hints and Tips on Configuration and ABAP/4 Programming
    http://sapr3.tripod.com
    TABLES: MKPF.
    DATA: FM_NAME TYPE RS38L_FNAM.
    DATA: BEGIN OF INT_MKPF OCCURS 0.
    INCLUDE STRUCTURE MKPF.
    DATA: END OF INT_MKPF.
    SELECT-OPTIONS S_MBLNR FOR MKPF-MBLNR MEMORY ID 001.
    SELECT * FROM MKPF WHERE MBLNR IN S_MBLNR.
    MOVE-CORRESPONDING MKPF TO INT_MKPF.
    APPEND INT_MKPF.
    ENDSELECT.
    At the end of your program.
    Passing data to SMARTFORMS
    call function 'SSF_FUNCTION_MODULE_NAME'
    exporting
    formname = 'ZSMARTFORM'
    VARIANT = ' '
    DIRECT_CALL = ' '
    IMPORTING
    FM_NAME = FM_NAME
    EXCEPTIONS
    NO_FORM = 1
    NO_FUNCTION_MODULE = 2
    OTHERS = 3.
    if sy-subrc <> 0.
    WRITE: / 'ERROR 1'.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    endif.
    call function FM_NAME
    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
    GS_MKPF = INT_MKPF
    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.
    for Smartforms material
    http://www.sap-basis-abap.com/sapsf001.htm
    http://www.sap-press.com/downloads/h955_preview.pdf
    http://www.ossincorp.com/Black_Box/Black_Box_2.htm
    http://www.sap-img.com/smartforms/sap-smart-forms.htm
    http://www.sap-img.com/smartforms/smartform-tutorial.htm
    http://www.sapgenie.com/abap/smartforms.htm
    How to trace smartform
    http://help.sap.com/saphelp_47x200/helpdata/en/49/c3d8a4a05b11d5b6ef006094192fe3/frameset.htm
    http://www.help.sap.com/bp_presmartformsv1500/DOCU/OVIEW_EN.PDF
    http://www.sap-img.com/smartforms/smart-006.htm
    http://www.sap-img.com/smartforms/smartforms-faq-part-two.htm
    Re: Need FAQ's
    check most imp link
    http://www.sapbrain.com/ARTICLES/TECHNICAL/SMARTFORMS/smartforms.html
    step by step good ex link is....
    http://smoschid.tripod.com/How_to_do_things_in_SAP/How_To_Build_SMARTFORMS/How_To_Build_SMARTFORMS.html
    Reward points if useful
    Regards
    Anji

  • Reg smartforms -  creating a new page for each customer number

    Dear friends,
    This is a sample program for smartform.
    Below is my coding ...
    TABLES : KNA1.
    SELECT-OPTIONS : S_KUNNR FOR KNA1-KUNNR.
    TYPES : BEGIN OF ZFS_KNA1,
            KUNNR TYPE KNA1-KUNNR, 
            NAME1 TYPE KNA1-NAME1,
            ORT01 TYPE KNA1-ORT01,
             END OF ZFS_KNA1.
    DATA : ITAB TYPE STANDARD TABLE OF ZFS_KNA1 INITIAL SIZE 0,
           WA TYPE ZFS_KNA1.
    SELECT KUNNR NAME1 ORT01 PSTLZ LAND1 FROM KNA1 INTO TABLE ITAB WHERE KUNNR IN S_KUNNR.
    Now i am having one secondary window (cusotmer number) and main window(name and city).
    I am able display list of cm nos, names and city in one page.
    But i want to display name, city and number of customer in one single page.
    suppose 5 customer numbers are there.....then 5 seperate pages should be displayed.
    pls help me.
    Regards,
    S. Vinod

    Hi,
    In your loop node... you have sort criteria....
    give the fieldname of the customer number KUNNR and check the check box under the begin of sort event...
    An event node is created... under that event  node... create command node for triggering new page and dont forget to tick the checkbox for " not on first page" in the conditions tab....
    and under that you can create text elements to display the data
    regards
    padma

  • Reg: Printing multiple lines of line item in a smartform?

    Hi Experts,
    I have a query regarding printing multliple line items in a smartform. In this form i dont have control on the font size because the client is using some generic type format to print the data in EPSON LQ 590.
    Here this generic type drivers, it has his own default font.
    If i print using the normal EPSON LQ 590 drivers, alignment is perfectly fine. But in generic case its totally different.
    My query is in my item row there are 7 columns. If one of the column exceeds the space which i have assigned for that particular cell, it should go to next line automatically. How should i do this?
    Then there should be a line space between 2 rows of data.  How should i do this?
    Please help me on this.
    Another query is date is getting displayed as 19.07.2009, due to the space problem in that particular cell i need to display as 19.07.09. Please tell me how should i do this also?
    Waiting for the reply.
    Thanks and Regards,
    Abdur Rafique

    Use smartstyles for the same to mke sure it goes into next line. Also you can set space between 2 lrows to one line.
    For the date issue..use the following piece of code...
    DATA: w_date TYPE sy-datum,
                w_char TYPE char8.
    CONCATENATE w_date+6(2) w_date+4(2) w_date+2(2) INTO w_char SEPERATE BY '.'.

  • Reg creation of patterns in smartforms 4.6c

    Hi,
    I know that there is an option to create patterns in the smartforms version 4.7.But is there any way to create the required patterns of our own in smartforms version 4.6c.
    thanks in advance
    regards,
    karthik

    Check this help for the table painter in the Smartforms:
    http://help.sap.com/saphelp_nw70/helpdata/EN/4b/83fb4edf8f11d3969700a0c930660b/frameset.htm
    I am not sure, if the same table painter is available in the 4.6C
    Regards,
    Naimesh Patel

  • Reg : smartform in abap-hr

    hi ,
    In hr-abap we have the smartforms i.e hrforms i got the standard smartform... SAP_PAYSLIP_US ... is this smartform wat we use is same as in abap... smartform or different.. also i need the information related to this smartform SAP_PAYSLIP_US.. and driver program....

    Hi
    RPCEDTX0 is the standard program which takes of Remuneration Statements(payslips) for payroll. It has a include RPCEDSZ9 which can control the form routines of the form which is used as a payslip. However, the selection of form which can be used a payslip is controlled from IMG settings. You can always edit this form using a smartform if you are using SAP_PAYSLIP_US as your payslip.
    Which version of SAP you are working on?
    Regards
    Waz

  • Reg : continous printing in smartforms

    Hi,
         Am doing report for customer discount details in smartforms , if i give customer range  in selection screen
    i.e from 50027 to 50031.
    i will have 5 customers,in which i want print each customer in seperate page continously...
    Regards,
    vino.

    Hi Vinoth,
    If your page layout is same for all the customers then its feasible to use this:
    Right click >> Create>> Flow Logic >> Command .. go to page2
    This u can include in the end of the first page .
    but before this when u finished with printing of the first page see that u set some flag since the
    COmmand node has conditions which trigger the page defined in Go To.
    Hence u can print different customers in one spool request.
    The other option of printing within the loop is also possible but it has one drawback.
    everytime u call the function module for printing it creates new spool request,
    hence if u hav 50 customers u will get 50 spool request which wight be inconvenient to handle in the long run.
    Hope this helps you.
    Best Regards,
    Navin fernandes.

  • Reg smartforms

    Hi all
    atter giving the values in the selection screen, i am generating the output in Smartforms. After coming back to selection screen , i am changing the values in the seletion screen ., But the output of the forms remains same as the previous one.
    What could be the solution?
    Regards
    karthik

    clear the variables and refresh internal table.For going back to selection screen give leave to transaction <tcode>.

  • Reg: Subtotal and final total in smartform?

    Hi Experts,
    I'm working on a smartform where i need to display the line items from lips table.
    This is my final internal table.
    TYPES : BEGIN OF it_final,
              matnr    TYPE lips-matnr,       "Article
              vbeln    TYPE likp-vbeln,       "Delivery Number
              arktx    TYPE lips-arktx,       "Article Description
              vrkme    TYPE lips-vrkme,       "Unit of Measure
              lfimg    TYPE lips-lfimg,       "Delivery Quantity
              kunag    TYPE kunag,            " Sold To
              name     TYPE name1,            " Name
              charg    TYPE lips-charg,       "Batch Number
              vfdat    TYPE lips-vfdat,       "Expiry Date
              lgort    TYPE lips-lgort,       "Storage Location
              matkl    TYPE lips-matkl,       "Merchandise Category
              wgbez    TYPE t023t-wgbez,      "Merchandise Category Desc
              lgpbe    TYPE lips-lgpbe,       "BIN Number
              pikmg(20) TYPE c,               "Picking Quantity
              route    TYPE likp-route,       "Route
           END OF it_final,
    For one material number, there will be many line items, I need to have a subtotal for a particular material and at the end i need afinal total for all the material number.
    I have sorted my internal table as sort it_final ascending by matnr vbeln.
    Then this internal table is moved to smartform.
    In smartform i'm using table to display the complete data. Here i need to segregate into subtotal and total.
    Please help me to display the data in below format.
    For Ex:
    MATNR                    DESC                          QTY                  VBELN
    1000001                  tea                               12                     3500000012
    1000001                  tea                               02                     3500000013
                                              subtotal             14
    1000006                  salt                              01                      3500000013
                                              subtotal             01
    1000008                  sugar                          02                       3500000015
    1000008                  sugar                          02                       3500000012
    1000008                  sugar                          02                       3500000013
    1000008                  sugar                          02                       3500000016
                                              subtotal             08
    Total                                                            23
    Thanks in advance.
    Guys, The data is not getting displayed in Preview properly. Please edit and read it or copy in the notepad and read it.
    Regards,
    Abdur Rafique
    Edited by: abdur rafique on Aug 8, 2009 3:38 PM

    HI,
    for the total it is easy.
    Just calculate the total in a variable just before the table in the smartforms.
    Display the total variable in the FOOTER section of the table.
    To display the subtotal you will have to do i bit of workaround.
    In the table create 2 LINE TYPES.
    The 1st line type will have the four columns to display MATNR DESC QTY VBELN.
    The 2nd line type will be of single column which will be used to display the subtotal.
    In the main section of the table create 2 rows of the above line types.
    In the 1st row display the MATNR DESC QTY VBELN as normal.
    In the 2nd row display the subtotal.
    This should be done as follows:-
    Add one more column in your internal table as follows:-
    MATNR DESC QTY VBELN SUBTOTAL.
    Now you have to do some coding to create your internal table as follows:-
    MATNR DESC  QTY VBELN SUBTOTAL.
    1           test     10    100001
    1           test     10    100002
    1           test     20    100003 40
    2           test2   10    100006 10
    3           test3   50    100009 
    3           test3   60    100010 110
    This internal table should be created before displaying the table in the smartforms.
    Then this internal table should be used in the smartforms.
    The subtotal column should be shown in the 2nd row of the main area of the TABLES.
    Also add a condition to it that it should be shown only when the column SUBTOTAL of the table contains any value.
    So in this way you will be able to achieve your required output.
    i hope you understand my idea.
    regards,
    Ankur Parab

  • Reg smartform background n print prob?

    hi experts
    i have a requiremnt my sf has to run in backgorund mode by default. how to make it ?
    and i have to put a check box on my selection screen for print if the user checked it print should come . how to get this functionality?
    thanks & regards

    Hi Deepu,
    Refer to my post below thread
    Re: smartform into pdf...
    Regards,
    Sravanthi

Maybe you are looking for

  • Need to Restore - HELP Please

    Yesterday my IPOD quit working and I got the sad icon with the ! I managed to get into the disk mode and hooked it up to my laptop and it synched. I used it today and it quit working after about 20 minutes. Will somebody please let me know what to ex

  • Problem in loading the data into Infocube. 3.5 BW

    Performed full load to Infocube but unable to get total records. For example from 1000 records got 990 records. In PSA it shows 1000 records. Request has performed no-errors. Thanks in advance.

  • How to transfer hosting to business catalyst

    Hi I recently transferred a website's hosting with another provider to BC and there was a 'how to' tuition guide in the BC tutorial section. I need to do another transfer for another site but can't find the same tutorial anywhere!! I've searched on G

  • HT1212 even when i connect the ipod to itune... the ipod is not showing to itune...

    even when i connect the ipod to itune it's not showing and even when the ipod says connect to itunes the ipod still can't show up to itune connection...

  • Page Viewer Webpart getting error: This file is already open or in use.

    Management wants to have a Goal Chart to be updated daily with new information without having to get myself involved.  All they want to do is save to a Network location and have SharePoint Intranet site use this location to display. My background is