How to set a parameter scope?

Hi,
I am very new to java and having a problem with the request parameters. In my URL i have a request parameter
http://localhost:8080/for/admin.jsp?companyID="12345" .
The problem i have is when i click on a link in admin.jsp and navigate to another JSP say account.jsp .If i want to navigate back to admin.jsp page the companyID parameter is not present anymore in my URL(now th url is http://localhost:8080/for/admin.jsp) and i get an exception. Please let me know how can i retain it in the URL by changing the scope of the paramter so that it is visible when i navigate back?
I really appreciate the help.
Thanks

Keep passing the url in all requests.
For this to work, you will have to rewrite all urls in the jsps.
For example in admin.jsp, the account link should be rewritten as
<a href = "http://localhost:8080/for/account.jsp?companyID=<%=request.getParameter("companyID")%>">account</a>
and then in account.jsp, the admin link should be rewritten as
<a href = "http://localhost:8080/for/admin.jsp?companyID=<%=request.getParameter("companyID")%>">admin</a>The other option is to store the companyId in session scope.
So in admin.jsp, on first request
<%
   if(request.getParameter("companyID") != null){
         session.setAttribute("companyID",request.getParameter("companyID") );
%>and then later whenever you need access to the companyID, use
String companyID = (String)session.getAttribute("companyID");ram.

Similar Messages

  • How to set the parameter selection *optional* for each subreport?

    Hi,
    I am using Crystal Reprots 11.
    I create 10 subreports, and each subreport contains a Parameters Field.
    The 10 subreports are put in 10 footer sections in increasing order, i.e. subreport1, subreport2, subreport3, ..., subreport10.
    When I use "Print Preview" to take a look at the whole report, CR prompts a "Edit Values" window for selecting parameter values for all 10 subreports.
    For example, if I only select parameter values for subreport1 and click "OK", 9 error messages on the "Edit Values" window come out above the selection list box of every other subreports (i.e. subreport2 ~ subreport10) showing that: 'The value is not valid'.
    Sometimes, I just want to review some specific subreports but not all.
    How should I do to set the parameter selection optional (not mandatory) for each subreport?
    Thank you in adavance.
    Edited by: Holdup on Feb 17, 2012 3:44 PM

    Hi,
    Here's how you can make the prompts optional (Assuming you're using CR 2008 or higher):
    1) Go into each subreport
    2) You should see the parameter in the Field Explorer. Right-click the name and select Edit > Look for an option called 'Optional Prompt'. Set it to true
    3) If you have a record selection in the subreport, then you need to modify the selection formula to something like this:
    if not(hasvalue({?Parameter_Name})) then True else = {?Parameter_Name}
    Hope this helps!
    -Abhilash

  • How to set dynamic parameter in list of values in parameter property

    Hi,
    I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
    Regards,
    amol

    Hi,
    I am using cr4e-all-in-one-win_2.0.1version.I have created .rpt file in that how to set dynamic parameters(from database) in list of values parameter property
    Regards,
    amol

  • How to set UTL_FILE parameter in the INIT.ORA file

    Dear all,
    How can i set UTL_FILE parameter in the INIT.ORA file.
    Also let me know how to create a directory over there.I am new to this area.
    Where exactly i can locate these details and create directory.
    Regards,
    Bala.

    post this in database forum

  • How to set EXPORT parameter from message mapping

    Again, ask the question of export parameter.
    I wrote a java version transformation and it worked good with export parameter.
    However I can not work it out in graphical message mapping. I refered http://help.sap.com/saphelp_nwpi71/helpdata/en/43/c3e1fa6c31599ee10000000a1553f6/frameset.htm.
    In PI7.1, I add an export parameter "EXPORT_PARA" in the "Signature" tab. Are there any special step to assign this parameter to an UDF? I did not find a way to do it.
    And then I define an UDF,
    public String SetExportPara(String sss, Container container) throws StreamTransformationException{
    String str = "GOOD";
    GlobalContainer gc = container.getGlobalContainer();
    OutputParameters paras= gc.getOutputParameters();
    if(paras.exists("EXPORT_PARA ") == true) {
    paras.setString("EXPORT_PARA ", str);
    }else {
    str = "NOT FOUND EXPORT_PARA";
    return str;
    And I assign this UDF to one element of my output XML, I tried to run it in IE, it always output "NOT FOUND EXPORT_PARA.
    why?????
    I know there is a blog : https://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/8654. [original link is broken] [original link is broken] [original link is broken]
    But it did not talk how to set export parameters.

    Hi,
    i read thread
    How to export parameters from Message Mapping
    and blog
    /people/jin.shin/blog/2008/02/14/sap-pi-71-mapping-enhancements-series-parameterized-message-mappings
    but not found issue
    in this topic
    http://help.sap.com/saphelp_nwpi71/helpdata/en/43/c3e1fa6c31599ee10000000a1553f6/frameset.htm.
    if i writting this code in UDF, i getting an error.
    If use this code:
    GlobalContainer gc = container.getGlobalContainer();
    OutputParameters paras= gc.getOutputParameters();
    paras.setString("EXPORT_PARA ", str);
    the export parameter is defined locally (in transformation step area). In integration process area parameter is equal to NULL.
    How send export parameter to Integration Process? For exapmple, i wanna send parameter to other transformation step in my integration process.
    thx.

  • How to set the parameter

    hi i am creating xml publisher and from OAF with parameters
    cusname:
    runreportdate:
    go clear buttons
    click go open report in pdf
    SELECT hp.party_name CustomerName,
      csi.incident_number SRNumber,
      to_char(csi.incident_date,'DD-MON-YYYY') SRDate,
      to_char(csi.close_date,'DD-MON-YYYY') SRCloseDate,
      mtl.description SRItemName,
      csi.summary Summary,
      csi.problem_code,
      csi.incident_address SRAddress,
      csi.INCIDENT_COUNTRY SRCountry,
      '31-DEC-2008' Reportrundate,
      COUNT ( * ) over () cnt,
      cis.name,
      COUNT(
      CASE
        WHEN cis.name='Low'
        THEN 1
      END) over () Low,
      COUNT(
      CASE
        WHEN cis.name='Medium'
        THEN 1
      END) over () Medium,
      COUNT(
      CASE
        WHEN cis.name='High'
        THEN 1
      END) over () High1,
    to_char(csi.incident_date,'MON-YYYY') SrMonth
    FROM hz_parties hp,
      hz_cust_accounts hca,
      hz_contact_points hc,
      cs_incidents_all_b csi,
      ar_lookups arl,
      cs_incident_severities_b cis,
      mtl_system_items_kfv mtl
    WHERE hca.cust_account_id   =csi.account_id
    AND hp.party_type          IN ('PERSON','ORGANIZATION')
    AND hp.status               ='A'
    AND hp.party_id             = hca.party_id
    AND hca.status              ='A'
    AND hp.party_id             =hc.owner_table_id(+)
    AND hc.owner_table_name(+)  ='HZ_PARTIES'
    AND hp.party_id             =hca.cust_account_id
    AND hc.contact_point_type(+)='PHONE'
    AND hc.primary_flag(+)      ='Y'
    AND hc.status(+)            ='A'
    AND arl.lookup_type(+)      = 'PHONE_LINE_TYPE'
    AND arl.lookup_code(+)      = hc.phone_line_type
    AND hp.party_name='Business World'
    AND csi.incident_date BETWEEN to_date('01-JAN-2000','DD-MON-YYYY') AND to_date('31-DEC-2008','DD-MON-YYYY')
    AND cis.incident_severity_id=csi.incident_severity_id
    AND mtl.inventory_item_id=csi.inventory_item_id
    GROUP BY hp.party_name,
      csi.incident_number,
      csi.incident_date,
      csi.close_date,
      csi.summary,
      csi.problem_code,
      csi.incident_address,
      cis.name,
      csi.INCIDENT_COUNTRY,
      mtl.description,
      to_char(csi.incident_date,'MON-YYYY')
    Am code
        public void initQuery(String paramString1, String paramString2)
              SrReportVOImpl vo=getSrReportVO1();
            if ((paramString1 != null) && (!("".equals(paramString1.trim()))) && (paramString2 != null) && (!("".equals(paramString2.trim()))))
              vo.setWhereClauseParams(null);
              vo.setWhereClauseParam(0, paramString1);
              vo.setWhereClauseParam(1, paramString2);
              vo.executeQuery();
        public XMLNode getPrintDataXML()
        //SrReportVOImpl vo=getSrReportVO1();
        OAViewObject vo = (OAViewObject)findViewObject("SrReportVO1");
        //vo.initQuery(s,s1);
        XMLNode xmlNode=(XMLNode) vo.writeXML(4,XMLInterface.XML_OPT_ALL_ROWS);
            return xmlNode;
    CO code
          SrAMImpl am=(SrAMImpl)pageContext.getApplicationModule(webBean);
          if(pageContext.getParameter("Go")!=null)
              //am.searchSrDetails(pageContext,webBean);   
               String s=pageContext.getParameter("CustomerName");
               String s1=pageContext.getParameter("RunReportDate");
                   am.initQuery(s,s1);
                 // Get the HttpServletResponse object from the PageContext. The report output is written to HttpServletResponse.
                 DataObject sessionDictionary = (DataObject)pageContext.getNamedDataObject("_SessionParameters");
                 HttpServletResponse response = (HttpServletResponse)sessionDictionary.selectValue(null,"HttpServletResponse");
                 try {
                 ServletOutputStream os = response.getOutputStream();
                 // Set the Output Report File Name and Content Type
                 String contentDisposition ="attachment;filename=ServiceReport.pdf";
                 response.setHeader("Content-Disposition",contentDisposition);
                 response.setContentType("application/pdf");
                     Serializable param[]={pageContext.getParameter("CustomerName"),pageContext.getParameter("RunReportDate")};
                     System.out.println("hiiii 12");
                     // Get the Data XML Output as the XMLNode
                     XMLNode xmlNode = (XMLNode) am.invokeMethod("getPrintDataXML",param);
                     System.out.println("hiiii 13");
                     System.out.println(xmlNode.toString());
                     System.out.println("hiiii 14");
                 // Get the Data XML File as the XMLNode
                 ByteArrayOutputStream outputStream = new ByteArrayOutputStream();
                 xmlNode.print(outputStream);
                 ByteArrayInputStream inputStream = new ByteArrayInputStream(outputStream.toByteArray());
                 ByteArrayOutputStream pdfFile = new ByteArrayOutputStream();
                 //Generate the PDF Report.
                 TemplateHelper.processTemplate(
                 ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getAppsContext(),
                 APP_NAME,
                 TEMPLATE_CODE,
                 ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getLanguage(),
                 ((OADBTransactionImpl)pageContext.getApplicationModule(webBean).getOADBTransaction()).getUserLocale().getCountry(),
                 inputStream,
                 TemplateHelper.OUTPUT_TYPE_PDF,
                 null,
                 pdfFile);
                 // Write the PDF Report to the HttpServletResponse object and flush.
                 byte[] b = pdfFile.toByteArray();
                 response.setContentLength(b.length);
                 os.write(b, 0, b.length);
                 os.flush();
                 os.close();
                 pdfFile.flush();
                 pdfFile.close();
                 catch(Exception e)
                 response.setContentType("text/html");
                 throw new OAException(e.getMessage(), OAException.ERROR);
                 pageContext.setDocumentRendered(false);
                   System.out.println("hiiii 13");
          if(pageContext.getParameter("Clear")!=null)
              am.ClearFields(pageContext,webBean);
          }can any one tell me how to set the bind parameters or setting parameter

    Hi,
    Could not understand your problem exactly. DId you try adding bind variables in the query like below:
    AND hp.party_name='Business World'
    AND csi.incident_date BETWEEN to_date('01-JAN-2000','DD-MON-YYYY') AND to_date('31-DEC-2008','DD-MON-YYYY')
    change to
    AND hp.party_name=:1
    AND csi.incident_date BETWEEN :2 AND :3
    Please note you will need three bind variables. Second and third for SR Dates.
    ~Amol

  • How to set the parameter of xi header in server proxy

    Hi,
    Does anyone have idea, how to set ref_to_message_id of a client proxy in the server proxy? My problem is, I send a message to a server proxy. The server proxy receives the message, retrieves the message id and tries to set the ref_to_message_id of the message, which will be sent to a client proxy, with its message id. I only find some useful functions to get these information of client proxy and server proxy like message_id etc. in runtime. But I did not find the "set" function to set these parameters. Maybe someone can tell me at first, if it is possible to set such parameters in runtime in server proxy.
    Can anyone help?
    regard
    hu

    Hi Chilla,
    what I want is to monitor the related message bundle easily. In my server proxy, many different client proxies are called and messages are transfered. So under the SXMB_MONI I will find many message exchanges for one server proxy call. Because the server proxy is called so often, I cannot distinguish under the SXMB_MONI, which message exchanges are caused by which server proxy call.
    So I have an idea. If I can set the ref_to_message_id of the messages for the client proxy calls with the message id of the server proxy call, then I can at first select the message of the server proxy call and find the messages for the related client proxy calls easily using the button "referencing message". The message id of the server proxy call can be retrieved. So my problem is now, how to set the ref_to_message_id of the messages for the client proxy calls with this messag id in the server proxy.
    Of cource, if anyone has better idea, how to resolve the situation in another way without setting the ref_to_message_id, pleases inform me.
    regards
    Bin

  • How to set runtime parameter for the entire system

    Hi,
    I have a problem with setting runtime parameters in jre v1.6.0_07. I have an XP computer with multiple users and to use the application eavery user must set the runtime parameter once by going to java control panel -> Java -> Java applet runtime settings -> view. How can i automate this? I have multiple users and there may be more users logging in so manually sending the C:\<userProfileDirectory>\Application Data\Sun\Java\Deployment\deployment.properties file to all profiles is not a solution. Same question here but no solution. Every user must get this parameter when they log in, they may be new users or existing users. The software I'm trying to use is browser based, we don't trigger an exe or something from local to run the software.
    In C:\<userProfileDirectory>\Application Data\Sun\Java\Deployment\deployment.properties file there is a line like this;
    deployment.javapi.jre.1.6.0_07.args=
    This works for a single user. I've read the instructions in [deployment guide|http://java.sun.com/javase/6/docs/technotes/guides/deployment/deployment-guide/properties.html] but the properties file we put in C:\WINDOWS\Sun\Java\Deployment does not support ".args=" command. Anyone encountered or have a solution for this problem?
    Thanks.

    Hi,
    got solution for this problem? I am also having the same problem.
    Thanks.

  • How to set a parameter to sysdate() - 1 in the scheduler?

    Hi,
    I have a report with two parameters. One is the date and in the parameter's definition I have set it to {$SYSDATE()-1$} which works perfectly.
    However, when I try to schedule the report, it does not accept the default above.
    How can I schedule a report with one parameter defined and the other defaulting to sysdate() or sysdate() - 1?
    Thanks for the help.

    The easiest way would be to include sysdate (or sysdate - 1) in your data def. and then pass it in the xml data to the format template.
    I try to keep all my data def (even sysdate) out of the format templates.
    Scott

  • How to set bind parameter in vo in execute method

    Hi,
    I m using this Query in VO.There are 7 bind variables i want to set the bind parameter before calling the execute Query of VO
    but i m unable to set values in bind parameter.
    I am getting the values in sysout but when trying to print the query by using get Query the bind parameter does not get the values.
    can any one help me?
    plz give me solution.I m waiting for ur response.
    Thanks&Regards
    Mansoor Syed
    select '' MNDT_ORD_ID,
    '' MNDT_CUST_ID,
    '' MNDT_FOLIO_ID,
    SUM(NVL(DECODE(MNDT_PLCMNT_QTY,0,MNDT_AMT_FC,MNDT_PLCMNT_QTY),0)) Mandate_Qty_Amt,
    SUM(NVL(DECODE(MNDT_PNDG_QTY,0,MNDT_PNDG_AMT_FC,MNDT_PNDG_QTY),0)) Pending_Qty_Amt,
    SUM(NVL(DECODE(MNDT_PLCMNT_QTY,0,MNDT_AMT_FC,MNDT_PLCMNT_QTY),0)) Placement_Qty_Amt,
    MNDT_POOL_YN , max(substr(sys_connect_by_path(t.MNDT_SYS_ID, ','), 2)) List
    from
    (select MNDT_INSTR_ID, MNDT_TRANS_TYP,MNDT_SYS_ID,MNDT_PLCMNT_QTY,MNDT_AMT_FC,MNDT_PNDG_AMT_FC,MNDT_PNDG_QTY,
    MNDT_POOL_YN ,row_number() over (partition by MNDT_INSTR_ID order by MNDT_SYS_ID ) rn
    from XBT_TRD_ORD_MNDT
    WHERE MNDT_ACLS_ID = nvl(:Bind_Acls_Id,MNDT_ACLS_ID)
    AND MNDT_ATYP_ID = nvl(:Bind_Atyp_Id,MNDT_ATYP_ID)
    AND MNDT_POOL_YN = nvl(:Bind_Pool_Yn,MNDT_POOL_YN)
    AND MNDT_TRANS_TYP = nvl(:Bind_Trans_Type,MNDT_TRANS_TYP)
    AND MNDT_INSTR_ID = nvl(:Bind_Instr_Id,MNDT_INSTR_ID)
    AND :Bind_Price Between MNDT_FROM_PRC_FC and MNDT_TO_PRC_FC
    AND 'P' = :Bind_Union
    ) t
    start with rn = 1
    connect by rn = prior rn + 1
    and MNDT_INSTR_ID = prior MNDT_INSTR_ID
    group by t.MNDT_INSTR_ID,t.MNDT_POOL_YN,t.MNDT_TRANS_TYP
    UNION
    SELECT MNDT_ORD_ID,
    MNDT_CUST_ID,
    MNDT_FOLIO_ID,
    NVL(DECODE(MNDT_PLCMNT_QTY,0,MNDT_AMT_FC,MNDT_PLCMNT_QTY),0) Mandate_Qty_Amt,
    NVL(DECODE(MNDT_PNDG_QTY,0,MNDT_PNDG_AMT_FC,MNDT_PNDG_QTY),0) Pending_Qty_Amt,
    NVL(DECODE(MNDT_PLCMNT_QTY,0,MNDT_AMT_FC,MNDT_PLCMNT_QTY),0) Placement_Qty_Amt,
    MNDT_POOL_YN ,concat(MNDT_SYS_ID,'') List
    from XBT_TRD_ORD_MNDT
    WHERE MNDT_ACLS_ID = nvl(:Bind_Acls_Id,MNDT_ACLS_ID)
    AND MNDT_ATYP_ID = nvl(:Bind_Atyp_Id,MNDT_ATYP_ID)
    AND MNDT_POOL_YN = nvl(:Bind_Pool_Yn,MNDT_POOL_YN)
    AND MNDT_TRANS_TYP = nvl(:Bind_Trans_Type,MNDT_TRANS_TYP)
    AND MNDT_INSTR_ID = nvl(:Bind_Instr_Id,MNDT_INSTR_ID)
    AND :Bind_Price Between MNDT_FROM_PRC_FC and MNDT_TO_PRC_FC
    AND 'N' = :Bind_Union

    Do you mean to say that you are overriding "execute" in the impl class? If you do this, you should call setNamedWhereClauseParam for each of your named bind variables before you call "super". But if you are doing this, I have to wonder why you are using bind variables at all instead of constants because you wind up setting the bind variables to the same thing every time you execute the query. I'd write a brand new method that CALLS "execute" after setting the bind variables. I've even written a method that sets bind variables with setNamedWhereClauseParam and DOESN'T call "execute" - it leaves the execute for another page.
    I'm also trying to understand what you mean by "all the values i m trying to set are transient variables". Maybe instead of telling us what doesn't work, you should tell us more about your use case. Tell us what it should look like to the user - what it should do, and let us give you some suggestions about how to do it.

  • How to set application parameter in web dynpro abap?

    Hi experts,
                    Is there any way we can set up our own application parameter (for ex. mode ) of our application. And based on that parameter we can visible/invisible certain elements of view .  so by having only one webdypro application component, and making multiple applications and assigning paramter to each , we can make our application userfriendly.
    Thanks,
    Saurin Shah.

    Hi Saurin,
    For this you will have to use the concept of Component and Application Configuration in WebDynpro. Go through [this tutorial|https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/b52e13c3-0901-0010-8fa6-d11a51821b7c] to get an idea of how you can go ahead to meet your requirements.
    Regards,
    Uday

  • How to set defalt parameter(s) for Crystal Report in CRS

    Hi everybody,
        I am new to Crystal Report designing and Crystal Report Server. My problem is; I had created one Crystal Report with sub-reports and some parameters. I had given default value for those parameters. These parameters are there in main report and linked with sub-reports. After that I deployed it in the Crystal Report Server.
        Now i want to schedule the report. while scheduling the report, I want to run the report using default parameter(s). If I Clicked on Schedule button, it is giving "report failed" error. And in parameter list it is showing "No parameters". Why this is happening? Is this default behaviour of Crystal Report Server? Can anybody please suggest me how can I give default values for a report automatically?(using Crystal Report Server)
    Thanks in Advance.
    Jithesh

    Not sure if I understand the question correctly or not.  It sounds like you have a main report, with a sub-report and a value is being passed from the main to the sub-report.
    When you say you created some parameters, are those parameters in the sub-report or main report?
    If it were me I would create a parameter in the main report, and a parameter in the sub report.  Have the two reports link on the two parameters. 
    When you go to schedule the job, set the default value in the cmc under process/parameters. 
    Let me know if this answers your question.  I tend to not fully understand the problem often times.
    Good luck!
    Rody

  • How to set the parameter ID value for a range

    I am trying to call transaction KSB1 (Display actual line items for cost center) by supplying all the default values for the selection options/parameters and skipping the selection screen from the calling program. However, for the cost center range, both HIGH and LOW field have the same PID (i.e. KOS). Same thing for the cost element range. When I set the value for PID "KOS", only the low value got populated.
    I tried to pass a BDC table to the
    CALL TRANSACTION 'KSB1' USING  bdc_tab
    , but the PID used before takes higher priority so the bdc_tab values got overwritten by the PID values for those fields.
    Does anybody know how to find or set the PID for a selection range? I need PID for Cost center range, cost element range and the period (PID="VPE").
    Any advice is appreicated. Thank you
    Minami

    otherwise try to make use of SUBMIT command.
    <b>Hi Preetahm ,
    KSB1 is a Report , not a Tcode to maintain master data or any thing like that ?, u can also cross check?</b>
    by using SUBMIT command u have to <b>RKAEP000</b> this program along with the selection screen.
    regards
    Prabhu
    Message was edited by: Prabhu Peram

  • How to set errorDelay parameter in sender JMS Communication Channel?

    Dear XI/PI Experts,
    Do you happen to have a documentation on how to implement the errorDelay parameter and other general parameters in the sender Sender JMS communication Channel? Do you happen to have a step by step guide or pdf that I can use?
    I look forward to hearing from you.
    Thanks a lot in advance.
    Kind regards,
    Grace

    Hi Thanks for your replies.
    What I need to do is to implement this bullet point:
    ¡        errorDelay
    The default value for this parameter is 0.
    This parameter determines how long the system waits before processing further messages if an error occurs. In transactional processing, it can make sense to specify a certain time period, for example, because messages with errors remain in the queue following a ROLLBACK.
    In which part of the Sender JMS Comm Channel will I implement this?
    Should I put this under tab /Parameters/Processing/Error Handling Settings or should this be under /Parameters/Advanced/Additional Paremeters?

  • How to set my parameter file to run impdp properly?

    Hello all,
    I want to import a table HR.COUNTRIES to KATE:COUNTRIES with impdp
    This is my parameter file :
    DIRECTORY=C_ROOT
    DUMPFILE=EXAMPLE.DMP
    TABLES=COUNTRIES
    REMAP_SCHEMA=SH:KATE
    I get an error in my log file :
    Import: Release 10.2.0.1.0 - Production on Thursday, 16 October, 2008 8:36:12
    Copyright (c) 2003, 2005, Oracle. All rights reserved.
    Connected to: Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Production
    With the Partitioning, OLAP and Data Mining options
    Master table "SYSMAN"."SYS_IMPORT_TABLE_01" successfully loaded/unloaded
    Starting "SYSMAN"."SYS_IMPORT_TABLE_01": sysman/******** parfile=impdb.par
    Processing object type TABLE_EXPORT/TABLE/TABLE
    Processing object type TABLE_EXPORT/TABLE/TABLE_DATA
    . . imported "HR"."COUNTRIES" 6.093 KB 25 rows
    . . imported "KATE"."COUNTRIES" 9.273 KB 23 rows
    Processing object type TABLE_EXPORT/TABLE/GRANT/OWNER_GRANT/OBJECT_GRANT
    Processing object type TABLE_EXPORT/TABLE/INDEX/INDEX
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/CONSTRAINT
    Processing object type TABLE_EXPORT/TABLE/INDEX/STATISTICS/INDEX_STATISTICS
    Processing object type TABLE_EXPORT/TABLE/COMMENT
    Processing object type TABLE_EXPORT/TABLE/CONSTRAINT/REF_CONSTRAINT
    ORA-39083: Object type REF_CONSTRAINT failed to create with error:
    ORA-00942: table or view does not exist
    Failing sql is:
    ALTER TABLE "HR"."COUNTRIES" ADD CONSTRAINT "COUNTR_REG_FK" FOREIGN KEY ("REGION_ID") REFERENCES "HR"."REGIONS" ("REGION_ID") ENABLE
    Processing object type TABLE_EXPORT/TABLE/STATISTICS/TABLE_STATISTICS
    Job "SYSMAN"."SYS_IMPORT_TABLE_01" completed with 1 error(s) at 08:38:40
    Finally, i got two importation of countries : in both schema HR and KATE.
    Someone can help me please?
    I only want to import HR.Countries to KATE.Countries.
    Thanks in advance.
    :o)

    Thanks for links,
    Ok, the problem is that I have two tables COUNTRIES in two schemas. I only want to import SH.COUNTRIES, not HR.COUNTRIES. If I exclude the HR schema. It's ok, my import work properly. HR.COUNTRIES is not imported.
    The problem I see is if I don't know all the tables names in the dmp file, I could only want 1 objet and exclude everyelse.
    If I uses that parfile, it's ok.
    Good :
    DIRECTORY=C_ROOT
    DUMPFILE=EXAMPLE.DMP
    REMAP_SCHEMA=SH:KATE
    TABLES=COUNTRIES
    EXCLUDE=SCHEMA:"='HR'"
    I would like only import with INCLUDE because I don't know all the schema names in the import file.
    I want :
    DIRECTORY=C_ROOT
    DUMPFILE=EXAMPLE.DMP
    REMAP_SCHEMA=SH:KATE
    TABLES=COUNTRIES
    INCLUDE=SCHEMA:"='SH'"
    it doesnt work. Do you have an idea how to proceed.
    Edited by: Jimmy/Newbie on 16 oct. 2008 10:27

Maybe you are looking for

  • Why can some fillable forms be saved while others can't?

    Do I need to have a more advanced program to always be able to save data on fillable forms?

  • Why does itunes store shuts my itunes down?

    When I open the store, then it reads. 'Itunes dejó de funcionar' (itunes stopped working) and then it closes the whole thing. I can listen to my music. It's only that when I try to open the store, then the system crashes and I need to restart Itunes.

  • Error when add/ drop new logfile

    When I drop or add new logfile in my 10g r2 on RHEL, I did not see any error. however when I check the alert log file, I noticed at the same time of dropping or adding the logfile, systen produced three error .trc files in the udumpa and display erro

  • Relocating iTunes and songs

    I need to reinstall Windows (ads/alert windows driving me nuts in the bottom right corner). My room-mate partitioned my hard drive for me (I'm still not very good with this stuff, and he's not as good as he thinks he is, either), and he says I need t

  • Organising iTunes U collection?

    Hi. I just downloaded the MIT Introduction to Algorithms on iTunes U but when I look in my iTunes U section of iTunes the videos are showing up as a separate collection to the notes. I have given them both th exact same metadata in the hope that this