Forms Background (URGENT)

I am trying to figure out how to put a background in the forms applet window
there is a background parameter in the formsweb.cfg but it is not displaying the gif
Please help ASAP

Hi,
if you would start the forms application using the static html method the background image would be searched for in the directory that holds the html file. For the cgi methoud you can either try setting the gif file in the same directory as the ifcgi60 executable, but better is to specify a virtual path to the directory holding the background gif file and have your webserver map this virtual directory holding the gif file.
e.g.
background=/images/background.gif
Kind regards,
Frank van der Borden
Oracle Support Services
Netherlands

Similar Messages

  • Smart forms background logo

    Hi
    Please clarify me regarding smart forms background logo. I'm trying to migrate sap script into smart forms, for the background logo in smart form is it required to write ABAP code, please let me know?
    2) Is it possible for background pictures in script? Is there any document regarding logo/pictures in sap script or smartforms? is there standard forms like purchase order etc., in smart forms? Please correct me If i'm wrong...
    Regards
    sree reddy

    Hi
    Background LOGOS are possible only in smartforms not in Scripts
    see the logo printing for Scripts and Smartforms and the important smartforms and scripts with their programs
                   SAP SCRIPT
    To create a logo in SAP printouts just do the following
    1. Save a Logo using Imaging, Paint shop Pro or Corel Draw as Tiff file.
    2. Run  program RSTXLDMC and enter the following parameters
       Enter file name                     C:\COMPLOGO.TIF
       UOM                           CM
        Line width for text                132
        Text name                     ZHEX-MACRO-COMPLOGO
        Text ID                          ST
        Text language = E
        Number of Tiff gray levels (2,4,9) 2
    3.  Then Create a new window 'COMP' with attributes;
    Window COMP description Company Logo
    Left margin 7.00 CH window width 10.00 CH
    Upper margin LN window height 8.00 LN
    Finally in the text element, mention
            /: INCLUDE 'ZHEX-MACRO-COMPLOGO' OBJECT TEXT ID ST LANGUAGE 'E'.
    Please note that if object name is not indicated as 'ZHEX...’ the logo may not be printed!
    You will not be able to see the logo in a test print. The same will be printed in actual printout.
                          SMARTFORM
    1)     In Smart Forms Editor, In left pane, right Click any Page (say Page1) and select Create -> Window, Give it a name and Description (Say Window1)
    2) Right Click on Window (Window 1) and select Create -> Graphics, Give it a name and description
    3) In general Attributes, Select Name, get search help (F4) , you will find a list of pictures
    4) Select any picture and set its Resolution in DPI
    5) Press F9 to open Smart Forms Builder, Select window (Window1) and In Output options window set, size and   position of the Logo
    6) Set any other parameters if required, save and activate.
    7) If there is only 1 Window in the forms, set it as Main Window in general attributes.
    8) Use  TCode SE78 to upload new pictures and logos.
    look at Thread Dynamic Graph in smartforms
    Refer the links also -
    Re: Dinamic Graph in smartforms
    How to get file perperties in Unix server
    SD
    SALES ORDER/ENQUIRY/QUOTATION
    Output type         : BA00
    ScriptForm Name     : RVORDER01
    Driver Program Name : RVADOR01
    smartform name
    DELIVERY NOTE
    Output type         : LD00
    ScriptForm Name     : RVDELNOTE
    Driver Program Name : RVADDN01
    smartform name      : LE_SHP_DELNOTE
    Smartform Driver Pgm: RLE_DELNOTE
    INVOICE
    Output type         : RD00
    ScriptForm Name     : RVINVOICE01
    Driver Program Name : RVADIN01
    smartform name      : LB_BIL_INVOICE
    Smartform Driver Pgm: RLB_INVOICE
    MM
    PUCHASE ORDER/RFQ/CONTRACT
    Output type         : NEU
    ScriptForm Name     : MEDRUCK
    Driver Program Name : SAPMF06P
    smartform name      : /SMB40/MMPO_L
    smartform driver program: /SMB40/FM06P
    GOODS RECEIPT
    Output type         : WE01
    ScriptForm Name     : WESCHEINVERS1
    smartform name      : /SMB40/MMGR1_A
    smartform driver program: /SMB40/M07DR
    GOODS ISSUE
    Output type         : WA01
    ScriptForm Name     : WA_SCHEINVERS1
    smartform name      : /SMB40/MMGI1_A
    smartform driver program: /SMB40/M07DR
    FI Forms
    Account Statement   : F140_ACC_STAT_01
    Cheque Printing     : F110_PRENUM_CHEK
    Balance Confirmation: F130_confirm_01
    Dunning Form:         F150_DUNN_01
    check the link below it provides steps to convert sap scripts to smartforms
    http://www.ficoexpertonline.com/downloads/Iyer_SmartForms.pdf
    SMARTFORMS -Driver Program
    PO: /SMB40/FM06P
    SO: /SMB40/RVADOR01
    GR: /SMB40/M07DR
    Reward if useful
    regards
    Anji

  • How to use an image as my form background in form central

    how to use an image as my form background in form central pls help me....

    Unfortunately this is not supported but you can submit a feature request on this form FormsCentral Ideas.

  • How to restrict key board function keys ex:-F10 in forms 6i.urgent plz..

    how to restrict key board function keys ex:-F10 in forms 6i.urgent plz..

    Hi,
    At Form level, write trigger for WHEN_KEY_DOWN, check for F10 and put action as NULL.
    Regards,
    Amol

  • How to restrict fuction keys ex:-F10 in forms 6i.urgent plz..

    how to restrict fuction keys ex:-F10 in forms 6i.urgent plz..

    If F10 is the Save button, than just simply program key-commit as:
    begin
      null;
    end;BTW: never say URGENT here on the forum. It is considered very impolite!

  • Closing the Forms Background Page closes the Java-Window as well

    Hi,
    we are running Forms 10g and start the Applet in an separate window. This cannot be changed, because otherwise we lose some size of the Window and the Look and Feel is to different as with Client-Server mode.
    If a User closes the Background-Window or starts a different URL in the Background-Window, the Java Applet is closed directly without any warning.
    This isn't nice for the Users, but they have to live with it.
    But if I'm running a couple of Forms-Sessions in the Applet maybe with Database-Locks as well, and somebody closes the BG-Window, those Forms-Sessions (frmweb.exe) keep running for ~ 5-10 Minutes and the Locks are kept as well.
    Is this behaviour intentional or can it be changed ?
    Any comments are welcome.
    Mark

    Hi Craig,
    in principle I agree that it might be a training issue, but ...
    the default setup for the IE at this customer-site is that Links don't open in a new window. We may change that, but who knows.
    With this setting, the following happens quite normally.
    Forms is started which leeds to the "Background-Window" and the Java-Applet.
    If i minimize all windows and start f.e. Citrix or any other URL-Link, that link is opened in the Background-Window and the Forms-Java-Applet dies.
    In theory this can be avoided by training, but I do not agree, that it is a reasonable behaviour to check all open windows before I start a new URL.
    It just doesn't make sense in my opinion. It might be difficult to solve, but it still doesn't make sense.
    But we've found a solution ourself at least for the accidential closing of the Backgrund-Window :
    In formswegh.cfg we had a line like :
    =======
    HTMLbeforeForm=<_p align=center><_b>nicht schliessen</_b></_p><_p align=center><_b>sonst wird die</_b></_p><_p align=center><_b>Anwendung abgebrochen !</_b></_p>"
    =======
    we added an onBeforeUnload so that it looks like :
    =======
    HTMLbeforeForm=<_BODY onBeforeUnload="return ' Achtung Anwendung wird geschlossen !'"><_p align=center><_b>nicht schliessen</_b></_p><_p align=center><_b>sonst wird die</_b></_p><_p align=center><_b>Anwendung abgebrochen !</_b></_p>
    =======
    This leads to an "Is it OK"-question as soon as the BG-Windows is closed or another URL is called. This prohibits the Users of accident closing. If they still do it, it's their fault and than it is a training question.
    Thanks for your input and maybe this help some others as well.
    Mark
    P.S.
    the underlines before the p's and b's need to be deleted. Just because they are interpreted as HTML otherwise

  • Fonts in Forms 6i - URGENT!

    Good day to you all
    I am urgently seeking help. I am using Redhat Linux 9, I have Oracle Database 9i running and have just installed Forms and reports 6i.
    My issue is that I don't know where to adjust the font family and size when I run a form application (f60runm).
    Please help, this is extremely urgent
    Many thanks.
    William

    William,
    check this one - should be similar
    uifont.ali? Tk2Motif? Which adjusts the fonts
    Frank

  • Smart form background logo.

    Hi experts,
    i am facing a problem with smart form to view our company logo at back ground of my out put,
    i can do it as alogo in form but where as in background it was not getting and could u please help in this regard,
    i had done through OAER , but i think i need to configure in  SPRO so kindly help through this.

    Hi,
    Go to SE78 picture editor and upload a picture. Then go to window in smartform and select background picture tab and give the name of your logo or picture in object field which you defined in SE78.
    Your image should be of BMAP type
    Regards,
    Amit.
    Please reward any help
    Message was edited by: amit bhadauria

  • View BLOB content through Forms 6i URGENT... URGENT...

    I have a table which stores word documents as BLOB. My database is on UNIX machine and I access the database through a Citrix machine through Oracle Forms. My client wishes to open the word document in Forms which is stored in BLOB in the database. My database version is 9.2 which supports me to import and export files from file system to BLOB and vice versa using DBMS_BLOB and UTL_FILE packages. But, my only concern is regarding opening the word document through Forms 6i. Is that possible through OLE or any other means? I've tried all the sources. I know I can do it using Webutil, but it will not work for Forms 6i. Please help me in this regard. I have an urgent release tonight. Please. Please. Please. Please help me. Thanks in advance.

    I know that OLE can solve the problem. But issues is my word document is stored as BLOB in the database. My database is in UNIX. So, I can't export my files into UNIX and open them. I can't view them either from Forms. Please let me know if you have any alternative. Please can you guide me with step by step procedure as to how this can be done if we can do it using OLE.

  • Regarding smart forms (really urgent)

    hi,
    i am new to smartforms and i got report to make changes in the smart forms,plzz help me out as i know nothing about the smart forms by providing me it in easiest & simplest form.
    if find useful help will be deifnately rewarded.
    Edited by: ric .s on Mar 6, 2008 5:16 AM

    Hi,
    This Smartform Information I read, really helped me out.
    I think it would be of some good help to you too..
    What is SAP Smart Forms?
    SAP Smart Forms is introduced in SAP Basis Release 4.6C as the tool for creating and maintaining forms. 
    SAP Smart Forms allow you to execute simple modifications to the form and in the form logic by using simple graphical tools; in 90% of all cases, this won't include any programming effort. Thus, a power user without any programming knowledge can  configure forms with data from an SAP System for the relevant business processes.
    To print a form, you need a program for data retrieval and a Smart Form that contains the entire from logic. As data retrieval and form logic are separated, you must only adapt the Smart Form if changes to the form logic are necessary. The application program passes the data via a function module interface to the Smart Form. When activating the Smart Form, the system automatically generates a function module. At runtime, the system processes this function module.
    You can insert static and dynamic tables. This includes line feeds in individual table cells, triggering events for table headings and subtotals, and sorting data before output.
    You can check individual nodes as well as the entire form and find any existing errors in the tree structure. The data flow analysis checks whether all fields (variables) have a defined value at the moment they are displayed.
    SAP Smart Forms allow you to include graphics, which you can display either as part of the form or as background graphics. You use background graphics to copy the layout of an existing (scanned) form or to lend forms a company-specific look. During printout, you can suppress the background graphic, if desired.
    SAP Smart Forms also support postage optimizing.
    Also read SAP Note No. 168368 - Smart Forms: New form tool in Release 4.6C
    What Transaction to start SAP Smart Forms?
    Execute transaction SMARTFORMS to start SAP Smart Forms.
    Key Benefits of SAP Smart Forms:
    SAP Smart Forms allows you to reduce considerably the implementation costs of mySAP.com solutions since forms can be adjusted in minimum time. 
    You design a form using the graphical Form Painter and the graphical Table Painter. The form logic is represented by a hierarchy structure (tree structure) that consists of individual nodes, such as nodes for global settings, nodes for texts, nodes for output tables, or nodes for graphics.
    To make changes, use Drag & Drop, Copy & Paste, and select different attributes.
    These actions do not include writing of coding lines or using a Script language.
    Using your form description maintained in the Form Builder, Smart Forms generates a function module that encapsulates layout, content and form logic. So you do not need a group of function modules to print a form, but only one. 
    For Web publishing, the system provides a generated XML output of the processed form.
    Smart Forms provides a data stream called XML for Smart Forms (XSF) to allow the use of 3rd party printing tools. XSF passes form content from R/3 to an external product without passing any layout information about the Smart Form.
    Advantages of SAP Smart Forms
    1. The adaption of forms is supported to a large extent by graphic tools for layout and logic, so that no programming knowledge is necessary (at least 90% of all adjustments). Therefore, power user forms can also make configurations for your business processes with data from an SAP system. Consultants are only required in special cases.
    2. Displaying table structures (dynamic framing of texts)
    3. Output of background graphics, for form design in particular the use of templates which were scanned.
    4. Colored output of texts
    5. User-friendly and integrated Form Painter for the graphical design of forms
    6. Graphical Table Painter for drawing tables
    7. Reusing Font and paragraph formats in forms (Smart Styles)
    8. Data interface in XML format (XML for Smart Forms, in short XSF)
    9. Form translation is supported by standard translation tools
    10. Flexible reuse of text modules
    11. HTML output of forms (Basis release 6.10)
    12. Interactive Web forms with input fields, pushbuttons, radio buttons, etc. (Basis-Release 6.10)
    A Simple Smartform Tutorial 
    SAP Smartforms can be used for creating and maintaining forms for mass printing in SAP Systems. The output medium for Smartforms support printer, fax, e-mail, or the Internet (by using the generated XML output). 
    According to SAP, you need neither have any programming knowledge nor use a Script language to adapt standard forms. However, basic ABAP programming skills are required only in special cases (for example, to call a function module you created or for complex and extensive conditions). 
    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.
    Additional Fonts for your SMARTFORMS 
    You can create additional fonts and style with transaction SMARTSTYLES
    This can then be define in the paragraph and character formats, which you can then be assign to texts and fields in the Smart Form. 
    The character formats includes effects such as superscript, subscript, barcode and font attributes.
    Difference with SMARTFORMS vs. SapScript(SE71)
    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.
    FAQ on Migrating SAPscript to SmartForms
    Is it possible to migrate a SAPscript form to a Smart Form? 
    Smart Forms provides a migration tool for this purpose which migrates layout and texts of a SAPscript form to a Smart Form. It does not migrate SAPscript form logic of the print program. Using Smart Forms, this logic is described by the tree structure of the Form Builder. The effort involved in migrating it depends on the complexity of the print program. 
    Which Basis Release do I need to use SAP Smart Forms? 
    SAP Smart Forms is available as of R/3 Basis Release 4.6C. 
    I have heard that Smart Forms replaces SAPscript. What does "replace" mean? 
    It does not mean that SAPscript is removed from the Basis shipment. Even as of Basis Release 4.6C, SAPscript remains part of the SAP standard and there are no plans to remove it. Since Smart Forms is currently, and will continue to be, the tool for form maintenance for mySAP.com solutions, our further development efforts will focus on Smart Forms, not on SAPscript.
    Do we have to migrate all SAPscript forms to Smart Forms? 
    There is no point in migrating all SAPscript forms already in use. Since SAPscript can still be used and will be available in the future, there is no need to. If you plan to migrate a SAPscript form, it is recommended that you check whether benefit is worth the effort involved
    Conversion of SAPSCRIPT to SMARTFORMS
    SAP provides a conversion for SAPscript documents to SMARTforms.
    This is basically a function module, called FB_MIGRATE_FORM. You can  start this function module by hand (via SE37), or create a small ABAP which migrates all SAPscript forms automatically.
    You can also do this one-by-one in transaction SMARTFORMS, under 
    Utilities -> Migrate SAPscript form.
    You could also write a small batch program calling transaction SMARTFORMS and running the migration tool.
    SmartForms System Fields
    Within a form you can use the field string SFSY with its system fields. During form processing  the system replaces these fields with the corresponding values. The field values come from the  SAP System or are results of the processing.
    System fields of Smart Forms
    &SFSY-DATE& 
    Displays the date. You determine the display format in the user master record.
    &SFSY-TIME& 
    Displays the time of day in the form HH:MM:SS.
    &SFSY-PAGE& 
    Inserts the number of the current print page into the text. You determine the  format of the page number (for example, Arabic, numeric) in the page node. 
    &SFSY-FORMPAGES& 
    Displays the total number of pages for the currently processed form. This  allows you to include texts such as'Page x of y' into your output. 
    &SFSY-JOBPAGES& 
    Contains the total page number of all forms in the currently processed print  request. 
    &SFSY-WINDOWNAME& 
    Contains the name of the current window (string in the Window field)
    &SFSY-PAGENAME& 
    Contains the name of the current page (string in the Page field)
    &SFSY-PAGEBREAK& 
    Is set to 'X' after a page break (either automatic [Page 7] or  command-controlled [Page 46])
    &SFSY-MAINEND& 
    Is set as soon as processing of the main window on the current page ends
    &SFSY-EXCEPTION&
    Contains the name of the raised exception. You must trigger your own  exceptions, which you defined in the form interface, using the user_exception macro (syntax:  user_exception <exception name >).
    Example Forms Available in Standard SAP R/3
    SF_EXAMPLE_01 
    Simple example; invoice with table output of flight booking for one customer
    SF_EXAMPLE_02 
    Similar to SF_EXAMPLE_01 but with subtotals
    SF_EXAMPLE_03 
    Similar to SF_EXAMPLE_02, whereby several customers are selected in the application program; the  form is called for each customer and all form outputs are included in an output request
    Smart forms Frequently Asked Questions
    Forcing a page break within table loop
    Create a loop around the table. Put a Command node before the table in the loop that forces a NEWPAGE on whatever condition you want. Then only loop through a subset of the internal table (based on the conditions in the Command node) of the elements in the Table node. 
    Font style and Font size
    Goto Transaction SMARTSTYLES. 
    There you can create Paragraph formats etc just like in sapscript. 
    Then in your window under OUTPUT OPTIONS you include this SMARTSTYLE and use the Paragraph and character formats. 
    Line in Smartform
    Either you can use a window that takes up the width of your page and only has a height of 1 mm. 
    Then you put a frame around it (in window output options). 
    Thus you have drawn a box but it looks like a line. 
    Or you can just draw "__" accross the page and play with the fonts so that it joins each UNDER_SCORE. 
    Difference between 'forminterface' and 'global definitions' in global settings of smart forms
    The Difference is as follows. 
    To put it very simply: 
    Form Interface is where you declare what must be passed in and out of the smartform (in from the print program to the smartform and out from the smartform to the print program). 
    Global defs. is where you declare data to be used within the smartform on a global scope. 
    ie: anything you declare here can be used in any other node in the form. 
    Smartforms function module name 
    Once you have activated the smartform, go to the environment -> function module name. There you can get the name of funtion module name. 
    The key thing is the program that calls it. for instance, the invoice SMARTFORM LB_BIL_INVOICE is ran by the program RLB_INVOICE. 
    This program uses another FM to determine the name of the FM to use itself. The key thing is that when it calls this FM (using a variable to store the actual name), that the parameters match the paramters in your smartform.
    Another thing to note is that the FM name will change wherever the SF is transported to. 
    So you need to use the FM to determine the name of the SF. 
    Here is the code that can be use to determine the internal name of the function module: 
    Code: 
        if sf_label(1) <> '/'.    " need to resolve by name 
          move sf_label to externalname. 
          call function 'SSF_FUNCTION_MODULE_NAME' 
               exporting 
                    formname           = externalname 
               importing 
                    fm_name            = internalname 
               exceptions 
                    no_form            = 1 
                    no_function_module = 2 
                    others             = 3. 
          if sy-subrc <> 0. 
            message 'e427'. 
          endif. 
          move internalname to sf_label. 
        endif. 
    It checks to see if the sf_label starts with a '/', which is how the internal names start. if it does, the name has already been converted. If not, it calls the FM and converts the name. 
    You would then CALL FUNCTION sf_label.
    Smartforms FAQ Part Two
    Smartforms output difference
    Problem with Smartforms: in a certain form for two differently configured printers, there seem to be a difference in the output of characters per inch (the distance between characters which gives a layout problem - text in two lines instead of one.                                      It happens when the two printers having different Printer Controls' if you go to SPAD Menu (Spool Administrator Menu) you can see the difference in the Printer Control and if you make the Printer control setting for both the printers as same. then it will be ok. and also u have to check what is the device type used for both the output devices. 
      SmartForms Output to PDF
    There is a way to download smartform in PDF format.
    Please do the following:
    1. Print the smartform to the spool.
    2. Note the spool number.
    3. Download a PDF file (Acrobat Reader) version of the spool by running Program RSTXPDFT4 and entering the noted spool number.
      SmartForm Doublesided printing question  Your customer wants your PO SmartForm to be able to print "Terms and Conditinos" on the back side of each page. They don't want to purchase pre-printed forms with the company's logo on the front and terms & conditions on the back. Now this presents an interesting problem. 
    Has anyone else ever had a request like this? If for example there was a 3 page PO to be printed,  they want 3 pieces of paper, the front side of each to containe the PO information (page 1, 2, and 3) and the back side of each piece of paper to containg the static "Terms & Conditions" information. 
    Anyone have a clue how to force this out? 
    Easy - page FRONT lists page CONTACTS as next page and CONTACTS lists FRONT as next page. Since CONTACTS does not contain a MAIN window, it will print the contacts info and then continue on to FRONT for the rest of the main items. Additionally, set print mode on FRONT to D (duplex) and set CONTACTS to 'blank' (for both resource name and print mode - this is the only way to get to the back of the page). 
      Transport Smart Forms
    How does one transport SMARTFORM? SE01?  
    How do you make sure that both, the SMARTFORM & it's function module gets transported? Or does the FM with same name gets generated automatically in the transported client? 
    A smartform is transported no differently than any other object. if it is assigned to a development class that is atteched to a transport layer, it will be transported. 
    The definition is transported, and when called, the function module is regenerated. 
    This leads to an interetsing situation. On the new machine, it is very likely the function module name will be different than the name on the source system. Make sure, before you call the function module, you resolve the external name to the internal name using the 'SSF_FUNCTION_MODULE_NAME' function module. 
    Typically, generate the SF, then use the pattern to being in the interface. Then change the call function to use the name you get back from the above function module. 
      Smartforms: protect lines in main window.
    How to protect lines in the main window from splitting between pages? 
    It was easy with SAPscript, but how to do it with SF's.   For 4.7 version if you are using tables, there are two options for protection against line break: 
    - You can protect a line type against page break.
    - You can protect several table lines against page break for output in the main area.
    Protection against page break for line types 
    - Double-click on your table node and choose the Table tab page. 
    - Switch to the detail view by choosing the Details pushbutton. 
    - Set the Protection against page break checkbox in the table for the relevant line type.  Table lines that use this line type are output on one page. 
    Protection against page break for several table lines 
    - Expand the main area of your table node in the navigation tree. 
    - Insert a file node for the table lines to be protected in the main area. 
    - If you have already created table lines in the main area, you can put the lines that you want to protect again page break under the file using Drag&Drop. Otherwise, create the table lines as subnodes of the file. 
    - Choose the Output Options tab page of the file node and set the Page Protection option.   All table lines that are in the file with the Page Protection option set are output on one page. 
    Regards,
    Rohini.

  • Acrobat 8 Pro, change form background

    Hi there,
    We are currently making a lot of interactive forms in Acrobat.
    We design the form in InDesign, and then export as PDF and generate a form on that.
    But sometimes there is a small change in the InDesign file, and we have to create the entire form + all the actions and JavaScripts.
    Is there a way to keep the form layer and just change the PDF background of the file?
    I hope I am making any sense,
    cheers,
    Mark

    Document>Replace Pages...
    Enjoy.

  • Form background

    Hey guys,
    I created a form in DW and added a background image via the
    page properties window. I can view it just fine in the design
    window, however, in preview, the background is missing. Is there an
    extra step to putting a background behind a form, or have I just
    forgotten something that is pretty basic? The web page is:
    www.studiocpromotions.com/eform.html
    Thanks again for all of your help.

    The only reference to a image I can see is in your styles for
    this bg image,
    body {
    background-image:
    url(/backgrounds1/bg_with_menu_detail.gif);
    background-color: #031F51;
    background-repeat: no-repeat;
    background: center top;
    for the body of the page which is not there and this one in a
    table above
    the form <img src="transparent.gif"
    not sure where the one your talking about would be.
    Dave
    "studio nut" <[email protected]> wrote in
    message
    news:er9mru$4gt$[email protected]..
    > Hey guys,
    > I created a form in DW and added a background image via
    the page
    properties
    > window. I can view it just fine in the design window,
    however, in preview,
    the
    > background is missing. Is there an extra step to putting
    a background
    behind a
    > form, or have I just forgotten something that is pretty
    basic? The web
    page is:
    > www.studiocpromotions.com/eform.html
    >
    > Thanks again for all of your help.
    >

  • Windows form background image refresh.

    Hi, I am assigning a different background image to the windows control.  The update does not seem to have any effect after the assignment.  Even after refresh or form invalidate statement.  Any aideas?  I am using vb 2010

    Hi, I am assigning a different background image to the windows control.  The update does not seem to have any effect after the assignment.  Even after refresh or form invalidate statement.  Any aideas?  I am using vb 2010
    Which windows control? Is this a WPF project or Windows.Forms project or something else? Unless the image is being drawn then Refresh or Invalidate should not be required.
    Windows.Forms PictureBox.
    PictureBox1.BackgroundImageLayout = Stretch (or whatever precedes stretch too).
    PictureBox1.BackgroundImage = (a bitmap or Image.FromFile("Some path/Some filename.File extension") or something similar).
    or
    PictureBox1.Image = (like the above but the PictureBox probably needs to be sized to the size of the image first or not).
    As
    tommytwotrain says you're making us guess and wasting our time because you don't provide enough information on what your code is doing. Even if you describe it that doesn't mean the code is written correctly.
    La vida loca

  • Password expirtation in Oracle 8i and Forms 6i - URGENT please.

    Hi,
    We are trying to implement password security features available in Oracle 8i.
    We created the profile, and assigned it to a user. The user's password will expire soon.
    If I login as that user to through SQL+, user gets an ORA-28001 error message "the account will expire soon, change your password now" and is able to login to the database still. However if I try to logon as that user through Forms Builder or Forms runtime, the same error message comes up, but the user does not get connected. The Logon screen stays there and the user can not do anything. How can we make it work the same was as it does in SQL+? (To give the error and still allow the user to log in to the database so that they can change their password).
    Thank you very much for any help.

    hI,
    I have the problem backward!
    I created a profile then assigned it to the user, then I launched the apps thr the browser, it worked prompting the message "...password will expire in 3 days..."
    Now I reassigned the Default profile back to the user which does not expire the password, launched the apps again it still prompted that password warning message! I even deleted the profile that was first created, still got the warning.
    I tried to do it alter user in SqlPlus but not able to connect to database using the same System account as Sysdba (used to connect in Enterprise Console successfully), received error :Insufficient Privileges.
    What is wrong ? Thanks.
    Win2000,
    DB 9.2.1.0
    9iDS 9.0.2
    Netscape 4.75

  • Help needed to display my form,very urgent

    i have a Main.java to display my tabs, then a PlayerTab.java which contains all the buttons, Create, Update, Delete and View and a CreatePanel.java which contain the form for adding new members.
    The flow is like this when user click on the PlayerTab it will show the 4 buttons.Then when user click on the Create button, i want to show the create panel which contains the form which is inside CreatePanel.java.Then click on other buttons will show other forms. Please teach me how to hide the forms too thanks.
    Main.java
    import java.awt.Color;
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.Image;
    import java.awt.Graphics;
    import java.awt.Toolkit;
    import javax.swing.BorderFactory;
    import javax.swing.ImageIcon;
    import javax.swing.JFrame;
    import javax.swing.JPanel;
    import javax.swing.JTabbedPane;
    public class Main extends JFrame {
         // Constructor
         public Main(){
              setSize(800,600);
              setTitle("S-League Management System");
              setResizable(false);
              setVisible(true);
              Container frame=getContentPane();
              //centralise the screen
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              Dimension frameSize = frame.getSize();
              frame.setLocation((screenSize.width - frameSize.width) / 2,
                   (screenSize.height - frameSize.height) / 2);
              // create new tabbedPane object
              JTabbedPane tabbedPane = new JTabbedPane(){
                   ImageIcon imageIcon = new ImageIcon("");
                   Image image = imageIcon.getImage();
                   public void paintComponent (Graphics g) {
                        g.setColor(new Color(220,220,220));
                        g.fillRect(0,0,800,74);
                        g.drawImage(image, 0, 4, this);
                        super.paintComponent(g);
              //tabbedPane.addTab(" Team Management ", null, new TeamTab());
              tabbedPane.addTab(" Player Registration ",null, new PlayerTab());
              //tabbedPane.setSelectedIndex(1);
              tabbedPane.setBorder(BorderFactory.createEmptyBorder(78,0,0,0));
              frame.add(tabbedPane);
         public static void main(String[] args) {
              Main main = new Main();
              main.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              main.toFront();
              main.show();     
    PlayerTab.java
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    public class PlayerTab extends JPanel implements ActionListener{
         //JPanel mainPanel = new JPanel();
         JButton createbutton = new JButton("Create");
         JButton updateButton = new JButton("Update");
         JButton deleteButton = new JButton("Delete");
         JButton viewButton = new JButton("View");
         public PlayerTab() {
              this.setLayout(null);
              createbutton.setBounds(new Rectangle(10, 16, 79, 27));
              updateButton.setBounds(new Rectangle(10, 64, 79, 27));
              deleteButton.setBounds(new Rectangle(10, 113, 79, 27));
              viewButton.setBounds(new Rectangle(10, 161, 79, 27));
              this.add(createbutton, null);
              createbutton.addActionListener(this);
              this.add(updateButton, null);
              updateButton.addActionListener(this);
              this.add(deleteButton, null);
              deleteButton.addActionListener(this);
              this.add(viewButton, null);
              viewButton.addActionListener(this);
         public void actionPerformed(ActionEvent e)
              String cmd = e.getActionCommand();     
              if ("Create".equals(cmd))     
                   JPanel createPanel = new CreatePanel();
                   createPanel.show();
              }//close of if
         }//close of action perform
    CreatePanel.java
    import java.awt.*;
    import javax.swing.*;
    public class CreatePanel extends JPanel {
         JPanel createPanel = new JPanel();
         JLabel jLabel1 = new JLabel();
         JLabel jLabel2 = new JLabel();
         JLabel jLabel3 = new JLabel();
         JLabel jLabel4 = new JLabel();
         JLabel jLabel5 = new JLabel();
         JLabel jLabel6 = new JLabel();
         JLabel jLabel7 = new JLabel();
         JLabel jLabel8 = new JLabel();
         JLabel jLabel9 = new JLabel();
         JTextField nricNo = new JTextField();
         JTextField name = new JTextField();
         JRadioButton singleRadio = new JRadioButton();
         JRadioButton marriedRadio = new JRadioButton();
         JRadioButton divorcedRadio = new JRadioButton();
         JComboBox position = new JComboBox();
         JComboBox team = new JComboBox();
         JTextField address = new JTextField();
         JTextField salary = new JTextField();
         JTextField contactNo = new JTextField();
         JTextField dob = new JTextField();
         JButton submitButton = new JButton();
         JButton clearButton = new JButton();
         JButton retrieveButton = new JButton();
         public CreatePanel() {
              createPanel.setBounds(new Rectangle(108, 10, 690, 472));
              createPanel.setLayout(null);
              jLabel1.setText("NRIC:");
              jLabel1.setBounds(new Rectangle(14, 6, 41, 17));
              jLabel2.setText("Name:");
              jLabel2.setBounds(new Rectangle(14, 48, 41, 17));
              jLabel3.setText("Address:");
              jLabel3.setBounds(new Rectangle(14, 90, 57, 17));
              jLabel4.setText("Salary:");
              jLabel4.setBounds(new Rectangle(14, 132, 41, 17));
              jLabel5.setText("Contact No:");
              jLabel5.setBounds(new Rectangle(14, 174, 68, 17));
              jLabel6.setText("Marital Status:");
              jLabel6.setBounds(new Rectangle(14, 216, 83, 17));
              jLabel7.setText("Position:");
              jLabel7.setBounds(new Rectangle(14, 258, 58, 17));
              jLabel8.setText("D.O.B:");
              jLabel8.setBounds(new Rectangle(14, 300, 41, 17));
              jLabel9.setText("Team:");
              jLabel9.setBounds(new Rectangle(14, 342, 41, 17));
              nricNo.setText("jTextField1");
              nricNo.setBounds(new Rectangle(101, 3, 63, 21));
              name.setText("jTextField2");
              name.setBounds(new Rectangle(101, 44, 63, 21));
              singleRadio.setSelected(true);
              singleRadio.setText("Single");
              singleRadio.setBounds(new Rectangle(102, 210, 103, 25));
              marriedRadio.setText("Married");
              marriedRadio.setBounds(new Rectangle(221, 210, 103, 25));
              divorcedRadio.setText("Divorced");
              divorcedRadio.setBounds(new Rectangle(340, 210, 103, 25));
              position.setBounds(new Rectangle(102, 256, 128, 24));
              team.setBounds(new Rectangle(102, 337, 128, 24));
              address.setText("jTextField3");
              address.setBounds(new Rectangle(101, 87, 63, 21));
              salary.setText("jTextField4");
              salary.setBounds(new Rectangle(101, 130, 63, 21));
              contactNo.setText("jTextField5");
              contactNo.setBounds(new Rectangle(101, 171, 63, 21));
              dob.setText("jTextField6");
              dob.setBounds(new Rectangle(103, 299, 63, 21));
              submitButton.setText("Submit");
              submitButton.setBounds(new Rectangle(114, 409, 79, 27));
              clearButton.setText("Clear");
              clearButton.setBounds(new Rectangle(332, 409, 79, 27));
              retrieveButton.setText("Retrieve");
              retrieveButton.setBounds(new Rectangle(356, 0, 105, 27));
              createPanel.add(clearButton, null);
              createPanel.add(submitButton, null);
              createPanel.add(jLabel1, null);
              createPanel.add(nricNo, null);
              createPanel.add(jLabel2, null);
              createPanel.add(name, null);
              createPanel.add(jLabel3, null);
              createPanel.add(address, null);
              createPanel.add(jLabel4, null);
              createPanel.add(salary, null);
              createPanel.add(jLabel5, null);
              createPanel.add(contactNo, null);
              createPanel.add(jLabel6, null);
              createPanel.add(singleRadio, null);
              createPanel.add(marriedRadio, null);
              createPanel.add(divorcedRadio, null);
              createPanel.add(jLabel7, null);
              createPanel.add(position, null);
              createPanel.add(jLabel8, null);
              createPanel.add(dob, null);
              createPanel.add(jLabel9, null);
              createPanel.add(team, null);
              createPanel.add(retrieveButton, null);
              add(createPanel);

    1. make createPanel an instance variable
    public class PlayerTab extends JPanel implements
    ActionListener{JPanel createPanel = null;
    2. consistent with how you are coding, add the panel,
    public void actionPerformed(ActionEvent e)
    String cmd = e.getActionCommand();
    if ("Create".equals(cmd))
    {if( null == createPanel ) {
    createPanel = new CreatePanel();
    createPanel.setBounds( 20, 16, 300, 300 );
    add( createPanel, null );
    createPanel.show();
    }//close of ifyou can also search for the specific panel, remove and then add a new instance rather then reusing the same createPanel once it is instantiated.

Maybe you are looking for

  • Implicit vs explicit close of resultsets and statements?

    Hi friends.I am a newbie Java Developer..Okay Here goes I have just made a LAN based Java application using Swing,JDBC with backend as MS-Access..The backend is on a shared network drive.. The application is distributed as jar files on the LAN PCs..

  • Colors not printing correctly - Only When Printing from Reader 9

    I have recently been having problems printing color PDF's using Reader 9. Yellows are printing as blue, blues as pink, pink as grey, etc. I have no problems printing any other types of photos, documents, or powerpoint presentations so I am assuming i

  • Regarding usage of constants while using bind variables

    Hi All, Can some one please help me out of this situation? I wrote a query in a package in which i am using bind variables for faster execution of the query in loops. In the above said scenario i am trying to insert a set of data into a table say 'A'

  • Friends and Family Pending

    I entered 3 Friends and Family phone numbers on my account on 6/28. One was immediately accepted. The other two are still " Request Sent to Account Owner 06/28/2010" . Today is 7/1 so I think the 24 hour period is done. The "funny" thing is that the

  • Setting WebService object's wsdl location dynamically

    I have written a flex app that speaks to a webservice. Everything works fine, but the wsdl location is hardcoded to a developer machine. In java I could define a system property, or create a properties file to read. Is there a preferred way for solvi