BI-Integrated Planning: File Upload

Hi, I have implemented the "BI-Integrated Planning: File Upload" paper and it seems to work fine.
Whatever "Version" is in the delimitied file gets loaded just fine. (New Version gets created in master data)  So if version 999 is in the file the new version 999 get created with no master data issues.  But, when I try to load a file with a material that doesn't exist in Master Data, I get errors about the material not existing.  We need to have the upload allow new materials..
I am wondering if it Is the InfoObject Conversion Routine that causes the error, but if that was the case we wouldn't be able to load new materials in our regular loads.
Why does the file upload app allow you to create a new version, but not a new material?
Any ideas?

I found out that a new characteristic value can be created for characteristics with no Master Data Table.
I.E. 0VERSION can have a new value
I.E. 0MATERIAL cannot have a new value
Answer was found in following thread:
IP input query: mandatory fields and new master data input

Similar Messages

  • Integrated Planning - File upload - Locks issue

    Hi
    When we try to use file upload feature (planing function- how to guide) , it gives us error that says " Data is locked by user .....". We checked and we had one user in the layout so system had lock entry in SM12 transaction.
    Is there any way - we can release the locks created by user before we execute the file upload process automatically so that we donot have to go to SM12 to delete it and then trigger upload process?
    Is it recommended to delete such locks from SM12 using ABAP code ?
    Please help.
    Thanks
    A

    Hi ,
    Pls chk this link for complete doc abt Locking in IP.
    http://help.sap.com/saphelp_nw70/helpdata/en/44/588168ce8c08fae10000000a422035/content.htm
    *pls assign points,if link is useful*
    Regards
    CSM reddy

  • Implement IP File Upload to a web template (with queries) - HTML Coding?

    Dear experts,
    we have implemented integrated planning - file upload.
    now we want to create a web template , which should include some queries AND also the file upload in a separat tab in this template.
    following link (file upload) should be included in the web template:
    http:///sap/bc/webdynpro/sap/zrsplf_file_upload?planning_sequence=ZACOMK_01_PS1&sap-client=200&sap-language=DE
    I don´t have any html-knowledge.
    Is there a standard html-coding available, which I could use and implement in a container item?
    many thanks for your help!!
    best regards
    Roland

    Thanks so much, Rick! That post was exactly what I needed -- and now I have another resource to search for next time.
    There is one little caveat, for anyone else who needs to use this. I had to change the line that sets the Content-Type header to use a semicolon instead of a comma. After this change, the resulting HTTP request is identical to the one generated by WebKit for form submission.
    NSString *contentType = [NSString stringWithFormat:@"multipart/form-data; boundary=%@", boundary];

  • *** Question How to load a file into BI-Integrated Planning and use WAD 7.0

    Hi, I created an manual DTP upload to my planning infocube and it works fine.  The transformation rules convert 0CALMONTH into the relevant Calendar and Fiscal characteristics.   So all of my Time Characteristics are fine, both Calendar and Fiscal.
    However, When using the "How to load a file into BI-Integrated Planning and use WAD 7.0" solution, only the Calendar Characteristics are populated and not the Fiscal.   The upload application somehow knows to populate the 0CALMONTH2, 0CALQUART1, 0CALQUARTER, and 0CALYEAR.  
    How can I get the upload to populate my Fiscal Period Characteristics?
    Would it be best to modify the "Upload Application, or can I write a planning function to update the fiscal characteristics, or some other way?
    Thanks!

    My planning data is being uploaded via the SDN Planning File Upload Solution. What I did was end up modifiying the upload class ZCL_RSPLF_FILE_UPLOAD Method EXECUTE.
    I added the following code if anyone is interested.
    *{ INSERT BWDK902323 1
    THIS SECTION OF CODE POPULATES THE FISCAL PERIOD CHARACTERISTICS
    USING THE FISCAL YEAR VARIANT 'NK' AND THE CALENDAR MONTH/YEAR
    FIELD-SYMBOLS <0FISCVARNT> TYPE /BI0/OIFISCVARNT. " Fiscal Year Variant
    FIELD-SYMBOLS <0FISCYEAR> TYPE /BI0/OIFISCYEAR. " Fiscal Year
    FIELD-SYMBOLS <0FISCPER> TYPE /BI0/OIFISCPER. " Fiscal Year/Period
    FIELD-SYMBOLS <0FISCPER3> TYPE /BI0/OIFISCPER3. " Posting Period
    FIELD-SYMBOLS <0CALMONTH> TYPE /BI0/OICALMONTH. " Calendar Month/Year
    ASSIGN COMPONENT '0CALMONTH' OF STRUCTURE <L_S_DATA> TO <0CALMONTH>.
    ASSIGN COMPONENT '0FISCPER' OF STRUCTURE <L_S_DATA> TO <0FISCPER>.
    ASSIGN COMPONENT '0FISCVARNT' OF STRUCTURE <L_S_DATA> TO <0FISCVARNT>.
    ASSIGN COMPONENT '0FISCPER3' OF STRUCTURE <L_S_DATA> TO <0FISCPER3>.
    ASSIGN COMPONENT '0FISCYEAR' OF STRUCTURE <L_S_DATA> TO <0FISCYEAR>.
    <0FISCVARNT> = 'NK'.
    CALL FUNCTION 'FISCPER_FROM_CALMONTH_CALC'
    EXPORTING
    IV_CALMONTH = <0CALMONTH>
    IV_PERIV = <0FISCVARNT>
    IMPORTING
    EV_FISCPER3 = <0FISCPER3>
    EV_FISCPER = <0FISCPER>
    EV_FISCYEAR = <0FISCYEAR>.
    *} INSERT

  • File Upload Pluggable Java Component / Java Bean

    Dear Colleague,
    I integrated the File Upload java bean into one of my Forms 9i forms. I also had it up and running (!!!), but after I rebooted the machine, I no longer receive the File Upload dialog window as I did originally. When I press the button which starts the File Upload, it never displays the window to select a file. My trigger is as follows:
    begin
         /* Initialize the Java Bean */
         FileUploader.init('DOCU_BLOCK.FILE_UPLOADER','LOAD_CALLBACK_TRIGGER');
         /* Make sure the file is compressed on upload */
         FileUploader.setCompressed(true);
         /* Do the load to the c:\rolic\RKMS_documents\ directory on the server */
         FileUploader.UploadFile (:PARAMETER.file_destination);
    /* Error Handling */
    exception
    when FileUploader.FileUploaderEx then
    message (FileUploader.GetError);
    end;
    I have the "uploadclient.jar" file in my folder: C:\oracle9iDS\forms90\java
    I list the "uploadclient.jar" file in the forms config file, formsweb.cfg as follows:
    archive_jini=f90all_jinit.jar, uploadclient.jar, RKMS_images.jar
    and I reference the uploadserver.jar in the default.env file as part of the CLASSPATH as follows:
    CLASSPATH=c:\oracle9iDS\jlib\debugger.jar;c:\oracle9iDS\jlib\ewt3.jar;c:\oracle9iDS\jlib\share.jar;c:\oracle9iDS\jlib\utj90.jar;C:\oracle9iDS\forms90\java\UploadServer.jar
    =========================================================
    - Why did this work before I rebooted and now no longer???
    - Any tips? Ideas?
    =========================================================
    The uploadclient.jar file also successfully loads as shown in the Java Console:
    Oracle JInitiator: Version 1.3.1.9
    Using JRE version 1.3.1.9 Java HotSpot(TM) Client VM
    User home directory = C:\Dokumente und Einstellungen\Randy
    Proxy Configuration: no proxy
    JAR cache enabled
    Location: C:\Dokumente und Einstellungen\Randy\Oracle Jar Cache
    Maximum size: 50 MB
    Compression level: 0
    Loading http://quantum:8888/forms90/java/f90all_jinit.jar from JAR cache
    Loading http://quantum:8888/forms90/java/uploadclient.jar from JAR cache
    Loading http://quantum:8888/forms90/java/RKMS_images.jar from JAR cache
    connectMode=HTTP, native.
    Forms Applet version is : 90290

    HI,
    I'm facing nearly same problem.
    When i press a button in my form to enable client to select image from there local computer, following code executes ( WHEN-BUTTON-PRESSED)
    declare
         exSetup EXCEPTION;
         hButton ITEM := Find_Item('UPLOAD.SELECT');
    begin
    if (:upload.output_dir is null) then
    MsgBox.Show(MsgBox.STOP_ALERT,FileUploader90,'Error: A output directory on the middle tier must be specified');      
    raise exSetup;
    end if;
    FileUploader.UploadFile(:UPLOAD.output_dir);
    /* (:UPLOAD is a control block and output directory is a text field char 1000 having initial property = D:\IMAGE) */
    exception
    When FileUploader.FileUploaderEx then
         MsgBox.Show(MsgBox.STOP_ALERT,FileUploader90,'Error During Upload: '||FileUploader.getError);      
    When exSetup then
    null;
    end;
    There is no compiliation error.
    Runtime error is " Error During Upload: Desitnation directory does not exists or is not writeable ".
    Infact destination directory D:\IMAGE exists and is readable/writable to any one ??
    Any Help possible

  • View temporary data in Web layout during file upload in Integrated Planning

    Hi Experts,
    When using File Upload funcationality, in Integrated Planning,
    I have a requirment, How user can view the data in the web layout?
    After data display user can make changes in the data and on click of Save the updated data is saved in cube.
    If any one has come across this requirment can you please help me out how things can be carried out?
    If "how to implement" document is present can you please provide me the link.
    Thanks and Regards,
    Abhi

    Hi Abhi,
    I assume, you are using WAD for this..
    Please do the following: (Please note the the cube has to be in Plan mode while executing WAD)
    1. Create a input enable query (through query designer) on th eaggregate level (the one you are using for IP). You might need to create filers for the aggregate level. these filters can also be used in the query.
    2. In the WAD, pull this query.
    3. Create a button in WAD and check for the planning functionalities readily available that you can use in WAD. One of the planning functionality is SAVE Data. This will save any data which is entered by the user.
    4. In the same button integrate a Refresh Data command after the SAVE data. This will automatically refresh the query and pull the updated/changed data from the cube.
    This should work. Please write back in case of any clarification.
    Regards, Rishi

  • Problem in Load File into BI-Integrated Planning

    <b>Hi Marc,
    When I am running the URL for file upload in BI Integrated Planning, I am getting the below message ( we have created the variable on navigational attribute):</b>
    Note
    The following error text was processed in the system BWD : /BI0/OICOSTCENTER__0SALES_DIST is not a valid attribute type.
    The error occurred on the application server ma1ua231_BWD_00 and in the work process 0 .
    The termination type was: RABAX_STATE
    The ABAP call stack was:
    Method: IF_WD_CONTEXT_NODE_INFO~ADD_ATTRIBUTE of program CL_WDR_CONTEXT_NODE_INFO======CP
    Method: WDDOMODIFYVIEW of program /1BCWDY/780RZKQ35587UCX2RCTU==CP
    Method: IF_WDR_VIEW_DELEGATE~WD_DO_MODIFY_VIEW of program /1BCWDY/780RZKQ35587UCX2RCTU==CP
    Method: DO_MODIFY_VIEW of program CL_WDR_DELEGATING_VIEW========CP
    Method: MODIFY_VIEW of program CL_WDR_VIEW===================CP
    Method: DO_MODIFY_VIEW of program CL_WDR_CLIENT_COMPONENT=======CP
    Method: DO_MODIFY_VIEW of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW_PHASE_MODEL=====CP
    Method: PROCESS_REQUEST of program CL_WDR_WINDOW=================CP
    Method: EXECUTE of program CL_WDR_MAIN_TASK==============CP
    <b>In System we are getting Short dump as:</b>
    An exception occurred which is explained in detail below.                     
    The exception, which is assigned to class 'CX_WD_CONTEXT', was not caught and therefore caused a runtime error.                                             
    The reason for the exception is:                                              
    /BI0/OICOSTCENTER__0SALES_DIST is not a valid attribute type.                 
    I went through your blog. Just curious to know when can we expect Version 2 of the how-to solution will support a direct upload from Excel without the need to launch a browser.
    Thanks
    Kamlesh Mishra

    Hi Marc,
    Thanks for your support and great help for the problems we are facing in IP. Now we are able to get the browser screen for selecting the file, but we are facing new issue, When we are uploading file, the system is giving dump saying "THE ASSERT CONDITION was violated" in the below source code:
    LOOP AT n_t_charsel INTO l_s_charsel WHERE sign = 'I' AND opt = 'EQ'. 
      ASSIGN COMPONENT l_s_charsel-iobjnm OF STRUCTURE <l_s_data> TO <f>. 
      ASSERT sy-subrc = 0.                                                                               
    IF <f> IS INITIAL.                                                  
        <f> = l_s_charsel-low.                                            
      ENDIF.                                                              
    ENDLOOP.                                                              
    (We are unable to open the Blog, it is showing us "No Authorization" message)
    Thanks,
    Kams

  • CO PA  - Upload planning files

    Hi,
    could anybody tell me which is the file layout (which columns in which order???) for the "upload excel" function in CO-PA integrated planning?
    Trx KE13N ?
    Thks
    Veronica

    Annual Plan for Controlling

  • BI IP --- Planning function for File Upload

    Hai All,
    In BI IP , When I am trying to load the data (text file) by using Planning function for File Upload. I am getting an error message When I am clicking on Update .
    Error Message : Inconsistent input parameter (parameter: <unknown>, value <unknown>).
    In Text file I am using Tab Separation for each value
    Anyone help me out.
    Thanks,
    Bhima

    Hi Bhima
    Try one of these; it should work:
    1. If you are on SP 14 you would need to upgrade to SP 15. It would work fine
    2. If not, then -
         a] apply note 1070655 - Termination msg CL_RSPLFR_CONTROLLER =>GET_READ_WRITE_PROVIDS
         b] Apply Correction Instruction 566059 [i.e: in Object - CL_RSPLFR_CONTROLLER GET_READ_WRITE_PROVIDS,
    delete the block: l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = p_infoprov ).
    and insert block - l_r_alvl = cl_rspls_alvl=>factory( i_aggrlevel = i_infoprov ).
    Goodluck
    Srikanth

  • .sim files, integrated planning presentation, vanished?

    Dear friends,
    a few weeks ago I had .sim files with rather nice explanantions of the new integrated planning with bi 7.0.
    i cannot find them anymore. can anybody hep me with this isue? I also need the player for these .sim-files.
    One was called "Demo - Creating Simple Planning Applications using the BEx Analyzer.sim"
    Best regards
    Dirk

    I found the presentation for BI 7.0 tools here:
    https://websmp104.sap-ag.de/bi
    -- BI in SAP NetWeaver 2004s
    BI CAPABILITIES
    Direct link:
    https://websmp104.sap-ag.de/~form/sapnet?_FRAME=OBJECT&_HIER_KEY=501100035870000008552&_HIER_KEY=601100035870000200812&_HIER_KEY=701100035871000424712&#HOME
    Thank you all very much for your help!
    Dirk
    Message was edited by: Dirk Knauer

  • Bw-ip file upload in BW 7.3

    Hi Friends
    I am using BW 7.3 and i am unable to find Planning Sequence/Function File Upload . Is it available standard planning sequence for file upload in BW 7.3.
    Pl. advise
    Rgds
    Sri G

    http://scn.sap.com/thread/231599Dear Sri
    I hope you are well and many thanks for using the SAP Discussion Forums.
    In relation to your query you mentioned:
    I am using BW 7.3 and i am unable to find Planning Sequence/Function File Upload . Is it available standard planning sequence for file upload in BW 7.3.
    I just performed a little research and the first point I will highlight is that similar discussions are open on the SCN at present so you can use them as a source off cross-reference for your convenience.
    Example: Load a Flat File into Integrated Planning (BW-IP)
    Now I have also outlined an additional documentation guide below for your convenience as it will offer you the guidance required:
    Planning Sequence
    https://help.sap.com/saphelp_nw73/helpdata/en/4c/b8332354182102e10000000a42189e/content.htm
    SAP KBA: 1904955 - The Integrated Planning message's necessary information
    for BW Portal / BI Java
    Kindly update me as per your findings.
    I greatly appreciate your time and patience and I look forward to recieving you reply.
    Kind Regards
    Troy Cronin - Enterprise Portal Support Engineer
    AGS

  • CCA and PCA retraction in Integrated Planning

    Hi all,
    Please I need some orientation about CCA an PCA retraction when you are using Integrated planning.
    I read blogs about CCA retraction (made by Praveen Mayalur) and was very helpfull, but it only refers a planning scenario using BW-BPS, and I don't have the same structure to send the data in the integrated planning.
    I had looked in SDN and SAP portal, and I can't find anything about it.
    I hope you can help me.
    Thanks in advance, best regards
    Inge Eichhorns

    Hi
    1) Retraction are driven by BPS, IP is not equipped with Retraction.
    2) Cost Center & Internal Order Retraction should be configured through in BPS--> Planning Area; Planning Level, Planning Function; Parameter Group.
    3) You need to configure Source Structure, based on business requirement you need to ensure that the retraction happens either in CO Currency or Transaction Currency.
    4) Try to use the SAP Standard Function Modules for Cost Center and Internal Order Retraction. Refrain from copying & modifying the same.
    go through the Cost Center Retraction relevant documents and they are very helpful.
    5) Function Modules for Profit Center Retraction are not available in ECC due to the New GL Concept.
    6) If possible advise the Business to use "File Upload" for Profit Center Data.
    Regards
    Srinivas

  • Issue in Planning file entry creation for materials

    Hi all,
    There are some materials for which there are no planning file entries inspite of having MRP data and valid MRP type.
    The reason (1) could be that those materials might have been created before MRP was activated for that plant. Another reason (2)is that materials created by certain batch SAP programs do not trigger the creation of a planning file entry automatically, the way a MM01 normally does when you create a material. Otherwise when a material is created with MRP data & valid MRP type, the material will be automatically included in the Planning File.
    Please let me know whether my understanding on the above( reason no.1 & 2) is valid or not. Is there any SAP / OSS document / SAP help related to this information on reason (2) that you can share with us? If you could share any link of any such document, it will be really helpful.
    Thanks a lot,
    Regards
    Brijesh

    Dear,
    Reason could be
    System will maintain the Planning File Entry Automatically once MRP is activated for particular Plant (T.Code OMDU).But if Materials are created Before this activation then you have to do manual entry of those Materials in Planning File using T.Code MD20 or using Background job MDBT.
    If you create the materials or upload materials before activation plant for MRP this may be the cause for this.
    Go to OMDU here is tick mark for plant activation for MRP if you activated after material master creation then system will not create planning file entry for these material.
    In my case every thing was maintained than also no planned order generated? Pls put some more fact on this.
    Before running MRP we used to run MDRE. But in the result spool list there is no content
    Create the variant and run it in Back ground
    For this you need to you need to create the variant for planning file entry and its consistence check in OMDU and execute it to avoid such type of issue.
    Hope clear to you.
    Regards,
    R.Brahmankar

  • Is there a way to create a file upload page for uploading large documents to a ftp site in Muse?

    I am building a site for a printing company and wanted to know if there was a way to build in a ftp file upload page or button?

    No that is not possible with Muse alone. YOu can host it on Business Catalyst and upgrade the hosting plan to at least the webMarketing plan for general uploading. If it requires each user to have their own profile etc, then you will need to use BC webApps

  • Calendar & File Upload Components - Threadinar6

    Hi All,
    This is the sixth in the "Threadinar" series , please see Threadinar5 at
    http://swforum.sun.com/jive/thread.jspa?threadID=99473 for details
    In this Threadinar we will focus on the
    "Calendar" and "File Upload" Components
    Let us begin our discussion with the Calendar Component.
    Calendar Component
    You can drag the Calendar component "calendar component icon" from the Palette's Basic category to a page open in the Visual Designer to create an entry field with an integrated calendar pop-up to help the user pick dates for the field.
    You can also drop the calendar on a container component, like a table cell or group box.
    After dragging the component to the Visual Designer, you can work with the following useful properties of the Calendar Component:-
    General
    * id. Type: String
    The name of the Calendar component in the page bean and the JSP file.
    Appearance
    * columns. Type: int
    The number of character columns used to render the component. The default value is 20.
    * dateFormatPattern. Type: String
    The format of the date to be entered by the user. It is not usually necessary to set this property because a pattern is chosen automatically based on the locale.
    If you prefer to specify a date format, click the ellipsis button (...) to the right of the property and select a predefined date format from the property editor's list. You can also add your own formats. If you add a format, the values you can enter are limited to some combination of yyyy for the year, MM for the month, and dd for the day separated by separator characters. Typical separator characters are / (slash), . (period), and - (dash). For example, the following date formats are acceptable:
    o MM/dd/yyyy
    o yyyy.MM.dd
    o MM-dd-yyyy
    * dateFormatPatternHelp. Type: text
    Text that appears below the date entry field and shows the format pattern that the date entry field accepts. If you have not set the dateFormatPattern property, the help text is chosen automatically for you. If you have set the dateFormatPattern property, you should bind the dateFormatPatternHelp property to a localized string that matches the setting for each locale you want to support.
    * label. Type: String
    A label that appears next to the text entry field, typically describing what the user is supposed to enter.
    o Note: The label property is not as flexible as the Label component. You can use the Label component if you want more control over the label's appearance, such as positioning of the label relative to the component.
    * labelLevel. Type: int
    A number that affects the appearance of the label. 1 (Strong) is larger and bold. 2 (Medium), the default, is smaller and bold. 3 (Weak) is smaller and normal (not bold). This property takes effect only if the label property is set.
    * style. Type: String
    Cascading Style Sheet rules (CSS level 2) to be applied to the component. For example:
    position: absolute; left: 288px; top: 312px
    You can enter values directly or click the ellipsis (...) button to use the Style Editor.
    o Note: This property overrides any settings in the theme or the project CSS file for this component. If a style specified in this property does not appear to take effect, it is because an area of the component is obscured by a child component that has different style settings.
    For a list of CSS2 style attributes, see the web page at
    http://www.w3.org/TR/REC-CSS2/propidx.html
    * styleClass. Type: String
    A space-separated list of CSS2 style classes to be applied when the component is rendered. The style classes must be defined in the project's style sheet or in the theme's CSS file. If you click the ellipsis button (...), you see a list of all styles you can add to this property. For information on adding CSS classes and rules to the project's cascading style sheet, see CSS Editor.
    o Note: See the note above under the style property description for an explanation of why a class added to this property might appear to have no effect on the component.
    o Note: If you add a CSS style class from the current theme to your project CSS file and you redefine the style class, the change affects all components that use this style class. However, you can add your own style classes to the project CSS file that redefine the default style classes, and then when you add them to this property, the changes affect only this instance of this component.
    For the defaulttheme.jar CSS style classes for this component, see Calendar Component CSS Classes.
    Data
    * maxDate. Type: java.util.Date
    The last date that the user can select. The default value is four years from the date set in the minDate property, for a total span of five years.
    * minDate. Type: java.util.Date
    The earliest date that the user can select. The default value is the value of the selectedDate property, which defaults to the current date if that property is not set.
    * required. Type: boolean
    If selected, the user must enter a value for the calendar before the page can be submitted. If you add a Message component to the page and link its for property to this component, an error message will be displayed if the user tries to submit the page without entering a value.
    * selectedDate. Type: Date
    A java.util.Date object representing the calendar date selected by the user. If you right-click the component and choose Bind to Data, you can bind this property to a data provider or object that can process the user entered value on the server.
    When the component displays initially, if this property is not set, its value defaults to the current date. If you provide values for minDate and maxDate, you can also provide a value for this property that initially displays a date in that range.
    * validator. Type: MethodBinding
    Indicates the JavaServer Faces validator that is called when the value is submitted. A validator ensures that the correct value is entered by a user. Choose a validator from the drop-down list. If you choose (null), no validator is called. If you choose a validator, also select the required property to ensure that the validator is used. For descriptions of JavaServer Faces validators, see the list of topics at List of Validators.
    o Note: If you define your own validate method, for example, by right-clicking the component and choosing Edit Event Handler > validate, any value you might have set in this property is overridden.
    File Upload Component
    You can drag the File Upload component "file upload component icon" from the Palette's Basic category to the Visual Designer to create an entry field and a browse button that opens a file chooser dialog on the local system, enabling the user either to select a file or to type a file name into the entry field. When the page is submitted, a copy of the file's contents is sent to the web application.
    The component is similar to an HTML <input type="file"> element.
    * Note: This component is neither supported by nor available in portlet projects due to security reasons.
    * Note: The size of the component in the Visual Designer might not match the size of the component when it is rendered in a web browser, making the component appear to line up correctly in the Visual Designer, but not when the page is rendered in the user's web browser. Also, the rendering of this component can differ depending on the web browser. Be sure to test the component in the web browsers that you expect your users to use. For example, if you add a width setting to the style property that is smaller than the setting in the columns property, Internet Explorer observes only the width setting, while the Mozilla browser ignores it and sets the width according to the number of characters in the columns property.
    The File upload component uses a filter, a com.sun.rave.web.ui.util.UploadFilter object that is configured for you in the web application's deployment descriptor. The UploadFilter uses the Apache commons fileupload package. You might need to change these settings in the following two cases:
    * The server holds the uploaded file in memory unless it exceeds 4096 bytes; otherwise, the server holds the file contents in a temporary file. You can change this threshold by modifying the sizeThreshold parameter for the UploadFilter filter entry in the web application's web.xml file.
    * By default, the File Upload component can handle files up to one megabyte in size. You can change the maximum file size by modifying the maxSize parameter for the UploadFilter filter entry in the application's web.xml file.
    o
    A negative value for the maxSize parameter indicates that there is no file size limit. Setting the parameter to a negative value is not recommended for security reasons. For example, if you allow unlimited file sizes, a malicious user could mount a denial of service attack on your site by using extremely large files
    * To change the settings for the UploadFilter object in the web.xml file:
    1. In the Files window, expand project-name > web > WEB-INF.
    2. Double-click the web.xml node to open the file in the XML editor.
    3. Click the Filters toolbar button.
    4. In the UploadFilter section under Initialization Parameters, you can change the values for the maxSize and sizeThreshold parameters.
    The contents of the uploaded file, together with some information about it, are stored in an instance of com.sun.rave.web.ui.model.UploadedFile. By using this object, you can get the content of the file as a String or write the contents to disk, as well as get properties such as the name and the size of the file. In the interest of conserving memory, the contents and file data are only available during the HTTP request in which the file was uploaded. To access the contents of the uploaded file, bind the uploadedFile property to a bean property of type com.sun.rave.web.ui.model.UploadedFile. Have the setter or an action method process the file.
    The UploadedFile interface has methods for getting the name and size of the file, determining the file's MIME type (such as text/plain or image/jpeg), getting the file's contents as bytes or as a String, and writing the contents to disk. To learn more, in the Java editor, right-click on UploadedFile in a declaration statement and choose Show JavaDoc from the pop-up menu.
    * To set the component's properties, select the component and edit its properties in the File Upload Properties Window.
    * Right-click the component and choose one of the following pop-up menu items:
    o Edit validate Event Handler. Opens the Java Editor with the cursor positioned in the component's validate method so you can insert code to validate the value of the component.
    o Set Initial Focus. Gives this component focus when the user opens the page.
    o Auto-submit on Change. Causes the form to be automatically submitted if the value of the component changes. Sets the component's JavaScript onclick property to common_timeoutSubmitForm(this.form, 'component-id');. At runtime, this code causes the form to be automatically submitted if the user changes the component value. Once the form is submitted, conversion and validation occur on the server and any value change listener methods execute, and then the page is redisplayed.
    A component configured to Auto-submit on Change can use virtual forms to limit the input fields that are processed when the form is submitted. If the auto-submit component is defined to submit a virtual form, only the participants in that virtual form will be processed when the auto-submit occurs.
    o Bind to Data. Bind the component's text property to an object or to a data provider. For more information, see Bind to Data Dialog Box.
    o Property Bindings. Bind any of the component's properties to an object or data provider, such as the uploadedFile property to a bean property of type com.sun.rave.web.ui.model.UploadedFile.
    o Configure Virtual Forms. Enables you to add the component to a virtual form.
    For more details on using the "File Upload Component" Please see this tutorial
    http://developers.sun.com/prodtech/javatools/jscreator/learning/tutorials/2/file_upload.html
    Please share your comments, experiences, additional information, questions, feedback, etc. on these components.
    ------------------------------------------------------------------------------- --------------------

    Of interest relating to file upload component to users : "Saving Uploaded Files Uploaded by the File Upload Component " Check the blog:
    http://blogs.sun.com/roller/page/divas

Maybe you are looking for

  • Can't print pics in iphoto 08

    This might have something to do with recent Mac software updates but I can no longer print pics in '08. I get the message "No available themes" "until at least one theme has been installed this feature (printing) is not available" How did this happen

  • HELP!! Installer wont download properly error 52

    Hi Guys, Please help. My Spotify wasnt connecting to the internet so I uninstalled the program and now I cant re-install. Error msg 52 comes up - installer cant download

  • Xorg does not start (timeouts) with "no screens found"

    After years of my system working correctly, this has been happening for the last ten days. Many times - not all of them - xorg does not start, and I get greated with the standard console login prompt. Checking in /var/log/ the xorg.0.log, it says tha

  • Lightroom is reverting my pics back to original after i made extensive adjustments in photoshop cs6

    I changed the original image by editing in photoshop from lightroom.  The changes are visible in my lightroom library but not when i export the image.  What went wrong and please is there a way to fix this?

  • Hex in dez

    when converting from hex to dec (hexindez) I get an incorrect value example: 4A 86 20 00 00 = -229'677'989'888 ... (correct: 320'077'824'000)