SQL Query in Visual Composer 7.1.1 SP2

Hi all,
I want to use an SQL Query in Visual Composer 7.1.1 but I only can search for Stored Procedures. There is documentation available but not for VC 7.1.1.  I also can not use the Query Wizard for this as the System does not show up in the list.
So how is it possible to use SQL Queries in Visual Composer 7.1.1.
Thank You
Nicolas

Hi Nicolas,
If you want to use SQL statements, you should use the BI JDBC capabilities of Visual Composer. For information on how to configure such system go to [http://help.sap.com/saphelp_nwce711/helpdata/EN/3f/0f883fed254875883290c98c0c20c1/content.htm|http://help.sap.com/saphelp_nwce711/helpdata/EN/3f/0f883fed254875883290c98c0c20c1/content.htm]
Once you have it configured you should be able to search for the tables in VC. For info about this refer to [http://help.sap.com/saphelp_nwce711/helpdata/EN/7d/a109d5efcc4644a9f2da2ab27e50dd/content.htm|http://help.sap.com/saphelp_nwce711/helpdata/EN/7d/a109d5efcc4644a9f2da2ab27e50dd/content.htm]
After you drag and drop a table to the storyboard, you can right click on it and select "SQL Editor" to edit the SQL statement.
I hope this helps,
Netanel

Similar Messages

  • How to analyzer the BI query in VISUAL COMPOSER?

    hi experts,
    could you please explain me how to analyze the Bex query in VISUAL COMPOSER? could you please provide me the step-by-step documentation if possible??
    regards
    vadlamudi

    Hi Vadlamudi,
    Here is some documentation for using BI Queries in VC:
    [Modeling Composite Views Using BI Data Services|http://help.sap.com/saphelp_nwce10/helpdata/en/46/081ed5f8685875e10000000a11466f/frameset.htm]
    [Maintaining BI System Connections|http://help.sap.com/saphelp_nwce10/helpdata/en/7e/6dbcea3700452195e3bddaa47c5906/frameset.htm]
    I hope it helps,
    Regards,
    Udi

  • Require query in Visual composer

    Hi,
        I want to call below query in Visual composer.
          1) SAP query from R/3 server 
          2) BEX query from BW server.
              I am able to see BAPI/RFC from R/3 server but not query. Do we require any additional thing with VC to call those queries?
                        I have heard about connecter, When we install VC it comes with that or we need to add connecter explicitly to call query. If yes then what I need to do. Let me know it’s urgent.

    Hi Sachin,
    I'm sorry for the delay. SDN had some problems the last minutes..
    Here the link to the weblog, helping you to set up both systems:
    <a href="/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer">/people/marcel.salein/blog/2007/03/14/how-to-create-a-portal-system-for-using-it-in-visual-composer</a>
    Best Regards, Benni

  • How to replace a dates on a SQL query on Visual Studio (and get the query to work in there in the first place)?

    Morning all,
    I've just been assigned a report-related project but I have not created much of anything in C# or .Net before!
    I was wondering if someone could help me get started. Here are the specifications:
    Basically, I am to create an automated report application. I have the query and I will include it further down
    in this post. The page is to have a couple blanks to specify the Start Date and End Date and replace those dates in the query, and generate the report. What I need some help on is how to make the SQL query work in the application which I will connect to the
    intended database to generate the report (basic I know, but I'm new at this) on Visual Studio 2010. I also need some help on programming the Start Date blank and End Date blank so that what the user types in for those blanks will replace the date fields in
    the SQL query, then generate the report with the new dates. 
    I appreciate the help!
    The SQL query and what the dates are replacing:
    select 
    PTH.INST_ID ,
    PTH.EMPLOYEE_ID,
    DBH.HR_DEDUCTION_AND_BENEFITS_CODE,
    replace(DB.DESCRIPTION,',',''),
    DB.WITHHOLDING_LIABILITY_ACCOUNT_MASK,
    DBH.HR_DEDUCTION_AND_BENEFITS_ID,
    DBH.CHECK_DATE,
    DBH.CHECK_NO,
    DBH.FIN_INST_ACCT_ID,
    replace(replace (DBH.COMMENT,CHAR(10),' '),CHAR(13),' '),
    DBH.HR_DEDUCTION_AND_BENEFIT_CYCLE_CODE,
    DBH.LENGTH,
    DBH.EMPLOYEE_COMPUTED_AMOUNT,
    DBH.EMPLOYEE_BANK_ROUTING_NUMBER,
    DBH.EMPLOYEE_ACCOUNT_TYPE,
    DBH.EMPLOYEE_ACCOUNT_NUMBER,
    DBH.EMPLOYER_COMPUTED_AMOUNT,
    DBH.EMPLOYEE_GROSS_AMOUNT,
    DBH.EMPLOYER_GROSS_AMOUNT,
    DBH.PAYROLL_EXCLUDE,
    PTH.VOID_DATE,
    PTH.BATCH_QUEUE_ID,
    B.BATCH_CODE,
    BQ.FY,
    BQ.END_DATE,
    BQ.COMMENTS,
    BQ.BATCH_CRITERIA_USED,
    BP.COLUMN_VALUE,
    PTH.REPLACEMENT,
    P.LAST_NAME,
    P.FIRST_NAME,
    P.MIDDLE_NAME
    from PY_EMPLOYEE_TAX_HISTORY PTH
    INNER JOIN PERSON_EMPLOYEE PE ON
    PE.INST_ID=PTH.INST_ID AND
    PE.EMPLOYEE_ID=PTH.EMPLOYEE_ID
    INNER JOIN PERSON P ON
    PE.INST_ID=P.INST_ID AND
    PE.PERSON_ID=P.PERSON_ID
    LEFT JOIN HR_EMPLOYEE_DEDUCTIONS_AND_BENEFITS_HISTORY DBH ON
    PTH.INST_ID=DBH.INST_ID AND
    PTH.CHECK_DATE=DBH.CHECK_DATE AND
    PTH.CHECK_NO=DBH.CHECK_NO AND
    PTH.EMPLOYEE_ID=DBH.EMPLOYEE_ID
    LEFT JOIN HR_DEDUCTION_AND_BENEFITS DB ON
    DB.INST_ID=DBH.INST_ID AND
    DB.HR_DEDUCTION_AND_BENEFITS_CODE=DBH.HR_DEDUCTION_AND_BENEFITS_CODE
    LEFT JOIN BATCH_QUEUE BQ ON
    PTH.BATCH_QUEUE_ID=BQ.BATCH_QUEUE_ID
    LEFT JOIN BATCH B ON
    B.BATCH_CODE=BQ.BATCH_CODE 
    LEFT JOIN BATCH_PARAMETER BP ON
    BQ.BATCH_QUEUE_ID=BP.BATCH_QUEUE_ID
    AND BP.COLUMN_NAME = 'SUPPRESS_DIRECT_DEPOSIT'
    ------Please change the WHERE condition for date range of the month you need to run this for.
    WHERE PTH.CHECK_DATE >='07/01/2013'
    AND PTH.CHECK_DATE <='07/31/2013'
    and BQ.BATCH_CODE='BAT_PY_PAYCALC'
    and bq.fy=2014
    ORDER BY PTH.INST_ID ,
    PTH.EMPLOYEE_ID,
    DBH.HR_DEDUCTION_AND_BENEFITS_CODE,
    DBH.CHECK_DATE

    Try this code.  The Server name will be the same name when you use SQL Server Management Studio (SSMS).  It is in the login window for SSMS.  I assume you are using SQLSTANDARD (not SQLEXPRESS) which is in the connection string in the code
    below. I also assume you have remote connection allowed in the database.
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;
    using System.Data;
    using System.Data.SqlClient;
    namespace ConsoleApplication1
    class Program
    const string DATABASE = "Enter Database Name Here";
    const string SERVER = "Enter Server Name Here";
    static void Main(string[] args)
    DateTime startDate = DateTime.Parse("07/01/2013");
    string startDateStr = startDate.ToString("MM/dd/yyyy");
    DateTime endDate = new DateTime(startDate.Year, startDate.Month + 1, 1).AddDays(-1);
    string endDateStr = endDate.ToString("MM/dd/yyyy");
    string connStr = string.Format("Server={0}\\SQLSTANDARD;Database={1};Trusted_Connection= True;", SERVER,DATABASE);
    string SQL = string.Format(
    "select\n" +
    " PTH.INST_ID\n" +
    ",PTH.EMPLOYEE_ID\n" +
    ",DBH.HR_DEDUCTION_AND_BENEFITS_CODE,\n" +
    ",replace(DB.DESCRIPTION,',','')\n" +
    ",DB.WITHHOLDING_LIABILITY_ACCOUNT_MASK\n" +
    ",DBH.HR_DEDUCTION_AND_BENEFITS_ID\n" +
    ",DBH.CHECK_DATE\n" +
    ",DBH.CHECK_NO\n" +
    ",DBH.FIN_INST_ACCT_ID\n" +
    ",replace(replace (DBH.COMMENT,CHAR(10),' '),CHAR(13),' ')\n" +
    ",DBH.HR_DEDUCTION_AND_BENEFIT_CYCLE_CODE\n" +
    ",DBH.LENGTH\n" +
    ",DBH.EMPLOYEE_COMPUTED_AMOUNT\n" +
    ",DBH.EMPLOYEE_BANK_ROUTING_NUMBER\n" +
    ",DBH.EMPLOYEE_ACCOUNT_TYPE\n" +
    ",DBH.EMPLOYEE_ACCOUNT_NUMBER\n" +
    ",DBH.EMPLOYER_COMPUTED_AMOUNT\n" +
    ",DBH.EMPLOYEE_GROSS_AMOUNT\n" +
    ",DBH.EMPLOYER_GROSS_AMOUNT\n" +
    ",DBH.PAYROLL_EXCLUDE\n" +
    ",PTH.VOID_DATE\n" +
    ",PTH.BATCH_QUEUE_ID\n" +
    ",B.BATCH_CODE\n" +
    ",BQ.FY\n" +
    ",BQ.END_DATE\n" +
    ",BQ.COMMENTS\n" +
    ",BQ.BATCH_CRITERIA_USED\n" +
    ",BP.COLUMN_VALUE\n" +
    ",PTH.REPLACEMENT\n" +
    ",P.LAST_NAME\n" +
    ",P.FIRST_NAME\n" +
    ",P.MIDDLE_NAME\n" +
    " from PY_EMPLOYEE_TAX_HISTORY PTH\n" +
    " INNER JOIN PERSON_EMPLOYEE PE ON\n" +
    " PE.INST_ID=PTH.INST_ID AND\n" +
    " PE.EMPLOYEE_ID=PTH.EMPLOYEE_ID\n" +
    " INNER JOIN PERSON P ON\n" +
    " PE.INST_ID=P.INST_ID AND\n" +
    " PE.PERSON_ID=P.PERSON_ID\n" +
    " LEFT JOIN HR_EMPLOYEE_DEDUCTIONS_AND_BENEFITS_HISTORY DBH ON\n" +
    " PTH.INST_ID=DBH.INST_ID AND\n" +
    " PTH.CHECK_DATE=DBH.CHECK_DATE AND\n" +
    " PTH.CHECK_NO=DBH.CHECK_NO AND\n" +
    " PTH.EMPLOYEE_ID=DBH.EMPLOYEE_ID\n" +
    " LEFT JOIN HR_DEDUCTION_AND_BENEFITS DB ON\n" +
    " DB.INST_ID=DBH.INST_ID AND\n" +
    " DB.HR_DEDUCTION_AND_BENEFITS_CODE=DBH.HR_DEDUCTION_AND_BENEFITS_CODE\n" +
    " LEFT JOIN BATCH_QUEUE BQ ON\n" +
    " PTH.BATCH_QUEUE_ID=BQ.BATCH_QUEUE_ID\n" +
    " LEFT JOIN BATCH B ON\n" +
    " B.BATCH_CODE=BQ.BATCH_CODE\n" +
    " LEFT JOIN BATCH_PARAMETER BP ON\n" +
    " BQ.BATCH_QUEUE_ID=BP.BATCH_QUEUE_ID\n" +
    " AND BP.COLUMN_NAME = 'SUPPRESS_DIRECT_DEPOSIT'\n" +
    " WHERE PTH.CHECK_DATE >='{0}'\n" +
    " AND PTH.CHECK_DATE <='{1}'\n" +
    " and BQ.BATCH_CODE='BAT_PY_PAYCALC'\n" +
    " and bq.fy=2014\n" +
    " ORDER BY PTH.INST_ID\n" +
    ",PTH.EMPLOYEE_ID\n" +
    ",DBH.HR_DEDUCTION_AND_BENEFITS_CODE\n" +
    ",DBH.CHECK_DATE", startDateStr, endDateStr);
    SqlDataAdapter adapter = new SqlDataAdapter(SQL, connStr);
    DataTable dt = new DataTable();
    adapter.Fill(dt);
    jdweng
    Could you elaborate more on what this code does in general?
    Does it generate a table with the data between specified dates? If so, where is the table shown? 
    Where does one enter in the specified start and end dates on the Web Application? Do I have to create start and end date blanks and link them to the code for it to work?
    Sorry for the inconvenience - I'm just really new at this. Thanks!

  • Unable to create visual composer table view from the Bex Query

    Hi
    I am trying to create the visual composer lay out from a Bex query. The Bex query contains a set of Key figures and a structure.
    These key figure and structure combination is forming a table in the query output. Key figure parameters are coming as rows and Structure parameters are coming as columns.
    example query out put:
    Total, HPC, FDS excel ICe etc are as Structure elements and coming as columns in query out put and
    Invoice value, Gross sale value, Efficient operations etc are as Key figure elements in query and coming as rows in query out put.
    But if I map this query to visual composer table view all these are coming as columns as given below.
    Total Invoice value ,             Total Gross sale value,    Total Efficient operations,      HPC Invoice vale,.........
    And if execute the query will giving the out put in single row.
    Can anybody help me out to map this in the row column format?
    Is it really possible to do in VC?
    I am using CE 7.2. The VC model I need to be embedding in BPM.
    Please help me to solve this issue. I completely stuck up this issue.
    Regards
    Sajith P
    Edited by: Sajith P on Aug 17, 2010 3:07 PM
    Edited by: Sajith P on Aug 17, 2010 3:15 PM

    Hi,
    Try to use some function module which will convert query data into flat tables. (eg., RS_VC_GET_QUERY_VIEW_DATA_FLAT).
    Hope this solves your issue.
    Regards,
    Vinay

  • Visual Composer: Date Range in Query

    Hi,
    While working in Visual Composer, I have come across the need to re-use the same query 20 times, but with slightly different date ranges. One way would be to create 20 copies of the same query and change the selection dates as needed on each of them. However, is it possible to provide date ranges in a query in Visual Composer? Right now its only letting me enter single values.
    Thanks
    Adeel

    Problem can be resolved by using a colon between the dates. Furthermore, the DSTR function in the expression editor can be used to form the desired dates.

  • How to working with BI in Visual Composer 7.1

    Hi.
    I want to work with BeX Query using Visual Composer 7.1
    I created BI system in EP System configuration.
    http://help.sap.com/saphelp_nwce10/helpdata/en/7e/6dbcea3700452195e3bddaa47c5906/frameset.htm
    http://help.sap.com/saphelp_nwce10/helpdata/en/46/081ed5f8685875e10000000a11466f/frameset.htm
    But  I can only see Web service destination and RFC destination. What shall I do to solve it?
    And Why /nwa -> destination is only see in VC?
    Help me^^

    Hi Kang Min Shim ,
    In order to search for BI destinations in VC you must have the BI Kit for VC installed on your machine.
    If you have that BI Kit installed you need to [define a BI destination|http://help.sap.com/saphelp_nwce10/helpdata/en/45/c21540edc547f5e10000000a114a6b/content.htm].
    I hope it helps,
    Udi

  • About visual composer

    HI,
    CAN ANY OME EXPLAIN THE VISUALCOMPOSER.
    Thanks&Regards,
    prasanna,

    Hi Prasanna,
    Please go through the following links to get started in VC....
    Following links will help you understand what VC is:
    What is Visual Composer ?
    visual composer
    Visual Composer: Finding the Documentation
    <a href="/people/judy.kestecher/blog/2006/07/11/visual-composer-finding-the-documentation:///people/judy.kestecher/blog/2006/07/11/visual-composer-finding-the-documentation
    Visual Composer Learning Map:
    <a href="https://www.sdn.sap.com/irj/sdn/visualcomposer?rid=/webcontent/uuid/0ac86a27-0e01-0010-99b4-e1d7de29ee5d">https [original link is broken]://www.sdn.sap.com/irj/sdn/visualcomposer?rid=/webcontent/uuid/0ac86a27-0e01-0010-99b4-e1d7de29ee5d</a> [original link is broken]
    Docs for starting development in VC:
    <a href="http://help.sap.com/saphelp_nw2004s/helpdata/en/42/c2ba85545e3116e10000000a1553f7/frameset.htm">Modeling Applications with SAP NetWeaver Visual Composer</a>
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/63f2052e-0c01-0010-b9a2-e1f7457a7fbe">SAP NetWeaver Visual Composer Modeler's Guide</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/42/ef826a370a1bcae10000000a11466f/frameset.htm">SAP NetWeaver Visual Composer Reference Guide - help.sap.com</a>
    <a href="https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/9326072e-0c01-0010-bc97-f72e93338101">SAP NetWeaver Visual Composer Reference Guide</a>
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/01/4b7e40417c6d1de10000000a1550b0/frameset.htm">SAP NetWeaver Visual Composer: User Guide</a>
    <a href="https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/16244247-0a01-0010-3294-d81c21e7e86e">SAP NetWeaver Visual Composer - How to Guides</a>
    <a href="http://help.sap.com/saphelp_nw04s/helpdata/en/f6/1ad642dfa9f340e10000000a1550b0/frameset.htm">Visual Composer - How to . . .</a>
    For any other query in Visual Composer, please post in the Visual Composer forum. You will get better replies over there. The link to VC forum is:
    [Forum: SAP NetWeaver Visual Composer|SAP NetWeaver Visual Composer;
    Bye
    Ankur

  • Visual Composer Query

    I have already created a system and am able to successfully pull data from the sql database source. However, I have a query that I want to plug in to restrict the recordset. Can somebody tell me how I can do this?
    Thanks in advance.

    Thank You. All I see is the tables within Visual Composer when I choose "Get Data". If understand you, I have to first have a stored procedure in SQL server that I then call from Visual Compoer? I do I view the stored procedures in Visual Composer?
    Thank You!

  • Date type is not captured in Visual composer 7.0 using SQL server as DB

    Date type is not captured in Visual composer 7.0 when using SQL server as DB, and field type is "SmallDateTime" in DB.

    Create new Text tab in fields of Table & select Type as Date in VC or use DSRT date function

  • Visual Web - How to 'setObject' for an SQL query with an IN  ? clause

    Hello, I am relatively new to visual web pack. I am stuck at writing the java code for passing parameters to the SQL query. In a normal scenario, where we need to check if some variable is present in a column (= ?), we would pass the parameter as :
    setObject(1, whatevervalue);
    How do we pass parameters if we need to check for more than one variable? The query editor in VWP has the option IN, which allows us to check for more than one match in a column. The IN clause is supposed to allow the format ('ex1', 'ex2' ...). I tried using an array as a parameter, like, setObject(1, somearray). It gives me a null exception. I even tried sending a variable in ('ex1', 'ex2' ...) format; doesn't like it either.
    Any help is greatly appreciated.

    Check the following docs:
    http://www.netbeans.org/kb/60/web/databoundcomponents.html
    http://www.netbeans.org/kb/60/web/inserts-updates-deletes.html
    See also:
    http://developers.sun.com/jscreator/reference/techart/2/query-editor.html

  • Tool for visually building an SQL query?

    Hello,
    Can anybody recommend a good tool that allows building an Oracle SQL query through a visual interface (similar to MS Access query builder)?
    I checked Oracle SQL Developer (from Oracle) but apparently it only allows building SELECT queries visually, I need to be able to create UPDATE and INSERT statements as well...
    Thank you,
    M.R.

    I'm not very clear on what you want or what you are trying to 'simulate'.
    If you are looking for a way to "build a gui" that allows you to simultaneously modify multiple rows of data in a table:
    This sounds like a "tabular form" in Oracle APEX (which is free with all editions of Oracle including the free XE edition. )
    URL for the out-of-the-box sample "application" that demonstrates a Tabular Form for modifying the EMP table:
    https://apex.oracle.com/pls/apex/f?p=71793:4
    name/password:  demo/demo
    Feel free to sign up for a free account to play with it.
    MK

  • Is SAP Query (SQ01) supported by Visual Composer?

    Do you know if it is possible to easily integrate a query developed in an ABAP backend system via SAP Query (transaction SQ01) in Visual Composer?
    Sergio

    Hi Jorn,
    I must go, but I copy you a Link from a presentation. I don't have the time to control it.
    Hope it helps.
    <a href="http://help.sap.com/saphelp_nw04/helpdata/en/2f/741a403233dd5fe10000000a155106/frameset.htm">sap.help.com</a>
    Best Regards,
    marcel

  • BI SAP Query Connector Heatmap Error - Empty display in Visual composer

    Hi,
    I am trying to create an Heatmap iview in SAP Visual Composer using BI SAP Query Connector.
    While using the Heatmap template, we are able to see the data but finally when we deploy  and run the iview we see empty screen.
    Any inputs is highly appreciated.
    Regards,
    Sreeram

    Hi,
    thanks for your time and help. Its a relevant blog but unfortunately doesnot solve my problem.
    I am using BI SAP Query Connector system instead of BI JDBC. While creating the Heatmap I am able to select the fields and see the output in table format, but finally the chart is not appearing. its blank.
    IGS is configured correctly, able to reach backend to select tables, select fields. After deployment and when the ivew is run I dont even see any heatmap, but a blank container.
    Please suggest if you have any clues regarding this.
    Regards,
    Sreeram

  • Query regarding calling web services in Visual Composer

    Hi Experts,
       I am thankful for your help for posting this link
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e017128
    I am following the same steps but I am unable to find the system in visual composer after creating it in portal.
    I got another document also related to it...
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/ceea45f3-0c01-0010-049c-c2b001f590fb
    But in this document when I am giving the WSDL URL name its not accepting. It is showing as invalid.So I am unable to proceed forward. Please help soon...
    Regards
    Nutan

    Hi Nutan,
    Try to define the web service system directly in the portal. Through VC you can encounter problems.
    Regards,
    Natty

Maybe you are looking for

  • Map source file name in target payload.

    Dear All, I have an interfacing scenario in which I want to populate a IDoc(target) field with the Source xml File Name. How can I do this in graphical mapping? If theres a UDF, plz guide me on the code. Help!! Thanks.

  • Early batch opening for order item is activated in the QM data settings

    Hi Team I am not able to generate inspection lot inspite maintaining 04 inspection type in QM view. Getting this message - ( Make sure that an inspection type for inspection lot origin (03) or for inspection lot origin 04 with early batch opening for

  • Variable in technical content

    Hi all, In the TECHNICAL CONTENT of my system I have a variable for the Exchange Rate Type (0RTYPE)called Z_RTYPE. When I run a query that use the currency conversion type this variable pops up in the variable screen, but it is not specifically added

  • How to control Task generated from sales stage?

    HI, I have some specific task that are generated when a user select a sales stage Is it possible to find a way to control the status of the task generated to be sure that all the task are done before the user can select the next sales stage? Regards,

  • ERROR: Web Dynpro component does not exist

    Hi! Trying to open different menu items in PPM I get browser with error: 500 SAP Internal Server Error ERROR: Web Dynpro component does not exist (termination: RABAX_STATE). Url looks like: someurl.com:8010/sap/bc/webdynpro/sap/inm_workcenter_app?IV_