Query on Changing Domain Value ...

Hi All,
I have a requirement in which i have to change the Value range of a domain while executing a program...
Is there any FM available to achieve this functionality.... Kindly provide pointers to achieve my requirement...
Regards,
Navin.

Hi
<b>I have already replied this in my earlier post.</b>
<u>Use the following Function module - RPY_DOMAIN_READ to read the Domain values in a program and use them as per your requirements.</u>
<b>Sample code</b>
  CALL FUNCTION 'RPY_DOMAIN_READ'
    EXPORTING
      activation_type_i = 'M'
      doma_name         = 'DOMAIN'         <<<<<- UseYour domain name here
       language          = sy-langu
    TABLES
      doma_values       = i_values            <<<--- Returns domain values
    EXCEPTIONS
      cancelled         = 1
      not_found         = 2
      permission_error  = 3
      illegal_type      = 4
      OTHERS            = 5.
  IF sy-subrc <> 0.
  ENDIF.
Incase you need any other details, let me know.
Hope this will help.
Please reward suitable points, incase it suits your requirements.
Regards
- Atul

Similar Messages

  • Domain value Mapping for Supply chain and order management analytics

    Hi Experts.
    I'm new to BI Applications. I'm configuring Oracle Supply chain analytics and order management analytics and i see in the configuration guide that we need to
    Map each Status Code to one domain value. I dont understand what this means? what is meant by domain value and how can we map the data retreived by the query with the domain values.
    Appreciate your help.
    Thanks
    Rajesh

    Hi Deepak.
    Our functional analysts dont understand what domain values means. they have run the query but since they dont understand what Domain values means they could not proceed.
    Pls could you give an example of how to map the data retrieved with the domain values ?
    Appreciate your help
    Thanks
    Rajesh
    Edited by: user4159900 on Aug 22, 2011 12:17 AM
    Edited by: user4159900 on Aug 22, 2011 12:18 AM

  • Overwrite existing Domain values with new one

    Hi All,
    I have an existing database (It is not an SAP table, it was made for client, but I am not supposed to modify it). But, my issue is that, I have to change the values of domain used in it to new values.
    For e.g.
    Current Values are 1 - ADD, 2 - NOT POSSIBLE and  so on
    New values to be added: 1 - ADDITION 2- ADDITION NOT POSSIBLE.
    I tried using 'Fixed Value Append', but I want to overwrite the values with new ones.
    Please suggest me if there is any method to do it.
    Thanks.

    Hi,
    I don't understand if it a Z-table what is the problem in changing domain and why you are not supposed to change it since the task is assigned to you.
    Anyways, even if you write a code to change domain values, you would have to then get it moved to production for changes to reflect. Also, I don't think you would have the authorization to change table entries directly. Also this will result in inconsistency in various clients for domain values..
    The better solution would be, get authorization to change domain values, create transport request for this and get it moved to subsequent systems.
    Thanks.
    Ravi

  • How to change the Credential domain Value in XML gateway?

    How to change the Credential domain Value in XML gateway?
    configured the XML Gateway trading partner . It is generating the header as given below. but need to change the Credential domain to DUNS.
    <Header>
    <From>
    <Credential domain="olgridap1.lan">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>
    Desired XML header
    <Header>
    <From>
    <Credential domain="DUNS">
      <Identity>53369415-cxml</Identity>
    </Credential>
    </From>

    You might want to check WLP 10.3 & deployment plan & log4j.xml for a similar topic.

  • How to change characterics values in a ready input query ?

    How to change characterics values in a ready input query  base on a real time infocube?
    when  I use  IP to planning I want to change  characterices values that have exit in query?

    Hi,
    On the properties tab of the characteristics (within input query) you can decide what values need to be populated when the query opens.
    Is your exit written on char relationship?
    regards,
    Lokesh Nandula

  • How do I change the query based on parameter value

    hi,
    Based on parameter value I want to change my query. If paramter value is 'O' i want the 'order by depno' in query if the value is null i don't want the order by clause.
    How do I achieve this.
    Thanks
    Ram

    U can use lexical parameter
    i.e u create one user parameter and in query
    u use this parameter with &param_name
    ex.
    select val,prize from stock where sr_no > :srno
    orderby &ord_by
    here ord_by is lexical parameter
    and set its intial value to 'sr_no'
    so u can get result order by sr_no
    this parameter is set from form so u will give condition in form and depending
    on condition u will pass this parameter from form.

  • Change the value of a variable used in a View query

    I am using JDeveloper 11g to develop a simple portlet application which displays data loaded from database. I am displaying the data by dragging the ViewObject from the AppModuleDataControl to the View.jspx page and selecting the option ADF Read-only Table. My ViewObject has a single variable :empId. Now is it possible to change the value of this variable with a value that comes from the request object. On the internet I found the following code:
            FacesContext facesContext = FacesContext.getCurrentInstance();
            Application app = facesContext.getApplication();
            ExpressionFactory elFactory = app.getExpressionFactory();
            ELContext elContext = facesContext.getELContext();
            ValueExpression valueExp =
            elFactory.createValueExpression(elContext, "#{data.AppModuleDataControl.dataProvider}",
            Object.class);
            ApplicationModule am = (ApplicationModule)valueExp.getValue(elContext);
            ViewObject emplVO;
            emplVO = am.findViewObject("EmployeeView1");
            emplVO.setNamedWhereClauseParam("empId", "1");I have put this code in the public void processAction(ActionRequest request, ActionResponse response) method. However this does not work when I deploy it.
    Does anyone know if the above code is correct in this case and if there is a better way how I can set this up?

    Hi there:
    Did you add a break point and debug the code to see what is the value for the :empid parameters passed in to your view object?
    If you are sure you have passed in the correct value for ":empid" parameter, then do the following:
    String amDef = "yourAmDef";
    String config = "yourConfig";
    ApplicationModule am =
    Configuration.createRootApplicationModule(amDef,config);
    ViewObject emplVO;
    emplVO = am.findViewObject("EmployeeView1");
    emplVO.setNamedWhereClauseParam("empId", "1");
    empVO.executeQuery();
    which will execute your view object with the new bind variable value and refresh the view.
    Please mark my answer as 'Correct' if it solves your problem, or 'Helpful' if it does.
    Thanks,
    Alex
    Edited by: Alexbie on 27-Aug-2010 8:52 AM

  • Dynamci Query Result View - New Field with domain values

    Hi,
    I added to the result list a new field (using an append structure). Than I added it to the layout. This field contains a number, which will be translated into text by domain values. But in my result view only the number will be displayed. Any idea how I can display the text instead of the ID?
    Thanks in advance Paul.

    Hi Paul,
    You can display the domain text by fetching it in the corresponding GETTER method. The GETTER will be sending the ID; you can add extra code to fetch the corresponding text ID in the getter and return this in rv_value.
    Regards,
    Shiromani

  • Domain Value Lookup for EMPLOYMENT CATEGORY CODE in the W_EMPLOYMENT_D

    Hello friends,
    When I query the EBS with following code to put the data in the configuration file
    SELECT DISTINCT SYSTEM_PERSON_TYPE, USER_PERSON_TYPE
    FROM PER_PERSON_TYPES
    WHERE SYSTEM_PERSON_TYPE IN ('EMP','CWK','OTHER','EMP_APL','EX_EMP','EX_EMP_
    APL','RETIREE','PRTN')
    ORDER BY 1,2
    I get output as follows
    CWK     Contingent Worker
    EMP     Employee
    EMP_APL     Employee and Applicant
    EX_EMP     Ex-employee
    OTHER     Candidate
    OTHER     Contact
    OTHER     External
    PRTN     Participant
    RETIREE     Retiree
    So, I want to put the data in the configuration file, what about other columns.
    USER_PERSON_TYPE     SYS_PERSON_TYPE     W_EMPLOYEE_CATEGORY_CODE     W_EMPLOYEE_CATEGORY_DESC     W_EMPLOYEE_SUB_CAT_CODE     W_EMPLOYEE_SUB_CAT_DESC
    How should I fill the columns marked with bold.
    Please help

    I have the same problem. I currently have an open service request on this so will post any response I get from the oracle product manager. In the meantime here is a bit more detail on the issue...
    This is step
    Oracle® Business Intelligence Applications
    Configuration Guide for Informatica PowerCenter Users
    Version 7.9.6.1 E14844-01
    7 Configuring Oracle Human Resources Analytics
    7.2.2 Configuration Steps for Oracle HR Analytics for Oracle EBS
    7.2.2.3 How to Configure the domainValues_Employment_Cat_ora.csv
    http://download.oracle.com/docs/cd/E14847_01/bia.796/e14844.pdf
    The task is to map the 2 source dependent values (left hand side) to the 4 source independent domain (W_) values (right hand side). Unlike other similar steps in this case the set of possible domain values is ambiguous.
    On my system the source dependent values - the left hand side of the csv spreasdsheet are
    Agency Contractor,EMP
    Employee,EMP
    Ltd Company Contractor,EMP
    PAYE Contractor,EMP
    Employee and Applicant,EMP_APL
    Ex-Agency Contractor,EX_EMP
    Ex-employee,EX_EMP
    Ex-Ltd Company Contractor,EX_EMP
    Ex-PAYE Contractor,EX_EMP
    Ex-employee and Applicant,EX_EMP_APL
    Contingent Worker,CWK
    External,OTHER
    Candidate,OTHER
    Contact,OTHER
    Participant,PRTN
    Retiree,RETIREE
    the configuration document says
    "When editing CSV files, make sure that you: Do not add new values, other than the values present in the CSV file, to the columns with the name format W_ columns. In other words, if you add new rows to the spreadsheet, then the columns with the name format W_ values must map to those in the default spreadsheet. If you add new columns with the name format W_ values, then you must customize the affected mappings."
    The reason you should not change the domain values is because these values tend to be "hard coded" in the ETL/RRD/requests to provide the various metrics. "Incorrect mappings may result in inaccurate calculations of Oracle Business Intelligence metrics. Some sessions may fail if these procedures are not compiled in the database before running the workflows."
    the default out of the box lookup file
    domainValues_Employment_Cat_ora11i.csv
    has 7 mappings
    USER_PERSON_TYPE,SYS_PERSON_TYPE,W_EMPLOYEE_CATEGORY_CODE,W_EMPLOYEE_CATEGORY_DESC,W_EMPLOYEE_SUB_CAT_CODE,W_EMPLOYEE_SUB_CAT_DESC
    Employee,EMP,EMPLOYEE,Employee,EMP_REGULAR,Regular Employee
    Expatriate,EMP,EMPLOYEE,Employee,EMP_EXPATRIATE,Expatriate
    Temporary,CWK,CONTINGENT,Contingent Worker,CONTINGENT_TEMP,Agency/Temp
    Contingent Worker,CWK,CONTINGENT,Contingent Worker,CONTINGENT_CONTINGENT,Contractor
    Contractor,EMP,CONTINGENT,Contingent Worker,CONTINGENT_CONTRACTOR,Contractor
    Student,CWK,CONTINGENT,Contingent Worker,CONTINGENT_INTERN,Intern
    Trainee,CWK,CONTINGENT,Contingent Worker,CONTINGENT_TRAINEE,Trainee
    that gives 2 employment categories
    EMPLOYEE or CONTINGENT
    with 6 possible combinations with sub category
    EMPLOYEE,Employee,EMP_REGULAR,Regular Employee
    EMPLOYEE,Employee,EMP_EXPATRIATE,Expatriate
    CONTINGENT,Contingent Worker,CONTINGENT_TEMP,Agency/Temp
    CONTINGENT,Contingent Worker,CONTINGENT_CONTINGENT,Contractor
    CONTINGENT,Contingent Worker,CONTINGENT_INTERN,Intern
    CONTINGENT.Contingent Worker,CONTINGENT_TRAINEE,Trainee
    Normally the source independent W_* domain values, that is, the right hand side of the csv spreadsheet that you map your source values to, are listed in the Data Model Reference.
    My Oracle Support Document ID 819373.1 BIAPPSDMR796_RevA.pdf
    Oracle Business Analytics Warehouse Data Model Reference Version 7.9.6
    In this case - the domain values listed in the data model reference are ...
    Table 3–6 lists the values for the Employee Category domain value for W_EMPLOYMENT_D.
    //"W_EMPLOYEE_CAT_CODE","W_EMPLOYEE_CAT_DESC", "Source"
    "CONTRACTOR", "CONTRACTOR", "Oracle EBS, PeopleSoft"
    "DIRECT", "DIRECT", "Oracle EBS, PeopleSoft"
    "INDIRECT", "INDIRECT", "Oracle EBS, PeopleSoft"
    "OTHER", "OTHER", "Oracle EBS, PeopleSoft"
    "REGULAR", "REGULAR", "Oracle EBS, PeopleSoft"
    "TEMPORARY", "TEMPORARY", "Oracle EBS, PeopleSoft"
    This is confusing because
    i) the category values are differnet to those in default file (EMPLOYEE or CONTINGENT)
    ii) the DMR document has no listing of the possible sub categories
    So the question is - what do you map your source values to? The instructions are not clear! The only way I can think to find out for sure is to do an impact analysis of the ETL's / RPD / requests to find instances of hard coded values for the domain values.

  • Domain Value Mapping with Text file

    Hai,
    I have done the Domain value mapping with the xml file to xml file and it is working fine.
    But in the case of Text file to Text file it is not working i.e. If the citiname is the
    first field it is domain value mapping and working fine.
    INPUT:
    Erode, Mahes, 22
    Coimbatore, Veera, 22
    OUTPUT:
    ED, Mahes, 22
    CBE, Veera, 22
    But if I change the Citiname to the second column it is not working the problem is
    it is not working for subsequent columns.
    INPUT:
    Mahes, Erode, 22
    Veera, Coimbatore, 22
    OUTPUT:
    Mahes,, 22
    Veera,, 22
    The input Text files are delimited by "comma" and optionally enclosed by "space".
    Does anyone have attained the DVM in the Text file successfully.
    Please help me.

    Thank you for the reply Abhi
    Text to Text means instead of giving the input file as XML file i am giving the input as a simple .txt file and I also want the output in the .txt format.
    For the text file only it is not working fine in the xml file to xml file it is working fine.
    For your another query I am not providing the correct parameters for "lookup-dvm"
    I am giving the xsl file
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="TextInput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="TextOutput1.wsdl"/>
    <rootElement name="Root-Element" namespace="http://TargetNamespace.com/TextInput1"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [TUE JUL 15 15:31:55 IST 2008]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:imp1="http://TargetNamespace.com/TextInput1"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/TextInput1/"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/TextOutput1/"
    exclude-result-prefixes="xsl plt pc ns0 jca imp1 tns hdr ns1 bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:template match="/">
    <imp1:Root-Element>
    <xsl:for-each select="/imp1:Root-Element/imp1:Leaf-Element">
    <imp1:Leaf-Element>
    <imp1:C1>
    <xsl:value-of select="imp1:C1"/>
    </imp1:C1>
    <imp1:C2>
    <xsl:value-of select='orcl:lookup-dvm("Citinames","Long",imp1:C2,"Short","")'/>
    </imp1:C2>
    <imp1:C3>
    <xsl:value-of select="imp1:C3"/>
    </imp1:C3>
    </imp1:Leaf-Element>
    </xsl:for-each>
    </imp1:Root-Element>
    </xsl:template>
    </xsl:stylesheet>
    Here I am checking the DVM function for the Second column and it is not working and I have given their Inputs and Outputs in my first message .
    I have another question as you told both import and export of the DVM is always in the XML format only so I have a doubt whether the lookup-dvm will be working for xml files only and not for text files.
    But in my case in text file it is working for the first column but not in the subsequent columns.
    Thanks.

  • Change display value of "select list"

    Hi!
    I have a problem with a select list, I want to change the display value through an own pop up (page 5 of apex application) after I submit in it.
    The select list is based on a sql query:
    select A_NAME display_value, A_ID return_value
    from APPLICATIONS
    where a_application_type='GROUP'
    order by 1
    beside I have an link to open a pop up window:
    ... onClick="window.open ('f?p=&APP_ID.:5:&SESSION.::::', 'newWin',
    'scrollbars=no,status=no,width=500,height=270' ...
    On the pop up site there is a tree and a submit button which close the window and renew the original page:
    javascript:window.opener.location.reload();window.close();
    Through the tree I get the value (Group-ID) which I need.
    When I'm back on page 4 a "before header" renew page process links again on the side 4 and change the value of my select list. Afterwards the values have changed correctly but the display value is still the old one. It only change when i go on an other page of the apex application and come back.
    I don't know why it doesn't change immediately!?
    Thanks ahead

    I have done with a solution just in a nutshell of what u r looking for:
    1.create HTML region.
    Add two items : Select list with redirect(P6_X) and text field(P7_X)
    2. Select list is based on LOV query as :
    select empno d,empno r from emp ;
    Source value is Empno Type:DBcolumn.
    3.The text field Source type : SQL Query .
    Query : select ename from emp where empno = :P6_X
    Now select from the dropdown empno and it will populate the Ename value accordingly based on the query .
    U can have more than one text fields and populate those in the same way.....
    Cheers,
    ROSY

  • PO query not giving correct values

    Hi
    I am running the following query in PL?SQL Developer
    SELECT hou.name Operating_unit,
           pha.segment1 po_number,
           pha.revision_num,
           ap.vendor_name,
           hla1.location_code,
           papf.full_name Buyer,
           to_char(pha.creation_date, 'DD-MON-RRRR HH24:MI:SS') creation_date,
           pdta.type_name,
           assa.vendor_site_code,
           hla2.location_code,
           initcap(pha.authorization_status) po_status,
           pha.currency_code,
           pla.line_num,
           pltt.line_type,
           msib.segment1 item,
           (mcb.segment1 || '.' || mcb.segment1) category,
           msib.description,
           msib.primary_unit_of_measure UOM,
           pla.quantity,
           pla.unit_price,
           (pla.quantity * pla.unit_price) amount,
           (gcc.segment1 || '-' || gcc.segment2 || '-' || gcc.segment3 || '-' ||
           gcc.segment4 || '-' || gcc.segment5) charge_account,
           pla.list_price_per_unit,
           at.name,
           pha.freight_terms_lookup_code,
           pha.fob_lookup_code,
           initcap(pha.pay_on_code) pay_on_code,
           pha.acceptance_required_flag,
           ood.organization_code,
           ood.organization_name,
           msib.primary_unit_of_measure UOM,
           pla.quantity,
           plla.country_of_origin_code,
           (gcc.segment1 || '-' || gcc.segment2 || '-' || gcc.segment3 || '-' ||
           gcc.segment4 || '-' || gcc.segment5) charge_account,
           (pla.quantity * pla.unit_price) amount,
           plla.receive_close_tolerance,
           plla.invoice_close_tolerance,
           plla.quantity,
           plla.quantity_received,
           plla.quantity_cancelled,
           plla.quantity_billed,
           plla.match_option,
           plla.accrue_on_receipt_flag,
           plla.enforce_ship_to_location_code,
           plla.days_early_receipt_allowed,
           plla.days_late_receipt_allowed,
           plla.receipt_days_exception_code,
           plla.qty_rcv_tolerance,
           initcap(plla.qty_rcv_exception_code),
           plla.allow_substitute_receipts_flag,
           plla.receiving_routing_id,
           plla.enforce_ship_to_location_code,
           initcap(pda.destination_type_code),
           papf.full_name requestor,
           hla3.location_code,
           --pda.quantity_ordered,  -- commented because giving wrong value
           (select quantity_ordered
              from po_distributions_all
             where po_header_id IN (select po_header_id
                                      from po_headers_all
                                     where segment1 = pha.segment1)) quantity_ordered, -- Added
           (gcc.segment1 || '-' || gcc.segment2 || '-' || gcc.segment3 || '-' ||
           gcc.segment4 || '-' || gcc.segment5) po_charge_account,
           haou.name,
           prha.segment1,
           prla.line_num,
           to_char(prla.rate_date, 'DD-MON-RRRR') rate_date,
           (gcc.segment1 || '-' || gcc.segment2 || '-' || gcc.segment3 || '-' ||
           gcc.segment4 || '-' || gcc.segment5) po_charge_account,
           (SELECT acc.segment1 || '-' || acc.segment2 || '-' || acc.segment3 || '-' ||
                   acc.segment4 || '-' || acc.segment5
              FROM gl_code_combinations acc
             WHERE acc.code_combination_id = pda.accrual_account_id) accrual_account,
           (SELECT acc.segment1 || '-' || acc.segment2 || '-' || acc.segment3 || '-' ||
                   acc.segment4 || '-' || acc.segment5
              FROM gl_code_combinations acc
             WHERE acc.code_combination_id = pda.variance_account_id) variance_account,
           pla.line_num,
           plla.shipment_num,
           ood.organization_code,
           ood.organization_name,
           msib.segment1,
           msib.description,
           pla.quantity
      FROM hr_operating_units           hou,
           po_headers_all               pha,
           ap_suppliers                 ap,
           hr_locations_all             hla1,
           per_all_people_f             papf,
           po_document_types_all        pdta,
           po_document_types_all_b      pdtab,
           ap_supplier_sites_all        assa,
           hr_locations_all             hla2,
           po_lines_all                 pla,
           po_line_types_b              pltb,
           po_line_types_tl             pltt,
           mtl_system_items_b           msib,
           po_line_locations_all        plla,
           mtl_categories_b             mcb,
           po_distributions_all         pda,
           gl_code_combinations         gcc,
           ap_terms                     at,
           org_organization_definitions ood,
           hr_locations_all             hla3,
           po_requisition_headers_all   prha,
           po_req_distributions_all     prda,
           po_requisition_lines_all     prla,
           hr_all_organization_units_tl haou
    WHERE 1 = 1
       AND pha.segment1 = '6395'        --&po_number
       AND hou.organization_id = 204    --&operating_unit
       AND hou.organization_id = pha.org_id
       AND pha.vendor_id = ap.vendor_id
       AND hla1.location_id = pha.ship_to_location_id
       AND papf.person_id = pha.agent_id
       AND SYSDATE BETWEEN papf.effective_start_date AND papf.effective_end_date
       AND ((pdtab.document_type_code IN ('PO', 'PA') AND
           pdtab.document_subtype = pha.type_lookup_code))
       AND pdta.document_subtype = pdtab.document_subtype
       AND pdta.document_type_code = pdtab.document_type_code
       AND pdta.org_id = Pdtab.org_id
       AND pha.org_id = pdta.org_id
       AND ap.vendor_id = assa.vendor_id
       AND pha.org_id = assa.org_id
       AND pha.vendor_id = assa.vendor_id
       AND pha.vendor_site_id = assa.vendor_site_id
       AND pha.bill_to_location_id = hla2.ship_to_location_id
       AND pla.po_header_id = pha.po_header_id
       AND pltb.line_type_id = pla.line_type_id
       AND pla.line_type_id = pltt.line_type_id
       AND pltt.language = USERENV('LANG')
       AND msib.inventory_item_id = pla.item_id
       AND plla.po_line_id = pla.po_line_id
       AND msib.organization_id = plla.ship_to_organization_id
       AND mcb.category_id = pla.category_id
       AND pda.po_line_id = pla.po_line_id
       AND pda.po_header_id = pha.po_header_id
       AND pda.code_combination_id = gcc.code_combination_id
       AND at.term_id = pha.terms_id
       AND ood.organization_id = plla.ship_to_organization_id
       AND pda.deliver_to_person_id = papf.person_id
       AND hla3.location_id = pda.deliver_to_location_id
       AND haou.organization_id = prha.org_id
       AND haou.language = USERENV('LANG')
       AND prha.org_id = pha.org_id
       AND prha.requisition_header_id = prla.requisition_header_id
       AND pda.req_distribution_id = prda.distribution_id
       AND prda.requisition_line_id = prla.requisition_line_id
       AND haou.organization_id = hou.organization_id
       AND prla.org_id = pha.org_id
       AND prda.code_combination_id = gcc.code_combination_id    --added
       AND hla3.inventory_organization_id = msib.organization_id   --added
       AND pda.line_location_id = prla.line_location_id  --added
       AND plla.po_header_id = pha.po_header_id  --added
    I tested it for 10 POs. for 2 the query is giving right value. but for others it is giving wrong value.
    Mainly the PO Charge Account, accrual and variance account values are not matching. What changes I can make to get the correct data?
    I am using r12 version
    Thanks

    Hi Srini,
    Thanks for replying. I check and the application context is set.
    I think we might be missing certain conditions. Can you help me with that.

  • Error in Domain value mapping.

    Dear all,
    I was trying a simple file to file scenario using ESB with the Domain value mapping(DVM).
    I was trying to replace the incoming long state codes with the short keywords.
    I was using the DVM to configure the field to be changed in the XSL map.
    I have also configured tracking fields for Routing service and the Outbound adapter in the ESB Console.
    But after the instance the long names are not replaced with short keywords it come as blank in the place of names.
    In the ESB console the RS is tracking the fields and the outbound adapter not. I was using a simle text file which has two columns Andrew, Bangalore delimited by comma and optionally enclosed by space.
    Please help me.

    Thanks for the reply Chintan,
    Yes it is not working, I was doing the esb-customerdvm.pdf sample DVM as specified in the following link
    http://www.oracle.com/technology/products/integration/esb/files/esb-customerdvm.pdf
    My map also has three columns and I was the specifying Map name, Source column name as "Long" and the target column name as "Short" and the default value as "" in the lookup-dvm function in the XSL stylesheet.
    And I have also specified the trackable fields for the Routing service and the Outbound adapter in the ESB Console but after the instance only the RS shows the tracked data and the Outbound adapter doesnot and it shows Nodata.
    When I give the Input as the text file with columns Prasath, Chennai in the output file the Prasath is only coming what I expect is Chennai should be replaced by its short name CH but it is not coming like that.
    Here I also specify the coding of XSL Stylesheet map.
    <?xml version="1.0" encoding="UTF-8" ?>
    <?oracle-xsl-mapper
    <!-- SPECIFICATION OF MAP SOURCES AND TARGETS, DO NOT MODIFY. -->
    <mapSources>
    <source type="WSDL">
    <schema location="DVMapsInput.wsdl"/>
    <rootElement name="Leaf" namespace="http://TargetNamespace.com/DVMapsInput"/>
    </source>
    </mapSources>
    <mapTargets>
    <target type="WSDL">
    <schema location="DVMapsOutput.wsdl"/>
    <rootElement name="Leaf" namespace="http://TargetNamespace.com/DVMapsInput"/>
    </target>
    </mapTargets>
    <!-- GENERATED BY ORACLE XSL MAPPER 10.1.3.3.0(build 070615.0525) AT [FRI MAY 23 12:31:40 IST 2008]. -->
    ?>
    <xsl:stylesheet version="1.0"
    xmlns:bpws="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
    xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/"
    xmlns:pc="http://xmlns.oracle.com/pcbpel/"
    xmlns:ehdr="http://www.oracle.com/XSL/Transform/java/oracle.tip.esb.server.headers.ESBHeaderFunctions"
    xmlns:imp1="http://TargetNamespace.com/DVMapsInput"
    xmlns:ns0="http://www.w3.org/2001/XMLSchema"
    xmlns:jca="http://xmlns.oracle.com/pcbpel/wsdl/jca/"
    xmlns:ns1="http://xmlns.oracle.com/pcbpel/adapter/file/DVMapsInput/"
    xmlns:tns="http://xmlns.oracle.com/pcbpel/adapter/file/DVMapsOutput/"
    xmlns:hwf="http://xmlns.oracle.com/bpel/workflow/xpath"
    xmlns:xp20="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.Xpath20"
    xmlns:xref="http://www.oracle.com/XSL/Transform/java/oracle.tip.xref.xpath.XRefXPathFunctions"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    xmlns:ora="http://schemas.oracle.com/xpath/extension"
    xmlns:ids="http://xmlns.oracle.com/bpel/services/IdentityService/xpath"
    xmlns:orcl="http://www.oracle.com/XSL/Transform/java/oracle.tip.pc.services.functions.ExtFunc"
    xmlns:hdr="http://xmlns.oracle.com/pcbpel/adapter/file/"
    exclude-result-prefixes="xsl plt pc imp1 ns0 jca ns1 hdr tns bpws ehdr hwf xp20 xref ora ids orcl">
    <xsl:template match="/">
    <imp1:Leaf>
    <imp1:C1>
    <xsl:value-of select="/imp1:Leaf/imp1:C1"/>
    </imp1:C1>
    <imp1:C2>
    <xsl:value-of select='orcl:lookup-dvm("Citycode","Long",/imp1:Leaf/imp1:C2,"Short","")'/>
    </imp1:C2>
    </imp1:Leaf>
    </xsl:template>
    </xsl:stylesheet>
    Please help on this.
    Thanks.

  • How to change varient values dynamically in APD

    Hi Friends,
    I have created an APD ,to this APD i am feeding 4 query out puts.For this 4 querys i am using the varients, i wante to change the varient values i.e date field/date ranges fields dynamically.pl.let me know if any b'dy worked such scnarios.
    Thanks in advance.
    Sirisha.

    sk_java wrote:
    Hi,
    I need to know how we can change the values of annotation dynamically.Annotations in source code must be compile-time constants. The annotation objects returned by the runtime are immutable.
    That said, there are a few ways to get the effect of changing annotation values. First, you can use the redefine classes API and then getting a new annotation object will have the updated values. Also, an annotation type is just a specialized kind of interface and that interface can be implemented by your own classes too.

  • PORTAL DOESN'T WORK (error:WWC-41439) after CHANGED DOMAIN NAME OF MACHINE.

    machine transferred to other location and domain name got changed.I did following
    1)changed the old domain to new domain name in jserv.properties file and also in the httpd.conf file.
    2)I figured out that intable PORTAL30_SSO.WWSEC_ENABLER_CONFIG_INFO$,the value of column LSNR_TOKEN is= "old doamin "
    and LS_LOGIN_URL is =
    http://old.domain:7777/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    PLease let me know how I can change old domain values with new doamin in this table.I want to be sure that this change will not affect the old portal application.
    PLease try to help resolve the issue ASAP.
    Thanks

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by shahid mateen ([email protected]):
    machine transferred to other location and domain name got changed.I did following
    1)changed the old domain to new domain name in jserv.properties file and also in the httpd.conf file.
    2)I figured out that intable PORTAL30_SSO.WWSEC_ENABLER_CONFIG_INFO$,the value of column LSNR_TOKEN is= "old doamin "
    and LS_LOGIN_URL is =
    http://old.domain:7777/pls/portal30_sso/portal30_sso.wwsso_app_admin.ls_login
    PLease let me know how I can change old domain values with new doamin in this table.I want to be sure that this change will not affect the old portal application.
    PLease try to help resolve the issue ASAP.
    Thanks<HR></BLOCKQUOTE>
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>my concern is I have a portal application which was pointing to old domain and I don't want to lose this application(content area,page,style etc).If I run the ssodatan ,then it will change the content in the table wsec_enabler_config_info$.Please let me know if still it would point to old portal application.<HR></BLOCKQUOTE>

