Creating Chart Links Using Items and Labels.

Hi Guys,
I have created a chart with the following query:
Series 1
select null link, COUNTRY label, COUNT(UPGRADE_COMPLETED) "Upgrade Completed"
from "IBHP_SCHEMA1"."APAC_IBHP_TRACKING"
where REGION='ASEAN'
AND UPGRADE_COMPLETED='Y'
and account_classification <> 'Multiple Revenue'
and account_classification <> 'Duplicate'
and account_classification <> 'Partner'
group by COUNTRY
Series 2
select null link, COUNTRY label, COUNT(UPGRADE_INPROCESS) "Upgrade In Process"
from "IBHP_SCHEMA1"."APAC_IBHP_TRACKING" where REGION='ASEAN' AND UPGRADE_INPROCESS='Y'
and account_classification <> 'Multiple Revenue'
and account_classification <> 'Duplicate'
and account_classification <> 'Partner'
group by COUNTRY
and two other series.
Now when i click on teh values in chart, i want it to show in a report e.g. If total Upgrade complete for Philippines is 4. When i click the value of 4 it should show me 4 records for philippines.
Help will be appreciated.

Ok So here is the full detail:
I have 1 bar chart with 4 series, codes are below. THis is one Page 4
Series 1
select null link, COUNTRY label, COUNT(UPGRADE_COMPLETED) "Upgrade Completed"
from "IBHP_SCHEMA1"."APAC_IBHP_TRACKING"
where REGION='ASEAN'
AND UPGRADE_COMPLETED='Y'
and account_classification <> 'Multiple Revenue'
and account_classification <> 'Duplicate'
and account_classification <> 'Partner'
group by COUNTRY
Series 2
select null link, COUNTRY label, COUNT(UPGRADE_INPROCESS) "Upgrade In Process"
from "IBHP_SCHEMA1"."APAC_IBHP_TRACKING" where REGION='ASEAN' AND UPGRADE_INPROCESS='Y'
and account_classification <> 'Multiple Revenue'
and account_classification <> 'Duplicate'
and account_classification <> 'Partner'
group by COUNTRY
Series 3
select null link, COUNTRY label, COUNT(UPGRADE_PLANNED_NYC) "Planned but not Committed"
from "IBHP_SCHEMA1"."APAC_IBHP_TRACKING" where REGION='ASEAN' AND UPGRADE_PLANNED_NYC='Y'
and account_classification <> 'Multiple Revenue'
and account_classification <> 'Duplicate'
and account_classification <> 'Partner'
group by COUNTRY
Series 4
select null link, COUNTRY label, COUNT(UPGRADE_CANDIDATE_INYK) "Candidate Intention not Known"
from "IBHP_SCHEMA1"."APAC_IBHP_TRACKING" where REGION='ASEAN' AND UPGRADE_CANDIDATE_INYK='Y'
and account_classification <> 'Multiple Revenue'
and account_classification <> 'Duplicate'
and account_classification <> 'Partner'
group by COUNTRY
So the chart looks like a stacked bar chart, showing Each Series per 7 countries in the ASEAN region
THEN- I have created another page where i have a report which is page 22
The code for this report is:
select     "APAC_IBHP_TRACKING"."COUNTRY" as "COUNTRY",
     "APAC_IBHP_TRACKING"."ACCOUNT_NAME" as "ACCOUNT_NAME",
     "APAC_IBHP_TRACKING"."REVENUE_BAND" as "REVENUE_BAND",
     "APAC_IBHP_TRACKING"."GCM_ACCOUNT_ID" as "GCM_ACCOUNT_ID",
     "APAC_IBHP_TRACKING"."REGION" as "REGION",
     "APAC_IBHP_TRACKING"."SALES_INDUSTRY" as "SALES_INDUSTRY",
     "APAC_IBHP_TRACKING"."NEW_IMPLEMENTATION" as "NEW_IMPLEMENTATION",
     "APAC_IBHP_TRACKING"."PRODUCT_VERSION1" as "PRODUCT_VERSION1",
     "APAC_IBHP_TRACKING"."PRODUCT_VERSION2" as "PRODUCT_VERSION2",
     "APAC_IBHP_TRACKING"."ACCOUNT_CLASSIFICATION" as "ACCOUNT_CLASSIFICATION",
     "APAC_IBHP_TRACKING"."UPGRADE_COMPLETED" as "UPGRADE_COMPLETED",
     "APAC_IBHP_TRACKING"."UPGRADE_INPROCESS" as "UPGRADE_INPROCESS",
     "APAC_IBHP_TRACKING"."GO_LIVE_DATE" as "GO_LIVE_DATE",
     "APAC_IBHP_TRACKING"."UPGRADE_PLANNED_NYC" as "UPGRADE_PLANNED_NYC",
     "APAC_IBHP_TRACKING"."UPGRADE_CANDIDATE_INYK" as "UPGRADE_CANDIDATE_INYK",
     "APAC_IBHP_TRACKING"."UPGRADE_TIMEFRAME" as "UPGRADE_TIMEFRAME",
     "APAC_IBHP_TRACKING"."NOTUPGRADING_OLDREALASE" as "NOTUPGRADING_OLDREALASE",
     "APAC_IBHP_TRACKING"."NOTUPGRADING_FUSION" as "NOTUPGRADING_FUSION",
     "APAC_IBHP_TRACKING"."NOTUPGRADING_MAYSWITCH" as "NOTUPGRADING_MAYSWITCH",
     "APAC_IBHP_TRACKING"."NOTUPGRADING_NODECISION" as "NOTUPGRADING_NODECISION",
     "APAC_IBHP_TRACKING"."NOTUPGRADE_NOTUSINGAPP" as "NOTUPGRADE_NOTUSINGAPP",
     "APAC_IBHP_TRACKING"."GLOBAL_CUSTOMER" as "GLOBAL_CUSTOMER",
     "APAC_IBHP_TRACKING"."COMMENTS" as "COMMENTS",
     "APAC_IBHP_TRACKING"."SALES_REP" as "SALES_REP",
     "APAC_IBHP_TRACKING"."CC_MANAGER" as "CC_MANAGER",
     "APAC_IBHP_TRACKING"."IMPLEMENTATION_PARTNER" as "IMPLEMENTATION_PARTNER",
     "APAC_IBHP_TRACKING"."OCS_CS_MANAGER" as "OCS_CS_MANAGER",
     "APAC_IBHP_TRACKING"."GCM_OPP_ID" as "GCM_OPP_ID",
     "APAC_IBHP_TRACKING"."REVENUE_APPS" as "REVENUE_APPS",
     "APAC_IBHP_TRACKING"."REVENUE_TECH" as "REVENUE_TECH",
     "APAC_IBHP_TRACKING"."REVENUE_SYS" as "REVENUE_SYS",
     "APAC_IBHP_TRACKING"."REVENUE_OFM" as "REVENUE_OFM",
     "APAC_IBHP_TRACKING"."REVENUE_OCS" as "REVENUE_OCS",
     "APAC_IBHP_TRACKING"."REVENUE_ACS" as "REVENUE_ACS",
     "APAC_IBHP_TRACKING"."TOTAL_REVENUE" as "TOTAL_REVENUE",
     "APAC_IBHP_TRACKING"."GCM_STATUS" as "GCM_STATUS",
     "APAC_IBHP_TRACKING"."CLOSE_DATE" as "CLOSE_DATE",
     "APAC_IBHP_TRACKING"."NEW_DEAL_ADDED" as "NEW_DEAL_ADDED",
     "APAC_IBHP_TRACKING"."REFERENCE_CUSTOMER" as "REFERENCE_CUSTOMER",
     "APAC_IBHP_TRACKING"."LOCAL_NAME" as "LOCAL_NAME"
