VERY VERY URGENT SOLUTION NEEDED regarding SQL

Dear Sir,
I have a table whose structure is
SQL> desc fof;
Name Null? Type
FOFID NUMBER(12)
PERSONID NUMBER(12)
RELATIONSHIPID NUMBER(2)
FPERSONID NUMBER(12)
STRENGTH NUMBER(1)
RELATIONSTATE VARCHAR2(15)
CTIME DATE
UTIME DATE
DELETED NUMBER(1)
EDITEDBY NUMBER(12)
The table has duplicate entries let me explain :
personid fpersonid
1 2
2 1
3 4
4 3
I want to keep only rows with one entry of every duplicate
personid fpersonid and not personid fpersonid
1 2 1 2
2 1
In other words keep a -> b and remove b -> a
Is there is any way you geeks can help i am ripping my hair out thinking about it
Please reply
:(

That works .....
Also the approach which i was thinking that to use cursor searching values in the table and deleting them
but in those also it deleted all records :(
something similar to this
--create table test_person_id ( personid number, fpersonid number)
--insert into test_person_id values ( 1,2 )
--insert into test_person_id values ( 2,1 )
--insert into test_person_id values ( 3,4 )
--insert into test_person_id values ( 4,3 )
--insert into test_person_id values ( 5,6 )
--insert into test_person_id values ( 7,8 )
--select * from test_person_id
--delete from test_person_id
--select * from test_person_id tpi where exists
--( select * from test_person_id tpi_1 where tpi.fpersonid = tpi_1.personid)
declare
  v_personid  number;
  v_fpersonid number;
  temp_personid  number;
  temp_fpersonid number;
  v_rowid rowid;
  cursor c1 is
    select rowid, personid, fpersonid from test_person_id;
BEGIN
  OPEN c1;
  LOOP
  FETCH c1
    INTO v_rowid, v_personid, v_fpersonid;
  DBMS_OUTPUT.PUT_LINE('Fetched values having rowid.. ' || v_rowid);
  EXIT WHEN c1%NOTFOUND;
  delete from test_person_id tpi where
  tpi.rowid != v_rowid
  and tpi.personid = v_fpersonid
  and tpi.fpersonid = v_personid returning tpi.personid, tpi.fpersonid into temp_personid, temp_fpersonid ;
  DBMS_OUTPUT.PUT_LINE(' Deleted record ' || temp_personid || '  ' || temp_fpersonid);
  END LOOP;
  close c1;
end;After running this only 2 records were left
5,6
7,8
Can anyone help in this regard...

Similar Messages

  • Oracle UCM/IPM Issue - Urgent Solution needed

    Hi folks,
    Solution needed for the below problem in oracle IPM/UCM cluster .
    General Scenario :
    The document checked in Oracle UCM can be viewed through IPM Viewer only if the security group of the document is set to a IPM Profile .
    The IPM Profile is created in Oracle UCM Configuration Manager Component whenever a application is created in IPMServer .
    Issue in Clustering :
    IPMApplication created in host 1 is creating profile in UCM Component Manager of host 1 but not in UCM Host2 component manager (Vice Versa).
    This affects url generations of checked in documents through proxy since the IPM profile is not available in cluster.
    Scenario :
    IPM MetaData UCM Component Manager(Profile)
    Host1 Host2 Host1 Host2 Host1 Host2
    IPM_APP_1 Visible Visible Visible Visible Not Visible
    Visible IPM_APP_2 Visible Visible NotVisibe Visible

    hi
    Error Message is- "Invoiced quantity is greater than mother invoice quantity".
    this error means your Depot invoice quantity is high, please check your mother invoice quantity, its means branch invoice quantity , and depot invoice quantity , is deferent so , please check both invoice quantity ,
    and also check you migo,
    ME21N-VL10B-VL02N-VF01-J1IIN-MIGO-VA01-VL01N-J1IJ-VF01, in this process you can do J1IG , Its process
    me21n-vl10b-vl02n-vf01-j1iin-migo-j1ig-va01-vl01n-j1ij-vf01, this is process of depot sales, so please check this process

  • Urgent Solution needed--Problem in JSP compilation with JDK 1.5 and JDK 1.6

    Hi,
    I m using JDK 1.5 and Tomcat 5.0 the problem is that after starting server when I m going to access my application at that time instead of displaying HomePage it directly display the blank page on screen.
    After analyzing tomcat log I have found that there was a problem with JSP page compilation.
    The exception logged in Tomcat Log is given below
    An error occurred at line: 1 in the generated java file
    The type Collection is not generic; it cannot be parameterized with arguments <? extends E>
    Stacktrace:
    *     at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:92)*
    *     at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:330)*
    *     at org.apache.jasper.compiler.JDTCompiler.generateClass(JDTCompiler.java:423)*
    *     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:308)*
    *     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)*
    *     at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)*
    *     at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)*
    *     at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:317)*
    *     at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)*
    *     at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)*
    *     at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)*
    *     at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)*
    *     at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)*
    *     at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:654)*
    *     at org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:447)*
    *     at org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:379)*
    *     at org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:292)*
    *     at org.apache.catalina.core.StandardHostValve.custom(StandardHostValve.java:424)*
    *     at org.apache.catalina.core.StandardHostValve.status(StandardHostValve.java:343)*
    *     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:144)*
    *     at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)*
    *     at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)*
    *     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)*
    *     at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)*
    *     at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)*
    *     at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)*
    *     at java.lang.Thread.run(Thread.java:619)*
    After getting this kind of error I have analyzed my code furhter then I came to know that there was problem with static include tag.
    In my jsp page I have used following line which is the main cause of error
    <%@ include file="top.jsp" %>If I ommit this line then it is working properly.
    Instead of static include I have used jsp:include also.
    Still I m getting same problem.
    We have to migrated from JDK 1.5 to 1.6 and Tomcat 5.0.28 to 6.0.14, still same problem is there.
    We have tried a lot but didnt get success to overcome this problem.
    If anybody having any solution then ur each reply will be appreciated.
    Thanks in advance..........!!!!!!!
    Edited by: JBOSS2000 on Jan 15, 2008 9:29 AM

    Hi "mshanu" and "amit" Thanks for ur replies Here I m posting the code of "top.jsp"........!!!!
    <%@ page errorPage="errordisplay.jsp"%>
    <table cellpadding="0"
           cellspacing="0"  height=50 width=780>
           <tbody>
             <tr class="header">
               <td class="logo"><IMG SRC="assets/Logo.gif" BORDER=0 ALIGN=top></td>
               <td align="right"><span class="applicationtitle"><%@ include file="/contents/logo.htm" %></span><br>
               <span class="companyname"><%@ include file="/contents/companyname.htm" %></span></td>
             </tr>
            </tbody>
    </table>To include top.jsp I have tried
    <jsp:include page="top.jsp" flush="true">
    </jsp:include>
             AND       
    <%@ include file="top.jsp"%>but none of this worked.
    If I remove the include then It is working properly.
    But I need inluded file too so that I am wondoring for the solution.
    This problem seems very wiered to me. I dont know why it is happening.
    This problem is started only when I used the TOMCAT 6.14.
    Is it the bug of TOMCAT 6.14 or What somebody Plz help.
    I got stuck here.........!!!!!!!!!!
    It doesn't seem any problem with top.jsp. As per my thinking the problem is there in include due to that it doesn't compile the JSP page in Tomcat 6.0.
    Earlier I am having same code running on the Tomcat 5.0.28 and JDK 1.5.0.
    But problem occured when I have used Tomcat 6.x...!!

  • Photosmart C7280 was installed & working - now will not install - URGENT solution needed

    All in one was working fine. Is on Network. Dell Workstation is wired and so is all in one. Other computers are laptops - wireless working fine.  For an unexplained reason the software on the Dell stopped working - fax, scan, etc. But it would print but gave error messages.  So I uninstalled it and downloaded the latest software from theHP website.  First time trid to install - error message in the checking process - second part and uninstalled and did a check of the hP site but timed out. rebooted. Tried again after downloading from HP again. THis time it got to the install stage but once again an error. repeat process and this time downloaded a solution. Followed the steps in the solution - msconfig including firewall, rebooting, etc. Unsuccessful again.  Now have no printer on Dell and need to have it working as I have assessment taskc due on weekend and can't print them.  Need solution to solve this issue.

    When you said you try to download it from the website. Did you click INSTALL on the driver or did you download and save it first on your computer? You may want to try and download and save it on the desktop. Once download is complete, manually start the installation by double clicking it on your desktop.
    Aside from that, try to install just the drivers?
    So when you're installing the driver/software, it will give you a screen where you can check the box for the user license agreement right? and above that is a 4 link that would say: Internet Connection Usage, Select a software (can't remember the rest of the two options) Click on the internet connection usage and choose the following options:
    -First question: NO, I'll do it myself
    -Second question: NO, thank you
    -Press OK to go back to the main screen
    This time, click on the SELECT A SOFTWARE TO INSTALL
    -Uncheck everything. except the very top of the list which is grayed out; That's the driver of the printer
    -There might be other software installed on your pc already that would say "already installed" you can ignore that since it will be grayed out. You need to uncheck those things that you can uncheck.
    -Click Ok to go back to main screen.
    -Proceed with the installation.
    I hope that works for you.
    ---Click KUDOS if you want to say THANKS.

  • Problem...urgent solution needed

    The problem is... table A and table B are related with B as parent table and A child. The value of id (primary key) of table B needs to be populated with the column Bid when the following where condition satisfies.
    A.x=B.x and A.y=B.y and A.z=B.z for every value of A
    My problem is to create either a procedure, a function or a package which populates the value of B.id in table A with the above where condition for id value of A
    I created a function which gives me the return value of Bid but unable to update the table as several ids of table A have the same value of Bid.
    select A.id into bid from A,B where A.x=B.x and A.y=B.y and A.z=B.z;
    return bid;
    but in the same function I am unable to update
    update A set bid=bid;
    taking the return value from the function. I am unable to understand why? I am pretty weak in pl/sql kindly help me if am making some mistake. I NEED HELP FAST...THANKS IN ADVANCE
    Can anyone suggest me the solution?

    Thank you so much. I tried the update statement in two ways
    1)by putting just the update statement in the function. it gave an error which says
    4/1 PL/SQL: SQL Statement ignored
    5/23 PL/SQL: ORA-00925: missing INTO keyword
    2) I tried my another function where i retrieve the value of
    begin
    SELECT a.ID INTO V_a_ID
    FROM a,
    b
    WHERE a.x= p_ID
    AND a.y = code
    AND upper(TRIM(a.z)) = upper(p_S_NAME)
    AND (to_number(nvl(P_H_N,'0'))
    BETWEEN to_number(a.h) AND
    to_number(a.hb))
    AND substr(P_q,1,5) = substr(a.q,1,5)
    AND upper(P_r) = upper(a.r) and b.id=bid
    RETURN V_a_ID;
    update a set adrlib_id=(select b.id from b where a.x=b.x and a.y=b.y and a.z = b.z and (a.r between b.r and b.r1));
    in the second instance, the retrieval of bid works fine but the update is ignored. please suggest. I also want to mention that for every value of a.id there are more than one values of bid. so the update will return more than one rows. kindly help.

  • Urgent solution needed for the Problem ( get all the combination from table

    we are having a table in following format
    day | grpID | pktID
    sun | 1 | 001
    sun | 1 | 002
    sun | 1 | 003
    sun | 2 | 007
    sun | 2 | 008
    sun | 2 | 009
    mon | 1 | 001
    mon | 1 | 002
    mon | 1 | 003
    mon | 2 | 007
    mon | 2 | 008
    mon | 2 | 009
    tue | 1 | 001
    tue | 1 | 002
    tue | 1 | 003
    tue | 2 | 007
    tue | 2 | 010
    1. We have a combination of pkdIDs related with a specific grpID, for a particular day.
    Ex: For Sunday, we have two combination list for grpID=1 is (001,002,003) and for group id = 2 is (007,008,009)
    2. We need to get all the available combined pktid for each group id for all the days .
    Eg the the expected result that is needed from the above table
    (001,002,003)
    (007,008,009)
    (007,010)

    SQL> with tbl as
      2  (select 'sun' d, 1 grp, '001' pk from dual union all
      3   select 'sun' d, 1 grp, '002' pk from dual union all
      4   select 'sun' d, 1 grp, '003' pk from dual union all
      5   select 'sun' d, 2 grp, '007' pk from dual union all
      6   select 'sun' d, 2 grp, '008' pk from dual union all
      7   select 'sun' d, 2 grp, '009' pk from dual union all
      8   select 'mon' d, 1 grp, '001' pk from dual union all
      9   select 'mon' d, 1 grp, '002' pk from dual union all
    10   select 'mon' d, 1 grp, '003' pk from dual union all
    11   select 'mon' d, 2 grp, '007' pk from dual union all
    12   select 'mon' d, 2 grp, '008' pk from dual union all
    13   select 'mon' d, 2 grp, '009' pk from dual union all
    14   select 'tue' d, 1 grp, '001' pk from dual union all
    15   select 'tue' d, 1 grp, '002' pk from dual union all
    16   select 'tue' d, 1 grp, '003' pk from dual union all
    17   select 'tue' d, 2 grp, '007' pk from dual union all
    18   select 'tue' d, 2 grp, '010' pk from dual) -- end of data sample
    19  select distinct '('||ltrim(max(c1) keep (dense_rank last order by lv),',')||')'
    20  from   (select d,grp,level lv,sys_connect_by_path(pk,',') c1
    21          from   tbl
    22          connect by d=prior d and grp = prior grp and pk > prior pk)
    23  group by d,grp;
    '('||LTRIM(MAX(C1)KEEP(DENSE_RANKLASTORDERBYLV),',')||')'
    (001,002,003)
    (007,008,009)
    (007,010)
    SQL>That works on 9i. Other possiblities on 10g.
    Nicolas.

  • Help Needed regarding SQL Loader Error

    Hi,
    I am trying to insert some records into two tables using same control file.
    I am using the follwing command to load data
    sqlload "$ORAUSER" CONTROL="$LDRFILE" DATA="$DATA_PATH/$DATA_FILE" BAD="$BAD_FILE" LOG="$LOG_FILE" DISCARD="$DISCARD_FILE" ERRORS="$MAX_ERRS"
    I am getting the error: SQL-LOADER - 350: Illegal combination of non-alphanumeric characters
    #!/bin/ksh
    Please suggest me what I need to do.
    Thanks,
    Srinivas.

    it appears that you are using this line code in your korn shell script. if you try to do a manual run on the unix command line do you still get the same error?
    also can you post a sample value for all the parameters you have.

  • Connect by loop in user data: urgent solution needed

    Hai iam using oracle9i and my problem is
    in my client place we r developing a report
    of bill_of_materials and it seems the data
    is having some recursive nature.
    iam getting connect by loop in user data: how to avoid it in oracle9i.
    i have two tables prm010ebomh1 and prm010ebomh2.
    now 1st table consists of the product and 2nd table consists of the components
    forming the product.
    a good solution is welcomed.
    My query is:
    SELECT DISTINCT B.SL_NO,A.FITEM_CD,B.SITEM_CD,
    LPAD(C.ITEM_DESC,LENGTH(C.ITEM_DESC)+(LEVEL*2)-2,' ') AssyLevel,
    b.qty
    from prm010ebomh a, prm010ebomd b,m032item c
    where a.fitem_cd=b.fitem_cd
    and a.type=b.type
    and a.comp_cd=b.comp_cd
    and a.comp_cdch=b.comp_cdch
    and a.comp_cd='IFA'
    AND A.COMP_CDCH='D01'
    START WITH A.FITEM_CD='A0150100'
    CONNECT BY A.FITEM_CD=PRIOR B.SITEM_CD
    ORDER SIBLINGS BY B.SL_NO.

    Modify the data so that the circular references are avoided.
    ORA-01436 CONNECT BY loop in user data
    Cause: The condition specified in a CONNECT BY clause caused a loop in the query, where the next record to be selected is a descendent of itself. When this happens, there can be no end to the query.
    Action: Check the CONNECT BY clause and remove the circular reference.

  • Urgent solution needed please

    Hi everyone,
    I am having a problem when i am trying to upload image to MysqlUSING jsP USER INTERFACES. I am using mozilla as a browser on Mandrake Linux platform. I am calling a bean Images.java which when run in konsole mode its working fine and image is getting uploaded.
    i am not able to understand why i cant upload using the JSP.
    hope u refer to my question and give me a solution for this.
    thanks,
    Harish.

    Check out UploadBean. It allows to upload files in a database.
    http://www.javazoom.net/jzservlets/uploadbean/uploadbean.html

  • Is this class available CL_GUI_WDR_VIEWER? Urgent Solution Needed.

    Hi Experts,
    Please check the blog below.
    /people/david.fernandespietroniro/blog/2008/06/19/web-dynpro-running-web-dynpro-applications-over-sapgui
    In this blog he used CL_GUI_WDR_VIEWER to declare lr_viewer.
    But when i tried this blog, i'm not able to locate this class.
    I checked SE24. there is no class in this name.
    My question is : Is there any other class available like CL_GUI_WDR_VIEWER.(To do the same blog).
    Expecting Reply ASAP
    Thanks & Regards
    SM Nizamudeen

    Hello Nizamudeen,
    This class was released with the version 700 of SAP_BASIS component. I'm writing a new blog that shows how to call web dynpros in later versions, but for while take a look at the program RSDEMO_HTML_VIEWER.
    Regards.

  • BBM Z10 not opening after app updates...​.Urgent solution needed please!!!.

    I did some applications updates yesterday and since then the BBM application on my Z10 refuse to open. Applications updated were afrinolly(v1.4.3.2), Adobe reader(10.1.0.4), box(1.2.0.79), and blackberry maps(10.0.0.639).Have tried the hard reset but it still refuse to open. Please what's wrong and what can I do. Thanks.

    Hi and Welcome to the Community!
    Anytime random strange behavior or sluggishness shows up, the first thing to try is a proper reboot:
    Pre-BB10 Devices ONLY. With power ON, remove the back cover and pull out the battery. Wait about a minute then replace the battery and cover. Power up and wait patiently through the long reboot -- ~5 minutes.
    BB10 Devices. Hold the top button down until the counter reaches zero. Wait for the device to be fully shut down (e.g., nothing at all displayed on the screen, no LED lights, etc.). Hold the top button until the red LED is lit. Wait through the full boot-up process. If this fails, you can attempt the battery-pull method above, but it is normally NOT recommended unless nothing else works.
    See if things have returned to good operation. Like all computing devices, BB's suffer from memory leaks and such...with a hard reboot being the best cure.
    Good luck!
    Occam's Razor nearly always applies when troubleshooting technology issues!
    If anyone has been helpful to you, please show your appreciation by clicking the button inside of their post. Please click here and read, along with the threads to which it links, for helpful information to guide you as you proceed. I always recommend that you treat your BlackBerry like any other computing device, including using a regular backup schedule...click here for an article with instructions.
    Join our BBM Channels
    BSCF General Channel
    PIN: C0001B7B4   Display/Scan Bar Code
    Knowledge Base Updates
    PIN: C0005A9AA   Display/Scan Bar Code

  • Urgent solution need from all friends

    i have adobe premiere cs4 and i still work on this software with conopus dvstrom2 pro video editing card.but i don't received video output on TV.plz tell me which plugin or software install for video output.i have all plugin for rendering, editing, effect & video export. PLZ PLZ PLZ Help me

    DVStorm does not work with anything later than PR 1.5 and even then had terrible problems. Either downgrade to PR 6.5 and use the DVStorm or get rid of it.

  • Very Urgent Help needed - Arabic support in  Forms6i& reports6i

    Hi,
    Its a very very very urgent requirement.
    How to Provide the arabic support in forms .
    I am working on Windows Xp operating system.
    1. How to Configure the Windows XP Operating system to provide arabic support?
    In Design time i want to use English and during runtime i should be able to toggle beteen English and Arabic for Entering the data.Arabic data should be captured in seperate fields.
    1. How to configure the oracle 8i/9i databases to provide both arabic(Saudi Arabia) and english? what characterset i need to
    choose for saudi arabic?
    2.How to install forms & Reports with arabic support?
    3.How to dispaly the data in both english and arabic in forms and reports during runtime?
    I will be really greatful if u are able to provide me that help and my advanced thanks to ur help.This very
    very urgent.
    Regds,
    B.Prasad
    [email protected]

    Badma,
    1. How to Configure the Windows XP Operating system to
    provide arabic support?Please go to "Regional and Language Options" from the Control Panel. In the "Standards and formats" group of the "Regional Opitons" tab, select "Arabic (Saudi Arabia)". In the "Language for non-Unicode programs" group of the "Advanced" tab, select "Arabic (Saudi Arabia)", then restart Windows. If "Arabic (Saudi Arabia)" is not listed, then please go to the "Langauges" tab and make sure the "Install files for complex script and right-to-left languages (including Thai)" in the "Supplemental language support" group is checked.
    1. How to configure the oracle 8i/9i databases to provide
    both arabic and english? what characterset i need to
    choose for saudi arabic?If you're not planning to support other languages than Arabic and English (7-bit), AR8MSWIN1256 should work for you. If you're planning to support other languages in the future, I would recommend you to create your database in UTF8 (Forms/Reports 6i doesn't work with AL32UTF8 database). Please note Arabic characters are represented in 2 bytes in UTF8 while they are 1 byte in AR8MSWIN1256.
    2.How to install forms & Reports with arabic support?If you need Arabic translation, then please select Arabic when you're asked the language(s) to install. Otherwise, notmal Forms/Reports installation should work for you.
    3.How to dispaly the data in both english and arabic in
    forms and reports?Set your NLS_LANG to ARABIC_SAUDI ARABIA.AR8MSWIN1256.
    Hope this helps.
    Regards,
    - Makoto

  • AS2 Sender Adapter -- Need clarity.. Very Very Urgent...!!!

    Hi AS2 experts,
    Regarding AS2 sender adapter:
    We will provide the details
    TP:  HTTP
    MP:  AS2
    *Message Subject = **
    1. Can anyone please clarify what is this message subject ??
    Its the incoming file name we need to provide?
    According to few blogs,
    2. We will be providing the below URl to the partner system to send there messages.
    HTTP://<your-xi-server>:50000/SeeburgerAS2/AS2Server
    Consider im having partner systems A,B,C .
    and we will be creating 3 communication channels(CC1 ,CC2 ,CC3) to three partner systems.
    If i provide same URL to all the three partner systems.
    Then how it will differentiate like which file is belongs to which interface (from which partner it is coming)?
    And im not providing anything specific in all the AS2 sender comunication channels to differentiate these files.
    What is this AS2ID which we will provide in Party Configuration.
    WIll it makes any difference to above problem?
    Kindly suggest me if anyone has idea about this asap.
    Its Very very urgent.
    ThankYou.
    Regards
    Deepthi.

    Hi,
    >>>>1. We need to provide the below URl and Port to the partner to receive the messages?? HTTP://<your-xi-server>:50000/SeeburgerAS2/AS2Server
    I guess yes . you need to provide this URI.
    >>>>>2.Is it possible to do content based routing by using Message Subject?
    yes it is possible to determine the receiver depending upon ur condition. Please provide the context object at design time and at the time of Configuration , using XPATH you can determine conditional receiver.
    please look in to this links u will come to know about seeburger adapter.
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    /people/william.li/blog/2006/03/17/how-to-get-started-using-conversion-agent-from-itemfield
    /people/paul.medaille/blog/2005/11/17/more-on-the-sap-conversion-agent-by-itemfield
    http://www.stylusstudio.com/edi/XML_to_X12.html
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b0b355ae-0501-0010-3b83-8f2bb566fa47
    Details on XI EDI adapter from seeburger
    /people/bla.suranyi/blog/2006/06/08/sap-xi-supports-edifact
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    SAP Adapters
    EDI with XI
    http://www.seeburger.com
    http://www.seeburger.com/fileadmin/com/pdf/AS2_General_Overview.pdf
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/SEEBURGER_SAP_Adapter_engl.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    http://www.sap.com/asia/company/events/nwtechdays/presentation/australia-slides/Pre-Built_Integration.pdf
    http://www.seeburger.com
    http://www.seeburger.it/fileadmin/it/pdf/2005_04_sapphire_Ferrero_transcript.pdf
    http://www.seeburger.com/fileadmin/com/pdf/Butler_Group_SEEBURGER_Technology_Audit.pdf
    http://www.sap.com/france/company/events/2006/02-01-Automotive-Seeburger.pdf
    http://h41123.www4.hp.com/presentations/ISUG/XISeeBurger.ppt
    Hope this will help you.
    Regards
    Aashish Sinha
    PS : reward points if helpful

  • Regarding drop down list,  any body help me plz.. very very urgent

    i have to create a drop down list and in that if i select a value it should go to select query and display hte result in the output
    for example if i select open in the inout list. that should go to a partiucular query which i write and after that when i process the report that option open should be displayed in the output
    any body help me plz.. very very urgent

    Check  code below..
    TYPE-POOLS:  vrm.
    CONSTANTS: c_pgp_cmd(20) TYPE c VALUE '/opt/pgp/bin/pgp'.
    DATA : droplist TYPE vrm_values,
           dropval LIKE LINE OF droplist,
           w_command(2000) TYPE c VALUE '/usr/local/bin/ssh'.
    DATA:  BEGIN OF t_cmdres OCCURS 0,
             line(500),
           END OF t_cmdres.
    SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME TITLE text-005.
    PARAMETERS:  tar_sys(10) TYPE c AS LISTBOX VISIBLE LENGTH 20 LOWER CASE,
                 filepath TYPE esefilepath,
                 pgpkey(1000) TYPE c LOWER CASE,
                 option(25) TYPE c AS LISTBOX VISIBLE LENGTH 15 LOWER CASE,
                 pass(100) TYPE c.
    SELECTION-SCREEN END OF BLOCK b1.
    INITIALIZATION.
      PERFORM set_screen.
    AT SELECTION-SCREEN OUTPUT.
      IF option EQ 'encrypt'(000).
        LOOP AT SCREEN.
          IF screen-name = 'PASS'.
            screen-input = 0.
            MODIFY SCREEN.
            EXIT.
          ENDIF.
        ENDLOOP.
      ELSEIF option EQ 'set-preferred-ciphers'(001).
        LOOP AT SCREEN.
          IF screen-name = 'FILEPATH'.
            screen-input = 0.
            MODIFY SCREEN.
            EXIT.
          ENDIF.
        ENDLOOP.
      ENDIF.
    START-OF-SELECTION.
    write:/ 'Done'
    *&      Form  set_screen
    FORM set_screen .
      dropval-key = 'oapg18dv'(002).
      dropval-text = 'oapg18dv : DEV'.
      APPEND dropval TO droplist.
      dropval-key = 'oapg18te'(003).
      dropval-text = 'oapg18te : TEST'.
      APPEND dropval TO droplist.
      dropval-key = 'oapg18pr'(004).
      dropval-text = 'oapg18pr : PRD'.
      APPEND dropval TO droplist.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = 'TAR_SYS'
          values          = droplist
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      CLEAR:  dropval,
              droplist[].
      dropval-key = 'encrypt'(000).
      dropval-text = 'Encrypt'.
      APPEND dropval TO droplist.
      dropval-key = 'set-preferred-ciphers'(001).
      dropval-text = 'Set cipher'.
      APPEND dropval TO droplist.
      CALL FUNCTION 'VRM_SET_VALUES'
        EXPORTING
          id              = 'OPTION'
          values          = droplist
        EXCEPTIONS
          id_illegal_name = 1
          OTHERS          = 2.
      CLEAR:  dropval,
              droplist[].
    ENDFORM.                    " set_screen
    Reward if useful
    Function Module <b>VRM_SET_VALUES</b> is used to set values for droplsit..
    and be careful about Text Elements in this report.
    Regards
    Prax

Maybe you are looking for