To open a tcode from query output ?

Hi All,
Is it possible to open a tcode if i click on a particular cell ?
Regards,
Deadlocks

Hi Vikram,
can you tell me the steps in detail .... suppose in my report output i am having one column 'business partners' and i click any cell tcode : 'BP' should open ....
Regards,
Deadlocks

Similar Messages

  • How to remove new line character from query output?

    Hi,
    How to remove new line character from query output?
    have tried select replace(column_name, CHR(10), ' ') from table_name.
    Edited by: GreenHorn on Sep 11, 2008 12:53 AM

    Please consider, that windows uses a sequence of chr13||chr(10) Unix uses only one character chr(10).
    The new line character(s) may be OS-dependent.
    You could consider both with:
    replace(replace(column_name, CHR(13)||CHR(10), ' '),CHR(10),' ')
    Hartmut
    Edited by: hartmutm on 11.09.2008 01:32

  • Removing Leading zeros from query output.

    Hello Experts,
    Is it possible to remove leading zeros from the query output for a particular column?
    I have a characteristics 'Reference Document' which has values like '000001386'. The users just need '1386' to be displayed and have asked us to remove the leading zeros.
    Is there something that can be done for this at a query level? I can't modify the underlying InfoProvider because this requirement is just for one set of users, the other users need the document nmber in the original format.
    Thanks
    Arvind

    Hi,
    you can use ALPHA conversion option in the definition of that particular characteristic.
    Try this code  in a routine.,in query designer;
    data a(9) value '000001386'.
    SHIFT a LEFT DELETING LEADING '0'.
    write:/ a.
    Output will be : 1386
    Or use this method also
    data a(9) value '000001386'.
    Call function 'CONVERSION_EXIT_ALPHA_OUTPUT'
    Exporting
    input = a
    Importing
    output = a.
    write a.
    output:
    1386
    Regards
    CSM Reddy

  • Problem in Font when file is downloaded from query output

    Hi,
    We are facing a problem as we are not able to simulate a scenario at our end where a file is downloaded from a query. The snapshot of the file which is downloaded in excel is shown below. The name displayed below has special characters in it. The actual value for the name is VÁRADI GÁBORNÉ, but when the file is downloaded into excel, the special characters get converted to some different characters and the last character ie É gets converted to “?” and the values for the next column get concatenated to the Name 1 column and all the values move one column left.
    Sold to     Cl     Name 1                                      Sal.per.     Sales doc.
    57983     CD     V罵ADI G罛ORN?00002110       2150451     
    57983     CD     V罵ADI G罛ORN?00002110       2150451     
    The procedure used by the user to download the file from the query is as follows:
    1.     The query is executed in background with file name entered in Save with ID option
    2.     After the job is complete, the file is displayed from the saved list of that query.
    3.     This saved list is then downloaded as .DAT file and then opened with excel.
    Any pointers to solve the problem will be highly appreciated.
    Regards,
    Kaushal Mehta

    Hi,
    There is no problem of device type as when we are testing the query with the same inputs (same variant, same printer), the output to the excel comes correctly. But at the user end, the output does not come out properly. Infact the saved list displayed for that query shows the output to be correct, but when that list is exported to excel, the output gets distorted for the user (not for us).
    Thanks for your inputs,
    Kaushal

  • Delete duplicates from query output

    Hello,
      I would like to delete duplicated records before the output of a SAP query
    I tried writing in SQ02 in additional coding, under "Free coding":
    data %dtab type standard table of /1BCDWB/IQ000000001053 with header line.
    sort %dtab by vbeln posnr.
    DELETE ADJACENT DUPLICATES FROM %dtab.
    In this way I get the short dump when running the query: "Statement is not accessible.".
    If I declare %dtab in the additional coding under "DATA", when I run the query I get the error "%DTAB" has already been declared.".
    If I don't declare %dtab, I can't generate the infoset.
    Do you have any suggestion about the way of obtaining this result?
    Thanks in advance for your support.
    Best regards,
    Andrea

    Hello,
      I didn't find any solution to this problem. I choosed another way: I asked an ABAPer to develop a report to get the same information I wanted to get with the query, as in the ABAP report there's more "space to move".
    Best regards,
    Andrea

  • Best way to trigger Concurrent Request based on dates from query output

    Hi
    I have a reqmnt to automatically submit a concurrent program, by querying the dates from a backend table which changes with time.
    Which is the best/easier way to do this? Any suggestions?
    Thanks.

    via a plsql concurrent programs that calls fnd_requests.submit

  • How to open a form from Oracle XML Report .xls Output?

    Hi All,
    We have a requirement wherein we have one complex SQL query, requirement is to fetch the data from that query and show it to the user. So far, so good. We can either create a report thru' UTL file to show the output to the user or can create a XML report whose output can be in the excel format.
    Now user wants to have a hyperlink i.e. when he clicks the BSA (Blanket Sales Agreement) from the report output, it should be able to route him to BSA screen (oracle form), so that he can directly correct the issue with that corresponding BSA on which he clicked.
    i.e. requirement is to create a a hyperlink from report output which will route the user to that oracle form with the BSA queried.
    Not sure how can we implement this. If anybody has come across this type of requirement, please share your ideas and the approach used so as to accomplish this. Any inputs on this will be highly appreciated.
    Cheers!
    -Sumir

    Hello Sumir,
    we create reports in an XML format using http://matzberger.de/oracle/spreadsheet-en.html.
    Within these files you can create hyperlinks to a forms application like
    http://<applicationserver>/forms/frmservlet?config=xy&p_autoinit_module=ab&p_autoinit_arg=123
    With these parameters we call a default forms module (welcome screen) and then start module ab and execute a query for 123. The user then can directly access the data he needs.
    Regards
    Marcus

  • Enhancement Req (v4.0): Report Query- Output Format- Derive from Item

    Brief Introduction
    I have 1 major request I would like to make (and 2 lesser ones). The first, I would like to specify custom available output formats for 'Report Query' objects, as well as Reports Regions, Interactive Reports, etc. I believe that this could easily be an instance setting in the Report Server region of the internal workspace, or per workspace / application. Even if not supported on the system wide level, I would recommend that the "Derived from Item" output format "Return Value" be allowed to be returned unaltered to the Report Server. I know that the type is returned as "_xf", and for my purposes I would REALLY like to be able to get something other than the defaults.
    Use Case
    I am creating a custom JasperReports integration (for which I will be launching a public SaaS beta extremely soon). It uses the standard Apex reporting objects (Queries, Layouts, Print Buttons, etc). JasperReports templates are uploaded as Report Layouts and everything works fine. I am, however, wanting to implement as many output formats as are available to me in Jasper...that means Word 07, Excel 07, ODS, ODT, etc. For the items that take a print server override I can handle this in other ways (even though this appears broken [see below]), but for the standard report queries this isn't available. I would basically like the option to define the set of available output formats for the report server, and what the "_xf" returned for each one is.
    Minor Requests
    - Replace Uploaded Templates: If a template is used often and updated, then it has to be changed everywhere...minor irritation.
    - Customize Report Server URL for the Workspace or Application: For SaaS instances, workspace developers may license or have access to reporting solutions that are not (and should not be) available to all of the Oracle instance's workspaces, or may conflict with a service that is already provided by the instance administrators.
    Broken
    When I use the print server override, with the "Use Headers From" option, it appears that neither my content type, nor my content disposition headers are being sent back to the client. This is the work around solution for the non-standard types issue I am requesting enhancement on, so I would like to know what I can do to get this working immediately.
    Additional Info
    As it stands, if the site is available, feel free to sign up for the beta. The beta keys will be exported soon to the instance and made available. Instructions on setup will also follow:
    https://apex.vendelinc.com/apex/f?p=home

    Hi, please did you get any solution to this issue? I am having similar challenge right now.
    select     EMP.DEPTNO as DEPTNO,
         DEPT.DNAME as DNAME,
         EMP.EMPNO as EMPNO,
         EMP.ENAME as ENAME,
         EMP.JOB as JOB,
         EMP.MGR as MGR,
         EMP.HIREDATE as HIREDATE,
         EMP.SAL as SAL
    from     SCOTT.DEPT DEPT,
         SCOTT.EMP EMP
    where EMP.DEPTNO=DEPT.DEPTNO
    and      DEPT.DNAME =upper(:dname)
    This run perfectly in sql developer, toad, and even inside publisher if I login directly to publisher to create report.
    Generating this same query in shared component query builder and testing it returns no data found. If I remove the last line, it works. but with the last line, it return no data found. It seems no one has been able to provide solution to this issue

  • Anyway to supress the coulmn names in the query output from SQLPLUS

    Hi,
    I am using sqlplus to run a script which returns the results with column names.
    Is there anyway to omit the column names from the query output from sqlplus?
    I would like to have only results with out their column names in the output.
    Thanks in advance!!

    Hi,
    Maybe your LINES(IZE) isn't set ?
    SCOTT>set lines 130
    SCOTT>select status, machine, module
      2    from v$session
      3   where upper(username) = 'SCOTT';
    STATUS   MACHINE                                                          MODULE
    INACTIVE PFAE3\VPC4894-03                                                 TOAD 9.7.2.5
    ACTIVE   PFAE3\VPC4894-03                                                 SQL*Plus
    2 rows selected.
    SCOTT>As an alternative to setting linesize, you can format columns:
    SCOTT>set lines 80
    SCOTT>col status for a8
    SCOTT>col machine for a30
    SCOTT>col module for a30
    SCOTT>select status, machine, module
      2    from v$session
      3   where upper(username) = 'SCOTT';
    STATUS   MACHINE                        MODULE
    INACTIVE PFAE3\VPC4894-03               TOAD 9.7.2.5
    ACTIVE   PFAE3\VPC4894-03               SQL*Plus
    2 rows selected.
    SCOTT>Regards
    Peter

  • Error while Opening any Query from Query Monitor and Query Designer.

    Hill All,
    I was trying activate activate the Web templates for SRM, all the templates are activated and i am landed in a new problem. when ever i am trying to open a qery thru query Monitor(RSRT), i am popped with the Short dump.
    Short Dump Description:
    What happened?
        Error in the ABAP Application Program
        The current ABAP program "CL_RS_PERS_PHK================CP" had to be
         terminated because it has
        come across a statement that unfortunately cannot be executed.
        The following syntax error occurred in program "GP48WGGNR675NB9JBTAGV72K4CT "
         in include "GP48WGGNR675NB9JBTAGV72K4CT " in
        line 29:
        "The type "/BI0/APERS_BOD00" is unknown."
        The include has been created and last changed by:
        Created by: "CBI_BALAJID "
        Last changed by: "CBI_BALAJID "
    and when i try to debug the program "GP48WGGNR675NB9JBTAGV72K4CT"
    the error is shown at the code level:
    form pers_read
      tables   e_t_data  structure RSPER_S_RETSTRU_BOD
      using    i_maxrows type i
               i_t_sel   type rsper_t_select
      changing e_subrc   type sy-subrc.
      data: l_t_data type /BI0/APERS_BOD00 occurs 0.
      data: l_s_ft like /BI0/APERS_BOD00.
      data: l_s_sel type rsper_s_select.
      field-symbols: <l_s_data> type /BI0/APERS_BOD00.
    i am unable to find the info object APERS_BOD00. where as the error is pointing to sid table of the object.
    that's urgent,Some one Plese resolve the issue.Points will be rewarded for the usefull answers.
    Thanks in advance
    Balaji Donepudi.
    098266-89888

    Hi,
    Check for the consistency of the info object in RSRV.
    Check the info object status in cube like any data is available or not for that info object.
    Also check any parralel load is taking place in that particular cube.
    Please let me know if u face probelm
    Thanks
    Kind Regards,
    Shanbagavalli.S

  • Remove comma in query output from Char used as KF

    Hello Friends,
    To be able to display a characteristic in a particular way I used formula variable and displayed it as Key Figure in the query output. By doing this I am getting the output in the required format, but only problem is that the value is being displayed with commas. As it is an order number, I want to display it without commas.
    I don't want to use VB as the query is to be published in web also.
    Please suggest if there is any way to achieve this.
    Thanks in advance.
    Praveen

    Hey Praveen, there's a few ways to skin this cat. The simplest method is to make sure that the user parameters in SU3 don't have commas for numbers. The problem is that this is a global setting so you won't get commas for other numbers in which you may want commas. Also, you'd have to make sure your replacement variable was defined as type "number". The other options include using VBA in BEx, and/or Table Interface in the Web. If you are using BW 3.5, you can use XSLT to render a table with and not have commas for that value by using the XML Query Result Set Item. Hope that helps,
    Prakash

  • How to send email alert to users from the query output ?

    Hi all,
    I intend to write a pl/sql to send email alert to user based on the following query output :-
    Item_______Qty_on_hand________Min_qty______email
    [email protected]
    [email protected]
    [email protected]
    once run, I will like to distribute to those email id. How should I code that in pl/sql ? or any other better idea is welcome. Thanks.
    Rgds
    Lim

    http://asktom.oracle.com/pls/ask/f?p=4950:8:3439330610438686683::NO::F4950_P8_DISPLAYID,F4950_P8_CRITERIA:255615160805,

  • Use APD to fetch data from Query's Structure

    Hi,
    i have created a query , with a fixed structure in the Row area and two keyfigures.
    I have this query on DSO.
    i want to store the same query output to one table. 
    How can i achive this?
    I think to use the APD, but as i have fix structure in query , APD is not the solution . correct me if i am worng.
    Please suggest.
    Regards,
    Macwan James.

    Hi SVU123,
    Currently I am trying to load data into ODS only. But I want to avoid this path. I can always extract data out of the ODS to Flat File through Open Hub, but that will require twice the time to extract data.
    First from Query to ODS and second from ODS to Flat File through open hub.
    Basically, I want to automate this process and that is why I don't want to opt the path for RSCRM_BAPI t-code.
    - Danny

  • Openning a Link from MS Office OneNote 2007 launches MS Internet Explorer althoug FireFox is my default Internet browser. Any idea how to cause OneNote 2007 to Launch FireFox instead?

    Openning a Link from MS Office OneNote 2007 launches MS Internet Explorer althoug FireFox is my default Internet browser. Any idea how to cause OneNote 2007 to Launch FireFox instead?

    Below is how it is being done.  This worked perfectly for years. MS Office 2007 does complain that the file extension does not match the data format (it's a tab delimited text file but I'm pretending it's an Excel file so they'll be prompted to view it as a spreadsheet in Excel) but you just click open and it works fine.  This issue with IE is new.  Let me know if you have any more ideas.
    <CFSETTING ENABLECFOUTPUTONLY="Yes" SHOWDEBUGOUTPUT="No">
    <!--- variables used for separating cells with tabs, and for new rows --->
    <CFSET tabchar=chr(9)>
    <CFSET newline=chr(13) & chr(10)>
    <!--- tell browser it's an Excel file --->
    <CFCONTENT TYPE="application/vnd.ms-excel">
    <!--- tell Internet Explorer to open as Excel file --->
    <CFHEADER NAME="Content-Disposition" VALUE="filename=myfile.xls">
    <!--- get data --->
    <CFQUERY NAME="getinfo" DATASOURCE="mydsn">
        select fieldone, fieldtwo
        from mytable
    </CFQUERY>
    <!--- output column headings --->
    <CFOUTPUT><CFLOOP INDEX="q" LIST="fieldone,fieldtwo">#q##tabchar#</CFLOOP>#newline#</CFOUTPUT>
    <!--- output database records --->
    <CFOUTPUT QUERY="getinfo">#getinfo.fieldone##tabchar##getinfo.fieldtwo##newline#</CFOUTPUT>

  • Funcion to display query output

    Hi,
    I want to create a funcion like below.
    I will pass select query to function from my java application and function should return query output. Then I will use output into my application display part, results may be thousands of rows. Will it work ? If works which is the faster between calling a funcion and using "open resultset" method.
    Please tell me how to create funcion like above and how to use funcion returned values in java program.
    Could some one guide me.
    Thanks.

    ITEM CODE...DESCRIPTION....UOM.......PLIST1.......PLIST2
    X..................X.........................X.............PLVAL1.....PLVAL2
    Y.................Y.........................Y..............................PLVAL2

Maybe you are looking for

  • New User - Wireless Internet Problem

    Hello all. I'm a brand new Mac user but I am becoming extremely frustrated with connecting my Mac Mini to my existing wireless network. I have WEP enabled and I know for a fact that I'm using the correct password. Just to be sure, I disabled the pass

  • Acrobat II crashes when started with eLearning Suite 6.1 64bit in Windows 7

    I am having trouble running Acrobat 11 as part of eLearning Suite 6.1.  The application crashes after starting in about 5 seconds.  Using 64 bit windows 7 OS.

  • JDBC and outer joins

    What is the correct syntax for an outer join using JDBC. A statement such as the following is returned with an illegal char. error: select x.value, y.value from x_table x, y_table y where x.id = y.id(+);      I'm using oracle 8i and the thin client d

  • Songs CUT OFF on iPod!

    I seem to be having this problem since iTunes 5.0. When i sync my iPod, iTunes updates songs whose information i have not changed. When i play some songs on my iPod they end when the song isn't over. When I go back and sync, the songs are fixed, but

  • No PPOe configurations were found

    Ive had trouble with my router - Netgear, having to turn it on and off and spending an hour with my ISP going over settings.  It failed again and I went through some things myself with ethernet cable and by more luck than judgement it is working.  Ho