Link for BUT000 table and ADRC in CRM and inner join is not working in PCUI

Hi Gurus,
   Please tell me the link btween BUT000 and ADRC table. and i wrote one inner join between BUT000 and BUT0id table but it not working. I m in CRM 4.0 version working with PCUI.
select but000partner but000name_org1 but000name_org2 but000bus_sort1 but0id~parnter1
      but0ididnumber from but000 inner join but0id on but0idpartner = but000~parnter
into corresponding fields of table it_result where partner in s_partner.
It is giving error as partner unknown from but000 table. I delcared everything and tried with alias names also.
please clarify me.
regards,
Ramakrishna.

Hi Frederic,
   thanks a lot. But is inner join between BUT000 and BUT0ID will work. for me it is not working. plesae see this code.
tables : but000,
         but0id,
         crmm_but_custno,
         adrc.
types : begin of typ_but000,
        partner type bu_partner,
        name_org1 type BU_NAMEOR1,
        name_org2 type BU_NAMEOR2,
        bu_sort1  type BU_SORT1,
        idnumber type BU_ID_NUMBER,
        partner1 type bu_partner,
        end of typ_but000.
data: lt_but000 type table of typ_but000,
      ls_but000 like line of lt_but000.
*select-options : s_partnr for but000-partner.
start-of-selection.
      select but000partner but000name_org1 but000name_org2 but000bu_sort1 but0id~parnter1
                but0id~idnumber into corresponding fields of table lt_but000 from  but000
                inner join but0id on but0idpartner = but000parnter. " where partner in s_partner.
it is giving error as but000-partner is not know or but0id-partner not known.
So, i think if it not works then i should write two select stmts.
please clarify me.
i gave u rating.
thanks
ramakrishna.

Similar Messages

Maybe you are looking for

  • Clicks and Pops in Audio even with High Buffer Values

    Dear Community, I'm running into a problem with my Mac Pro 2008 for which I need urgent help. I have a Mac Pro 2008 which I use to do some audio production and mixing. I use 10.8 Mountain Lion for some time now, mainly with Avid Pro Tools 10 and Logi

  • Association Rule : Settings in PL/SQL

    I've developed a model in ODM GUI for association rules. I'm now looking to develop the same in PL/SQL. I need to know how to specify the case id that has 2 attributes (CUST_ID and TIME_ID) and I have the PROD_ID as the ITEM ID. I have the following

  • CDONTS sent to question

    Hi, I am using CDONTS to send of an e-mail but need it sent to several addresses at once. Is that possible?

  • Dynamic tooltips for charts (BusinessGraphics) with simple series

    Hello, I was wondering wheter the tooltip for charts with simple series can set dynamically. I cannot bind it to the context within the properties of the BusinessGraphics control but maybe it can be set in the code? This way I want to show the value

  • Adobe download assistant wont open

    I am trying to download Adobe Premiere Elements 12 trial on Windows Vista and I've clicked download. Adobe Download Assistant downloads but will not open. I tried clicking on it it to open, but nothing works. I am pretty sure I have all of the system