Problem in joining tables

Hi All,
Here I am facing the problem in Joining table I have S031,s032,makt,marc,I need a field ATWRT field from CAWN table,I did't find any link for this above from tables, any one please help me how to find out.
REPORT  ZMMTEST.
tables:s031,s032,makt,marc.
DATA : BEGIN OF itab1 OCCURS 0,
       matnr TYPE s031-matnr,
       lgort      TYPE s031-lgort,
       werks      TYPE s031-werks,
       spmon      TYPE s031-spmon,
       magbb      type S031-magbb,
       wagbb      type S031-wagbb,
       azubb      type S031-azubb,
       aagbb      type S031-aagbb,
       END OF itab1.
DATA : BEGIN OF itab2 OCCURS 0,
       matnr like makt-matnr,
       maktx like makt-maktx,
       END OF itab2.
DATA : BEGIN OF itab3 OCCURS 0,
       matnr TYPE marc-matnr,
       werks type marc-werks,
       ekgrp type marc-ekgrp,
       END OF itab3.
DATA : BEGIN OF itab4 OCCURS 0 ,
       matnr   TYPE s032-matnr,
       lgort   TYPE s032-lgort,
       werks   TYPE s032-werks,
       mbwbest type s032-mbwbest,
       wbwbest type s032-wbwbest,
       END OF itab4.
data : begin of itab5 occurs 0,
      objek   type ausp-objek,
       atwrt   type cawn-atwrt,
       end of itab5.
DATA : BEGIN OF itab_final1 OCCURS 0,
       matnr      TYPE s031-matnr,
       lgort      TYPE s031-lgort,
       werks      TYPE s031-werks,
       spmon      TYPE s031-spmon,
       magbb      type S031-magbb,
       wagbb      type S031-wagbb,
       azubb      type S031-azubb,
       aagbb      type S031-aagbb,
       maktx      TYPE makt-maktx,
       ekgrp      type marc-ekgrp,
       mbwbest    type s032-mbwbest,
       wbwbest    type s032-wbwbest,
       END OF itab_final1.
DATA : BEGIN OF itab_final OCCURS 0,
       matnr      TYPE s031-matnr,
       lgort      TYPE s031-lgort,
       werks      TYPE s031-werks,
       spmon      TYPE s031-spmon,
       magbb      type S031-magbb,
       wagbb      type S031-wagbb,
       azubb      type S031-azubb,
       aagbb      type S031-aagbb,
       maktx      TYPE makt-maktx,
       ekgrp      type marc-ekgrp,
       mbwbest    type s032-mbwbest,
       wbwbest    type s032-wbwbest,
       atwrt      type cawn-atwrt,
       END OF itab_final.
select-options:s_matnr for s031-matnr.
start-of-selection.
select matnr lgort werks spmon magbb wagbb azubb aagbb
        from s031 into  table itab1
        where matnr in s_matnr.
if not itab1[] is initial.
    select matnr maktx from makt into table itab2 for all entries in itab1 where matnr = itab1-matnr.
if not itab2[] is initial.
   select matnr werks ekgrp from marc into table itab3 for all entries in itab2 where matnr = itab2-matnr.
if not itab3[] is initial.
   select matnr werks mbwbest wbwbest from s032 into corresponding fields of table itab4 for all entries in itab3 where matnr = itab3-matnr.
*if not itab4[] is initial.
   select atwrt from cawn into corresponding fields of table itab5.*
     endif.
   endif.
endif.
endif.
end-of-selection.
  loop at itab3.
   itab_final-matnr = itab3-matnr.
   read table itab2 with key matnr = itab3-matnr.
   if sy-subrc = 0.
    itab_final-maktx = itab2-maktx.
   read table itab1 with key matnr = itab2-matnr.
   if sy-subrc = 0.
    itab_final-lgort = itab1-lgort.
    itab_final-werks = itab1-werks.
    itab_final-spmon = itab1-spmon.
    itab_final-magbb = itab1-magbb.
    itab_final-wagbb = itab1-wagbb.
    itab_final-azubb = itab1-azubb.
    itab_final-aagbb = itab1-aagbb.
  endif.
   endif.
   itab_final-ekgrp = itab3-ekgrp.
  read table itab4 with key matnr  = itab3-matnr.
  if sy-subrc = 0.
  itab_final-mbwbest = itab4-mbwbest.
  endif.
itab_final-wbwbest = itab4-wbwbest.
  append itab_final.
  clear itab_final.
  endloop.
