Require Query

Hi I have a column called Name as folllows.
Name
WILLIAM A .JOSEPH
RANE SMITH
GEORGE, A LORDER
GLEN GROSS
WELLIAM C . SHAWNMy Requirement is
NAME                                        FIRST_NAME                        LAST_NAME
WILLIAM A .JOSEPH                    WILLIAM A                          JOSEPH
RANE SMITH                               RANE                                 SMITH
GEORGE A . LORDER                    GEORGE A                          LORDER
GLEN GROSS                               GREN                                 GROSS
WELLIAM C . SHAWN                    WELLIAM C                        SHAWNCan you please let me know how to delete those special character display the records as mentioned above.
Thanks.

Hi,
just an example:
with mydata(name) as
   SELECT 'WILLIAM A .JOSEPH' FROM DUAL UNION ALL
   SELECT 'RANE SMITH' FROM DUAL UNION ALL
   SELECT 'GEORGE, A LORDER' FROM DUAL UNION ALL
   SELECT 'GLEN GROSS' FROM DUAL UNION ALL
   SELECT 'WELLIAM C . SHAWN' FROM DUAL
-- this one replaces sequence of space, dot and commas with one single space
, corrected_data AS
   SELECT name, REGEXP_REPLACE(name,'[., ]+',' ') normalized_name
     FROM mydata
SELECT name
     , SUBSTR(normalized_name, 1, INSTR(normalized_name, ' ',-1)-1) AS first_name
     , SUBSTR(normalized_name, INSTR(normalized_name, ' ',-1)+1) AS last_name
  FROM corrected_data;
NAME                           FIRST_NAME                     LAST_NAME                    
WILLIAM A .JOSEPH              WILLIAM A                      JOSEPH                       
RANE SMITH                     RANE                           SMITH                        
GEORGE, A LORDER               GEORGE A                       LORDER                       
GLEN GROSS                     GLEN                           GROSS                        
WELLIAM C . SHAWN              WELLIAM C                      SHAWN                         Regards.
Al

