Pls advice on  this select statment...

HI,
I want to display the fields in tcode xd02 with sort functionality with fields
kunnr                     kna1 table
name1                     kna1
SMTP_ADDR         email id from      table ADR6
my question is on mapping
from kna1 we can get field kunnr and name1
and adrnr and  this adrn is used to fetch amtp_addr from adr6
can anyoe suggest on select statements link as table kna1 has one unique kunnr
but it can have multiple name1 and adrnr
so how to pick the kunnr ,name 1 and adrnr from table kna1 and map to
adr6 table
as witinn the table kna1 there can be multiple name1 related to one single kunnr
so wil it be like
select kunnr from kna1..into it_kunnr
then select nam1 and adrnr from table kna2 for all entrirs in It_kunnr
or first select kunnr name1 from kna1 into table it_kunnr
pls suggest an appropiat select statament
or directly select select kunnr name1 adrnr from table kna1 inot it_kna1
and then based on adrnr fetch email id from adr6
pls suggest
and i suppose this can be achevied by alv report
regards
Arora

Hi Nishant
first get the data from kna1 table
select kunnr name1 adrnr from kna1 into table it_kna1.
now get the addr from adr66 table ok.
if it_kna1[] is not initail.
select smtp_addr adrnr into table it_addr for all entries in it_kna1 where adrnr eq it_kna1-adrnr.
and now move the data to final intenal table.
loop at it_kna1.
read table it_addr with key adrnr = it_kna1-adrnr binary search.
it_final-kunnr = it_kna1-kunnr.
etc.
append it_final.
clear it_final,it_kna1,it_addr.
endloop.
reward points to all helpful answers
kiran.M