Maybe you are looking for

  • How to connect my 60gb IPOD and my Mac Mini

    I have my trusty 60GB ipod (no video), with the older wide connector and the funny USB or whatever it is symbol looks like a "Y". Nice grammer huh. ANyway the cable I have doesn't plug in to my mac mini or MBP. What cable do I use to hook 'er up to I

  • IPhone 3.0 connectivity for Nokia BH-503

    I can pair my BH-503 Bluetooth headset with the new iPhone 3.0 OS and I can have a wireless conversation during phone conversations. I CAN'T, however, get my songs and other audio to stream to the BH-503.  Apparently the new iPhone 3.0 OS spports A2D

  • My PowerBook G4 runs hot after installing iTunes 7.1

    Only Safari and iTunes open. The iStat Pro shows the CPU bottom and top around 55 degree Celcius (but the temp haven't changed since then...crash between 7.1 and iStat? but I can feel my PB runs hot) Anybody got the same problem?

  • Title in CMR

    Hi Friends, In CMR, general data, title field has the selection options like company, Mrs. etc........If we want to creat our own text, where do we do it. are there any configuration steps? Thanx and Regards Samatha

  • Lock Client-Side TCP-Extends

    Hi, I am running 2 processes on the same server both connecting to one cluster node. I need to ensure only one process performs a write operation @ a certain time (i.e. the first one to attain the lock). I am finding that both the processes are getti