Error in sap query

Dear Experts ,
I have a query and executing using SQ01 . Here im getting warnings as 
The query specifications cannot be used to generate a list, i.e. the query will probably not return the list you desire.
If you still want to execute the query, please use the "Generate" function . -> 'Generate'
Here im not getitng the output i require . then the system says ** Fields from parallel tables within a line Line: 02
Field: Account number of supplier or vendor  (LFB1-LIFNR, table LFB1) ;
Field: Account number of supplier or vendor (LFBK-LIFNR, table LFBK)
Same thing comes for Bank country key, bank key , bank account number .
Please heklp as to what is wrong

Hello,
I am gettig the Same Error in SAP Query, But i have generated My Infosets & cross checked the Fields with Query.
Plz let me know what could be the Error.
Thanks.

Similar Messages

  • Abap runtime error in sap query

    hi all,
    i was using a query to generate a specific report for quite some time. and it was running well. but since yesterday morning the query started giving the following error msg while executing:
    "variant STANDARD not created"
    i tried giving other variant but failed. so i decided to run te report witout variant. for this i went for CHANGE mode of query and i removed query and made the report RUN WITHOUT VARIANT. after tat system didnt asked for variant but while executing it started giving ABAP dump.
    where to check? please suggest
    Warm regards,
    BKR

    Hi,
    When it give dump,it is clearly display which & where it is unable to execute ststement.
    Take help ogf ABAPer.
    Kapil

  • SAP Query Genrator Error Again

    Experts,
    select T0.Father 'Parent Item',
    T0.Code 'Children',
    Case
    When T1.ItemType = 'I' Then 'Item'
    When T1.ItemType = 'L' Then 'Labour'
    When T1.ItemType = 'T' Then 'Travel'
    End 'Item Type',
    Case
    When T1.PrcrmntMtd = 'B' Then 'Buy'
    When T1.PrcrmntMtd = 'M' Then 'Make'
    End 'Procurement Method ',
    T1.CardCode 'Preferrd Vendor',
    ISNULL((select T2.Price from OSPP T2 where T2.CardCode = T1.CardCode and T2.ItemCode = T0.Code), 0)'Price of the Item in Special price list ',
    Case
    When T1.ItemType = 'L' Then T1.AvgPrice
    Else 0
    End 'Item Cost (If Labour)'
    from ITT1 T0 inner join OITM T1 on T0.Code = T1.ItemCode
    where T0.Father = '[%0]'
    group By
    T0.Father,
    T0.Code,
    T1.ItemType,
    T1.PrcrmntMtd,
    T1.CardCode,
    T1.AvgPrice
    This gives error i SAP Query genrator . Plz help

    1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Must specify table to select from. 2). [Microsoft][SQL Server Native Client 10.0][SQL Server]Statement 'Received Alerts' (OAIB) (s) could not be prepared.
    For
    select T0.Father 'Parent Item',
    T0.Code 'Children',
    Case
    When T1.ItemType = 'I' Then 'Item'
    When T1.ItemType = 'L' Then 'Labour'
    When T1.ItemType = 'T' Then 'Travel'
    End 'Item Type',
    Case
    When T1.PrcrmntMtd = 'B' Then 'Buy'
    When T1.PrcrmntMtd = 'M' Then 'Make'
    End 'Procurement Method ',
    T1.CardCode 'Preferrd Vendor',
    ISNULL((select T2.Price from OSPP T2 where T2.CardCode = T1.CardCode and T2.ItemCode = T0.Code), 0)
    'Price of the Item in Special price list ',
    Case
    When T1.ItemType = 'L' Then T1.AvgPrice
    Else 0
    End 'Item Cost (If Labour)'
    from ITT1 T0 inner join OITM T1 on T0.Code = T1.ItemCode
    inner join OSPP t2 on t2.ItemCode = T1.itemcode
    where T0.Father = '[%0]'
    group By
    T0.Father,
    T0.Code,
    T1.ItemType,
    T1.PrcrmntMtd,
    T1.CardCode,
    T1.AvgPrice

  • Error 'Unable to open file' when downloading SAP Query to Excel

    Hi all
    I'm running a SAP Query which is set to download straight to a spreadsheet (Pivot Table / Microsoft Excel).  Intermittently it does not work -  apparently at random (at least, I've can't recreate the error at will).
    It does one of the following:
    - Works ok, and creates the pivot table
    - Gives an Excel error message 'Unable to open file', then returns to the 'save the data in a spreadsheet' popup when enter is pressed on the error.
    - Does not issue error message, just goes to the 'save the data in a spreadsheet' popup.
    In the last two cases, the excel pivot table sheet is not created.
    Has anyone seen anything similar, or have any idea as to what is causing the problem?
    Any help gratefully received!
    Not urgent as I've found a way round -  further testing seems to show that I don't get the error is Excel is already open - but in the past I've run many SAP query downloads without needing to open Excel first.  I suppose it's possible that this is just something to do with the Excel setup at the user site
    Message was edited by:
            E Gregory

    Hi,
    Ensure that file name with same name and in same path should not be open while saving the data.
    Award if it helps.
    Jogdand M B

  • Error while creating report from BW SAP Query

    Hi
    While creating a report from BW SAP Query, I get the following error.
    "An error occured while creating a report template.No error"
    On opening the same query in BEx Analyser, i can see the fields and output.
    Help me on this issue.
    Thanks
    Eswari.

    Hello Garett,
    I've the same problem and have tried now to get the data with MDX-Query. The error message below appears:
    'No RFC-authorization for function group  /Crystal/MDX for User ...'
    So it seems to be a authorization problem. Which special authorization must be assigned to Crystal users in SAP BI?
    Thank you for your help.
    best regards
    Oliver

  • SAP Query error for VBAK and KONV tables

    Dear Experts,
    Want to create SAP Query for below requirement but faced some error
    Step1) Extract the data from VBAK table w.r.t.  order type ,  Sale org and date range
    and collected the Sales order numbers and doc. condition record (KNUMV)
    Step 2)In table KONV (Transactional condition record data) in this table provided input as doc. condition record (KNUMV) with respect to condition type ABCD
    Manually i extracted data, there is no problem .
    But customer want to generate SAP Query for above requirement
    I tried to create but in t.code  SQ02 when i tried to join the table VBAK and KONV i faced the below error
    Table KONV cannot be used in a join.
    How  can I create SAP query for above requirement ???
    if its not possible then create Z report is the only solution ??????
    Thanks in advance

    Hello
    You can not create Query report with joining KONV. But there is one solution for your problem. You can create Query report by using Database VAV. In this logical database you will find all SD tables and also KONV. Use only those tables and fields which you want in your query report. I have checked this and its working
    Please try this and update the forum accordingly.
    Edited by: moazzamjii on Jun 30, 2011 12:13 PM

  • SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)

    SAP query error - 1). [Microsoft][SQL Server Native Client 10.0][SQL Server]Conversion failed when converting date and/or time from character string.  'Received Alerts' (OAIB)
    SELECT    
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO AS T0 LEFT OUTER JOIN
                          VPM2 AS T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry LEFT OUTER JOIN
         OVPM AS T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1 AS T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate>='[%0]' and T0.DocDate<='[%1]'

    Hi,
    Try this:
    SELECT   
    CASE WHEN T0.DocStatus = 'O' THEN 'OPEN'
    WHEN T0.DocStatus = 'C' THEN 'CLOSED'  END  AS 'Document Status',
    T0.DocDate AS 'Posting Date',
    T0.DocNum AS 'Doc.No',
    T0.NumAtCard,
    T0.TransId AS 'Trans. No.',
    T0.Comments AS 'Remarks',
    T0.CardCode AS 'Offset Acct',
    T0.CardName AS 'Offset Acct Name',
    sum(T0.DocTotal) + (T0.WTSum) as 'DocTotal',
    T3.DueDate AS 'Cheque Date',
    T3.CheckSum AS 'Amount'
    FROM         ODPO  T0 LEFT OUTER JOIN
                          VPM2  T1 ON T0.ObjType = T1.InvType AND T0.DocEntry = T1.DocEntry
    LEFT OUTER JOIN
         OVPM  T2 ON T2.DocEntry = T1.DocNum LEFT OUTER JOIN
                          VPM1  T3 ON T2.DocEntry = T3.DocNum
    where T0.DocDate >= '[%0]' and T0.DocDate <='[%1]'
    group by T0.DocStatus,T0.DocDate ,
    T0.DocNum ,
    T0.NumAtCard,
    T0.TransId ,
    T0.Comments ,
    T0.CardCode,
    T0.CardName ,
    T0.WTSum ,
    T3.DueDate ,
    T3.CheckSum
    Thanks & Regards,
    Nagarajan

  • Sap query iview error

    Hi there!
    I have a sap query iview in the portal that should display a query in CRM (build with SQ01). The query in the backend is fine, but I get this error message in the portal.
    "Error in Source. Message not available"
    I have double-checked that the connection parameters of the sap query iview are OK, also I have run a DQE connection test on the system that was(see below) also OK.
    Any thoughts on this?
    Thanks in advance
    -fab
    p.s. I reward points generously
    Test Connection through the DQE
      Test Details:
    The test consists of the following steps:
    1. Checks the existence of a backend admin user ID/password in the system properties.
    2. Checks the existence of a default alias for the system.
    3. Checks the DQE connection.
      Results
    1. Backend admin user ID and password exist in the system properties.
    2. Default alias of the system exists.
    3. DQE connection successful. If you continue to experience problems, verify the DQE admin user ID and password properties for this system object.

    Thanks for the help Michael. Here is the xml file, I have also sent it to your email address.
    Cheers,
    faB
    - <GenericCreator author="XML Creator" version="XML Automatic Creation" mode="clean,execute" report.level="success" createMode="1" default.locale="en" ignore="false">
      <Property name="parent1" value="pcd:portal_content/XXX/XXXXXX/IVIEWS" />
    - <Context name="qtf" objectClass="com.sapportals.portal.iview" create_as="0" template="par:/applications/com.sap.pct.srv.portaldataviewer/components/SAPQueryTemplate" parent="$">
    - <Attributes>
    - <Attribute name="com.sap.portal.private.iview.PropertiesUrl" type="string">
      <AttributeValue value="pcd:com.sap.portal.system/applications/com.sap.pct.srv.portaldataviewer/components/SAPQueryTemplate" />
      </Attribute>
    - <Attribute name="PDVParameterQUERY_WORKSPACE" type="string">
      <AttributeValue value="G" />
      </Attribute>
    - <Attribute name="PDVParameterQUERY_VARIANT" type="string">
      <AttributeValue value="TEST" />
    - <Attribute name="personalization" type="string">
      <AttributeValue value="NO_DIALOG" />
      </Attribute>
      </Attribute>
    - <Attribute name="PDVParameterQUERY_NAME" type="string">
      <AttributeValue value="ZQ_ECCSPO_01" />
      </Attribute>
    - <Attribute name="PDVParameterQUERY_USERGROUP" type="string">
      <AttributeValue value="ECCSPO" />
      </Attribute>
    - <Attribute name="PDVParameterQUERY_CREATE_SELTAB_FM" type="string">
      <AttributeValue value="" />
    - <Attribute name="personalization" type="string">
      <AttributeValue value="NO_DIALOG" />
      </Attribute>
      </Attribute>
    - <Attribute name="com.sap.portal.iview.MainObject" type="string">
      <AttributeValue value="" />
      </Attribute>
    - <Attribute name="SystemIdentifier" type="string">
      <AttributeValue value="SAP_CRM" />
      </Attribute>
      </Attributes>
      </Context>
      </GenericCreator>

  • Why create BI SAP Query System in EP successful,but visual composer error?

    hi,guy,
    i create BI SAP Query System in EP test successful.
    Test Connection with Connector
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the backend application using the connector defined in this system object
    Results
    Retrieval of default alias successful
    Connection successful .
    now,i use VC find data relational system  error
    error info:
    Eroor-21003 cannot retrieve catalogs and schemas.
    Failed to connect to backend system. Check your system definition and user privileges.
    pls help me.thanks.

    The connection was previously working and then it stopped after I imported a large amount of data to the SQL db. So the permissions should be fine.
    Any other ideas?

  • Error when uploading SAP query in ECC6 from 4.5B system

    Hi expert ,
    I have down loaded SAP Query(infoset) from 4.5B server and now i want to upload this query to ECC6.0.  when i upload this query(infoset) to ECC 6 as follows to download step like from SQ02 .  but after executing i am getting error
    "  infoset ZTEST (import option REPLACE)"
    " F | Error When generating Transport dataset
    I am following all steps even created user group in sq03 which it is in my 4.5b system.
    Thanks
    Chandra

    Hello,
    It won't usually work when you try to download a infoset from a older release and try to upload in a newer version. However there is a workaround for this.
    If you debug the program while uploading, you will notice that certain if conditions fail on a few fields in the file you are trying to upload are missing. What i would suggest you to do is, download any infoset from your ECC 6.0 version and keep it as a reference for filling these missing fields into the older version infoset you are trying to upload.
    Vikranth

  • SAP query transport error - need help

    hello,
      The system is throwing the following error when importing the query from development to QA client.
    We already have the query imported the first time without errors. This is happening with subsequent transports if there is a change or any modification to the query.
    Below is the error log from SAP regarding the failed transport :
    R3TRAQQUFI was repaired in this system
    Message no. TW104
    Diagnosis
    Object R3TRAQQUFI is in repair status. Therefore, it cannot be imported.
    System Response
    The object is not imported.
    Procedure
    If you still want to import the object, release the relevant repair and repeat the import.
    Please help
    Thanks in advance.

    Hi
    Here I am sending the step by step procedure for the SAP Query. Hope this helps you, if so please issue points.
    1. Go to SQ02 .
    Select Environment -> Query Areas
    Select Standard Area (Client specific) as show below
    2. Select Environment -> Transports
    Select Import radio button
    Check Overwriting allowed (only with import/upload/copy)
    Remove Check for Test Run
    Select Transport InfoSets and queries radio button
    Fill Infoset and Query with corresponding names
    Fill Import option with transport request number.
    3.  Click on Execute button
    With this it will be done.
    Thanks for your patience

  • Error in the SAP query for Assets?

    Hi,
    I am trying to make 2 queries related to the assets but it is not selecting the data may I know why and where I am doing wrong.
    I have joined the tables ANLA, ANLC, ANLP and ANLB.
    Fields that have been selected are as follows:
    Asset Subnumber ANLA-ANLN2
    Asset Class ANLA-ANLKL
    Asset description ANLA-TXT50
    Company Code ANLA-BUKRS
    Serial number ANLA-SERNR
    Main Asset Number ANLA-ANLN1
    Asset Subnumber ANLA-ANLN2
    Asset Class ANLA-ANLKL
    Asset description ANLA-TXT50
    Company Code ANLA-BUKRS
    Serial number ANLA-SERNR
    Main Asset Number ANLA-ANLN1
    Fiscal Year ANLC-GJAHR
    Ordinary depreciation posted in the current year ANLC-NAFAG
    Planned ordinary depreciation for the year ANLC-NAFAP
    Accumulated ordinary depreciation ANLC-KNAFA
    Cumulative acquisition and production costs ANLC-KANSW
    Asset Subnumber ANLA-ANLN2
    Asset Class ANLA-ANLKL
    Asset description ANLA-TXT50
    Company Code ANLA-BUKRS
    Serial number ANLA-SERNR
    Main Asset Number ANLA-ANLN1
    Fiscal Year ANLC-GJAHR
    Ordinary depreciation posted in the current year ANLC-NAFAG
    Planned ordinary depreciation for the year ANLC-NAFAP
    Accumulated ordinary depreciation ANLC-KNAFA
    Cumulative acquisition and production costs ANLC-KANSW
    Transactions for the year affecting asset values ANLP-ANSWL
    Planned ordinary depreciation for the year ANLP-NAFAP
    Ordinary depreciation posted in the current year ANLP-NAFAG
    Ordinary depreciation to be posted ANLP-NAFAZ
    Asset acquisition year (currently not used) ANLP-ZUJHR
    Depreciation calculation period ANLP-PERAF
    Original useful life in years ANLB-NDURJ
    Depreciation key ANLB-AFASL
    Please tell me where SAP query is no working and what shall I do to make it work.
    Thanks and regards
    Nitin

    Thanks !!!!

  • 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

  • Error in Excel while exporting from SAP query.

    Hi Gurus,
    While exporting one SAP query to excel the last row/line of information lost partially.
    Means we get some information in the last line of excel but some information is not exported in that same line.
    Can you throw some light on this please....

    Hi
    Due to special Chracters in the Values sometimes this happens when exporting to excel.
    Please download into Unconverted format selection & after downloading Open with excel & save it in excel
    Thanks & Regards
    Kishore

  • SAP Query:Error 'List is wider than 255 characters '

    Hi all,
    i m new in SAP Query.
    one query is already done.
    one change is come out.
    requirement is - Add one extra column
    when i m going to add one extra coulumn and test it then message is come out.............
    List is wider than 255 characters (generation not possible)
    Message no. AQ255
    Diagnosis
    You attempted to define a query where the line width of the generated list is greater than 255 characters.
    You define the line width on the Title, Format screen which permits a maximum width of 255 characters. However, when defining statistics and ranked lists, you can implicitly increase this value, since the lines cannot be broken up. This is the case here. An implicit increase in the width of the list would result in a list wider than 255 characters. For this reason, the query cannot be executed.
    Procedure
    Check which of the statistics or ranked lists is responsible and modify it so that the resulting list width is no greater than 255 characters.
    plz help me and suggest me as soon as possible

    hi  Shafiq ,
    i am aslo facing same problem of  (List is wider than 255 characters  )
    There is limitation of 255 characters  .. can we extend that   .
    When we check  by editing program in sq01  it show only 255 character limitation  .
    Regards
    Deepak.

Maybe you are looking for