Installing JExcel API

Hello Everybody,
I've posted some messages before about using JExcel API.
Will, Finally it worked with me, and this is how it��s done; I just thought it will be helpful to be archived
First: Download Andy Khan��s JExcel API from (Free JExcel API) :
http://www.andykhan.com/
Next: extract the zipped file to the C:\ drive (or any other drive)
e.g. C:\jexcelapi
Now you need to set the CLASSPATH to have the Jar file
*(Windows users)* Go to: Control Panel �� System �� Environment Variables
If you don��t yet have a system variable called CLASSPATH, create a new one and add the following path to it (including the dot and the semicolon)
.;C:\jexcelapi\jxl.jar
Then set JAVA_HOME to include your JDK path :
e.g.     C:\Program Files\Java\jdk1.5.0_01
Assigning CLASSPATH Using CMD (Dos):
C:\jexcelapi> set CLASSPATH=.;C:\jexcelapi\jxl.jar
Now you are done.
To run the Demo provided with the API
Type the following lines in the CMD window:
C:\jexcelapi\src>javac jxl/demo/Demo.java //compile
C:\jexcelapi\src>java jxl.demo.Demo // run
Jxl.demo is the package provided; you need to add it to each program you create as the first line of the code
package jxl.demo; Regards,
MOE

The servlet api gets installed with any web server that you install. For example if you are installing Jeeves(Java Web Server) you will find a file called servlet.jar which contains all the servlet classes. The path is ./JavaWebServer2.0/lib/servlet.jar.
Hope that helps.
Regards
Jaydeep

