Query sq02-text

HI,
in billing header-text tab-Transporter -text is given ABC
text ABC must be displayed through query infoset sq02
How to call function module Read_text in sq02
pl suggest

Hi
ABAP Querys are usefull for only simple reporting programs
if you want to do some logic then you should use the NORMAL report programing.
in ABAP Query just simple simple relations and simple output format will be available no complex programing

Similar Messages

  • ABAP QUERY(sq02)

    Hi friends,
         I am using PNP LDB in SQ02 .
         i am selecting AT SELECTION-SCREEN in "CODE tab" but it's not selected
         How to use "F4 help function module" in ABAP Query(SQ02).
    Thanks & Regards,
    Vallamuthu.M

    Hi
    Why you are using SQ01/02 query? you can't get all the facilities what you use in general abap program report
    Query is basically intended for functional consultants to get the data by joining the tables
    it is Client specific and user specific
    You can't use all the events and F4 help like thing in them.
    see the doc
    http://help.sap.com/saphelp_46c/helpdata/en/35/26b413afab52b9e10000009b38f974/content.htm
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Introduction.asp
    Step-by-step guide for creating ABAP query
    http://www.sappoint.com/abap/ab4query.pdf
    ABAP query is mostly used by functional consultants.
    SAP Query
    Purpose
    The SAP Query application is used to create lists not already contained in the SAP standard system. It has been designed for users with little or no knowledge of the SAP programming language ABAP. SAP Query offers users a broad range of ways to define reporting programs and create different types of reports such as basic lists, statistics, and ranked lists.
    Features
    SAP Query's range of functions corresponds to the classical reporting functions available in the system. Requirements in this area such as list, statistic, or ranked list creation can be met using queries.
    All the data required by users for their lists can be selected from any SAP table created by the customer.
    To define a report, you first have to enter individual texts, such as titles, and select the fields and options which determine the report layout. Then you can edit list display in WYSIWYG mode whenever you want using drag and drop and the other toolbox functions available.
    ABAP Query, as far as I Believe, is the use of select statements in the ABAP Programming. This needs a knowledge of Open SQL commands like Select,UPdtae, Modify etc. This has to be done only by someone who has a little bit of ABAP experience.
    To sum up, SAP queries are readymade programs given by SAP, which the user can use making slight modification like the slection texts, the tables from which the data is to be retrieved and the format in which the data is to be displayed.ABAP queries become imperative when there is no such SAP query existing and also when there is a lot of customizing involved to use a SAP Query directly
    use either SQ02 ans SQ01
    or SQVI tr code
    for more information please go thru this url:
    http://www.thespot4sap.com/Articles/SAP_ABAP_Queries_Create_The_Query.asp
    http://goldenink.com/abap/sap_query.html
    Please check this PDF document (starting page 352) perhaps it will help u.
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCSRVQUE/BCSRVQUE.pdf
    check the below link will be helpful for u
    Tutorial on SQVI
    once you create query system generates a report starting with AQZZ/SAPQUERY/ABAGENCY2======= assing this report to tr code for the same
    <b>Reward points for useful Answers</b>
    Regards
    Anji

  • Issue converting the following query to text.

    Hello guys, I'm trying to convert the following query to text and to use PRINT so that it returns theresult in the picture as output, help would be appreciated, thanks :)SELECT EventName, EventDate
    FROM EventTable
    ORDER BY EventDate DESC;

    This is an example, As I said it is not a good approach
    set nocount on
    declare @tab table(id int,txt varchar(100));
    declare @txt varchar(1000);
    declare @count int;
    insert into @tab
    values(1,'Text 1'),(2,'Text 2'),(4,'Text 4');
    select *,RN=ROW_NUMBER()OVER(ORDER BY (SELECT NULL)) into #temp from @tab
    select @count=@@ROWCOUNT;
    while @count>0
    begin
    select @txt =right(replicate(' ',50)+convert(varchar(50),ID),50) +
    right(replicate(' ',50)+convert(varchar(50),txt),50)
    from #temp where RN=@count
    set @count=@count-1
    print @txt
    end
    drop Table #temp
    Satheesh
    My Blog |
    How to ask questions in technical forum

  • Conditions in infoset query (SQ02)

    Hi, I´m working with BW 3.5 And I´m using infoset query(SQ02) for link two tables.
    The second table is linked with left other join, and I need more one condition in this table, I just want the data with max(date) in table two.
    For Example:
    Table 1:
    FIELD1  | FIELD2 | NET_PRICE
    800001  | 0010   | 100.00
    800002  | 0010   | 1520.30
    800003  | 0010   | 48.54
    Table 2:
    FIELD3 | FIELD1 |  FIELD4  |BILL_QTY
    900000 | 800001 | 20080101 |10
    900001 | 800001 | 20080210 |15
    900002 | 800003 | 20080101 |10
    Result of InfoSet query (Table1-FIELD1 link Table2-FIELD1 with left other join) :
    FIELD1  | FIELD2 | NET_PRICE | FIELD3 | FIELD1 |  FIELD4  |BILL_QTY
    800001  | 0010   | 100.00    | 900000 | 800001 | 20080101 |10
    800001  | 0010   | 100.00    | 900001 | 800001 | 20080210 |15
    800002  | 0010   | 152.30    | 000000 | 000000 | 00000000 |0 
    800003  | 0010   | 148.54    | 900002 | 800003 | 20080101 |10
    But the result should be:
    FIELD1  | FIELD2 | NET_PRICE | FIELD3 | FIELD1 |  FIELD4  |BILL_QTY
    800001  | 0010   | 100.00    | 900001 | 800001 | 20080210 |15
    800002  | 0010   | 152.30    | 000000 | 000000 | 00000000 |0 
    800003  | 0010   | 148.54    | 900002 | 800003 | 20080101 |10
    Is possible appear only the max(field4) for de left table 2 using infoset query (SQ02)?
    Thank´s!!

    Please check out this link and let me know if it is helpful..
    http://help.sap.com/erp2005_ehp_02/helpdata/en/d2/cb449c455611d189710000e8322d00/frameset.htm
    When outputting using the SAP List Viewer, the code at TOP-OF-PAGE has no significance

  • Query Manager Text Capacity is Full 6400 characters only

    hi again experts!
    I'd like to ask how  can I increase the Query Manager Text fields my query cant be complete.
    Anybody has an idea.
    Thank you.
    Clint

    Hi Suda,
    Here is my query,
    FROM dbo.OINV T0 INNER JOIN dbo.INV1 T1 ON (T0.DocEntry = T1.DocEntry) LEFT OUTER JOIN dbo.RIN1 T7 ON (T1.ItemCode = T7.ItemCode)
      AND (T0.DocEntry = T7.BaseEntry) LEFT OUTER JOIN dbo.ORIN T6 ON (T7.DocEntry = T6.DocEntry) INNER JOIN dbo.OCRD T2 ON (T0.CardCode = T2.CardCode)
      INNER JOIN dbo.OCRG T3 ON (T2.GroupCode = T3.GroupCode)  LEFT OUTER JOIN dbo.OITM T4 ON (T1.ItemCode = T4.ItemCode)
      LEFT OUTER JOIN dbo.OITB T5 ON (T4.ItmsGrpCod = T5.ItmsGrpCod) WHERE T1.ItemCode like '80%'
    The query has plenty of considerations from side, that why it exceeds to limit characters but then the query run fast. is there any idea regarding this, thank you in advance.
    Clint

  • Querying Essbase text measures via Oracle BI direct database request

    Hi,
    There is a text measure in an Essbase database. The same MDX query shows text values when executed directly in Essbase or in SmartView and numeric codes when executed via Oracle BI Direct Database Request interface.
    Is it possible to show text values in OBIEE?
    (Versions: Oracle BI 10.1.3.4 & Essbase 11.1.1.2)
    Thanks in advance and best regards

    I'm sorry if my description looks cryptic.
    There are no problems with alias tables or SmartView., I'll try to explain the problem better.
    In Essbase there is a text measure "Code" and a text list "Code_Values" which contains text values for this measure:
    1 - AA
    2 - BB
    3 - CC
    4 - DD
    Let there be an MDX query 'SELECT ON COLUMNS, [DIM1].Members ON ROWS FROM [APP].[DB]'.
    When such query is run in Essbase Administration Services Console, it returns the following table, which is the desired behaviour:
    DIM1 Code
    0100     AA
    0200     BB
    0300     CC
    0400     DD
    When it is run as a Direct Database Request in Oracle BI Answers, it returns only numeric values, but not the text values from "Code_Values":
    DIM1 Code
    0100     1
    0200     2
    0300     3
    0400     4
    So, the question is: is there any way to achieve desired behaviour using Oracle BI Answers?
    Edited by: WxD on 17.08.2009 17:42                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to query free text and how to efficiently process upper/lower case

    Hi friends,
    I'm now have two questions need your helps.
    1, i want to query free text base on oracle semantic, i tried create a Full Text Index on object like ‘CREATE INDEX di_obj_idx ON data_integration(to_char(triple.GET_OBJECT())) indextype is ctxsys.context’, but i got an error 'DRG-11304:function-based indexes are not supported by this indextype’. it seems that can't specified a column with functions. so any way for this?
    2, base on some reasons, we need to query something ignores upper/lower. of course, we can use upper/lower functions, but the performance is very low. what my question is is there any functions can be used in SEM_MATCH table function or any way can give me the higher performance?
    best regards,
    steven
    Sep 9,2009

    Hope this helps
    import java.io.*;
    public class Copy {
    public static void main(String[] args) throws IOException {
    File inputFile = new File("farrago.txt");
    File outputFile = new File("outagain.txt");
    FileReader in = new FileReader(inputFile);
    FileWriter out = new FileWriter(outputFile);
    BufferedReader buff = new BufferedReader(in);
    String c;
    while ((c = buff.readLine()) != null)
    out.write(c.toUpperCase());
    in.close();
    out.close();
    }

  • Adhoc query -sq02- Additional fields

    HI experts
    I am working additional fields in SQ02 .
    I added a additional field for an infotype in SQ02  .Issue when I go to Tcode PQAH and run the query .I Could not able to see the selections check box for my additional fields which is useful to select as input field .
    And when I right click on my additional field I could see  options 'Only value'  but for other fields I could see ' only value ' , 'only text' and ' value and text' .
    If any one worked on these kind of issues .Please give pointers .and requirement is specific.

    Hi Kamesh,
    I have the same issue - did you resolve this issue, and please could you share how?
    Thanks,
    Vaishali

  • Error in SQL Query The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query

    hi Experts,
    while running SQL Query i am getting an error as
    The text, ntext, and image data types cannot be compared or sorted, except when using IS NULL or LIKE operator. for the query
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    T2.LineText
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,T2.LineText
    how to resolve the issue

    Dear Meghanath,
    Please use the following query, Hope your purpose will serve.
    select  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price ,
    CAST(T2.LineText as nvarchar (MAX))[LineText]
    from OQUT T0  INNER JOIN QUT1 T1 ON T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
    QUT10 T2 ON T1.DocEntry = T2.DocEntry --where T1.DocEntry='590'
    group by  T1. Dscription,T1.docEntry,T1.Quantity,T1.Price
    ,CAST(T2.LineText as nvarchar (MAX))
    Regards,
    Amit

  • ABAP QUERY: Selection text name change : seq. of column sequence in output

    hi friends,
    1)I need to change the text of the selection field in ABAP QUERY REPORT
    please help me. t code: SQ03 : User Group(zabc) and report name (zabc).
    Environment -> infosets.
    in the field group, double click field name to be changed. I tried to change it. The changed name is only reflecting in the list output, but not in the selection screen.
    I want the text to be changed even in selection screen.
    2)I want to change the position of the column ie end(last colum) to 8th column in the report output. Please help me.
    Environment -> Queries -. I tried with 'Output sequence' and given no as '8'. But is not reflected and the column is still displayed at last column.
    Please help me

    Go to Query and go to selection field and change the selection text.
    Hope this help.

  • Sap query sq02

    Dear all,
    since TWO days Iam working on this .... SAP Query without succes. Now I wanted to ask you here.
    I want to make a select-option in the SAP Query. Ok, this is easy! now the customer want to have F4-Help. Iam now in SQ02 where the data coming IN. I  crated a Z-Structur. In this Structur I have my field KLART. This field has a domain. In SQ02 I can say take the value from references. This mean  its takes the data from TCLA-KLART. But I see in the reference field. It takes data from TCLAT-ARTXT. So my question are:
    1) Why does it take the field from TCLAT-ARTXT?
    2) I dont see any information in the screen. This mean I dont get an option for this field KLART
    Thank u very much

    Hi,
    1)Data Source is  direct read of  table Mara
    2)
    you've to place the follow. code in
    SQ02-Goto-Code-Record processing:
    select count( * ) from mchb into sy-dbcnt
                     where matnr = mara-matnr.
    check sy-dbcnt = 0.
    regards Andreas

  • Calling query doc. (text file) from a web template with JavaScript

    Hi,
    I would like to have an explanation of the following:
    My goal is to develop a solution within a dynamic web template that supports calling of query documentation (description and purpose of the certain report). This query documentation will be provided from a textfile(e.g .csv) and presented under the information tab applying a text element web item. This will be done with query technical name acting as key with the following column structure:
    Technical name    Description    Purpose
    I really would appreciate if anyone could provide me with a more or less detailed solution proposal for this. Javascript etc.?
    Thanx in advance

    You can use the command line tool cURL instead of a GUI browser.
    set myFonts to do shell script "curl http://site.com/fonts.txt"

  • SAP Query selection texts are missing

    Dear All,
    I have a problem with selection texts when running a query.
    There are two systems: development and test. In the dev system selection texts are displayed correctly but in the test system I got only something like:
    SP$00001
    SP$00002
    SP$00003
    SP$00004
    %LAYOUT
    I also transported the User group, the Infoset and the Query but this did not help.
    Please, advice.
    Thanks in advance and regards

    Just want to add that I searched the web to find solution and the only relevant item I found was:
    http://www.jt77.com/development1/programming-19276.html
    However no solution found

  • Query on text file using Openrowset in Sql server 2012

    Hi,
    I am using below query on Sql server 2008 and sql server 2012.It is working find in 2008 but giving error in 2012.
    below is query and error on sql 2012
    select * from OpenRowset('MSDASQL', 'Driver={Microsoft Access Text Driver (*.txt, *.csv)};DefaultDir=D:\MSSQL;',
     'select * from employee1.txt')
    OLE DB provider "MSDASQL" for linked server "(null)" returned message "[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified".
    Msg 7303, Level 16, State 1, Line 1
    Cannot initialize the data source object of OLE DB provider "MSDASQL" for linked server "(null)".
    I have read some document on msdn and install microsoft access database engine 2010, but still it not working.
    Can anyone suggest resolution of this problem.
    Thanks
    Shitalkumar kasliwal

    Read this link
    http://calyansql.blogspot.co.il/2013/02/fix-cannot-initialize-data-source.html
    Best Regards,Uri Dimant SQL Server MVP,
    http://sqlblog.com/blogs/uri_dimant/
    MS SQL optimization: MS SQL Development and Optimization
    MS SQL Consulting:
    Large scale of database and data cleansing
    Remote DBA Services:
    Improves MS SQL Database Performance
    SQL Server Integration Services:
    Business Intelligence

  • 0CostCenter in a structure in a query need text field

    Hi,
    I am creating a query using a structure so that cost centers can place on the query in a fixed ordered location.  When I pull 0COSTCENTER into a selection and restrict it to the cost center I want, the key and the text have the key value in them.  When I  search for the value in the "Select Values" screen, the result search shows the key and what appears to be the short text(. .  When I select that value to the chosen selection box, it is still showing the same values.  Once I hit Ok and go back to the "Change Selection" screen, the retriction shows the key as the text and that is the value showing in the description for the selection.
    Anyone else encountered this issue and found a work around other than hand entering descriptive descriptions that will probably change 5 minutes after the query has been built?
    Thanks in advance for any and all thoughts.
    Bill

    Hi,
    0COSTCENTER texts appear to be loaded and  BEX settings on 0COSTCENTER are the same as 0COSTELMNT which I am using the same way in another query.  When I do the restriction on it, the text for the cost element is pulled in. 
    When I just put 0COSTCENTER on the row and not in a selection, the text displays just fine.  Is there a setting in BEX that I might be missing.   I would think that the Cost Element query works so I should be getting the same results on this query.
    Thanks in advance for any thoughts.
    Bill

Maybe you are looking for

  • How can I move/copy scanned photos that were sent to my gmail account? I have not been able to move or copy to iPhoto.

    How can I move/copy scanned photos that were sent to my gmail account? I have not been able to move or copy to iPhoto.

  • Help Needed with Work Flow

    Hi all I am very new at this. I got a new task to fix an existing Work Flow. The portion that needs to be fixed is: it shoots an e-mail to get approval when a changed rate is greater then its Standard rate. Now the problem is there are multiple stand

  • H264 Stutter problems

    Um, I posted this in the wrong (Mac) forum, so forgive the cross post. I'm trying to figure this out and hope someone here can save me hours of experimentation. I've noticed that, in particular, high quality videos (640x480) at 4:3 aspect ratio using

  • Game Will No Longer Save

    Ok, so I have recently been playing Line Rider, and, well, I have made some tracks that I would like to save with that little Save Button in the game. Now, this did save for the first three games, but will no longer save. Could this be a problem abou

  • Partition external drive for time machine

    This deals more with Time Machine in general rather than Time Capsule, but this seems like the place to post the question. Is is possible to make Time Machine only use a certain amount of space on your external drive for backups? Basically, I use the