Similar Messages

  • Regarding Requirement Query

    hi
    this is my requirement
    Read  a CSV file ( Header, Body, Trailor)
    Reading File name is required along with Time Stamp.
    Part of file name need to be extracted to make a query
    Select Query to table 1 (Synchronous)
    Select Query to table 2 (Synchronous)
    Select Query to table 3 (Synchronous)
    Insert into one table using all previous Select and CSV data.
    Collect no of rows updated.
    Give me good solution how to solve this

    Hi,
    1)Read a CSV file ( Header, Body, Trailor)
    You need to use the File content conversion using Key field value refer the belwo weblog
    /people/venkat.donela/blog/2005/06/08/how-to-send-a-flat-file-with-various-field-lengths-and-variable-substructures-to-xi-30
    2) Reading File name is required along with Time Stamp.
    You need to use the dynamic configuration and addtitional parameter tab in File communication channel
    Refer the below weblog
    Problem in dynamic file name in File reciever adapater
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    /people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
    3) Part of file name need to be extracted to make a query
    Select Query to table 1 (Synchronous)
    Select Query to table 2 (Synchronous)
    Select Query to table 3 (Synchronous)
    Insert into one table using all previous Select and CSV data.
    I think in this case u need to use the lookup in DB.
    DB lookup - /people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler
    Collect no of rows updated.
    What is ur output is it DB or File??
    Thnx
    Chirag
    Reward points if it hepls.

  • 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

  • Required query

    I have a column ID which is varchar2 datatype and have values as follows.
    123ABC9087
    123d-908
    234kjuh09879
    876yhju-6765
    89jhgt-987now my requirement is to retrieve the last integer part only like
    { code}
    ID Required
    123ABC9087 9087
    123d-908 908
    234kjuh09879 09879
    876yhju-6765 6765
    89jhgt-987 987
    Can any one please help me out to write a query for the above requirement.
    Thanks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

    966949 wrote:
    I have a column ID which is varchar2 datatype and have values as follows.
    123ABC9087
    123d-908
    234kjuh09879
    876yhju-6765
    89jhgt-987now my requirement is to retrieve the last integer part only like
    { code}You can't put spaces inside the curly brackets.
    ID Required
    123ABC9087 9087
    123d-908 908
    234kjuh09879 09879
    876yhju-6765 6765
    89jhgt-987 987
    Can any one please help me out to write a query for the above requirement.So you want the digits that come at the end of the string?
    Here's one way to get them:
    SELECT  id
    ,       REGEXP_SUBSTR (id, '\d*$')   AS required
    FROM    table_x
    ;In the regular expression:
    <tt>\d</tt>       means a digit ('0' through '9')
    <tt>*</tt>       means any number (0 or more) of the preceding
    <tt>$</tt>       means the end of the string
    I hope this answers your question.
    If not, post a little sample data (CREATE TABLE and INSERT statements, relevant columns only), and also post the results you want from that data.
    Explain, using specific examples, how you get those results from that data.
    Always say which version of Oracle you're using (e.g., 11.2.0.2.0).
    See the forum FAQ {message:id=9360002}

  • Urgent help required: Query regarding LC Variables

    Hi All
    Sometime earlier I was working on a performance issue raised by a customer. It was shell script that was taking almost 8-9 hrs to complete. During my research I came across a fact that there were some variables which were not set, the LC variables were impacting the sort funnel operations because of which the script was taking a long time to execute.
    I asked them to export the following commands, after which the program went on smoothly and finished in a couple of mins:
    export LC_COLLATE=en_US.ISO8859-1
    export LC_MESSAGES=C
    export LC_MONETARY=en_US.ISO8859-1
    export LC_MONETARY=en_US.ISO8859-1
    export HZ=100
    export LC_CTYPE=en_US.ISO8859-1
    export LANG=en_US.UTF-8
    Later I did recover that setting the LC_COLLATE to C, is not helping and the program was again taking a lot of time. Few questions that I want to ask are:
    1. Can someone please tell me, what each of these variable mean and how these values make a difference.
    2. When I exported LC_COLLATE=en_US.ISO8859-1, it worked fine, but when i tried with the defalut value LC_COLLATE=C, then why the program didnt work.
    As this issue is still going on, hence I would request All to provide their valuable inputs and let me know as much as possible.
    Appreciate your help in this regard.
    Thanks
    Amit
    Hi All
    A new development in this regard. The customer has send us a screen shot in which they were trying to export the locale variable using the commands which I have pasted above. I can see in the screen shot that while exporting LC_COLLATE and LC_TYPE, they get a message that ""ksh: export: couldn't set locale correctly"".
    Request everyone to please give their inputs as it's a bit urgent.
    Thanks for all the help in advance.
    Thanks
    Amit
    Some help required please...
    Edited by: amitsinhaengg on Jul 22, 2009 2:03 AM
    Edited by: amitsinhaengg on Jul 22, 2009 2:06 AM

    LC_CTYPE
    Controls the behavior of character handling functions.
    LC_TIME
    Specifies date and time formats, including month names, days of the week, and common full and abbreviated representations.
    LC_MONETARY
    Specifies monetary formats, including the currency symbol for the locale, thousands separator, sign position, the number of fractional digits, and so forth.
    LC_NUMERIC
    Specifies the decimal delimiter (or radix character), the thousands separator, and the grouping.
    LC_COLLATE
    Specifies a collation order and regular expression definition for the locale.
    LC_MESSAGES
    Specifies the language in which the localized messages are written, and affirmative and negative responses of the locale (yes and no strings and expressions).
    You can use command
    # locale -k LC_CTYPE
    to see more detail about each type.

  • Modification to SQL Scrap book requires query re-creation

    In CR4E, SQL Scrap book is used to write the query and the select fields can be added to report. This is the equivalent option of Add Command option as windows version.
    But we have encountered issue using the SQL scrap book in the eclipse version of plugin.
    Issue description:
    A report is created with 5 set of fields mapped out from SQL scrap book to layout. Now when developer needs to modify the query such as adding a field, when the query is modified in the scrapbook, new sql is created. There is option to delete the initial query. But all the associated that was made to the layout are also getting deleted. This means the data field from the query has to be re-laid out in the layout again.
    This issue is currently only the eclipse verion of crystal reports and the windows version "Add Command" option works for the modification of the query alone.  Thus we had to switch to the Windows version to get full developer productivity.

    Generally speaking this is something in common with most of our SDK's.  If you modify fields in your database query, such as adding or removing them or renaming them, it is likely that the fields from the report will be dropped when this happens.  Since the Eclipse designer is based on the Java Print Engine, this is probably why you are seeing this behavior.
    Using the Crystal Reports Designer to modify your query at design time makes sense as a work around for you because Crystal Reports has the capabilities of allowing you to do this.

  • MRP Requirements Query

    Hello,
    My apologies if I have posted this in the wrong place. Our business requires that MRP be implemented. Business head has the following queries:
    1. Minimum 45 days stock should remain in the system. Where in the system 45 days stock should be maintained material wise? Can required stock level be set from material master?
    2. How to handle three months lead time in MRP for imports, given that 45 days stock needs to be maintained at all times.
    3. Enter requirements for one year in MRP, but only requirements for first three months should be changeable, rest should be restricted. Is this possible at the authorization level or is there another way? Is this even possible?
    Any responses to the above queries will be greatly appreciated. Thanks.
    Regards,
    Khan

    Hi,
        These are my thoughts...
    1.maintain the sfety stock for 45 days .. Go to material master MRP2 view and enter the req stock qty for 45 days.
    2. Enter your lead time in MRP 2 view as 45 days..
    Hope this will help resolve your issue..

  • Required query perfomance tuning which has START WITH CONNECT BY PRIOR

    Hi,
    I have below small query and the CDDS table with 40+ million records.
    SELECT -LEVEL, COMPONENT_ID, COMPONENT_TYPE, COMPONENT_STATUS,
    PARENT_COMPONENT_ID, PARENT_COMPONENT_TYPE, other_info
    BULK COLLECT INTO ltbl_cdds_rec
    FROM CDDS
    START WITH
    PARENT_COMPONENT_ID IN
    ( SELECT dns_name
    FROM RAS_CARD
    WHERE ras_name = <<INPUT_PARAMATER>>
    AND parent_component_type = 'CT_NRP')
    CONNECT BY PARENT_COMPONENT_ID = PRIOR COMPONENT_ID;
    To process this query, its taking 3 hours.
    Please suggest the way forward to tune the query for better performance.

    Create statement for CDDS:
    CREATE TABLE CDDS
    COMPONENT_TYPE VARCHAR2(30 BYTE),
    COMPONENT_ID VARCHAR2(255 BYTE),
    PARENT_COMPONENT_TYPE VARCHAR2(30 BYTE),
    PARENT_COMPONENT_ID VARCHAR2(255 BYTE),
    COMPONENT_VERSION_NO VARCHAR2(30 BYTE),
    COMPONENT_STATUS VARCHAR2(30 BYTE),
    ODS_CREATE_DATE DATE,
    ODS_LAST_UPDATE_DATE DATE,
    OTHER_INFO VARCHAR2(255 BYTE)
    TABLESPACE APPL_DATA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 64K
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    NOMONITORING
    ENABLE ROW MOVEMENT;
    Create statement for RAS_CARD:
    CREATE TABLE RAS_CARD
    RAS_NAME VARCHAR2(20 BYTE),
    SLOT VARCHAR2(2 BYTE),
    RAS_CARD_ID VARCHAR2(30 BYTE),
    CARD_TYPE VARCHAR2(5 BYTE),
    IP_ADDRESS VARCHAR2(15 BYTE),
    DNS_NAME VARCHAR2(255 BYTE),
    STATUS VARCHAR2(15 BYTE),
    NRP_NO CHAR(2 BYTE),
    NRP_TOTAL_ALLOC_CAPACITY NUMBER(10),
    CREATED_BY VARCHAR2(10 BYTE),
    NRP_ALLOCATED_CAPACITY NUMBER(10),
    NIDB_DRA2_KEY VARCHAR2(15 BYTE),
    NIDB_DRN1_KEY CHAR(6 BYTE),
    ODS_CREATE_DATE DATE,
    LAST_UPDATED_BY VARCHAR2(10 BYTE),
    ODS_LAST_UPDATE_DATE DATE,
    WATERMARK NUMBER(38)
    TABLESPACE APPL_DATA
    PCTUSED 0
    PCTFREE 10
    INITRANS 1
    MAXTRANS 255
    STORAGE (
    INITIAL 1M
    MINEXTENTS 1
    MAXEXTENTS 2147483645
    PCTINCREASE 0
    BUFFER_POOL DEFAULT
    NOLOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    NOMONITORING;
    Explain Plan for the below query:
    select * from CDDS
    where PARENT_COMPONENT_ID IN
    ( SELECT dns_name
    FROM RAS_CARD
    WHERE ras_name = <<INPUT_PARAMATER>>
    | Id | Operation | Name | Rows | Bytes | Cost | Pstart| Pstop |
    | 0 | SELECT STATEMENT | | 1 | 107 | 12 | | |
    | 1 | TABLE ACCESS BY INDEX ROWID| CDDS | 1 | 62 | 1 | | |
    | 2 | NESTED LOOPS | | 1 | 107 | 12 | | |
    | 3 | SORT UNIQUE | | | | | | |
    |* 4 | TABLE ACCESS FULL | RAS_CARD | 4 | 180 | 6 | | |
    | 5 | PARTITION RANGE ITERATOR | | | | | KEY | KEY |
    |* 6 | INDEX RANGE SCAN | CDDS_I02 | 10 | | 1 | KEY | KEY |
    ---------------------------------------------------------------------------------------------

  • Urgent Required Query !!

    update
         ttfgld102777
    set
         t_amth_2 = (t_amth_2 + @diff)
    where exists
         ( select t_amth_2 from orabaan
         where
              t_dbcr = 1
              and t_btno = @batch
              and t_ttyp = @ttype
              and t_docn = @doc )
    I want to add for each 't_btno' clause in the where clause to auto update all records..
    ex t_btno is between 1 and 10000

    First off your use of the word "urgent" is offensive and deserves an apology. "Urgent" is when your house is on fire or someone is drowning. There is no urgency to your request.
    Second you didn't post an Oracle version number which is a strong indication you are just a student.
    Third your DML is written in Microsoft's/Sybase's SQL and has no meaning in Oracle.
    What you need to do is write the business case, in English or pseudo-code, so that we understand what you are trying to do.
    My guess is that you could easily do this using Oracle's CONNECT BY:
    http://www.psoug.org/reference/connectby.html
    but I am not inclined to offer a proposed solution given that your intent is unclear.

  • Require query for unique data?

    hi,
    i have a partitioned table which has some data.
    i want to get unique data for a combination of columns.
    i want to get unique data for the combination of cid, lid in the table cdi_post_curr...
    if i use select distinct cid, lid from table...
    then can i get the correct data....
    and this table also has some address fields like address1, address2, zip1, zip 2 and i want to find the unique data on teh combintaiton of these columns...
    SELECT all_data.lid,
    NVL(all_data.STREET_LN1_ADDR, 'NULL'),
    NVL(all_data.STREET_LN2_ADDR, 'NULL'),
    NVL(all_data.CTY_ADDR, 'NULL'),
    NVL(all_data.POST_ZIP5_CD, 'NULL'),
    NVL(all_data.POST_ZIP4_CD, 'NULL'),
    NVL(all_data.GEO_ZIP_CD, 'NULL'),
    NVL(all_data.LAT_NO, 0),
    NVL(all_data.LNG_NO, 0),
    NVL(all_data.LAT_LNG_CD, 0)
    FROM CDI_POST_HCP_ALL_DATA_CURR all_data
    in this i want unique data for all these address fields...
    please help me guys...
    Edited by: pusala on Dec 7, 2010 3:53 PM

    SELECT
    NVL(all_data.STREET_LN1_ADDR, 'NULL'),
    NVL(all_data.STREET_LN2_ADDR, 'NULL'),
    NVL(all_data.CTY_ADDR, 'NULL'),
    NVL(all_data.POST_ZIP5_CD, 'NULL'),
    NVL(all_data.POST_ZIP4_CD, 'NULL'),
    NVL(all_data.GEO_ZIP_CD, 'NULL'),
    NVL(all_data.LAT_NO, 0),
    NVL(all_data.LNG_NO, 0),
    NVL(all_data.LAT_LNG_CD, 0),
    count(*)
    FROM CDI_POST_HCP_ALL_DATA_CURR all_data
    group by NVL(all_data.STREET_LN1_ADDR, 'NULL'),
    NVL(all_data.STREET_LN2_ADDR, 'NULL'),
    NVL(all_data.CTY_ADDR, 'NULL'),
    NVL(all_data.POST_ZIP5_CD, 'NULL'),
    NVL(all_data.POST_ZIP4_CD, 'NULL'),
    NVL(all_data.GEO_ZIP_CD, 'NULL'),
    NVL(all_data.LAT_NO, 0),
    NVL(all_data.LNG_NO, 0),
    NVL(all_data.LAT_LNG_CD, 0)If you only want the values where there are duplicates then use
    SELECT
    NVL(all_data.STREET_LN1_ADDR, 'NULL'),
    NVL(all_data.STREET_LN2_ADDR, 'NULL'),
    NVL(all_data.CTY_ADDR, 'NULL'),
    NVL(all_data.POST_ZIP5_CD, 'NULL'),
    NVL(all_data.POST_ZIP4_CD, 'NULL'),
    NVL(all_data.GEO_ZIP_CD, 'NULL'),
    NVL(all_data.LAT_NO, 0),
    NVL(all_data.LNG_NO, 0),
    NVL(all_data.LAT_LNG_CD, 0),
    count(*)
    FROM CDI_POST_HCP_ALL_DATA_CURR all_data
    group by NVL(all_data.STREET_LN1_ADDR, 'NULL'),
    NVL(all_data.STREET_LN2_ADDR, 'NULL'),
    NVL(all_data.CTY_ADDR, 'NULL'),
    NVL(all_data.POST_ZIP5_CD, 'NULL'),
    NVL(all_data.POST_ZIP4_CD, 'NULL'),
    NVL(all_data.GEO_ZIP_CD, 'NULL'),
    NVL(all_data.LAT_NO, 0),
    NVL(all_data.LNG_NO, 0),
    NVL(all_data.LAT_LNG_CD, 0)
    having count(*) > 1

  • Please provide the sql query on mentioned requirement in attached image.

    Please provide query for this requirement
    1.This is my main table  data.
    FACTID DATE_DMN_KEY
    WQTY ROWID
    AVG_7_AMT
    1 100   
    1000 1
    NULL
    1 200 2000
    2 NULL
    1 300 3000
    3 NULL
    1 400 4000
    4 NULL
    1 500 5000
    5 NULL
    1 600 6000
    6 NULL
    1 700 7000
    7 NULL
    1 800 8000
    8 NULL
    1 900 9000
    9 NULL
    1 1000
    10000 10
    NULL
    2.  column rowid =10 is the latest record and COLUMN AVG_7_AMT value should be update as below
        Sum (WQTY=10000+9000+8000+7000+6000+5000+4000)/7
    3.FOR  column rowid =9 record and COLUMN AVG_7_AMT value should be update as below
       Sum (WQTY=9000+8000+7000+6000+5000+4000+3000)/7
    4. FOR  column rowid =8 record and COLUMN AVG_7_AMT value should be update as below
       Sum (WQTY=8000+7000+6000+5000+4000+3000+2000)/7
    5. . FOR  column rowid =7 record and COLUMN AVG_7_AMT value should be update as below
       Sum (WQTY=7000+6000+5000+4000+3000+2000+1000)/7
    6.  FOR  column rowid =6 record and COLUMN AVG_7_AMT value should be update as below
       Sum (WQTY=6000+5000+4000+3000+2000+1000)/6
    7. FOR  column rowid =5 record and COLUMN AVG_7_AMT value should be update as below
       Sum (WQTY=5000+4000+3000+2000+1000)/5
    How we can write sql  query for this type of requirement.

    Query is working but partially..
    if you insert  below records in same fact table then it wont work because factId=1 and factid 2 are different transaction .. how 
    Insert into fact Values
    (2, 100, 1000,   NULL),
    (2, 200, 2000,  NULL),
    (2, 300, 3000,  NULL),
    (2 ,400, 4000,  NULL),
    (2, 500 ,5000,  NULL),
    (2, 600, 6000,  NULL),
    (2, 700, 7000 , NULL),
    (2, 800, 8000,  NULL),
    (2, 900, 9000,  NULL),
    (2, 1000,  10000,   NULL )
    then result should like below.
    FACTID
    DATE_DMN_KEY
    WQTY
    ROWID
    AVG_7_AMT
    1
    100
    1000
    1
    1000
    1
    200
    2000
    2
    3000
    1
    300
    3000
    3
    6000
    1
    400
    4000
    4
    10000
    1
    500
    5000
    5
    15000
    1
    600
    6000
    6
    21000
    1
    700
    7000
    7
    28000
    1
    800
    8000
    8
    35000
    1
    900
    9000
    9
    42000
    1
    1000
    10000
    10
    49000
    2
    100
    1000
    1
    1000
    2
    200
    2000
    2
    3000
    2
    300
    3000
    3
    6000
    2
    400
    4000
    4
    10000
    2
    500
    5000
    5
    15000
    2
    600
    6000
    6
    21000
    2
    700
    7000
    7
    28000
    2
    800
    8000
    8
    35000
    2
    900
    9000
    9
    42000
    2
    1000
    10000
    10
    49000

  • New customized report using PLD or QUERY PRINT LAYOUT to show customers onl

    I am working with a Software Developing firm as an SAP Consultant.
    Please tell me how to create a new     customized     report displaying various details as required by the client in the report using PLD or Query Print Layout.
    Please help me asap.

    Hi,
    You can create queries using the Query Generator or the Query Wizard tools.
    After you have created your own queries, you can link them to a required print layout.
    for user reports.Look at:
    Tools --> Queries --> Query Print Layout
    Set there your query reports.
    Printing User-Defined Queries
    After you had linked a user-defined query to a user report template, you can now print it
    according to its linked print layout.
    There are two ways for printing your user-defined queries.
    1. Using the Query Print Layout window:
    • Select from the upper menu Tools &#1048774; Queries &#1048774; Query Print Layout.
    • Click the Reports tab page.
    • Click to highlight the required query you would like to print.
    • Click on the printer icon or select from the upper menu File &#1048774; Print.
    • The user-defined query is printed according to its linked print layout.
    2. Using the Queries Manager window:
    • Click the Queries Manager icon on the upper tool bar.
    • Click to highlight the required query you would like to print.
    • Click on the printer icon or select from the upper menu File &#1048774; Print.
    • The user-defined query is printed according to its linked print layout.
    Note! You can also print preview user-defined queries. Do so by selecting the Print
    Preview option as described in the methods above for printing your query.
    Btw, you could search the manual training files relate to query PLD in http://www.service.sap.com/smb
    Rgds,

  • Difference: SAP BW Report iview - Query iView - URL iView

    Hi,
    I want to show BW reports on the portal. Can anybody suggest me the different ways of doing it ? And also let me know about checklist of steps that need to be performed.
    Can anybody tell me the difference between showing BW reports through URL iviews, showing reports through Query iView and showing reports through SAP BW Report iView ?
    Which one can i use for showing BW reports taking into consideration the implementation of SSO between the two? I tried the URL iView (using the Web URL of reports generated by BW) but it asks for Username/password. Is that the problem with SSO. How can i check if SSO parameters have been set or not. I have imported the verify.der to BW System and added that to ACL. Is there anything else which is required?
    Thanks in advance.
    Rgds,
    MA

    Hi Manoj,
    I feel BW report iview will solve your problem. You can create a query sting in BW query designer and give the same in BW query  string text area while creating BW report iview.
    In the case of an url iview you are just giving a URL link of the BW report (this will ask for username/password).
    But, in the case of a BW report iview you can view the required query as an iview (user mapping can be successfully done in this case) You should give fully qualified domain name in Was server option while creating the system.
    While using the logon ticket Login id of both the system (ie BW and Portal) should be the same.
    Refer the link for SSO using logon ticket)
    User Mapping-based Single Sign On
    Regards,
    Vinod

  • Function module to create query view from technical name of the query ?

    Hi Experts,
    I am trying to create webservice definition using function module.
    In this code, I am calling function module 'RSCRMBW_REPORT' which requires query view name ( we can see this in RSCRM_BAPI) as a value for parameter i_reportuid.
    For the time being I am hardcoding the value but I need to use a function module which will convert techincal name of query into query view.
    Can anyone have any idea about the above requirement? Or is there any other way to solve the problem?
    Thanks in advance
    Shamkant
    Edited by: SHAMKANT SONAWANE on Apr 7, 2009 5:38 AM

    Hi,
    You can use FMs CONVERSION_EXIT_GENID_INPUT  and CONVERSION_EXIT_GENID_OUTPUT to get query view.
    First call FM CONVERSION_EXIT_GENID_INPUT with parameter input as query technical name then it will return Output in the form of GENID .
    Pass this GENID as input parameter to FM CONVERSION_EXIT_GENID_OUTPUT to get query view as output.
    Eg :
    Test for function group      RRI5
    Function module              CONVERSION_EXIT_GENID_INPUT
    Uppercase/Lowercase
    Runtime:        6,652 Microseconds
      Import parameters               Value
      INPUT                           Y0IC_C03_Q0018_2
      Export parameters               Value
      OUTPUT                          4D1I916ID7TWS1CK27154WYZ8
    Test for function group      RRI5
    Function module              CONVERSION_EXIT_GENID_OUTPUT
    Uppercase/Lowercase
    Runtime:        2,818 Microseconds
      Import parameters               Value
      INPUT                           4D1I916ID7TWS1CK27154WYZ8
      Export parameters               Value
      OUTPUT                          0IC_C03/Y0IC_C03_Q0018_2
    0IC_C03/Y0IC_C03_Q0018_2 is expected query view.
    Hope it helps...
    regards,
    Raju

  • Publish A Query in Enterprise Portal.

    Hi ,
    I am a BW Consultant and I want to publish a Query in the Enterprise Portal but I am not able to view any portal Roles while i publish .
    There are already some web templates already assigned in the portal roles.
    Please help.
    Nimisha Gandhi.

    Hi Nimisha,
    The publishing of a query as u said, requires the role properties to be edited for the visibility.Once u created an iview with the required query and assigned tht to workset inturn assigned tht to a role.
    Change the "navigation" properties of the role "set entry point" as yes by clicking the radio button.
    Then u need to assign the role to an User in the "User Administration"-> Identity manager>give the ID> click modify>available roles>choose the role u want to assign->add,..and when that user logs into the portal he will be able to c tht Query as a new tab .
    This will solve ur problem.Please reply for further issues.
    Regards
    Shaila

Maybe you are looking for