WRITE: /2 'material', 23 'storagelocation',29  'plant',35 'date',44 'val.stock.issue',66 'val.stock.issue.value',86 'no.of.stock.receipts',97 'no.of.stock.issues',150 'material.des', 160 'pur.group',190 'stock.val',210 'stock.quan'.
  ULINE.
  loop at itab_final.
  WRITE: /2 itab_final-matnr, 23 itab_final-lgort,29  itab_final-werks,35 itab_final-spmon,44 itab_final-magbb,66 itab_final-wagbb,86 itab_final-azubb,97 itab_final-aagbb,
           150 itab_final-maktx, 160 itab_final-ekgrp,190 itab_final-wbwbest,210 itab_final-mbwbest,itab_final-atwrt.
ENDLOOP.
Thanks&regds,
Sree.

Hi sree,
take join between s031-sptag ,ausp-datuvthen fetch records based on this condition.(itab1)
After retrieve records based on join condition between
ausp-atinn,ausp-adzhl and cawn-atinn,cawn-adzhl.(itab2)
Retrieve records using for all entries bet first join condition and second join condition.
use for all entries between itab1 and itab2.
it will work surely.
reaward points

Similar Messages

  • Problem with joining tables in cmp bean

    This is for an informix database. when i specify to join tables in CMP beans i get a sql error.. this is what the SQL join statement looks like when the server spits it out:
    SELECT t0.id, t0.name, t0.available, t0.available_date FROM drs_product t0, outer drs_category t1 ON t0.style=t1.style WHERE t0.available = 'T'
    it puts the "ON" string into the join?? this gives me a SQL error, it's supposed to be like this:
    SELECT t0.id, t0.name, t0.available, t0.available_date FROM drs_product t0, outer join drs_category t1 WHERE t0.style=t1.style AND t0.available = 'T'
    how can i fix this

    nevermind..i figured it out again.. in the INFORMIX DYNAMIC SERVER.properties file replace the left join attribute with this:
    LEFT_JOIN= left join
    make sure there is a space before the "l" in left and a space after the "n" in join, otherwise it will be a sql error:
    the previously LEFT_JOIN=, outer statement is clearly wrong for this database.

  • Select Problem with Joined tables

    Hello everyone I have the following Query
    SELECT
        OBJEKTI.OBJEKAT_ID OBJEKAT_ID,
        OBJEKTI.ADRESA ADRESA,
        OBJEKTI.POVRSINA POVRSINA,
        OBJEKTI.BROJ_IZVRSILACA BROJ_IZVRSILACA,
        OPREMLJENOSTI.OPREMLJENOST_ID OPREMLJENOST_ID,
        OPREMLJENOSTI.PULT PULT,
        OPREMLJENOSTI.REKLAMA REKLAMA,
        OPREMLJENOSTI.MOKRI_CVOR MOKRI_CVOR,
        OPREMLJENOSTI.WC_ZA_IGRACE WC_ZA_IGRACE,
        OPREMLJENOSTI.WC_ZA_OSOBLJE WC_ZA_OSOBLJE,
        OPREMLJENOSTI.VENTILATOR VENTILATOR,
        OPREMLJENOSTI.OSVJETLJENJE OSVJETLJENJE,
        OPREMLJENOSTI.VRSTA_BROJILA VRSTA_BROJILA,
        OPREMLJENOSTI.ELEKTRO_INSTALACIJE ELEKTRO_INSTALACIJE,
        OPREMLJENOSTI.VODO_INSTALACIJE VODO_INSTALACIJE,
        OPREMLJENOSTI.TELEFONSKE_INSTALACIJE TELEFONSKE_INSTALACIJE,
        OPREMLJENOSTI.GRIJANJE_ID GRIJANJE_ID,
        OPREMLJENOSTI.POD_ID POD_ID,
        OPREMLJENOSTI.PROZORI_VRATA_ID PROZORI_VRATA_ID,
        OPREMLJENOSTI.OBJEKAT_ID OBJEKAT_ID1,
        TEHNICKE_OPREMLJENOSTI.TEH_OPR_ID TEH_OPR_ID,
        TEHNICKE_OPREMLJENOSTI.ONLINE_KLADIONICA ONLINE_KLADIONICA,
        TEHNICKE_OPREMLJENOSTI.PANO PANO,
        TEHNICKE_OPREMLJENOSTI.NOSACI NOSACI,
        TEHNICKE_OPREMLJENOSTI.TV_LCD TV_LCD,
        TEHNICKE_OPREMLJENOSTI.TV_TELETEXT TV_TELETEXT,
        TEHNICKE_OPREMLJENOSTI.APARATI_IGRE APARATI_IGRE,
        TEHNICKE_OPREMLJENOSTI.EVONA EVONA,
        TEHNICKE_OPREMLJENOSTI.NOVOMATIC NOVOMATIC,
        TEHNICKE_OPREMLJENOSTI.RULET RULET,
        TEHNICKE_OPREMLJENOSTI.BILIJAR BILIJAR,
        TEHNICKE_OPREMLJENOSTI.KLIMA KLIMA,
        TEHNICKE_OPREMLJENOSTI.OBJEKAT_ID OBJEKAT_ID2,
        PONUDE.PONUDA_ID PONUDA_ID,
        PONUDE.ONLINE_TERMINAL ONLINE_TERMINAL,
        PONUDE.SRECKE SRECKE,
        PONUDE.ONLINE_KLADIONICA ONLINE_KLADIONICA1,
        PONUDE.APARATI_IGRE APARATI_IGRE1,
        PONUDE.RULET RULET1,
        PONUDE.BILIJAR BILIJAR1,
        PONUDE.OBJEKAT_ID OBJEKAT_ID3
    FROM
        OBJEKTI,
        OPREMLJENOSTI,
        TEHNICKE_OPREMLJENOSTI,
        PONUDE
    WHERE
    (PONUDE.OBJEKAT_ID=OBJEKTI.OBJEKAT_ID AND TEHNICKE_OPREMLJENOSTI.OBJEKAT_ID=OPREMLJENOSTI.OBJEKAT_ID) OR (OPREMLJENOSTI.OBJEKAT_ID=OBJEKTI.OBJEKAT_ID AND TEHNICKE_OPREMLJENOSTI.OBJEKAT_ID=OPREMLJENOSTI.OBJEKAT_ID)
    ORDER BY OBJEKTI.OBJEKAT_IDThe problem I get is no matter what WHERE clause I use I get doubled values which makes no sense. I checked in the tables and I don't have any doubled values. Each Opremljenost has 1 objekat (there are 2 rows each with its own Objekat) and the same applies to the other 2 tables (PONUDE and TEHNICKE OPREMLJENOSTI) but for some reason they double up the values. If I run it without a where clause at all I get some values repeat itself up to 4 times. Does anyone have a clue what is wrong with my query?

    You are joining a parent table (OBJEKTI) with three child tables (the other three: PON, TEH, OPR).
    Whenever you do that, you will always get duplication of child-rows, if there are multiple child-rows for a parent-row in any of the three child tables.
    For example, let P be a parent table, with two child tables, say C1 and C2.
    Contents:
    Table P:
    p1
    Table C1 (has two rows for row p1):
    1 p1
    2 p1
    Table C2 (has three rows for row p1):
    10 p1
    20 p1
    30 p1If you now do this:
    select P.*,C1.*,C2.*
    from P, C1, C2
    where [join P with C1]  and [join P with C2]Then your result set will look like this:
    P.p1  C1.1  C1.p1  C2.10  C2.p1
    P.p1  C1.1  C1.p1  C2.20  C2.p1
    P.p1  C1.1  C1.p1  C2.30  C2.p1
    P.p1  C1.2  C1.p1  C2.10  C2.p1
    P.p1  C1.2  C1.p1  C2.20  C2.p1
    P.p1  C1.2  C1.p1  C2.30  C2.p1As you can see every C1 row is duplicated three times in the resultset (due to join with C2).
    And every C2 row is duplicated two times in the resultset (due to join with C1).
    This is simply what happens if you join a parent table with multiple child tables...
    Question now is: what is the expected result that you are looking for?

  • Problem with Joining Tables in VC

    Hi All,
    I am developing custom portal activity report in VC. I need to join WCR_USERPAGEUSAGE, WCR_WEBSTATCONTENT  tables. I dont have access for SQL Editor. I have used Freeform query template in BI Integration wizard and created dataservice in that joined these tables. Here I couldn,t pass parameters to this dataservice. If I pass parameter , It shows application error as null. How can I solve this problem?.
    Thanks & Regards,
    Art

    Hi Art,
    could you describe your solution, so that other users with the same issues can find help here on SDN?
    Best Regards,
    Marcel

  • Joining tables across databases in OBIEE Physical Layer

    I was facing this problem of joining tables across databases in Physical layer of OBIEE admin tool.
    I had a requirement to combine two tables from 2 different databases A and B respectively. I had created one database object (OBIEE Object) in the physical layer and I had created two connection pools under that pointing to the required databases. I was able to view the data (right click on the table object --> popup menu option "View Data" ) though I had to go through the "Select connection Pool" window and select the required connection pool. I was able to join the tables and was able to complete the star schema in BMM and bring them up to the presentation layer. Conistency check was also successful. Everything went fine so far.
    But when I started building the report, I started getting error whenever I chose the table which was supposed to be queried by using the second connection pool. The error message was something like "table or view does not exist at OCI call OCIStmtExecute". I assume that this was happening because the systm was not able to understand which connection pool to choose (because there were two pools defined under one database object) and by default the server was choosing the first one. If anybody is having a different opinion or definite information about this, kindly update with your reply.
    I could resolve this problem after creating a separate database object with a separate connection pool defined under it, which points to the second database. Imported the required table under this database object. (Infact it was reverse. When I re-imported the table, OBIEE Admin tool, by default created its own database object and the connection pool separately for the imported table).
    Once this was done then I went ahead as usual by joining the tables across these two different database objects and modelling was already done (ofcourse with a little more tweaking since the mapping had to be redone between BMM and Physical layers). Now I could build the report in the reporting layer without encountering any error.
    Appreciate and welcome any further additions/updations/corrections regarding this issue(?).
    -MMishra.
    Edited by: user13483341 on Nov 29, 2011 8:20 AM
    Edited by: user13483341 on Nov 29, 2011 8:20 AM
    Edited by: user13483341 on Nov 29, 2011 8:24 AM

    Hi Deepak, Thanks for your reply.
    Appreciate if you can help me with another thread "possibility of multi-currency in OBIA 7.9.6.2 financial anlytics".
    - MMishra.

  • Select distinct problem with muliple join tables, help needed

    Hi,
    I have two main tables. Each has its of sub joined tables.
    guest_id_for_reservation connects two major tables. This has
    to be that way
    because my guest may change the room status from single to
    double (and the
    similar exceptional requests).
    guests reservation
    guest_id_for_reservation
    countrytable hoteltable
    delegationtable roomtype
    I form a query. I want to select distinct those results. But
    it does not
    work.
    If I do not include any table related to reservation table
    and its sub
    joined tables (disregarding guest_id_for_reservation), it
    works.
    Is there a specific syntax for select distinct of this type
    or any
    workaround.?
    Thank you
    Hakan

    Hi I'm still battling with this - have connected the AX to my Imac via ethernet and it shows up fine in Airport Utility. Status light is green and it says its set up to connect to my existing wireless network using wireless connection. Security in Network Preferences is the same for both: WPA2 Personal.
    So I don't think there's a problem with the AX, and my current wireless network (BT Home Hub) is working fine.
    And when I restore factory settings Airport Utility can see the AX before updating settings so the wireless side of AX must work too.
    I'm figuring it must be something about the settings that mean AU can't see it anymore. But I can't work out what, since security is the same.
    Any ideas would be great!

  • What is the better way to join table for ASE 12.5?

    To join table with T-SQL, there are 2 options:
    select * from tab1 a join tab2 b on a.id = b.id where x=y
    select * from tab1a, tab2 b where a.id = b.id and x=y
    this is only a syntax difference or there is a performance difference? which one is better for performance?

    The first query (using the join clause) is the ANSI standard way of writing joins and is usually supported by all mainstream RDBMSs.
    The second query is the T-SQL method of writing joins and may have limited re-usability with other RDBMSs.
    In most cases which one you use is usually one of preference, ie, which ever one you're comfortable with.
    From a technical perspective there are some join constructs that you cannot build with T-SQL joins, but can build with ANSI joins (eg, you may have problems in T-SQL with a table that you want to be both a) an inner table of an outer join and b) part of a equi/inner join).
    Soooo, ANSI joins provide you a lot more flexibility in coding as well as portability (between other RDBMSs).  But if you're going to work with ASE you'll still need to understand how T-SQL joins work as you'll see quite a lot of T-SQL join-based queries.

  • Problem in join with hrp1000 and hrp1001???

    Hi all, I am pasting code sAmpLE, i am having problem with join, without join the query is working. Help out.
    IF per_no IS NOT INITIAL.
        SELECT objid sobid objid INTO TABLE lt_st_p1
          FROM hrp1001 WHERE otype EQ 'P' AND objid IN per_no
          AND plvar EQ lv_plan_version AND rsign EQ 'B' AND relat EQ '008' AND istat EQ '1'
           AND subty EQ 'B008' AND sclas EQ 'S'.
       LOOP AT lt_st_p1 INTO ls_st_p1_tem.
         ls_st_p1_tem-sobid1 = ls_st_p1_tem-pernr.
         MODIFY lt_st_p1 FROM ls_st_p1_tem TRANSPORTING sobid1.
       ENDLOOP.
        check lt_st_p1 is not INITIAL.
        SELECT h1objid h1sobid h0~stext INTO TABLE lt_st_p1_temp
          FROM hrp1001 AS h1 JOIN hrp1000 as h0 on ( h1objid eq h0objid and h1rsign eq h0otype )
          FOR ALL ENTRIES IN lt_st_p1
          WHERE h1otype EQ 'O' AND h1sobid = lt_st_p1-sobid
          AND h1plvar EQ lv_plan_version AND h1relat EQ '003'
          AND h1rsign EQ 'B' AND h1istat EQ '1' AND h1subty EQ 'B003' AND h1sclas EQ 'S'
    I want to get the stext of the braNCH. THE lt_st_p1 is having the emp id and position. and i want to get branch , position and stext( of branch) in lt_st_p1_temp by the help of join. I am implementing this qauery, but is getting subrc 4, what is the problem in this , please rectifuy if any problem found ?

    You may want to change:
    check lt_st_p1 is not INITIAL.
    to
    check lt_st_p1[] is not INITIAL.
    This depends on whether or not the internal table was defined with a header line.
    Rob
    Edited by: Rob Burbank on Jan 2, 2012 2:45 PM

  • Can't join tables.query dependency not found "" in EUL

    hi ALL,
    i created one report in disco 3.1.38 and its' running fine but after storing it in database and then again trying to open it from database it gives me error "can't join tables."name of query folder" dependency not found "" in EUL"
    if any one has come across such problem and has solution for it ..please reply back.
    thanks in anticipation
    manish

    Manish,
    I have not run into this error before and maybe one of the oracle consultants could answer this better. But I here it goes. I would first try a refresh on the folders that the report in question is using. Is it possible that the under lining tables have changed? Do you have another copy of the same report outside of the database and does it still work?
    Christopher

  • Conditions on Outer Joined Tables

    I'm trying to understand how Discoverer handles conditions created on outer joined tables. We're using Discoverer Plus 11.1.1.3.
    I have a query using two tables connected by an outer join. While I want all records back from the first table, I don't want all records back from the outer joined table. So, if I typed the SQL directly in a SQL Editor, I would put the '(+)' in each condition. However, I find that in Discoverer, sometimes it does this, and sometimes it doesn't. If it does not put the '(+)' on all conditions as well as the join, that essentially nullifies the outer join and makes it an standard join.
    For example, I expanded an item on the outer joined table in the Items dialog to see its list of values, and selected one, to add the column to the worksheet and create a condition. No (+). But when I deleted this and created the condition using the Condition dialog, I got a (+). Then I created another condition using the condition dialog. I used the IN operator and pasted in a list (this item had no item class to choose from)--no (+).
    When I tried manually adding (+) after the item name in the condition dialog, it put quotes around the whole thing and treated it as a string.
    I can find nothing in the documentation that discusses this. Is is possible to control whether or not it uses the (+)?
    Thank you, Scott Newman

    Dear Michael,
    Last night I had a call from user who was experiencing a very strange behaviour of her Discoverer workbook.
    I replicated the issue on my machine and could not believe my eyes. A condition on an item was being ignored. I then analysed the workbook and realised it was due to a condition on an item from an outer-joined folder. I did not have the strength after a long day to deal with it and was looking forward to having some fun the next day. Firstly, I tried few tricks such as NVL, LENGTH functions in a test query in Toad. I hate to give up but I did and searched threads on this forum and opened few. The very first thread I read was this one and I laughed when I read your advice. Only until the moment I tested it in the troubled workbook. It worked like a charm. I take my hat off to you Michael. I have rarely experienced such a satisfaction when solving a tricky problem during my 9-year-long Oracle Discoverer journey. This goes straight to my little text file with interesting problems and solutions.
    Thank you very much. I owe you a beer or two.
    It is great to have an expert like you, always ready to share his knowledge with his colleagues.
    P.S.
    My apologies for this massive post, I could not resist expressing my joy and gratitude.
    Jozef Hlavaty

  • AP 2700 - 2 MAC addresses - problem with joining to the WLC

    Hi,
    I had a problem with joining my new AP 2700 to the controller. I've found workaround but I would like to ask you if you know if this behavior is a some kind of bug or maybe feature :)
    I have DHCP server which assigns IP address base on the binding MAC address with the IP address. Without binding, IP won't be assigned so I added MAC address from the AP sticker (MAC and SN number is on the sticker at the back of each AP) to the DHCP, connected AP to the switch port which was configured exactly the same way like other ports on this switch where older AP are working fine and.... nothing. IP address was not assigned. There was no DHCP request in the DHCP server logs.
    During the investigation I've found that AP present 2 MAC addresses on the switch interface:
    switch#sh mac address-table interface fa1/1
    Mac Address Table
    Vlan Mac Address Type Ports
    11 58f3.54c1.2cb3 DYNAMIC Fa1/1
    11 58f3.54c1.2cb4 DYNAMIC Fa1/1
    The first one (58f3.54c1.2cb3) is a "sticker" MAC address but the second one (58f3.54c1.2cb4) is something new. Looking in to the DHCP logs I've found log that this second MAC address (58f3.54c1.2cb4) tried to get IP address but it was not possible because this MAC was not binding with any IP address so DHCP server refuse. I added this second MAC (58f3.54c1.2cb4) to the DHCP server, AP get IP address, join to the WLC, download software, reboot and ... this MAC address disappear.
    switch#sh mac address-table interface fa1/1
    Mac Address Table
    Vlan Mac Address Type Ports
    11 58f3.54c1.2cb3 DYNAMIC Fa1/1
    Software I had on the AP before joining to the WLC was:
    Version :
    Cisco IOS Software, C2700 Software (AP3G2-RCVK9W8-M), Version 15.2(4)JB5, RELEASE SOFTWARE (fc1)
    now I have (after downloaded from the WLC)
    Version :
    Cisco IOS Software, C2700 Software (AP3G2-K9W8-M), Version 15.2(4)JB6, RELEASE SOFTWARE (fc1)
    Do anyone know what happen?

    (WLC1) >show sysinfo
    Manufacturer's Name.............................. Cisco Systems Inc.
    Product Name..................................... Cisco Controller
    Product Version.................................. 7.6.130.0
    Bootloader Version............................... 1.0.20
    Field Recovery Image Version..................... 7.6.95.16
    Firmware Version................................. FPGA 1.7, Env 1.8, USB console 2.2
    Build Type....................................... DATA + WPS
    System Name...................................... WLC1
    System Location..................................
    System Contact...................................
    System ObjectID.................................. 1.3.6.1.4.1.9.1.1069
    Redundancy Mode.................................. Disabled
    IP Address....................................... 10.10.10.10
    Last Reset....................................... Software reset
    System Up Time................................... 25 days 2 hrs 53 mins 5 secs
    System Timezone Location.........................
    System Stats Realtime Interval................... 5
    System Stats Normal Interval..................... 180
    Configured Country............................... US - United States
    Operating Environment............................ Commercial (0 to 40 C)
    Internal Temp Alarm Limits....................... 0 to 65 C
    Internal Temperature............................. +44 C
    External Temperature............................. +22 C
    Fan Status....................................... OK
    State of 802.11b Network......................... Enabled
    State of 802.11a Network......................... Disabled
    Number of WLANs.................................. 6
    Number of Active Clients......................... 25
    Burned-in MAC Address............................ XX:XX:XX:XX:XX:XX
    Power Supply 1................................... Present, OK
    Power Supply 2................................... Present, OK
    Maximum number of APs supported.................. 25
    (WLC1) >show time
    Time............................................. Thu Apr 9 13:51:00 2015
    Timezone delta................................... 0:0
    Timezone location................................
    NTP Servers
    NTP Polling Interval......................... 3600
    Index NTP Key Index NTP Server NTP Msg Auth Status
    1 0 10.10.10.11 AUTH DISABLED
    It's look like AP doesn't allow for console login or commands it just only show activity. After rebooting the WLC I get information:
    Cisco IOS Software, C2700 Software (AP3G2-RCVK9W8-M), Version 15.2(4)JB5, RELEASE SOFTWARE (fc1)

  • Having trouble adding information to a join table

    I am building a Proof-of-concept HR application in Apex using the hosted site and having trouble entering information into a join table. There are three tables in my schema: Applicants, Postings, and ApplPostings
    "Applicants" fields: Applicant_ID (PK), Name, Address, City, State, Zip, Phone, Email
    "Postings" fields: Posting_ID(PK), Posting_Number, Item_Number, Posting_Date, Title, Description
    "ApplPostings" fields: Appp_ID (PK), Apply_Date, appl_appl_id (FK), post_post_id (FK)
    I have 5 pages in my application
    1. A Report that shows all Applicants
    2. A Form that shows Applicant details and allows editing
    Contains 3 regions: Applicant Detail, Associated Postings, Available Postings
    3. A Report that shows all Postings
    4. A Form that shows Posting details and allows editing
    5. A Form that allows creating an entry in ApplPostings
    On page #2 (from the list above, it's p3 in my app), the "Associated Postings" region shows data from the Postings table for selected applicant per the ApplPostings table. This is the SQL:
    select jp.posting_number,
    jp.posting_date, jp.title
    from applicants ja,
    applpostings jap,
    postings jp
    where ja.applicant_id = jap.appl_appl_id
    and jp.posting_id = jap.post_post_id
    and ja.applicant_id = (:p3_applicant_ID)
    The "Available Postings" region uses this SQL to show information on the remaining postings:
    select jp2.posting_id, jp2.posting_number, jp2.posting_date, jp2.title
    from postings jp2 where JP2.POSTING_ID
    not in
    (select jp.posting_id
    from applicants ja,
    applpostings jap,
    postings jp
    where ja.applicant_id = jap.appl_appl_id
    and jp.posting_id = jap.post_post_id
    and ja.applicant_id = :p3_applicant_id )
    The Posting ID column in "Available Postings" is set up as link to page #5 (from list above, p7 in my app)
    This page shows three fields: Apply_Date, appl_appl_id, post_post_id
    Source information for appl_appl_id:
    Source used: Always
    Source type: Item
    Source value or expression: p3_applicant_id
    Source information for post_post_id:
    Source used: Always
    Source type: Item
    Source value or expression: p3_posting_id
    Both ID fields populate with inherited values correctly.
    The problem is when I try to use the Apex generated "Apply Changes" button
    Nothing happens, there is not data added to that table.
    I get the "Action Processed" message, but the row is not created in the ApplPostings table.
    Any suggestions on what to do next will be helpful.
    Thanks,
    Jody
    Edited by: user10651585 on Dec 31, 2008 9:41 AM

    Hi,
    On the form, any items that represent database columns must use "Database Column" as the Source Type and the column names as the Source Value or Expression. The "Fetch Row..." and "Process Row..." processes refer to these to determine where to write the data. So your first step is to change the two page items to use these settings. Without these settings, there is nothing to write into the table - the "Action performed" message will be displayed because there is no SQL error.
    Now, on your report, your link should pass in the two values needed. In the Column Link settings for the column you are linking on, you have three pairs of fields headed Item 1, Item 2 and Item 3. Each item has a Name and Value setting. Into the Name setting enter in the page 7 item names. Into the corresponding Value setting enter in the column names that contain the values these items need to receive, surrounded by # symbols (for example, #POSTING_ID#).
    Then, when you click on the item in the report, you are passed to page 7 and the fields are correctly populated. As the form correctly identifies these fields as database columns, when you click Apply Changes, the insert can take place.
    Andy

  • Cannot join tables used in the workbook. Join "" not found in the EUL. Atte

    Trying to migrate workbooks from one instance to other using discoverer 10.1.2.48.18 i am getting the following error
    Unable to open the worksheet requested.
    - OracleBI Discoverer was unable to find the worksheet that was requested.
    - BIB-10310 An unknown exception occurred.
    - Cannot join tables used in the workbook. Join "" not found in the EUL. Attempt to open workbook failed.
    but its fine one instance , and in prod i am getting above weird error.
    does anybody know how to rectify this.

    Note:267476.1 - for those who can't get into metalink but still need to know the answer
    Subject: Discoverer Workbook Fails With 'Cannot join tables.Item dependency "" not found in EUL' After EUL Migration, Importing Or Cloning
    Doc ID:      Note:267476.1      Type:      PROBLEM
    Last Revision Date:      28-APR-2005      Status:      PUBLISHED
    The information in this document applies to:
    Oracle Discoverer - Version: 4.1 to 10.1
    This problem can occur on any platform.
    Symptoms
    Opening a workbook migrated from one instance to another results in the following errors:
    * Unable to load EUL item ...
    * Cannot join tables. Item dependency "" not found in EUL.
    * Illegal operation... DIS4USR OR DIS5USR caused an invalid page fault in module....
    If using the workbook dump utility, you may notice:
    * Found in EUL by id *** Name has changed to .. where the new name is really the wrong column
    It seems that items are matched by internal item identifiers (IDs) and not by developer keys and names.
    Changes
    Migrating from one environment to another. For example, you may have performed a database export / import of the EUL schema from DEV to TEST
    Cause
    The timestamp is the same for both EULs, what can be confirmed by the following SQL statement:
    * Discoverer 4:
    SQL> select ver_eul_timestamp from eul4_versions;
    * Discoverer 9.0.2 , 9.0.4, 10.1 the script is:
    SQL> select ver_eul_timestamp from eul5_versions;
    If the result of the sql output is the same in both EULs, it means that timestamp of both EULs are the same. Discoverer assumes that the EUL are exactly the same (e.g. this can happedn when one of them is created with export/import of the other EUL schema using database export/import utilities) and this is the reason it tries to match items by identifiers and not by developer keys or names.
    Solution
    Change the column ver_eul_timestamp in the eul4_versions (4.1) or eul5_versions(9.0.2 - 10.1)tables to be something different in the destination EUL. The format of this column is like year:month:day:seconds:milliseconds
    Example:
    * Discoverer 4.1:
    sql> update EUL4_VERSIONS set VER_EUL_TIMESTAMP =TO_CHAR(SYSDATE, 'YYYYMMDDHH24MISS');
    sql> commit;
    * Discoverer 9.0.2:
    SQL> update EUL5_VERSIONS set VER_EUL_TIMESTAMP = TO_CHAR(SYSDATE, 'YYYYMMDDHH24MISS');
    sql> commit;
    * Discoverer 9.0.4 -10.1:
    Run the script: EUL5_id.sql as the eulowner ID
    o For 9.0.4 -- This is found on a PC with the Discoverer Administrator installed in drive:\Oracle Home\discoverer\sql
    o For 10.1.0 -- This is found on a PC with the Discoverer Administrator installed in drive:\Oracle Home\discoverer\util
    This is documented in:
    Oracle® Business Intelligence Discoverer
    Administration Guide
    10g Release 2 (10.1.2.0.0)
    Part No. B13916-02
    http://download.oracle.com/docs/pdf/B13916_02.pdf
    Chapter 4 "About copying EULs and EUL objects by exporting and importing"
    Oracle® Discoverer Administrator
    Administration Guide
    10g (9.0.4)
    Part No. B10270-01
    http://download.oracle.com/docs/pdf/B10270_01.pdf
    Chapter 3 "About copying EULs and EUL objects by exporting and importing"
    References
    Bug 3202329 - Migrating Workbooks Between Instances Shows Incorrect Column

  • Cannot join tables .item dependency not found in EUL

    cannot join tables.item dependency "a04 currency->b27 exchange rate 1" not found in EUL
    I am not able to open a workbook in discoverer in user edition.
    It seems I unwittingly deleted a join in the end user layer. I have tried to redo the join but I have not been able to replicate the join required. Is there any way I can work around this join without having to scrap my workbook? Rebuilding the workbook took a long time.
    Any suggestions would dig me out of a deep hole

    Hey,
    I got this Error after our environment was cloned from APPS Production (PRD) instance to Development (DEV). I saved my workbooks that were 'under construction' as *.DIS files as local copies to the network.
    After the clone was finished I imported the latest Business Areas back onto DEV, but there was no way I could open my saved local workbooks due to the error "cannot join tables .item dependency not found in EUL".
    After some hours of rage, by accident we found out that one of our Functional Consultants was able to open these workbooks! It turned out that when I logged on to APPS under the user_name (from FND_USER) of this person I could indeed open the workbooks and save them to the database after which I could open them again with my own user.
    So -in this case- I solved the problem by using a different user to open the workbooks. But who knows next time...
    Good luck, you'll need it.

  • Hi! Everyone, I have some problems with JOIN and Sub-query; Could you help me, Please?

    Dear Sir/Madam
    I'm a student who is interested in Oracle Database and
    I have some problems with JOIN and Sub-query.
    I hope so many of you could help me.
    if i use JOIN without sub-query, may it be faster or not?
    SELECT field1, field2 FROM tableA INNER JOIN tableB
    if i use JOIN with sub-query, may it be faster or not?
    SELECT field1,field2,field3 FROM tableA INNER JOIN (SELECT field1,field2 FROM tableB)
    Thanks in advance!

    Hi,
    fac30d8e-74d3-42aa-b643-e30a3780e00f wrote:
    Dear Sir/Madam
    I'm a student who is interested in Oracle Database and
    I have some problems with JOIN and Sub-query.
    I hope so many of you could help me.
    if i use JOIN without sub-query, may it be faster or not?
    SELECT field1, field2 FROM tableA INNER JOIN tableB
    if i use JOIN with sub-query, may it be faster or not?
    SELECT field1,field2,field3 FROM tableA INNER JOIN (SELECT field1,field2 FROM tableB)
    Thanks in advance!
    As the others have said, the execution plan will give you a better idea about which is faster.
    If you're trying to see how using (or not using) a sub-query affects performance, make the rest of the queries as similar as possible.  For example, include field3 in both queries, or ignore field3 in both queries.
    In this particular case, I guess the optimizer would do the same thing either way, but that's just a guess.  I can't see your execution plans.
    In general, simpler code is faster, and better in other ways, too.  In this case
    tableB
    is simpler than
    (SELECT field1, field2  FROM tableB)
    Why do you want a sub-query in this example?

