Error in inner join when i am using 3 tables to join..

hi,
why error is giving when i am joining 3 tables ..
tables : lfa1,lfb1,lfm1.
types : begin of ty_lfa1,
          lifnr type lfa1-lifnr,
         name1 type lfa1-name1,
         bukrs type lfb1-bukrs,
           erdat type lfm1-erdat,
        end of ty_lfa1.
data :   i_lfa1 type ty_lfa1 occurs 1.
select a~lifnr
       a~name1
       b~bukrs
       m~erdat
into table i_lfa1
       from ((lfa1 as a inner join lfb1 as b on alifnr = blifnr) inner join lfm1 as m on alifnr = mlifnr).
error : The table name "((LFA1 AS A INNER JOIN LFB1 AS B ON ALIFNR = BLIFNR)          
INNER JOIN LFM1 AS M ON ALIFNR = MLIFNR)" is too long . unique.          
unique. unique. unique. unique. unique.          
plz help me ...why it is showing..
thanks & regards ,
kalyan

Hi Kalyan,
  Do it this way: In your code just give the space between (  & (  & lfa1 and also at the end ~lifnr )
select a~lifnr
a~name1
b~bukrs
m~erdat
into table i_lfa1
from ( ( lfa1 as a inner join lfb1 as b on a~lifnr eq b~lifnr ) " maintain a space bwteen ( and field
inner join lfm1 as m on a~lifnr eq m~lifnr ).
or
select a~lifnr
a~name1
b~bukrs
m~erdat
into table i_lfa1
from lfa1 as a inner join lfb1 as b
  on a~lifnr eq b~lifnr
     inner join lfm1 as m
  on a~lifnr eq m~lifnr.
With luck,
Pritam.
Edited by: Pritam Ghosh on Jan 13, 2009 2:31 PM

Similar Messages

  • Error "Error in ABAP statement when processing an internal table. table."

    Hello,
    I am facing the error when tried for GR from SRM portal for my shopping cart and for others created shopping cart. The error is
    "Error in ABAP statement when processing an internal table. table."
    I have the central receipient role. Couold any body assist me?
    Thanks,
    Pijush

    Hi Harish,
    Execute the query in RSRT and check whether you have any short dump is in ST22. This would give a clear idea at what might have gone wrong.
    Another thing is to check whether the code for the variable is fine in the user exit.
    Hope this helps.
    Bye
    Dinesh

  • 'Cannot obtain error message from server' when trying to use ODBC

    Post Author: Grant C
    CA Forum: Data Connectivity and SQL
    Hi, I'm developing some reports using Crystal XI on my local PC, using an Oracle 10i back end on a separate server.  The SQL for the report is in a method in an oracle package.
    When I set the datasource location, selecting 'Oracle Server' then entering the details works fine, and the report runs.  However, when I try to use an ODBC connection I get the following error:
    Database Connection Error: 'Cannot obtain error message from server.'
    The ODBC link is set up as a System DSN, which works fine when I test it.  I think I need to use ODBC as some of the reports (which I inherited) seem to fail when run on the Crystal Server, and it seeme to be the ones set up with ODBC which work.
    Any thoughts?  Thanks.

    Hi Mars-
    It sounds like your NI-DAQ installation may have become corrupted. I would suggest uninstalling and reinstalling the DAQmx 7.4 driver to correct this problem and ensure that you're up to date. This download is available here: NI-DAQ 7.4
    If the problem persists you may want to uninstall and reinstall LabVIEW and then NI-DAQ in that order. The error message will usually give an indication as to which VI the error occurred in. Please let us know which VI is failing if you're unable to avoid the error with these suggestions.
    Have a good day-
    Tom W
    National Instruments

  • Can't send Email: Error 500 or 403 when trying to use SP.Utilities.Utility.SendEmail

    Hi all,
    I am getting a Internal Server 500 error when trying to send an email using the SP.Utilities.Utility.SendEmail in my SharePoint Online App. It is worth noting that I am working from a custom .aspx page that does not inherit from the Masterpage, and using
    AngularJS (thus the $http).
    If I change the urlTemplate to use the hostWeb instead of the AppWeb, I get a 403 forbidden. Is there a library I need to include since I am using a custom.aspx page instead of the default.aspx page that comes when creating an App?
    Any clues?
     var appweburl = decodeURIComponent(getQueryStringParameter('SPAppWebUrl'));
     var urlTemplate = appweburl + "/_api/SP.Utilities.Utility.SendEmail"; $http({
    contentType: 'application/json',
    url: urlTemplate,
    type: "POST",
    data: JSON.stringify({
    'properties': {
    '__metadata': {
    'type': 'SP.Utilities.EmailProperties'
    'From': [email protected]',
    'To': {
    'results': ['[email protected]']
    'Body': 'Hello',
    'Subject': 'remember'
    headers: {
    "Accept": "application/json;odata=verbose",
    "content-type": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
    }).success(function(data, status, headers, config) {
    $scope.data = data;
    alert("Email Sent!");
    }).error(function(data, status, headers, config) {
    $scope.status = status;
    alert("Email FAil!");
    Personal Blog: http://thebitsthatbyte.com

    I've got it working in SharePoint Online/SharePoint App using the following. Note that I am using AngularJS:
    function sendEmail() {
    var appweburl = decodeURIComponent(getQueryStringParameter('SPAppWebUrl'));
    var urlTemplate = appweburl + "/_api/SP.Utilities.Utility.SendEmail";
    $http({
    contentType: 'application/json',
    url: urlTemplate,
    method: "POST",
    data: {
    'properties': {
    '__metadata': {
    'type': 'SP.Utilities.EmailProperties'
    'From': '[email protected]',
    'To': {
    'results': ['[email protected]']
    'Body': 'Good Day from the App. Dont reply if this was received.',
    'Subject': 'App says hello and is awaiting your review'
    headers: {
    "Accept": "application/json;odata=verbose",
    "content-type": "application/json;odata=verbose",
    "X-RequestDigest": $("#__REQUESTDIGEST").val()
    }).success(function(data, status, headers, config) {
    console.log("Sent!");
    $location.path('/');
    }).error(function(data, status, headers, config) {
    console.log("fail");
    function getQueryStringParameter(param) {
    var params = document.URL.split("?")[1].split("&");
    var strParams = "";
    for (var i = 0; i < params.length; i = i + 1) {
    var singleParam = params[i].split("=");
    if (singleParam[0] == param) {
    return singleParam[1];
    Personal Blog: http://thebitsthatbyte.com

  • Hello, I'm getting the follwing error in my logs when  trying to use javabeans on a nes 4.0 sp3 with j2se

    JSP compilation error: java.lang.Exception: JSP parse error (line 66) - Incomplete tag ending of /jsp:useBean, stack: java.lang.Exception: JSP parse error (line 66) - Incomplete tag ending of /jsp:useBean

    Use the following steps to fix the problem:
    Add the following line to the JSP:
    <%@ page import = "BeanName" %>
    The BeanName is the name of the bean you would like to use. This name should not include the .class extension.
    Set the classpath for Java in the server so that it includes the directory where the JavaBean is located.
    From the Admin server, click the Servers tab, Manager Servers.
    Select the server instance that you would like to configure.
    Click Manage.
    Click the Servlets tab, Configure JVM Attributes.
    At the end of the classpath field, add the path to the directory where
    your bean is located.
    Note: Remember to separate statements in the classpath by semicolons.
    Click OK.
    When prompted, click Save and Apply.
    Completing the above steps will enable the server to find the JavaBean that
    you are trying to use in a JSP.

  • Help! I am getting: Quicktime error -50...when trying to use the "Share" and "Send to Compressor" function. I need to export my show! Thanks for your suggestions! (using FCP7)

    Help!  I am trying to export my show and commercials from the timeline. Both Share and Send to compressor are not working.
    Its starts compressing then I get Failed"Quicktime Error -50". I appreciate any suggestions.
    SYSTEM INFO
    Model Name:          Mac Pro
      Model Identifier:          MacPro5,1
      Processor Name:          Quad-Core Intel Xeon
      Processor Speed:          2.4 GHz
      Number Of Processors:          2
      Total Number Of Cores:          8
      L2 Cache (per core):          256 KB
      L3 Cache (per processor):          12 MB
      Memory:          10 GB
      Processor Interconnect Speed:          5.86 GT/s
      Boot ROM Version:          MP51.007F.B00
      SMC Version (system):          1.39f11
      SMC Version (processor tray):          1.39f11

    First try exporting a self-contained movie from FCP, the using the resulting file in Compressor.  To do it, go to File->Export->QuickTime Movie (do NOT use QuickTime Conversion).  In the export window, check the self-contained option but do not "recompress all frames."
    Once the export is finished, launch Compressor then use the self-contained file as the source.  If that fails, you may want to try using theis: http://www.digitalrebellion.com/compressorrepair/
    -DH

  • Confusing error message from iTunes when trying to use AirTunes

    Hello everyone,
    I figured since other folks might run into this issue that it's worth posting about, since it's both annoying, irritating, and none of the Apple support hints address it properly ...
    If you're one of those folk like me who has to deal with corporate proxies for pretty much everything while at work, but don't have any local proxy issues at home, you might use something called Proxifier.
    Be aware that the way it works (as a kernel module, intercepting socket calls and transparently mapping them through your defined proxy) will screw up iTunes unless you explicitly unproxy it (it implicitly proxies everything except what you tell it to).
    The error message I kept getting was "The remote speaker is not compatible with your version of iTunes", and after spending 20 minutes or so with ktrace, watching socket calls, I gave Proxifier a poke and told it to stop proxying iTunes. Lo, and behold, AirTunes magic returned.
    So if you use both of these applications, be wary of the interaction between the two, as it can be confusing and produce undescriptive and unhelpful error messages!
    cheers,
    Klaus

    Hi Mars-
    It sounds like your NI-DAQ installation may have become corrupted. I would suggest uninstalling and reinstalling the DAQmx 7.4 driver to correct this problem and ensure that you're up to date. This download is available here: NI-DAQ 7.4
    If the problem persists you may want to uninstall and reinstall LabVIEW and then NI-DAQ in that order. The error message will usually give an indication as to which VI the error occurred in. Please let us know which VI is failing if you're unable to avoid the error with these suggestions.
    Have a good day-
    Tom W
    National Instruments

  • Error when using Table view

    Hi Folks,
    I m getting this problem frequently when i m using table view in reports. Im using SQl server2008 and working on BIApps.
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 43113] Message returned from OBIS. [nQSError: 43119] Query Failed: [nQSError: 16001] ODBC error state: 28000 code: 18456 message: [Microsoft][ODBC SQL Server Driver][SQL Server]Login failed for user 'DWH'.. (HY000)
    SQL Issued: SELECT 0 s_0, "Financials - AP Overview"."Time"."Fiscal Quarter" s_1, "Financials - AP Overview"."Time"."Fiscal Year" s_2, "Financials - AP Overview"."Facts - AP Turnover"."Days Payables Outstanding" s_3 FROM "Financials - AP Overview" FETCH FIRST 65001 ROWS ONLY
    Thanks in advance.
    Raghava.

    Hi,
    As per you query shown above, I am assuming that the query limit exceeds the maximum number of rows to show in your result. because it showing only 65001 rows fetched but your data may be more than that.
    So try to extend the maximum rows for table view in instanceconfig.xml file.
    Regards,
    Pandian

  • J1INCHLN when should I use error control mode checkbox

    Hi Experts,
    I am using t-code J1INCHLN for creating remittance Challan.
    But in ECC6, EHP 5 there is new functionality added & no documentation available for same.
    There is one field with tick option called Error Control Mode.so when should i use this functionality.
    Can anyone help on this?
    Thanks and Regards,
    Sameer

    HI
    Please refer the note no :  1567443
    Manual Control in J1INCHLN to change currency key/doc type
    "After this, if you will run J1INCHLN, you will get a checkbox at the end
    with 'Error Control Mode' which will be selected by default. If you want
    to change document type, currency or rate during processing, you should
    uncheck it else it will take you to the last screen."
    I hope note is allready available in your system hence you are getting above cheeck box.
    If you want to change the document type and currency or rate during posting then you need use the check box.
    Regards
    Madhu M

  • Generic extraction using table

    Hello friends,
    We have three methods in Generic extraction, as we know.
    1. Using view/Table
    2. Using FM
    3. Using Infoset Query
    I know pretty well the extraction using View, but when do we use "Table"?
    Is there a specific method to perform generic extraction using TABLE?
    Please clarify

    Thanks for the replies.
    In case of a generic extraction with view, i've followed the below procedure.
    1. RSO2.
    2.create a generic datasource by giving a view name and selecting the fields for selection criteria, save and generate.
    3. replicate data sources in BW.
    4. create an infosource and assign the data source, mapping and create an infopackage to load data.
    Now ,
    1. how do we enable Delta for this method?
    2. Is  this possible at all? if yes, how?
    3. How do we proceed after the replication of DataSources in BI? specifically, procedure in BI?
    Pls clarify.

  • Which field we would put join in kna1 and  likp table.

    Hi,
           which field we would put join in kna1 and  likp table.
    With thanks Regards.

    >        which field we would put join in kna1 and  likp table.
    >
    JoiN:
    table KNA1-KUNNR  WITH LIKP-KNKLI
    Rwd points if reoslved
    regards

  • Oracle.jbo.NoDefException: Error in Quick Search when we use View  Criteria

    We encountered NoDefException error in Quick Search. We are using JDeveloper 11.1.1.6.0, JHeadstart 11.1.1.4
    I am able to reproduce the error by applying Oracle's HR schema. The following are the steps to reproduce with HR schema:
    1. Create an employee view named EmpVw by using the following query:
    select
    employee_id,
    first_name,
    last_name,
    email,
    phone_number,
    salary
    from employees
    2. Create a lookup view named CountryLookupView by using the following query:
    select
    country_id,
    country_name
    from countries
    3. Create a view named EmpCountryVw by using the following query:
    select
    emp.employee_id,
    emp.first_name,
    emp.last_name,
    cnty.country_id,
    cnty.country_name
    from employees emp
    inner join departments dept
    on emp.department_id = dept.department_id
    inner join locations loc
    on dept.location_id = loc.location_id
    inner join countries cnty
    on loc.country_id = cnty.country_id
    4. Create a LOV for the CountryId attribute in EmpCountryVw. The data source for this LOV is the CountryLookupView we just created. UI hints list type is Input Text with List of Values.
    5. Create View Criteria for EmpVw view, name it as EmpVwSearchCriteria Select EmpCountryVw from Attribute list, Operator is Exists, Operand is Inline View Criteria.
    6. Create new service EmployeeSearchService. Select EmpVw to the data model.
    7. In JHeadStart Application Definition Editor, create a new service node EmloyeeSearchService, set EmpVwSearchCriteria as Quick Search View Criteria in Search Settings section. Run the JAG, and then run the application.
    8. On the application screen, select EmployeeSearchService from the module drop-down list, on Emp Vw screen, click the glass icon to display the pop-up country search dialog, type in CA as country code, run the search, select the row with "Ca Canada" and then click OK button to close off the pop-up dialog. on Emp Vw screen, click "->" to run the search with Country Id = CA. Note the error dialog popup.
    The error message is: oracle.jbo.NoDefException: JBO-25058
    Caused by: oracle.jbo.NoDefException: JBO-25058: Definition data_MyJhsTutorial_UIShellPageDef_mainRegion_oracle_hr_pageDefs_EmpVwPageDef_WEB_INF_adfc_config_EmpVw_xml_EmpVwTaskFlow_EmpVwIteratorEmpVwSearchCriteriaQuery.vcrow125.EmpCountryVw.EmpCountryVwNestedCriteria.vcrow128.CountryId of type Attribute is not found in EmpVw.
         at oracle.jbo.server.ViewObjectImpl.findAttributeDef(ViewObjectImpl.java:7310)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._isTransientAttribute(FacesCtrlSearchBinding.java:585)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding._changeQueryModeIfNeeded(FacesCtrlSearchBinding.java:577)
         at oracle.adfinternal.view.faces.model.binding.FacesCtrlSearchBinding.processQuery(FacesCtrlSearchBinding.java:397)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:597)
         ... 63 more
    Please let me know if you have solution for this error. Thanks in advance.
    Sarah

    Sarah,
    I could reproduce the error.
    However, I created a drag-and-drop page fragment with quick search and table, and modified the adfc-config-EmpVw task flow to reference the drag and drop page:
    <view id="EmpVwTable">
    <page id="__120">/EmpvwDD.jsff</page>
    </view>
    And then I still get the same error, so this looks like an ADF bug to me.
    I also created a stand-alone jspx page using drag and drop, same error as well. I suggest you make a testcase without JHeadstart and contact Oracle Support.
    Steven Davelaar,
    JHeadstart Team.

  • How can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,-

    how can i stop an error message that comes up when i am using word? the error message is "word is unable to save the Autorecover file in the location specified. Make sure that you have specified a valid location for Autoreover files in Preferences,…"

    It sounds like if you open Preferences in Word there will be a place where you can specify where to store autorecover files. Right now it sounds like it's pointing to somewhere that doesn't exist.

  • I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    I am getting a error IO when trying to upload multiple images within wordpress using the flash uploader. I do not get the error when uploading using explorer. The error only appears if I try uploading using firefox....any ideas?

    Logged the call with SAP who directed me to 'Define settings for attachments' in IMG and setting the 'Deactivate Java Applet' & 'Deactivate Attachment versioning' checkboxes - problem solved.

  • "Type mismatch" error in IE7/8 when using custom Actions Menu Image

    Hi all,
    in APEX 4.2: when using a custom image in the "Actions Menu Image" attribute in an interactive report, I get a "Type mismatch" error in IE7/8 when refreshing the report through PPR (filtering, sorting, paginating etc.). When I leave the "Actions Menu Image" field empty, everything works fine. The error doesn't seem to happen in IE9 (unless using compatibility mode), or in any non-IE browser.
    I've been able to reproduce the issue in an application on apex.oracle.com:
    http://apex.oracle.com/pls/apex/f?p=69347:1
    Some debugging seems to indicate that the following line in widget.interactiveReport.js is the culprit:
    lTemp.parentNode.replaceChild($x('apexir_WORKSHEET'), lTemp);Does anybody know if this is a known issue, or if there is some workaround?
    Thanks,
    Tobias

    Hi,
    Great solution Paul! It cost me a while before I found out the Action Menu Image was causing my interactive reports to stop refreshing in IE10 and not other browsers. Your solution works great, I've implemented it with a few minor adjustments:
    - Put the css in report template (for some reason it didn't work in our own application stylesheet)
    - replace  'url("/c/action_dropdown.gif")' with 'url("&APP_IMAGE_PREFIX./<path_to_image>")'
    - place one dynamic action on page 0: after refresh of '#apexir_DATA_PANEL' , set event scope to "Dynamic".
    - Let the Dynamic action also fire on page load.
    - To make sure the dynamic action only works for pages with an interactive report add condition of type 'Exists' with expression:
    select 1
    from   dual
    where  :APP_PAGE_ID in (select page_id
                                            from   apex_application_page_ir
                                            where  application_id = :APP_ID
    Best regards,
    Vincent Deelen

Maybe you are looking for

  • Getting error while deploying in WebSphere

    i developed the Bean file in Weblogic, and when i am trying to deploy that bean class in WebSphere i am getting this error java.rmi.ServerError: Error occurred in server thread; nested exception is:      java.lang.AbstractMethodError: com.orbi.orbico

  • Open .pdf in a web page

    My client is the publisher of a magazine and that magazine has a web site. He wants to place a .pdf file on a page in the web site and have it open in that page. I know how to insert a .pdf so the viewer can download it. What we want to do is differe

  • Hi   report painter

    hi in fico module, i need to create report painter. pl.   can anybody provide me with step for creating report painter with example. example of sd or mm is most welcome. thanx rocky

  • Belgium Vat Report

    Hi, Has anybody know about the Belgium Vat Report and VAT declaration form? How we need to configure it in SAP? Please thorugh some light on this issue. Thanks in adv MBN

  • A question on ETL on flat file folder

    Hi,all, I am a student currently exploring Oracle Technologies. I used to use Microsoft SQL Server Integration/Analysis/Reporting Services. Wanted to achieve something like this too, using oracle. Had done some simple tutorial on owb for a day, I bri