Similar Messages

  • Unable to display double values in Excel sheet using JExcel API

    Hi
    I am writing code to generate report in the form of Excel Sheet using JExcel API.
    Everything is going fine but whenever I want to put some double values in a cell it is only showing 2 decimal places. My problem is "I want to show upto five decimal places".
    Any kind of reply might help me lot.
    Thank U.

    If you enable the submit zero option, it still happens? This is a new feature on the display tabl
    #NumericZero Enhancements
    To display a numeric zero in place of an error message, you can enter #NumericZero in any of the three Replacement text fields. When you use the #NumericZero option:
    · Excel formatting for the cell is retained.
    · All calculations with dependency on the cell will compute correctly and will take the value of this cell as zero.
    · This numeric zero is for display only. When you submit, the zero value is NOT submitted back to the data source.
    You cannot set display strings for cells that contain an invalid member or dimension name (metadata error). Metadata errors produce standard descriptive error messages.
    Errors are prioritized in the following order from highest to lowest. The error message for a higher-priority error takes precedence over that for a lower-priority error.
    1. (Highest) Metadata errors
    2. #No access
    3. #Invalid/Meaningless
    4. #No data\Missing

  • Error while installing DI API (32 bit) for SBO 9.0 PL 05

    Dear Experts ,
    I'm trying to install version 9.0 (32 bit) on my machine (windows 7 64 bit) . Everything is installed successfully except DIAPI . I'm not able to install the DI API. I try to uninstall / install many times but without luck . Cleared the SAP folder, temp folder but still when it comes to DI API installation it just failed.
    Any help would be much appreciated .
    Thanks in advance.

    Hi Nagarajan,
    Thanks for your prompt reply. The installation setup is on my local machine and i have the local admin rights on machine machine. And I don't have any problem in installing other components including server tools, server and client etc.
    Friday I changed my computer name keeping SBO 9.0 instructions in mind (not to include any special character in computer name) and then I uninstall sap 8.82 from control panel , everything related to SAP was removed. Then I try to install SAP 9.0 PL 05 .
    Server tools -- > installed
    Server  -- >Installed
    Client -- > installed
    SDK -- > Installed
    DI aPI (32 but ) -- > Error -- > Another version is already installed .
    I looked in control panel again -- > nothing there.
    Then i again uninstall everything (for V9.0) -- > delete sap folder from program files (x86) restart my system --> again same error regarding DI API.
    This error was showing me the registry value so I search the registry and found there that DIAPI related version 8 is still there .
    So I took registry backup and try to rename registry key and value but with no luck . Still i was not able to install DI API
    So today morning I delete the all the references from registry related to that value (the one i was getting showing Another version is already installed). and I start getting this error i.e. the network related error which is 1316.
    I restore the registry backup to Friday's backup and then again try to install but I'm getting 1316 error constantly.
    Try to clean the registry and fix the registry errors with CC cleaner but nothing is happened still stuck with 1316 error.
    Regards

  • I need to install servlet-api.jar in the libext folder.

    Hi I am doing a tutorial on struts 2.0.11.
    i need to install servlet-api.jar in the libext folder which I have created inside WEB-INF
    Now I have downloaded servlet.api which is in the zip form.
    When I extract the files. Its giving me two folders
    1. javax
    2. META-INF
    Inside javax there is a folder called servlet. Inside servlet folder there are
    a) bunch of call files
    b) http folder
    c) resources folder
    Inside http folder there are
    a) class files
    b) properties files
    Inside the resources folder there are
    a) dtd files
    b) xsd files
    Inside the META-INF folder there is the manifest.mf file
    I just need servlet-api.jar
    I think that I have extracted the contents of servlet-api.jar by using the extract feature of winzip.
    Do you think that by just changing the extension of the file from servlet-api.zip to servlet-api.jar it will do the trick or do i need to do something else.
    Please guide

    pksingh79 wrote:
    Hi ^^,
    your replies were very helpful. I did try to check the lib folder of the webserver and there was not servlet-api.jar. However I downloaded a dummy project and it did have servlet-api.jar in it, so I am ok for now.
    thanks and regards,
    PrashantYou should not be doing that. Always use the one from the application server which you're going to use. Otherwise you will possibly get in runtime trouble due to version differences.
    The actual location and filename of the servlet API might differ per application server implementation. If it was for example Tomcat 6, it is the servlet-api.jar in the /lib directory. If it was for example Glassfish (the current release), then it is the javaee.jar in the /lib directory.

  • How to use JExcel API (excel,csv)

    Hi,
    I have my java application and I want to read an excel file (.xls) using the Jexcel API to convert a part of it into csv format or a xml format (to make after a pdf file with another java library).....
    How can I do it? I need only the first steps!!! I don't know where must I start!!
    Thanks a lot

    to read Excel files using JExcel, look at the docs API first. The code you'll need looks like the following:
    Workbook workbook = Workbook.getWorkbook(new File("D:/tmp/source.xls"));
    import jxl.Cell;
    import jxl.Sheet;
    import jxl.Workbook;
    import jxl.read.biff.BiffException;
    Sheet sheet = workbook.getSheet(3);
              int cols = sheet.getColumns();
              int rows = sheet.getRows();
              Cell cell = null;
                   for (i = 1; i < rows; i++) {
                        for (i = 1; i < rows; i++) {
                          cell = sheet.getCell(j, i);
                          //System.out.println(cell.getContents());
                   }In order to generate PDF after, you can use iText or FOP.
    iText doesn't require XML. It uses simply java objects. (http://www.lowagie.com/iText/)
    If you want to generate XML file first, so use FOP. It requires XML and XSL files to generate PDF. (http://xmlgraphics.apache.org/fop/)
    Personnaly, I used the two tools (iText and FOP). I prefer iText because it simple and can generate complex PDF.
    hth

  • Installing Tomcat API's - help!

    I want to write Java Servlets for uploading to my webserver, but I can't find any documentation on how to install the Servlet API! I don't need a server, just the API's required to compile servlets. My questions are:
    1) How can I install the API's so I can compile servlets
    2) What do I need to do to get a servlet working on my webhost (they say they support servlets)

    Ok, I've got the servlet compiling now - what do I need to do to get it to run on my hosts server?

  • How to install Java API

    I have installed Hyperion Essbase 6.1.4, so i can use VB or C to access OLAP databases. However, i would like to use Java.How can i install Java API?thanks in advance

    You will have to download/install the Essbase Enterprise Services 6.1. The Java API is contained within this product and all interaction with Essbase via the Java API uses EES on the middle tier. The good news is that the Java API portion of EES is available for free. If, however, you want to/need to leverage the scalability options of EES, such as server clustering, you will need to add the 'High Concurrency Option' to your Hyperion license agreement.Tim TowApplied OLAP, Inc

  • Java and Excel : POI vs JExcel API?

    Hello,
    I am hesitating between using the JExcel API and the Jakarta POI API to manipulate (rather simply) excel files with java.
    Has anyone experimented both? What are the drawbacks and the advantages of both?
    Thanks a lot,
    Laetitia

    Laetitia,
    Hello! I've written a significant app (J2EE, EJB using WebLogic) utilizing first the POI api and then the jexcel API to produce MS excel output financial reports (for online content provider) . The application processed 80K plus lines of subscriber information, calculated monthly subscription delivery charges for 100+ publications, each with custom contracts and wrote the calculated data to 'reporting tables'. Basically a specialized datamart of sorts (I know little about 'true' data marting). App would then generate the ms excel spreadsheet reports, one per publisher, utilizing the excel API. The largest publisher report would be over 10Mb in size, containing some 40K rows of data, 30 columns wide.
    I utilized the POI api first because it looked to be a more substantial product with firmer support, more developers, etc. However I soon became confused on how different modules worked, received slow feedback from the development team, and found the documentation to be horribly out of date and misleading. Additionally, the larger the generated excel file became the less stable the server would be until it would crash with memory problems. I'm not saying that the memory errors were within the POI code, but after I switched to jexcel the server crashing went away (perhaps the jexcel code is more forgiving).
    I then switched to use the jexcel API and was immediately pleased. The documentation was accurate and clearer. The functionality I needed was easy to find and worked first time. When I had problems I posted my questions to the yahoo message board and was immediately helped. As an aside on the message board I'm an old internet hack with message boards and am used to stupid posts (and posters) being immediately 'flamed' and derided by those on the list 'in the know'. I was amazed by all the posts from people asking 'I just downloaded jexcel and need help' who actually got thoughtful and helpful posts, not just rude 'RTFM you @#%$$@%' replies.
    Jexcel API was written by one guy but seems to be supported by several. I'd recommend it strongly - new releases come out continually and it's easy to get answers to questions on how to use it. Plus, and this is a biggy with me, the documentation is accurate and useful.
    Email me for more.
    -wcrighton
    [email protected]

  • Re: [JExcel API] how to insert object into a cell

    Hi all,
    i am using JExcel API for Excel file creation. i want to
    insert object like file in particular cell how can i do it.
    i tried WritableHyperLink but it is only inserting hyper link.
    i want proper object inserted into the specific cell.
    please help me out.
    VenuG.

    I am using jxl api to generate a report. i want the insert->object->create from file excel functionality to be implemented using jxl. Help me

  • Jexcel api

    Hi all,
    If any one has used jexcel api to show a drop down box in excel sheet please share the code... or any help for the same is higly appreciated.
    Thanks in advance.

    Hi all,
    I found the solution to my problem,
    For implementing <option name="x" value="0"> smiliar in html in Excel sheet
    you need to do a work around , something like writing the name in the data validation list and the value in a hidden cell
    and when the drop down is changed to select some name corresponding value will be selected by accessing the hidden cell.
    To export data to excel sheet
    using jexcel and want to show a drop down(i.e. dataValidationList), normally you will find the below code to do so -
    /* Start Code */
    //Create a blank obj with row and col num
    Blank b = new Blank(1,1);
    //Create a array list and put objs which u want as list
    ArrayList arrList = new ArrayList();
    arrList.add("DropDown1");
    arrList.add("DropDown2");
    arrList.add("DropDown3");
    //Create writable cell features obj
    WritableCellFeatures cellFeatures = new WritableCellFeatures();
    //set the array list in writable cell features
    cellFeatures.setDataValidationList(al);
    //set the cell features in the blank class
    b.setCellFeatures(cellFeatures);
    //add this blank class to writable sheet
    sheet.addCell(b);
    //write to workbook
    /* End Code */
    The above code will just create a Data Validation List with default value as blank
    to have default value as selected don't use the blank class to write to cell , use Lable instead
    Below is the code for doing this -
    /* Start of Code */
    cellFeatures = new WritableCellFeatures();
    ArrayList al = new ArrayList();
    al.add("bagpuss");
    al.add("clangers");
    al.add("ivor the engine");
    al.add("noggin the nog");
    cellFeatures.setDataValidationList(al);
    Label checkLabel = new Label(1,63,(String)al.get(1));
    checkLabel.setCellFeatures(cellFeatures);
    s1.addCell(checkLabel);
    // write to workbook
    /* End code */
    above code will create a list(DropDown) with values "bagpuss,clangers,ivor the engine,noggin the nog"
    with selected value as "clangers"

  • JExcel api jxl.jar problem

    hi,
    I just downloaded the Jexcel API from source forge. i added the jxl.jar file to my classpath and wrote a small program. But i am getting the following error.
    Read_Excel.java:4: package jxl does not exist
    import jxl.*;
    ^I am running my program through command promt only. and i have added the jar also to folder C:\Program Files\Java\jre1.6.0_04\lib\ext
    But still same problem.
    Please help.

    Opening a new command shell and working from there, would have worked, too, but hey, if you wanted to take the time to reboot, more power to you.

  • Install base API error Material Transaction errored prior to the current tr

    All,
    I wrote a script to update the install base installed date using API - csi_item_instance_pub.update_item_instance.
    Script updated many successfully, but, for many I am getting following error:
    You have Material Transaction_id (12169418) errored Prior to the Current Transaction. You need to process that first.
    You have Material Transaction_id (12020011) errored Prior to the Current Transaction. You need to process that first.
    I tried to reprocess using API again, but, it does update.
    Does any one encountered this before ? What's causing this issue and resolution for same ? Is there any data issue, if so where ?
    Thanks much

    Nagmohan,
    Thanks for quick update...
    I found that progam you mentioned 'Install Base Error Correction and Synchronization Program' and ran that with options Show instances - Y, Mode - C, Force all data fix - Y.
    I don't see any change what so ever in the csi_txn_errors. Though, I didn't ran the update API program.
    For testing purposes, I took one inventory_item_id from the csi_txn_errors table to see how many errors it got.
    Inventory_item_id = 304076
    Found there are 123 rows for this items. processed_flag D-20 ; E-103 ;
    I am enclosing few of data from the table here.
    I understand from you that we need to clean these errors by some means, so, we need to look at each one in sequential order, then, try to resolve that to get to next one and so on until all the errors cleared. Also, is that business users needs to do something over here to fix these errors ? Or each one have it's own resolution ?
    Why did Install Base error correction program did not fix the issues ? Is the program expected to fix the error by correcting the issue internally ?
    Thanks much,
    TRANSACTION_ERROR_ID MESSAGE_ID ERROR_TEXT PROCESSED_FLAG CREATION_DATE
    1 12224 10818 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    2 12227 10822 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    3 12229 10828 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    4 12230 10832 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:10:40 PM
    5 12225 10820 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    6 12226 10824 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    7 12228 10826 Transaction prior to freeze_date in install parameter D 10/6/2007 8:10:40 PM
    8 12231 10830 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:10:40 PM
    9 12950 12718 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    10 12952 12722 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:24 PM
    11 12954 12726 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:11:24 PM
    12 12947 12710 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    13 12948 12714 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    14 12949 12716 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:23 PM
    15 12951 12720 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:24 PM
    16 12953 12724 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:24 PM
    17 13574 14556 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:58 PM
    18 13575 14560 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:58 PM
    19 13573 14554 Transaction prior to freeze_date in install parameter D 10/6/2007 8:11:58 PM
    20 13576 14562 Serial control is now inappropriate for this txn. Knocking this D 10/6/2007 8:11:58 PM
    21 144067 34168 Either sub type has change owner code as "E" ,so the external party_id: (47598 ) E 12/6/2007 7:02:11 PM
    22 144133 34396 This customer item instance is currently in an Internal location INVENTORY and it is an Invalid location for the type of transaction being processed. E 12/8/2007 7:23:16 AM
    23 145027 34578 You have Material Transaction_id (4844377) errored Prior to the Current Transaction. You need to process that first. E 12/10/2007 12:04:35 PM
    24 168201 41858 You have Material Transaction_id (6048616) errored Prior to the Current Transaction. You need to process that first. E 1/30/2008 4:31:33 PM
    25 168195 41840 You have Material Transaction_id (4869894) errored Prior to the Current Transaction. You need to process that first. E 1/30/2008 4:18:43 PM
    26 169223 42238 You have Material Transaction_id (6048754) errored Prior to the Current Transaction. You need to process that first. E 2/1/2008 2:17:01 PM
    27 169211 42162 You have Material Transaction_id (6048616) errored Prior to the Current Transaction. You need to process that first. E 2/1/2008 8:52:50 AM
    28 170277 42680 You have Material Transaction_id (6072810) errored Prior to the Current Transaction. You need to process that first. E 2/5/2008 3:27:28 PM
    29 190286 46872 You have Material Transaction_id (6075528) errored Prior to the Current Transaction. You need to process that first. E 3/6/2008 6:43:27 AM
    30 190288 46876 The source item instance 304076, in Subinventory STAGE, for Organization 193 in Oracle Install Base does not exist. Please verify that any receipt transations were successful. (ITEM=304076) E 3/6/2008 6:49:20 AM
    31 207309 50410 You have Material Transaction_id (6635323) errored Prior to the Current Transaction. You need to process that first. E 3/28/2008 11:12:24 AM
    32 209320 51074 You have Material Transaction_id (7279930) errored Prior to the Current Transaction. You need to process that first. E 4/1/2008 11:44:27 AM
    33 241414 57434 You have Material Transaction_id (6151851) errored Prior to the Current Transaction. You need to process that first. E 5/12/2008 4:05:12 PM
    34 241435 57484 No instance is found for the inventory location attributes E 5/12/2008 7:01:04 PM
    35 242428 57654 No instance is found for the inventory location attributes E 5/13/2008 7:00:39 PM
    36 242419 57602 You have Material Transaction_id (7332482) errored Prior to the Current Transaction. You need to process that first. E 5/13/2008 2:44:11 PM
    37 244522 58180 You have Material Transaction_id (8291855) errored Prior to the Current Transaction. You need to process that first. E 5/15/2008 7:00:52 PM
    38 244499 58102 You have Material Transaction_id (6151851) errored Prior to the Current Transaction. You need to process that first. E 5/15/2008 1:42:11 PM
    39 247465 60310 The source item instance 304076, in Subinventory UCORE, for Organization 193 in Oracle Install Base does not exist. Please verify that any receipt transations were successful. E 5/30/2008 10:48:36 AM
    40 266432 81460 Invalid Instance Id Provided. The Item Instance ID (537385) provided is Either Expired or it does not exist in Installed Base Tables. E 9/19/2008 7:01:26 PM
    41 275056 87920 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/22/2008 7:01:39 PM
    42 275055 87918 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/22/2008 7:01:36 PM
    43 276087 89296 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/30/2008 7:01:21 PM
    44 276135 89564 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 10/31/2008 7:01:38 PM
    45 276153 89618 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 11/3/2008 8:45:52 AM
    46 276155 89622 You have Material Transaction_id (12743392) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 8:48:13 AM
    47 276179 89690 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 11/3/2008 9:31:46 AM
    48 276223 89868 You have Material Transaction_id (12743411) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 1:45:18 PM
    49 276205 89772 You have Material Transaction_id (12743982) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 11:32:40 AM
    50 276180 89694 You have Material Transaction_id (12743974) errored Prior to the Current Transaction. You need to process that first. E 11/3/2008 9:32:23 AM
    51 276318 90432 "You have encountered an unexpected error in Call_to_Contracts, with error ORA-01403: no data found.
    " E 11/5/2008 2:51:48 PM
    52 276370 90758 No instance is found for the inventory location attributes E 11/6/2008 7:01:02 PM
    53 276360 90686 You have Material Transaction_id (12744871) errored Prior to the Current Transaction. You need to process that first. E 11/6/2008 2:05:38 PM

  • Install Base APIs - creating 'Installed At' address

    Dear Experts,
    I am looking to create an Item Instance using the API: CSI_ITEM_INSTANCE_PUB.create_item_instance such that when it is queried from the Oracle E-Business Suite under the responsibility: 'Oracle Installed Base User' then all the information is there as if it was created through this front-end.
    I have managed to get the API to work successfully. However, when I query the Item Instance through the E-Business Suite, the 'Installed At' address is not there. I wish it to be the same as the current address.
    Is there any way I can create the 'Installed At' address using the API?
    My code is below. Many thanks for your time and assistance,
    Mark
    Declare
    l_instance_rec csi_datastructures_pub.instance_rec;
    l_ext_attrib_values_tbl csi_datastructures_pub.extend_attrib_values_tbl;
    l_party_tbl csi_datastructures_pub.party_tbl;
    l_party_account_tbl csi_datastructures_pub.party_account_tbl;
    l_pricing_attribs_tbl csi_datastructures_pub.pricing_attribs_tbl;
    l_org_assignments_tbl csi_datastructures_pub.organization_units_tbl;
    l_asset_assignment_tbl csi_datastructures_pub.instance_asset_tbl;
    l_txn_rec csi_datastructures_pub.transaction_rec;
    x_instance_id_lst csi_datastructures_pub.id_tbl;
    lr_party_rec csi_datastructures_pub.party_rec;
    lr_party_account_rec csi_datastructures_pub.party_account_rec;
    lr_ext_attrib_value_rec csi_datastructures_pub.extend_attrib_values_rec;
    l_return_status VARCHAR2(1);
    l_msg_count NUMBER;
    l_msg_data VARCHAR2(2000);
    l_msg_index_out VARCHAR2(100);
    l_api_version CONSTANT NUMBER := 1.0;
    l_error_stage VARCHAR2(240);
    l_start_date DATE;
    l_start_time DATE;
    Begin
    dbms_output.enable('1000000');
    l_instance_rec.instance_id := NULL;
    l_instance_rec.instance_number := NULL;
    l_instance_rec.external_reference := '';
    l_instance_rec.serial_number := '';
    l_instance_rec.inventory_item_id := 142;
    l_instance_rec.inv_master_organization_id := 83;
    l_instance_rec.vld_organization_id := 83;
    l_instance_rec.instance_status_id := 1011;
    l_instance_rec.object_version_number := 1.0;
    -- l_instance_rec.location_type_code := 'HZ_PARTY_SITES';
    l_instance_rec.quantity := 1;
    l_instance_rec.unit_of_measure := 'EA';
    l_instance_rec.mfg_serial_number_flag := 'N';
    l_instance_rec.version_label := 'AS_CREATED';
    -- l_instance_rec.location_id := l_location_id;
    l_instance_rec.active_start_date := sysdate;
    l_instance_rec.install_date := sysdate;
    --l_instance_rec.rec.active_end_date := l_hdr_rec.ib_end_date;
    lr_party_rec.party_source_table := 'HZ_PARTIES';
    lr_party_rec.instance_id := NULL;
    lr_party_rec.relationship_type_code := 'OWNER';
    lr_party_rec.party_id := 10780429;
    lr_party_rec.contact_flag := 'N';
    l_party_tbl(1) := lr_party_rec;
    lr_party_account_rec.relationship_type_code := 'OWNER';
    lr_party_account_rec.parent_tbl_index := 1;
    lr_party_account_rec.party_account_id := 1357;
    lr_party_account_rec.bill_to_address := '';
    lr_party_account_rec.ship_to_address := '';
    l_party_account_tbl(1) := lr_party_account_rec;
    lr_ext_attrib_value_rec.attribute_value_id := NULL;
    l_txn_rec.transaction_date := sysdate;
    l_txn_rec.source_transaction_date := sysdate;
    l_txn_rec.transaction_type_id := 1;
    l_error_stage := 'Call API CSI_ITEM_INSTANCE_PUB.CREATE_ITEM_INSTANCE';
    l_msg_data := NULL;
    l_msg_index_out := NULL;
    l_msg_count := NULL;
    CSI_ITEM_INSTANCE_PUB.CREATE_ITEM_INSTANCE
    p_api_version => l_api_version
    ,p_commit => FND_API.G_FALSE
    ,p_init_msg_list => FND_API.G_FALSE
    ,p_validation_level => FND_API.G_VALID_LEVEL_FULL
    ,p_instance_rec => l_instance_rec
    ,p_ext_attrib_values_tbl => l_ext_attrib_values_tbl
    ,p_party_tbl => l_party_tbl
    ,p_account_tbl => l_party_account_tbl
    ,p_pricing_attrib_tbl => l_pricing_attribs_tbl
    ,p_org_assignments_tbl => l_org_assignments_tbl
    ,p_asset_assignment_tbl => l_asset_assignment_tbl
    ,p_txn_rec => l_txn_rec
    ,x_return_status => l_return_status
    ,x_msg_count => l_msg_count
    ,x_msg_data => l_msg_data
    IF(l_return_status IN ('E', 'U')) THEN
    FOR i IN 1..fnd_msg_pub.count_msg LOOP
    fnd_msg_pub.get( p_msg_index => i
    ,p_encoded => 'F'
    ,p_data => l_msg_data
    ,p_msg_index_out => l_msg_index_out);
    dbms_output.put_line('l_return_status: ' || l_return_status);
    dbms_output.put_line('l_msg_data: ' || SUBSTR(l_msg_data, 1, 250));
    END LOOP;
    ELSE
    dbms_output.put_line('------------------------------------------');
    dbms_output.put_line('l_return_status: ' || l_return_status);
    dbms_output.put_line('l_msg_data: ' || SUBSTR(l_msg_data, 1, 250));
    dbms_output.put_line('The instance ID: ' || to_char(l_instance_rec.INSTANCE_ID));
    dbms_output.put_line('The instance Number: ' || to_char(l_instance_rec.INSTANCE_NUMBER));
    dbms_output.put_line('------------------------------------------');
    COMMIT;
    END IF;
    End;
    /

    I have found the problem:
    In create_item_instance for record type "instance_rec" pass values for "INSTALL_LOCATION_TYPE_CODE" and "INSTALL_LOCATION_ID". This will populate the "Installed At" address.

  • Convenient way to install Java3d API&Java1.4 jre at the same time?

    My Java3D program is embedded on Applet and I hope that anyone can run my program with only 1 installation(such that install Java1.4 jre and Java3D api at the same time...of course auto install all is best).Also,I have 2 link on my page..one is Java1.4 jre and other is Java3D 1.3 jdk,I hope my page have only 1 link and anyone can press once to install all..how can I do~~thank you~

    As stated in the Creative Suite CS5.5 EULA you are permitted to install ONE copy of Creative Suite  on your primary computer, and one additional copy on "a portable computer or a computer located at your home", provided this copy is not used at the same time as the primary installation. This is different from the idea that you can install it "on two computers" - you have to think of it as one copy being used in either of two locations, but never both. Installing two copies on desktop machines is not permitted unless one or both of them is in your own home.
    Creative Suite is sold and licensed as a single product (it has a unified serial number and the member applications cannot be transferred out of the Suite) so the rule on simultaneous use applies to any combination of the member applications. If your primary computer is running Photoshop, your home computer or laptop cannot run anything. This applies whether or not you're sitting at either machine (so leaving an office computer rendering out a video sequence overnight counts as 'in use').

  • Installing jai API

    hi,
    my name is amir. I don't know if this is the right forum to ask this question, but I'll be happy if you could answer me anyway.
    for about two weeks I was trying to install the jai API with no success. I downloaded several files but non of them was the right one, every time I had some classes or functions that didn't worked out.
    I'll be glad if you could give me the right file, and maybe even instruction of how to install it couse maybe this is the problem.
    thanks,
    amir

    re,
    yes, I need instruction for the installation.What is your programming environment?
    If you use a IDE like Netbeans you just need to add the jar-file to the library-folder(found
    under Tools->Libraries)
    If you got an other IDE there are simillar library management tools.
    To acces a class of JAI import the classes from:
    javax.media.jai.* etc.
    Clear now?
    Olek

Maybe you are looking for

  • Congrats on the MUCH faster forum

    Title says it all , the days this board saw down is a small price to pay for the hella improved performance , really wow guys

  • Question about USB-GPIB

    This is regarding the National Instruments GPIB-USB-A. If the GPIB-USB cable is not long enough, can I attach a standard GPIB cable onto it to extend the length? In this connection, one end of the GPIB cable is not connected to any device and would t

  • Dropping calls like crazy..why!!??

    I normally have great service at home..but the past few days, I'm dropping calls like crazy..have to go outside and stand in the driveway. NOT convenient! Also I keep losing my wifi when i go to the other end of the house, it starts using my 3G, neve

  • Chose files to sync on a Backup app?

    Can anyone suggest a backup program such as Dropbox ... but one which lets you choose which files/directories to sync. I want a program (app?) that lets me transfer photos to the cloud .... then erase them on my Macbook/Ipad to save space ... but  NO

  • I got scammed by an application, any chance I get a refund?

    Hi, 1 month ago I started playing a "war game" that I won't tell the name. I bought more than 1000$ of gems to be the number 1 and stay the number 1. I expected to play this game for years!!! Today, the developpers sent a mail to all players and told