Maybe you are looking for

  • RABAX_STATE error in SOLMAN_SETUP step 6.6

    Hi all, I'm doing the Solman_setup, step "System Preparation" for a new Solution Manager 7.1 sp 14. As I try to get into the task 6.6 "Connect Diagnostics" the system generates a short dump : Category               ABAP Programming Error Runtime Erro

  • Install Leopard beside Snow Leopard

    In my company we need to do testing against Snow Leopard and variations as well as retro testing with Leopard, Panther, etc... My 21" iMacs 500GB HDD has been partitioned into different drives. Snow Leopard on Fixed (aka don't erase). And different v

  • UCM: file system or data base?

    In our company (insurance industry) we will soon implement a Content Management solution, but until now, unfortunately in our country not much experience with this technology and I would like to know from the point of view of scalability, security, p

  • Description of OA Page Parameters.

    Hi Friends, This is the link which i got through by viewing the source code of "Home" Menu Tab of iRecruitment Responsibility. /OA_HTML/OA.jsp?_rc=IRC_MGR_HOME_PAGE&_ri=800&OAPB=IRC_BRAND&_ti=1054478493&oapc=8&OAMC=1009006_77_0&menu=Y&oaMenuLevel=1&o

  • Trouble installing 10.5.6 update

    I am having difficulty installing the OS X 10.5.6 update. When I try to install this update using the software updater, it ends up freezing without completing the update. When I click install from the software updater, it asks me if I want to restart