from     "APAC_IBHP_TRACKING" "APAC_IBHP_TRACKING"
where "APAC_IBHP_TRACKING"."COUNTRY" = :P22_COUNTRY
Within the same report i have created a Hidden page item information is below:
Sourced Used- Always replacing any existing value in session state
Source Type- Database Column
Database Column Name- Country
CHART SERIES AREA- So going back to page 4 and taking first series for example, i have the following action item:
Action link- link to custom target
Target- page in this application
Page- 22
Item 1- Country
VALUE=#LABEL#

Similar Messages

  • How to create database link between oracle and SQL Server

    Hello Everyone,
    Here i have Oracle Database 9i and SQL Server 2005 databases.
    I have some tables in sql server db and i want to access from Oracle.
    How to create a database link between these two servers
    Thanks,

    Thanks for Everyone,
    I was struggle with this almost 10 days....
    I created Database link from Oracle to SQL Server
    Now it is fine.........
    Here i am giving my servers configuration and proceedure how i created the db link...@
    Using Generic Connectivity (HSODBC) we can create db link between Oracle and SQL server.
    Machine (1)
    DB Version : Oracle 9.2.0.7.0
    Operating System : HP-UX Itanuim 64 11.23
    IP : 192.168.0.31
    Host : abcdbt
    Machine (2)
    Version : SQL Server 2005
    Operating System : Windows server 2003 x86
    IP : 192.168.0.175
    Host : SQLDEV1
    User/PW : sa/abc@123! (Connect to database)
    Database : SQLTEST (exsisting)
    Table : T (“ T “ is the table existing in SQLTEST database with 10 rows)
    Prerequisites in Machine (2):
    a)     Oracle 10g software
    b)     User account to access SQL Server database (sa/abc@123!)
    c)     Existing SQL Server Database (SQLTEST)
    d) Tables (testing purpose) (T)
    Steps:
    1)     Install Oracle 10.2.0.1 (Only SW,No need of database) *(Machine 2)*
    2)     Create a DSN where your windows Oracle 10g SW resides *(Machine 2)*
    Control panel >> Administrative Tools >> Data Source (ODBC) >> System DSN ADD
    You can follow this link also.....
    http://www.databasejournal.com/features/oracle/article.php/3442661/Making-a-Connection-from-Oracle-to-SQL-Server.htm
    I created DSN as
    DSN name : SQLTEST
    User : SA/abc@123! (Existing user account)
    Host : 192.168.0.175 (machine 2)
    Already I have 1 database in SQL Server with the name SQLTEST
    You can create DSN with different name also (not same as db name also)
    3)     Create a hsodbc init file in $ORACLE_HOME\hs\admin *(Machine 2)*
    Create init<DSN NAME> file
    Ex: initSQLTEST
    Copy inithsodbc to initSQLTEST
    And edit
    initSQLTEST file
    HS_FDS_CONNECT_INFO = SQLTEST    <DSN NAME>*
    HS_FDS_TRACE_LEVEL = OFF*
    save the file....@
    4)     Configure Listener.ora *(Machine 2)*
    LISTENER_NEW =
    (DESCRIPTION_LIST =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    SID_LIST_LISTENER_NEW =
    (SID_LIST =
    (SID_DESC =
    (SID_NAME = SQLTEST) *+< Here SQLTEST is DSN NAME >+*
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = hsodbc))
    (SID_DESC =
    (SID_NAME = PLSExtProc)
    (ORACLE_HOME = G:\oracle 10g\oracle\product\10.2.0\db_1)
    (PROGRAM = extproc) )
    :> lsnrctl start LISTENER_NEW
    5)     Configure tnsname.ora *(Machine 2)*
    SQLTEST11 =
    (DESCRIPTION =
    (ADDRESS_LIST =
    (ADDRESS = (PROTOCOL = TCP)(HOST = 192.168.0.175)(PORT = 1525))
    (CONNECT_DATA =
    (SERVER = DEDICATED)
    (SERVICE_NAME = SQLTEST))
    (HS=OK)
    :> tnsping SQLTEST11
    If No errors then conti….
    6)     Configure a file *(Machine 1)*
    Cd $TNS_ADMIN ($ORACLE_HOME/network/admin)
    Create a file
    $ vi TEST_abcdbt_ifile.ora
    something=
    (DESCRIPTION=
    (ADDRESS=(PROTOCOL=tcp)(HOST =192.168.0.175) (PORT=1525))
    (CONNECT_DATA=
    (SID=SQLTEST))
    (HS=OK)
    $ tnsping something
    $ sqlplus system/manager
    Your connected to Oracle database *(machine 1)*
    create database link xyz connect to “sa” identified by “abc@123!” using ‘SOMETHING’;
    select * from t@xyz;10 rows selected.
    Thanks,
    Edited by: ram5424 on Feb 10, 2010 7:24 PM

  • Link between Item and delivery

    Hi ,
    I want to know the link between item and deliveyr. Like for example, an sales order item ( no. 10) containing 10 quantities can be delviered 5 times( each containing 2 quantities) and line item ( no. 20) can contain one single delivery. I am working on a report where i have to link all the line item to its delivery number. I am trying to achieve this through GENIl but i am not able to indetify as to how to differentiate the different deliveyr numbers. In other words, can some one help me as to how to link the delivery number to its corresponding items?

    Document flow is stored in the table VBFA in ECC.
    VBELV fied is the sales order number and in POSNV specify the line item number and speicfy VBTYP_N = J (Delivery).
    Regards,
    Bhanu

  • How to create a user using XML and specifying addional attributes that are objects

    I'm trying to create a user using XML and specifying some attributes that are objects and not sure how to do it. How would I set the DirectoryUserAcl to Public?
    Here's the xml file:
    <?xml version = '1.0' standalone = 'yes'?>
    <SimpleUser>
    <UserName>mike2</UserName>
    <Password>abc123</Password>
    <AdminEnabled>false</AdminEnabled>
    <HomeFolderRoot>/home</HomeFolderRoot>
    <HasContentQuota>false</HasContentQuota>
    <DirectoryUserAcl> ??? </DirectoryUserAcl>
    <DefaultAclBundleAcl> ??? </DefaultAclBundleAcl>
    <HomeFolderPolicyBundleAcl> ??? </HomeFolderPolicyBundleAcl>
    </SimpleUser>

    I figured out the answer:
    <?xml version = '1.0' standalone = 'yes'?>
    <SimpleUser>
    <UserName>mike2</UserName>
    <Password>abc123</Password>
    <AdminEnabled>false</AdminEnabled>
    <HomeFolderRoot>/home</HomeFolderRoot>
    <HasContentQuota>false</HasContentQuota>
    <DirectoryUserAcl classname="SystemAccessControlList" refType="name">Public</DirectoryUserAcl>
    </SimpleUser>
    null

  • Problem while creating partner link using https URL

    Hi,
    To create the partnerlink using https URL, I had done the following:
    -Imported the self signed certificate into the OraBPELPM_\jdk\jre\lib\security\cacert
    -Added following entries in OraBPELPM_1\integration\jdev\jdev\bin\jdev.conf
    AddVMOption -Djavax.net.ssl.keyStore=E:\OraBPELPM_1\jdk\jre\lib\security\cacert
    AddVMOption -Djavax.net.ssl.keyStorePassword=esbtest123
    I am not able to create partner link using URL https://localhost/orabpel/default/ErrorHandlerBPEL/1.0/ErrorHandlerBPEL?wsdl .
    Able to create partnerlink using same URL if I replace https with http.
    Did I miss any other configuration that needs to done to create partnerlink using https in JDeveloper BPEL Designer.
    Thanks,
    -Vidya

    Hi,
    I  too have the same issue. Appriciate if you share some knowledge on this issue.
    Thanks
    Aravinda

  • Want To create Zip file  using java,And Unzip without Java Program

    I want to create a zip text file using java, I know Using ZipOutputStream , we can create a zip file, , But i want to open that zip file without java program. suppose i use ZipOutputStream , then zip file is created But for unZip also difftrent program require. We cant open that zip file without writing diff java program.
    Actually i have one text file of big size want to create zip file using java , and unzip simply without java program.Its Possible??
    Here is one answer But I want to open that file normal way(
    For Exp. using winzip we can create a zip file and also open simply)
    http://forum.java.sun.com/thread.jspa?threadID=5182691&tstart=0

    Thanks for your Reply,
    I m creating a zip file using this program, Zip file Created successfully But when im trying to open .zip file i m getting error like "Canot open a zip file, it does not appear to be valid Archive"
    import java.io.*;
    import java.util.zip.*;
    public class ZipFileCreation
         public static void main (String argv[])
         try {
         FileOutputStream fos = new FileOutputStream ( "c:/a.zip" );
         ZipOutputStream zip = new ZipOutputStream ( fos );
         zip.setLevel( 9 );
         zip.setMethod( ZipOutputStream.DEFLATED );
    //     get the element file we are going to add, using slashes in name.
         String elementName = "c:/kalpesh/GetSigRoleInfo092702828.txt";
         File elementFile = new File ( elementName );
    //     create the entry
         ZipEntry entry = new ZipEntry( elementName );
         entry.setTime( elementFile.lastModified() );
    //     read contents of file we are going to put in the zip
         int fileLength = (int)elementFile.length();
         System.out.println("fileLength = " +fileLength);
         FileInputStream fis = new FileInputStream ( elementFile );
         byte[] wholeFile = new byte [fileLength];
         int bytesRead = fis.read( wholeFile , 0 /* offset */ , fileLength );
    //     checking bytesRead not shown.
         fis.close();
    //     no need to setCRC, or setSize as they are computed automatically.
         zip.putNextEntry( entry );
    //     write the contents into the zip element
         zip.write( wholeFile , 0, fileLength );
         zip.closeEntry(); System.out.println("Completed");
    //     close the entire zip
         catch(Exception e) {
    e.printStackTrace();
    }

  • How to Create Symbolic link using pure Java code?

    Hi,
    I would appreciate if someone can tell me how to create symbolic link using JAVA API. I have looked into many forums but couldn't get a better answer.

    Java is likely not the tool to use here, as symlinks are not present in Windows while "pure" Java attempts to be platform independent. You could use Runtime.exec to execute the ln -s command
    http://forum.java.sun.com/thread.jspa?threadID=664475&messageID=3892685
    Good Luck
    Lee

  • Create a Link using Dynamic Text and Capture Variable

    I am building a dynamic website using Dreamweaver CS5 with Coldfusion 9
    Currently I have created a dynamic text table. The table is created by querying the Invoice table and displays the all the customers Invoices. The columns Include Invoice #, Date, Amount Paid, BalanceRemaining, Due Date. So basically lists all the invoices I have applied to the unique customer. It is pulled up using a session variable I created from the login page.
    My question is this I want to make the "Invoice #" linked so when you click on it it goes to a new page and performs a new query which retrieves infro related to that specific invoice such as Services Rendered, Service Description, Date, Price, Total. I was able to create a link to the Invoice # but I am stuck trying to figure out how to capture the Unique Invoice # and apply it to the new query. Is this possible if so how?
    Thanks for your help!

    Now keep in mind I am speaking strictly from a web and SQL standpoint as I have no experience with coldfusion.
    If you are able to create the link to the Invoice, I am perceiving this as the following:
    Invoice
    Links to
    #123
    page.php?invoice=123
    #345
    page.php?invoice=345
    If your page is setup like that then you already have the data stored in the browser request with the GET method.  In PHP the equivalent is the $_GET array.  I am assuming ColdFusion has a similar array to work with forms.  Then on your following page you obviously need to check that the visitor came from the prior page with the proper permissions to ensure that someone doesn't get the address page.php?invoice=### and just guesses through and views all invoices if they are not supposed to.  Then your query would look something like the following:
    SELECT * FROM invoice_table WHERE invoice_number = $_GET['invoice']
    Remember this in written in PHP so yours should be a similar equivalent.
    Hopefully this helps a little to get you going in the right direction.

  • How to create an InputSelect using ADF and JSP

    I looking for some docs/instructions on creating "an InputSelect using ADF with JSP".
    Thanks,
    BG...

    Ok here are the Steps
    1) Open the JSP editor for the page in Question.
    2) In the Data Control palette select the item that you want to become the poplist and change the "Drop As" poplist to "Single Select List"
    3) Drag the field into the page. You'll get an empty poplist which implements the <html:select> and <html:optionsCollection> tags.
    4) With the JSP editor still open click on the "UI Model" sub-tab in the Structure pane
    5) Select the field you've just dragged in - then right click to get the context menu and choose "edit"
    6) Change the List Binding Mode poplist to "LOV Mode"
    You're then taken into a couple of screens where you can select the Source VO for the poplist, and the destination dataset, along with the thing you want for the Label and the Value.

  • How to create navigational links...and connect views of another component

    Hi...
    I am new to SAP CRM...
    I have a requirement where i need to navigate from the main window of a component to the view of a different component.
    Scenario:
    When i click on edit button after selecting a line item in the assignment block in the BT111H_OPPT/Details ,it should navigate to the details page of the line item which is the view of another component that has been created .say ZRP/PEL.
    How can i achieve this using the concept of inbound/outbound plugs and navigational links?
    I have got a vague idea on plugs from my search...that these are entry/exit points to views.
    But what is the procedure to follow to attain the functionality?
    How do we decide on which component needs which all plugs?
    Anyhelpful pointers would be rewarded.
    Also, an idea on what exactly does the inbound/outbound plugs do and how is the flow happening , how are navigational links working etc would be appreciated.
    Thanks..

    Steps to create navigational link:
    1.     Create an outbound plug in the component from where you want to navigate. Sometimes      
                    standard navigational links are already there.. you just need to identify it.
    2.     Create a Component usage in runtime repository for target component.
    3.     Add this component usage to the main window view in repository. 
    4.     Create navigation link between the transaction type and the target component view.
    5.     In the outbound plug, use the view manager to navigate to the target component. Ex: 
                    ME->FIRE_OUTBOUND_PLUG( IV_OUTBOUND_PLUG   = 'TO_OUTPLUG''
                              IV_DATA_COLLECTION = LR_COL ).
    6.     Pass the data through the data collection.

  • Feature Request: Linked flags, ratings, and labels in a stack

    I use stacks to group the original image with derivatives of that image, but the way Flags, Ratings, and Labels work on stacked images isn't well implemented for that.
    Often, I will create derivatives of the original by flagging a bunch of images as Picks, then using export to create the new files.  When I do this, the rating and status of the original are automatically added to the new files.  Unfortunately, the Flag status is not, so I cannot, for example, just set a filter for Flag = Pick and continue working with the same set of images.  Likewise, since stacks aren't fully implemented in collections, I can't just create a collection first and then continue working there the way I'd like to.
    What I'd like is to have a checkbox in the export dialogue, when I am stacking with the original, that will allow me to copy the Flag status to the new files.  That way, my Flag=Pick filter will allow me to keep on working with the same set of photos.
    Even once the photos are stacked, I can't really work with them as a set because, now, a Flag, Rating, or Label change to one image in the stack doesn't affect the others.  For me, since these are all derivative of the master image, I generally want such changes to apply to the entire stack.  I know this probably isn't true for others, so what I envision is an intuitive icon on a stack to quickly link or unlink, or select or unselect, all images in the stack.  When all are linked or selected, any changes would affect all the images in the stack, otherwise, changes would only apply to the currently selected or visible image in the stack.
    Paul Wasserman

    Thanks Carolyn.
    I'll follow your link.
    I'd also like to know others input. Sometimes I think I'm the only ones who is used to shortcuts, or I have to wait until forum residents quit writing (others might think I'm taken care of and not replying) so people who actually uses the Mac to work can opine.
    Anyway, here's how I use the browser when working. I think it's very common, or at least enough for an "option".
    https://discussions.apple.com/message/18776345?ac_cid=op123456#18776345
    (I didn't want to post it here too)

  • How to create interactive links, using Adobe InDesign.

    After you create a book in InDesign and export as PDF, the links do not work, nothing happens. They are linked to each document individually.
    I need to work within the generated PDF.
    What to do?
    thank you
    <moved to the indesign forum by mod>

    What version of InDesign? What operating system? What kind of links did you make? What tool did you use? Did you export to PDF (Interactive)?

  • Very Urgent..How to create a report Using SQ01 and Sq02.

    Hi Friends,
    It's very urgent.pl help  me in generating a report using SQ01 and SQ02.
    Help is appreciated.
    thanks In advance.
    Regards,
    Nanditha.

    Check out these links...
    http://www.insightcp.com/res_15.htm
    http://www.ams.utoronto.ca/Assets/output/assets/adhoc_2990830.pdf.pdf
    Also, do basic search in this forum...you will find a lot of threads related to this.
    SKR

  • How to creating pdf documents using c# and Adobe SDK

    I downloaded Adobe SDK and go through the samples given in sdk. But i couldn't find any sample code how to create PDF file using C# code.
    Please, help me with this.
    Thanks.

    For desktop-based solutions, look at the Adobe Acrobat SDK which enables development around Acrobat itself. Or if you wish a stand-alone solution (for either desktop or server), we offer the Adobe PDFLibrary, which is the same technology used by all of Adobe's applications.
    For the server, we have our LiveCycle products including LC Generator.
    Leonard

  • Create a record using SAPUI5 and ODATA Service

    Hi there,
    since SPS6, SAP HANA should allow CRUD operations using an ODATA Service.
    That sounds nice and so I wanted to give it a try.
    I've started by creating a simple table and set up a tiny application that displays the data in a grid (using a JSON Model) and allows to insert new records by entering data into two textfields and save them as a new record to the databse. That works well, the grid shows the records which I have created using the SAP HANA Studio.
    So I wanted to create new records, and the documentation says very clearly how to create a new record.
    I've tried it this way, but when the request is send I get an 501 Not Implemented error.
    Thats the code I'm using in my SAVE-Button:
    btnSave.attachPress(function() {
       var entry = {};
       entry.id = tfUserId.getValue();
       entry.username = tfUserName.getValue();
       oData.create('/tbl_user', entry, null,
       function() {
          alert("Create successful");
       function() {
          alert("Create failed");
    After that I've tried to create a record using the POSTMAN extension for Chrome browser as mentioned in this cool video by Thomas Jung.
    Unfortunately, this also doesn't work for me. After sending the request I get as respone a sap hana xs login window with Status Code 200 instead of a status code "201 created".
    Here's a screenshot:
    I'm using SAP HANA Cloud Trial.
    Anybody got an idea what I'm doing wrong? Or does ODATA CRUD not work an SAP HANA Cloud Trial?
    Many thanks,
    ben

    Hi Jason,
    exactly, it's the logon page returned that is opened when I open the service URL in the browser. After logging on I can see the results of the ODATA service call.
    The URL must be correctly defined, the grid shows up the data from the ODATA Service.
    And yes, the URL looks OK when expecting in Chrome developer tools...
    Thanks,
    ben

Maybe you are looking for

  • Error in creating a simple table with JSON object in SAPUI5

    The error is :  SCRIPT1006: Expected ')'  <!DOCTYPE HTML> <HTML> <HEAD> <TITLE>Your Title Here</TITLE> <META http-equiv="X-UA-Compatible" content="IE=edge"> <META http-equiv='cache-control' content='no-cache'> <META http-equiv='expires' content='0'>

  • HP DESKJET 2540 Printing Problem

    21-2015 08:06 AM Good evening everyone, I'm a professional that working in the computer industry , but alas this time are messed up with my work . The printer in question is a product that I give regularly , I will have installed a dozen , this today

  • Since the indesign cs6 update, i can't open illcs6 files in photoshopcs6?

    i updated indesign cs6 this morning and now i can't open illustrator files in photoshop cs6, in fact, photoshop files won't open either!! please, what should i do?

  • Display pdf in a popup window

    Hello @all, i want to convert a smartform to pdf and show the pdf in an second window or in a popup. When i click on a button in the application, a new window with the pdf should be open. Is this possible to show the pdf in a second window or in a po

  • Terms and conditions for materials

    How do the Terms & Conditions appear in SAP.MM when a materials order gets cut? Can SAP handle multiple legal Terms & Conditions? One set of Terms & Conditions for materials orders and another set for service orders??