Similar Messages

  • Order by taking too much time. Tried using all_rows hints no use.Pls advice

    I run the query without order by and finishes in less than 30 sec. Once you have order by,query just hangs. Pls advice. Thanks.
    select col4,col6
    from
    table a , table b, table c
    where a.col1 = b.col2
    and a.col1 = c.col3
    order by col1,col2 desc

    If you put the \ tag (6 characters, all lower case) around the text where you want to preserve the formatting, the query plans you post are going to be much more readable.
    The optimizer's estimates appear to be correct and the plan is the same other than the ORDER BY.  I would, therefore, be highly inclined to believe as I was discussing earlier that the "30 seconds" figure that you're discussing is the time to fetch the first few rows, not the time to fetch the last row.
    Can you define "hang"?  How long do you let the query run before killing it?  Minutes?  Hours?  Days?
    What are the wait events associated with the query when it is running?  If the optimizer is correct that you're generating 5.4 million rows and a little over a GB of data that needs to be sorted, that should be expensive but that shouldn't take hours.
    What is the business problem you're trying to solve?  Sorting implies that you are trying to return results from a report to a user.  But, obviously, no user is ever going to page through 5.4 million rows of results.
    Justin                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Pls check this select

    Hi All,
    Pls look this SELECT, this is from Oramag .And can you pls tell me any source/documentation of ORacle where I can find the CASE...WHEN....THEN....OVER... syntex.
    select
    to_char(snap_time,'yyyy-mm-dd HH24')||':00' datetime,
    case
    when ts.startup_time = lag(startup_time,1,null) over (partition by startup_time order by snap_time)
    then
    value - lag(value,1,null) over (partition by startup_time order by snap_time)
    when lag(startup_time,1,null) over (partition by startup_time order by snap_time)
    is null
    then lag(value,1,null)
    over(partition by startup_time order by snap_time)
    else
    value
    end as table_fetch_continued_row
    from perfstat.stats$sysstat a,
    perfstat.stats$snapshot ts
    where snap_time > sysdate - &num_days
    and a.snap_id = ts.snap_id
    and a.name = 'table fetch continued row'

    The case expression is explained here:
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/expressions5a.htm#1033394
    And LAG is one of the analytical functions and explained here
    http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96540/functions56a.htm#SQLRF00652

  • Video "Convert This Selection For iPod" Problem. Advice?

    Hey guys. What's up?
    I have an 80g iPod and I use windows xp. Well, when I need to "convert this selection for iPod" for a video, it converts the video alright, but the converted version never plays the audio on the computer or the ipod... Just video.
    Any help is really appreciated!!!!
    Thanks!!

    This should help you.
    http://docs.info.apple.com/article.html?artnum=302892

  • Table list for select statment

    hello all,
    I been trying to setup a plsql statment to run a select statment from tables that are in a list.
    this is what I have done so far as a test and it is not letting me do it and I don't know why can anyone point me in the right direction.
    declare
    cursor main_log is
    select *
    from joseph_w.table_name_list;
    cml main_log%rowtype;
    var1 varchar2(35);
    var2 varchar2(35;
    begin
    open main_log;
    fetch main_log into cml;
    var1 := cml.schema_name;
    var2 := cml.table_name;
    select *
    from var1.var2;
    close main_log;
    end;
    thanks

    In PL/SQL you cannot just "select", as PL/SQL is a server sided language. You must use a record or variable to hold the selected data. Anyway, for selecting from different tables dynamically, you can use (Native) Dynamic SQL or Ref Cursors. Take a look at the documentation, especially the "PL/SQL User's Guide and Reference":
    http://www.oracle.com/pls/db102/portal.portal_db?selected=1
    Regards,
    Gerd

  • Safari private browsing is not private-pls advice

    A good and bad thing about MBP is its transparency in documenting things done (things done today, past week etc). Everything is documented and available. It is disturbing of course if one is equipped with secrecy-genes.
    In Safari private browsing is not quite private. As Christian Buerli wrote in MacFormat, uk on page 77 in summer 2008 "even with private browsing on, the domain names of visited, Flash enabled sites will be recorded to /Library/Prefs/Macromedia/FlashPlayer/#SharedObjects/.
    My question is if I can dump all these shared objects (must be many hundreds of them) with no harm done to anything else.
    pls advice,
    pyry

    Safari can keep your browsing history private. When you turn on private browsing, Safari doesn’t remember the pages you visit, your search history, or your AutoFill information, so your partner cannot see where you have been, but you must also remember to also turn off acceptance of cookies.
    In all other respects Private Browsing is not as private as you might think:
    http://www.switchingtomac.com/tutorials/how-to-make-safaris-private-browsing-fea ture-actually-private/
    http://www.insanely-great.com/news.php?id=9054
    and then Apple's own advice from here: http://www.apple.com/pro/tips/privacy_safari.html
    "Note that the Private Browsing option does not prevent Safari from collecting cookies (the preference files automatically generated by many websites). The Reset Safari option clears all cookies. If you want to delete only certain ones, choose Preferences from the Safari menu, click the Security tab, and then click Show Cookies. You can select and delete individual cookies from the list that appears. Careful, though — if you’re a frequent web user, this list can be very, very long."
    which is itself incomplete, the relevant part being 'If you want to delete only certain ones.
    To that end it is useful to have Safari Cookies installed, which is the only cookie manager available for Safari:
    http://sweetpproductions.com/safaricookies/
    which automatically deletes all cookies not marked as 'favourites' when closing Safari. It does the same for Flash Cookies, but they are subject for themselves:
    From this website: 

http://machacks.tv/2009/01/27/flushapp-flash-cookie-removal-tool-for-os-x/

 For those who do not know about Flash cookies, more properly referred to as Local Shared Objects (LSO), they operate in a similar way to regular browser cookies but are stored outside the purview of your browser, meaning you cannot delete them from within your browser, whether Safari, Firefox, Opera or any other. Typically they are issued from sites or 3rd party sites that contain Adobe Flash content. Since virtually all internet advertising is  delivered in Flash, Google/Doudleclick and all other internet advertising companies are sure to be tracking your browsing behavior with Flash cookies. These companies can see you traverse the Internet as you come upon the plethora of sites that contain their embedded advertising. Check out the Wikipedia entry here.

In Mac OS X they are stored in the following location:

    /User’s Home Folder/Library/Preferences/Macromedia/Flash Player/#SharedObjects
    

The settings for the Flash cookies are stored in:
/User’s Home Folder/Library/Preferences/Macromedia/Flash Player/macromedia.com/support/flashplayer/sys

 In OS X Local Shared Objects, or Flash Cookies, are appended with a .sol suffix. Flush deletes all the Flash cookies (.sol) and their settings.

Flush can be downloaded from that page.

If you want to retain certain Flash cookies but not others, the excellent add-on for Safari called SafariCookies now includes a setting for automatically deleting flash cookies you don't want to retain, when Safari is shut down, in the same as it deals with ordinary cookies:


    http://www.sweetpproductions.com/safaricookies/index.htm

 which not only does that but much more equally useful stuff! 

This article covers the issue in more depth:


    http://www.wired.com/epicenter/2009/08/you-deleted-your-cookies-think-again/

 Flash cookies are also known as 'Zombie Cookies' and are used by a number of firms, including Hulu, MTV, and Myspace. Graham Cluley, senior technology consultant at the internet security firm Sophos, told BBC News that the source of the trouble was Adobe Flash itself, which he called "one of the weirdest programs on the planet".

"I think it's highly unlikely that these large companies have abused Flash cookies - which are different from browser cookies - with malicious intent," he said.

"I think it's much more likely that the vast majority of users are simply oblivious to the bizarre way in which Adobe allows them to configure the software." 

http://www.bbc.co.uk/news/technology-10787882 

And a more recent article: 

http://www.nytimes.com/2010/09/21/technology/21cookie.html?_r=3&scp=1&sq=flash&s t=cse

  • How does "SELECT" statment  work?

    Hi,
    Correct me if I'm wrong.
    Data selected by SELECT statement  (without ORDER BY) is unordered and sequence of selected lines may differ every time you execute the same SELECT.
    My problem is that data on a production system has been always selected ordered ( without ORDER BY)  and suddenly it changes and the rows of a result set are unordered.
    It's also strange for me that it works differently on a test system and data is selected ordered ( the code is the same on both systems ).
    Two questions:
    1. How is it possible that data was always selected ordered? (the only answer which comes to my head is "LUCK" )
    2. What has happened that data is now selected unordered? (and works as SELECT statment should work by definition)
    Thanks for any ideas,
    Mario

    Hello,
    I see there is an equality 3-3 in the match here, between
    1) those who are for "it's ordered" (Rodrigo Ariel G..., Danish2285, pavankumar.g)
    2) and those "it's not ordered" (Diwakar Aggarwal, Keshav.T, Matt).
    So I'd like to play too :-D and my answer is "it's not ordered" (with Diwakar Aggarwal, Keshav.T, Matt).
    now 3-4
    My advice is: always trust the SAP documentation when it's said explicitly (I'm aware that the arguments or context are sometimes missing, so a confirmation is then needed).
    You'll find it also in the wikipedia for SQL article (http://en.wikipedia.org/wiki/SQL#Queries): "The ORDER BY clause identifies which columns are used to sort the resulting data, and in which direction they should be sorted (options are ascending or descending). Without an ORDER BY clause, the order of rows returned by an SQL query is undefined."
    Oracle SQL Reference, in the Query Optimizer section (http://download.oracle.com/docs/cd/B14117_01/server.101/b10752/optimops.htm#35891) : "If data must be sorted by order, then use the ORDER BY clause, and do not rely on an index. If an index can be used to satisfy an ORDER BY clause, then the optimizer uses this option and avoids a sort."
    In fact, this is logic when we know how RDBMS are built, all this is about the selection of the access path to get the data (that we see with the explain plan, the path depends especially on what the database contains, that is different between test and production), the faster way to do things (an ordering is not always required, so why the RDBMS would spend time to organize it)
    Don't we have this question in the Forum's FAQ by the way?
    Sandra

  • Performace problem in a select statment how to imporve the performance

    fist select statment
    SELECT    a~extno
              a~guid_lclic       " for next select
              e~ctsim
              e~ctsex
    *revised spec 3rd
              f~guid_pobj
              f~amnt_flt
              f~amcur
              f~guid_mobj
              e~srvll     "pk
              e~ctsty     "PK
              e~lgreg  "PK
      INTO TABLE gt_sagmeld
      FROM /SAPSLL/LCLIC  as a
      INNER JOIN /sapsll/tlegsv as e on elgreg = algreg
    * revised spec 3rd
      inner join /sapsll/legcon as f on fguid_lclic = aguid_lclic   " for ccngn1 selection
      inner join /sapsll/corcts as g on gguid_pobj = fguid_pobj
                               where   a~extno in s_extno.
      sort gt_sagmeld by guid_lclic guid_pobj.
    lgreg ctsty srvll
      delete adjacent duplicates from gt_sagmeld comparing guid_lclic guid_pobj.
    it selects about 20 lakh records
    belos select statment whichs is taking time as it is based on the entreis of gt_sagmeld
    select /sapsll/corpar~guid_mobj
                /sapsll/corpar~PAFCT
                but000~bpext
                but000~partner
                /sapsll/corpar~parno
                into table gt_but001
        from    /sapsll/corpar
        INNER join but000  on  but000partner = /sapsll/corparparno
        for all entries in gt_sagmeld
        where  /sapsll/corpar~guid_mobj = gt_sagmeld-guid_mobj
        and    /sapsll/corpar~PAFCT = 'SH'.
       SELECT /sapsll/cuit~guid_cuit         " PK
              /sapsll/cuit~QUANT_FLT         " to be displayed
              /sapsll/cuit~QUAUM             " to be displayed
              /sapsll/cuit~RPTDT             " to be displayed
             /sapsll/cuhd~guid_cuhd         " next select
              /sapsll/cuit~guid_pr           " next select
      INTO table gt_sapsllcuit
      FROM  /sapsll/cuit
    inner join /sapsll/cuhd on /sapsll/cuitguid_cuhd = /sapsll/cuhdguid_cuhd
      FOR all entries in gt_sagmeld
      WHERE /sapsll/cuit~guid_cuit = gt_sagmeld-guid_pobj.
      Delete adjacent duplicates from gt_sapsllcuit[].
           if not gt_sapsllcuit[] is initial.

    hi navenet
    that didnt worked
    we need to try ur range options
    but not sure what you told in the last mail as not clear with range can u pls eloboragte more i am pasting the full code here
    SELECT     a~extno
               a~guid_lclic       " for next select but000
               e~ctsim
               e~ctsex
               e~srvll
               e~ctsty
               e~lgreg
      INTO TABLE gt_sagmeld
      FROM /SAPSLL/LCLIC  as a
      INNER JOIN /sapsll/tlegsv as e on elgreg = algreg
                               where   a~extno in s_extno.
    sort gt_sagmeld by guid_lclic.
    delete adjacent duplicates from gt_sagmeld comparing all fields.
      IF not gt_sagmeld[] is initial.
      SELECT  /sapsll/legcon~guid_lclic
              /sapsll/legcon~guid_pobj
              /sapsll/legcon~amnt_flt
              /sapsll/legcon~amcur
               but000~bpext
               *revised spec
               /sapsll/corpar~PAFCT
              /sapsll/legcon~guid_mobj
             /sapsll/cuit~guid_cuit
      INTO TABLE gt_but000
      FROM /SAPSLL/LEGCON
      for all entries in gt_sagmeld
      where /SAPSLL/legcon~guid_lclic = gt_sagmeld-guid_lclic.
            IF NOT GT_BUT000[] IS INITIAL.
           sort gt_but000 by guid_mobj.
           delete adjacent duplicates from gt_but000 comparing guid_mobj.
         select /sapsll/corpar~guid_mobj
                /sapsll/corpar~PAFCT
                /sapsll/corpar~parno
                into table gt_but001
        from    /sapsll/corpar
        for all entries in gt_but000
        where  /sapsll/corpar~guid_mobj = gt_but000-guid_mobj.
       and    /sapsll/corpar~PAFCT = 'SH'.
    DELETE gt_but001 where PAFCT <> 'SH'.
    *sort gt_corpar by parno.
    *delete adjacent duplicates from gt_corpar comparing parno.
    *select gd000~partner
          gd000~bpext
         from gd000 into table gt_but001
    for all entries in gt_corpar
    where  gd000~partner = gt_corpar-parno.
    my ultimat aim is to select bpext from gd000
    can u please explain how to use ranges here and what is the singnificance and how ill i read the data from the final  table if we use ranges
    regards
    Nishant

  • While updating the older version iTunes to latest one it shows "a network error occurred while attempting to read from the file: C:\windows\installer\iTunes64.msi. pls help on this matter to connect my i5 to PC. Thanks in advance

    while updating the older version iTunes to latest one it shows "a network error occurred while attempting to read from the file: C:\windows\installer\iTunes64.msi. pls help on this matter to connect my i5 to PC. Thanks in advance

    (1) Download the Windows Installer CleanUp utility installer file (msicuu2.exe) from the following Major Geeks page (use one of the links under the "DOWNLOAD LOCATIONS" thingy on the Major Geeks page): 
    http://majorgeeks.com/download.php?det=4459
    (2) Doubleclick the msicuu2.exe file and follow the prompts to install the Windows Installer CleanUp utility. (If you're on a Windows Vista or Windows 7 system and you get a Code 800A0046 error message when doubleclicking the msicuu2.exe file, try instead right-clicking on the msicuu2.exe file and selecting "Run as administrator".)
    (3) In your Start menu click All Programs and then click Windows Install Clean Up. The Windows Installer CleanUp utility window appears, listing software that is currently installed on your computer.
    (4) In the list of programs that appears in CleanUp, select any iTunes entries and click "Remove", as per the following screenshot:
    (5) Quit out of CleanUp, restart the PC and try another iTunes install. Does it go through properly this time?

  • Same Sender and Receiver File Name. Pls advice urgent

    Hi All,
    My sender file name is auto generated number so
    it is dynamic in nature.
    ex. "abc1.txt"
         "abc2.txt"
    Now In my Sender File Adapter I cannot give
    File Name hard coded as my sender file name is auto generated number.
    Also I want same file name received at receving end.
    File Sender --   "abc1.txt"
    File Receiver -- "abc1.txt"
    File Sender --   "abc2.txt"
    File Receiver -- "abc2.txt"
    Pls advice.
    Regards

    Hi Rider,
    All your sender files have .txt extension but the name is not constant(dynamic in nature).Than in this case to pick ur file u can use the *.txt as ur sender file name.Than all the files with .txt extension in the source folder specified would be picked.
    Than u can proceed in the same way given in this blog
    /people/michal.krawczyk2/blog/2005/11/10/xi-the-same-filename-from-a-sender-to-a-receiver-file-adapter--sp14
    Please let me know if u need any information
    Thanks,
    Bhargav
    Note:Award points if found useful

  • What can i do for removing SINGLE in this select query??

    What can i do for removing SINGLE in this select query given below and also NOT USE 'ENDSELECT'??
    I have defined g_t_zv7_cachemapping as following ::
    DATA : BEGIN OF g_t_zv7_cachemapping OCCURS 0,
             kostl LIKE zv7_cachemapping-kostl,
             END OF g_t_zv7_cachemapping.
    SELECT SINGLE kostl FROM zv7_cachemapping INTO g_t_zv7_cachemapping
               WHERE  auart = g_t_vbak-auart.
            IF sy-subrc = 0 .
            ENDIF.

    Shashank,
    DATA : BEGIN OF g_t_zv7_cachemapping OCCURS 0,
    AUART LIKE zv7_cachemapping-AUART,
    kostl LIKE zv7_cachemapping-kostl,
    END OF g_t_zv7_cachemapping.
    If not g_t_vbak[] is initial.
    SELECT auart kostl
      FROM zv7_cachemapping INTO table g_t_zv7
    for all entries in g_t_vbak
    WHERE auart = g_t_vbak-auart.
    Endif.
    sort : g_t_zv7 by auart , 
              g_t_vbak by auart.
    loop at g_t_vbak.
      READ TABLE g_t_zv7 WITH KEY AUART = g_t_vbak-AUART
                                        BINARY SEARCH.
       IF sy-subrc eq 0.
       ENDIF.
    endloop.
    Pls. reward if useful

  • Query in select statment

    Hi ,
        what is the difference between,select single and
    select upto one row .
    In a select statment .
    Thanks ,
    shankar.

    According to SAP Performance course the SELECT UP TO 1 ROWS is faster than SELECT SINGLE because you are not
    using all the primary key fields.
    select single is a construct designed to read database records with primary key. In the absence of the primary key,
    it might end up doing a sequential search, whereas the select up to 1 rows may assume that there is no primary key
    supplied and will try to find most suitable index.
    The best way to find out is through sql trace or runtime analysis.
    Use "select up to 1 rows" only if you are sure that all the records returned will have the same value for the field(s)
    you are interested in. If not, you will be reading only the first record which matches the criteria, but may be the
    second or the third record has the value you are looking for.
    The System test result showed that the variant Single * takes less time than Up to 1 rows as there is an additional
    level for COUNT STOP KEY for SELECT ENDSELECT UP TO 1 ROWS.
    The 'SELECT SINGLE' statement selects the first row in the database that it finds that fulfils the 'WHERE' clause
    If this results in multiple records then only the first one will be returned and therefore may not be unique.
    Mainly: to read data from
    The 'SELECT .... UP TO 1 ROWS' statement is subtly different. The database selects all of the relevant records that
    are defined by the WHERE clause, applies any aggregate, ordering or grouping functions to them and then returns
    the first record of the result set.
    Mainly: to check if entries exist.
    You can refer to the below link..
    http://www.sap-img.com/abap/difference-between-select-single-and-select-upto-one-rows.htm

  • UDF in message mapping instead of Java Mapping. Pls advice urgent

    Hi All,
    My scenario
    CRM --- XI -- CRM
    In XI I have to open socket connection.
    Pls refer link:
    /people/saravanakumar.kuppusamy2/blog/2005/12/15/socket-integration-with-xi
    Can Java Mapping code given in above link for socket connection can be used in Message Mapping (CRM -- CRM)UDF?
    Pls advice urgent
    Regards

    Hi Henry,
    I understood your requirement.
    But as per the architecture of XI/PI some message has to trigger your scenario.
    In this case there is no adapter where you can directly communicate with CRM system.
    Do one thing configure a dummy scenario on the sender side.
    Use File adapter for simplicity. once it pools the file with some dummy data in the file it comes to Interface mapping(message mapping) of the PIPELINE steps. Now use the code as you mentioned above(within UDF) for opening socket to CRM system and implement you business logic within that program and write the response to target interface which will infact talk with CRM system.
    Dont forget to do the coding in an infinite loop with some delay (if required). Other wise every time you have to put a message for File Adapter for triggering purposes.
    You can also acheive the same if you use Java Mapping instead of Graphical mapping with UDF(code for Opening socket and business logic). I suggest you to use Java Mapping.
    I dont know how you will comunicate with CRM system on receiver side.?
    Thanks,
    Gujjeti

  • Pls advice........its urgent

    Please advice any FM that takes excel sheet file from local drive and convert the data present in excel sheet into text tab delimited as the output.......My input file should be excell sheet only.......i will call gui upload to get the file.but later after uploading i need the output to be displayed in text tab delimited file...........
    Note : Requirement is input file should be excel sheet only....i dnt want to convert the excel sheet as tab delimited file and thn upload......
    pls advice........thanks in advance

    You can use FM ALSM_EXCEL_TO_INTERNAL_TABLE and check this link for sample code.
    http://www.sapdevelopment.co.uk/file/file_upexcel2.htm
    Here is sample program.
    REPORT ZDBLV_UPLOAD_EXCEL_TEST.
    data: begin of itab occurs 0,
    name(20) type c,
    addre(20) type c,
    end of itab.
    dATA : ITAB1 LIKE ALSMEX_TABLINE OCCURS 0 WITH HEADER LINE.
    DATA : B1 TYPE I VALUE 1,
    C1 TYPE I VALUE 1,
    B2 TYPE I VALUE 100,
    C2 TYPE I VALUE 9999.
    CALL FUNCTION 'ALSM_EXCEL_TO_INTERNAL_TABLE'
    EXPORTING
    FILENAME = 'C:\test.xls'
    I_BEGIN_COL = B1
    I_BEGIN_ROW = C1
    I_END_COL = B2
    I_END_ROW = C2
    TABLES
    INTERN = itab1
    EXCEPTIONS
    INCONSISTENT_PARAMETERS = 1
    UPLOAD_OLE = 2
    OTHERS = 3.
    IF SY-SUBRC 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    loop at itab1.
    write:/ itab1.
    Endloop.

  • Certificates for Server and Client to install . Pls advice

    I am doing File --XI --- File scenario with FTPS.
    Currently consider only File -- XI part now.
    We go point by point: for this link:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/964f67ec-0701-0010-bd88-f995abf4e1fc
    Blog says:
    1. In the visual admin of XI make Server Public and Private keys.
    2. In the visual admin of XI make Client Public and Private keys.
    Suppose File Sender System is Server and XI is Client
    Questions:
    a. Do I need make Server Public and Private keys In the visual admin of XI ?
    b. Do I need make Client Public and Private keys In the visual admin of XI ?
    Generic Rule -- system1 sends its public key to system2 and  similarly system2 sends its public key to system1.
    c. For Export keys and Import keys as given in blog
    -- I am not able to get this part given from Page 38 - 41 of this blog.
    Pls advice me
    Regards
    Edited by: Henry A on Mar 3, 2008 1:07 PM
    Edited by: Henry A on Mar 3, 2008 1:08 PM
    Edited by: Henry A on Mar 3, 2008 1:54 PM

    Hi DecaXD,
    thank you for quick response :)
    on the client site i tried to establish the connection to the work repository with the following connection information:
    Login information*:
    Oracle Data Integrator Connection
    Login name = odi_server
    User = SUPERVISOR
    Database connection (Master Repository):
    User = odim
    URL = jdbc:oracle:thin:@<server ip>:1521:orcl
    A work repository could be found, but the connection failed! (?!)
    " ODI-26130: Connection to the repository failed.
    oracle.odi.core.config.NotWorkRepositorySchemaException: ODI-10147: Repository type mismatches.     
    Could not get JDBC Connection; nested exception is java.sql.SQLException: Unable to start the Universal Connection Pool: oracle.ucp.UniversalConnectionPoolException: Invalid SQL-Query for validating the connection (+translated from german into english+) "
    my ODI configuration on the server site (loged in as: odiw):
    topology tab*:
    Physical architecture:
    Technology:
    Definition:
    Dataserver name = oracle_db_11gr2
    User = odiw
    JDBC-URL = jdbc:oracle:thin:@10.168.178.131:1521:orcl
    Datasource:
    Agent = OracleDIAgent
    JNDI-Name = [DataSourceName]
    Agents:
    Definition:
    Name = OracleDIAgent
    Host = <IP of the server>
    Port = 8001
    Webapplicationcontext = oraclediagent
    Datasources:
    Dataserver = oracle_db_11gr2
    JNDI-Name = [DataSourceName]
    Logical architecture:
    Technology:
    Defintion:
    Name = oracle_db_11gr2
    Context = aMIS_dev
    Physical schema = oracle_db_11gr2.ODIW
    Agent:
    Name = OracleDIAgent
    Context = aMIS_dev
    Physical agent = OracleDIAgent
    when i test the connection of the data server (topology>physical architecture>technology>oracle>oracle_db_11gr2) with the OracleDIAgent i receive the
    " ODI-26039: Connection failed.
    oracle.odi.runtime.agent.invocation.InvocationException: javax.naming.NameNotFoundException: Unable to resolve '[DataSourceName]'. Resolved ''; remaining name '[DataSourceName]' "
    since testing the connection on the server site failed in first place, i couldn't test the connection on the client site.

Maybe you are looking for

  • Best way to connect iPod to LCD monitor?

    Hello, I wish to hookup my 5G iPod to a LCD monitor to display a slide show. I know that some LCD's have RCA inputs (the yellow one) or S Video inputs and can thus go straight from the iPod. But many economy model LCD's do not have these. So how can

  • Link that calls DB function in report

    I have a standard report. I would like to add 2 links to the end of each row with the action by the user. For example: Order No Name Action 123 John Doe Approve | Decline 456 Jane Dow Approve | Decline Where Approve and Decline are links that call DB

  • Nested Table in Reports

    Using Oracle 8i and Reports 6i I looked at the few Reports forum items on this subject but wonder if someone could give me more detailed information. Among the tables in my database I have an invoice table with an invoice number, booking number and a

  • Address Book vs Now Contact

    Trying to decide if it's worth paying for Now Up-to-Date and Contact, or just sticking with OS X iCal and Address Book. Is there a good breakdown of the plusses and minusses?

  • How do you make a GIF that involves rotation of an image?

    I am trying to make a GIF but wen i try to rotate the image or change the size it changes the rest of the frames in the animation window. How do i prevent this?