Using XMLTABLE to extract data to use in pl/sql code

I have an XML message, from which I need to extract the highlighed data and use those values to UPDATE some oracle tables.  I am new to the XMLTABLE function and am having difficulty doing that.  I would really appreciate some help.  The first 2 values I need are CaseTrackingID and CaseDocketId.  I have made those BOLD.
<GetCaseResponse xmlns="urn:oasis:names:tc:legalxml-courtfiling:wsdl:WebServiceMessagingProfile-Definitions-4.0">
<GetCaseResponse>
<CaseResponseMessage xsi:schemaLocation="urn:oasis:names:tc:legalxml-courtfiling:schema:xsd:CaseResponseMessage-4.0 C:\ecf-v4.01-spec-csd01_files\xsd\message\ECF-4.0-CaseResponseMessage.xsd"
xmlns="urn:oasis:names:tc:legalxml-courtfiling:schema:xsd:CaseResponseMessage-4.0"
xmlns:j="http://niem.gov/niem/domains/jxdm/4.0"
xmlns:ecf="urn:oasis:names:tc:legalxml-courtfiling:schema:xsd:CommonTypes-4.0"
xmlns:nc="http://niem.gov/niem/niem-core/2.0"
xmlns:s="http://niem.gov/niem/structures/2.0">
<ecf:SendingMDELocationID>
<nc:IdentificationID/>
</ecf:SendingMDELocationID>
<ecf:SendingMDEProfileCode/>
<j:CaseCourt/>
<ecf:Error>
<ecf:ErrorCode>0</ecf:ErrorCode>
<ecf:ErrorText>No error</ecf:ErrorText>
</ecf:Error>
<court:CourtCase xmlns:court="urn:tyler:ecf:extensions:CourtCase">
<nc:CaseTitleText></nc:CaseTitleText>
<nc:CaseCategoryText>7</nc:CaseCategoryText>
<nc:CaseTrackingID>4812</nc:CaseTrackingID>
<nc:CaseDocketID>2013-001119</nc:CaseDocketID>
<court:CaseTypeText>1764</court:CaseTypeText>
<court:CaseOtherDocketID/>
<j:CaseAugmentation>
<j:CaseCourt>
<nc:OrganizationIdentification>
<nc:IdentificationID>hcdistrictclerk.com</nc:IdentificationID>
</nc:OrganizationIdentification>
<j:CourtName/>
</j:CaseCourt>
<j:CaseLineageCase>
<nc:CaseTrackingID>2889663e-217e-4a99-a8b4-0058f88b4dec</nc:CaseTrackingID>
</j:CaseLineageCase>
</j:CaseAugmentation>
<ecf:CaseAugmentation>
<ecf:CaseOtherEntityAttorney>
<nc:RoleOfPersonReference s:ref="Attorney2"/>
<j:JudicialOfficialBarMembership>
<j:JudicialOfficialBarIdentification>
<nc:IdentificationID>123456</nc:IdentificationID>
<j:IdentificationJurisdictionNCICLISCode>TX</j:IdentificationJurisdictionNCICLISCode>
</j:JudicialOfficialBarIdentification>
</j:JudicialOfficialBarMembership>
<ecf:CaseRepresentedPartyReference s:ref="Party2"/>
</ecf:CaseOtherEntityAttorney>
<ecf:CaseOtherEntityAttorney>
<nc:RoleOfPersonReference s:ref="Attorney1"/>
<j:JudicialOfficialBarMembership>
<j:JudicialOfficialBarIdentification>
<nc:IdentificationID>123456</nc:IdentificationID>
<j:IdentificationJurisdictionNCICLISCode>TX</j:IdentificationJurisdictionNCICLISCode>
</j:JudicialOfficialBarIdentification>
</j:JudicialOfficialBarMembership>
<ecf:CaseRepresentedPartyReference s:ref="Party1"/>
</ecf:CaseOtherEntityAttorney>
<ecf:CaseParticipant>
<ecf:EntityPerson s:id="Attorney1">
<nc:PersonName>
<nc:PersonGivenName>Joe</nc:PersonGivenName>
<nc:PersonMiddleName></nc:PersonMiddleName>
<nc:PersonSurName>Singleton</nc:PersonSurName>
</nc:PersonName>
<nc:PersonOtherIdentification>
<nc:IdentificationID>5d12a9cc-1533-4eac-b2c6-3d64a42baa0e</nc:IdentificationID>
<nc:IdentificationCategoryText>CASEPARTYATTORNEYID</nc:IdentificationCategoryText>
</nc:PersonOtherIdentification>
<ecf:PersonAugmentation>
<nc:ContactInformation>
<nc:ContactTelephoneNumber>
<nc:FullTelephoneNumber>
<nc:TelephoneNumberFullID>210-403-8600</nc:TelephoneNumberFullID>
</nc:FullTelephoneNumber>
</nc:ContactTelephoneNumber>
<nc:ContactEmailID/>
<nc:ContactMailingAddress>
<nc:StructuredAddress>
<nc:LocationStreet>
<nc:StreetFullText>911 Central PKWY N, Ste 110</nc:StreetFullText>
</nc:LocationStreet>
<nc:AddressSecondaryUnitText></nc:AddressSecondaryUnitText>
<nc:LocationCityName>San Antonio</nc:LocationCityName>
<nc:LocationStateName>TX</nc:LocationStateName>
<nc:LocationCountryFIPS10-4Code>US</nc:LocationCountryFIPS10-4Code>
<nc:LocationPostalCode>78232</nc:LocationPostalCode>
</nc:StructuredAddress>
</nc:ContactMailingAddress>
</nc:ContactInformation>
</ecf:PersonAugmentation>
</ecf:EntityPerson>
<ecf:CaseParticipantRoleCode>ATTY</ecf:CaseParticipantRoleCode>
</ecf:CaseParticipant>
<ecf:CaseParticipant>
<ecf:EntityOrganization s:id="Party1">
<nc:OrganizationName>Harris County</nc:OrganizationName>
<nc:OrganizationIdentification>
<nc:IdentificationID>a174d1a1-0ce2-4a6a-984e-998b890d3e6f</nc:IdentificationID>
<nc:IdentificationCategoryText>CASEPARTYID</nc:IdentificationCategoryText>
</nc:OrganizationIdentification>
<ecf:OrganizationAugmentation>
<nc:ContactInformation>
<nc:ContactTelephoneNumber>
<nc:FullTelephoneNumber>
<nc:TelephoneNumberFullID>7138443400</nc:TelephoneNumberFullID>
</nc:FullTelephoneNumber>
</nc:ContactTelephoneNumber>
<nc:ContactEmailID/>
<nc:ContactMailingAddress>
<nc:StructuredAddress>
<nc:LocationStreet>
<nc:StreetFullText>P O BOX 3064</nc:StreetFullText>
</nc:LocationStreet>
<nc:AddressSecondaryUnitText></nc:AddressSecondaryUnitText>
<nc:LocationCityName>Houston</nc:LocationCityName>
<nc:LocationStateName>TX</nc:LocationStateName>
<nc:LocationCountryFIPS10-4Code>US</nc:LocationCountryFIPS10-4Code>
<nc:LocationPostalCode>772533064</nc:LocationPostalCode>
</nc:StructuredAddress>
</nc:ContactMailingAddress>
</nc:ContactInformation>
</ecf:OrganizationAugmentation>
</ecf:EntityOrganization>
<ecf:CaseParticipantRoleCode>1690</ecf:CaseParticipantRoleCode>
</ecf:CaseParticipant>
<ecf:CaseParticipant>
<ecf:EntityPerson s:id="Attorney2">
<nc:PersonName>
<nc:PersonGivenName>Joe</nc:PersonGivenName>
<nc:PersonMiddleName></nc:PersonMiddleName>
<nc:PersonSurName>Singleton</nc:PersonSurName>
</nc:PersonName>
<nc:PersonOtherIdentification>
<nc:IdentificationID>76ff5e18-9c9a-4957-af4f-64ffa5217cd1</nc:IdentificationID>
<nc:IdentificationCategoryText>CASEPARTYATTORNEYID</nc:IdentificationCategoryText>
</nc:PersonOtherIdentification>
<ecf:PersonAugmentation>
<nc:ContactInformation>
<nc:ContactTelephoneNumber>
<nc:FullTelephoneNumber>
<nc:TelephoneNumberFullID>210-403-8600</nc:TelephoneNumberFullID>
</nc:FullTelephoneNumber>
</nc:ContactTelephoneNumber>
<nc:ContactEmailID/>
<nc:ContactMailingAddress>
<nc:StructuredAddress>
<nc:LocationStreet>
<nc:StreetFullText>911 Central PKWY N, Ste 110</nc:StreetFullText>
</nc:LocationStreet>
<nc:AddressSecondaryUnitText></nc:AddressSecondaryUnitText>
<nc:LocationCityName>San Antonio</nc:LocationCityName>
<nc:LocationStateName>TX</nc:LocationStateName>
<nc:LocationCountryFIPS10-4Code>US</nc:LocationCountryFIPS10-4Code>
<nc:LocationPostalCode>78232</nc:LocationPostalCode>
</nc:StructuredAddress>
</nc:ContactMailingAddress>
</nc:ContactInformation>
</ecf:PersonAugmentation>
</ecf:EntityPerson>
<ecf:CaseParticipantRoleCode>ATTY</ecf:CaseParticipantRoleCode>
</ecf:CaseParticipant>
<ecf:CaseParticipant>
<ecf:EntityOrganization s:id="Party2">
<nc:OrganizationName>City of South Houston</nc:OrganizationName>
<nc:OrganizationIdentification>
<nc:IdentificationID>0b04f15a-226d-417f-92e7-8d9088577121</nc:IdentificationID>
<nc:IdentificationCategoryText>CASEPARTYID</nc:IdentificationCategoryText>
</nc:OrganizationIdentification>
<ecf:OrganizationAugmentation>
<nc:ContactInformation>
<nc:ContactTelephoneNumber>
<nc:FullTelephoneNumber>
<nc:TelephoneNumberFullID>7138443400</nc:TelephoneNumberFullID>
</nc:FullTelephoneNumber>
</nc:ContactTelephoneNumber>
<nc:ContactEmailID/>
<nc:ContactMailingAddress>
<nc:StructuredAddress>
<nc:LocationStreet>
<nc:StreetFullText>P O BOX 3064</nc:StreetFullText>
</nc:LocationStreet>
<nc:AddressSecondaryUnitText></nc:AddressSecondaryUnitText>
<nc:LocationCityName>Houston</nc:LocationCityName>
<nc:LocationStateName>TX</nc:LocationStateName>
<nc:LocationCountryFIPS10-4Code>US</nc:LocationCountryFIPS10-4Code>
<nc:LocationPostalCode>772533064</nc:LocationPostalCode>
</nc:StructuredAddress>
</nc:ContactMailingAddress>
</nc:ContactInformation>
</ecf:OrganizationAugmentation>
</ecf:EntityOrganization>
<ecf:CaseParticipantRoleCode>1690</ecf:CaseParticipantRoleCode>
</ecf:CaseParticipant>
<ecf:CaseParticipant>
<ecf:EntityPerson s:id="Party3">
<nc:PersonBirthDate>
<nc:Date xsi:nil="true"/>
</nc:PersonBirthDate>
<nc:PersonName>
<nc:PersonGivenName>Joseph</nc:PersonGivenName>
<nc:PersonMiddleName>K.</nc:PersonMiddleName>
<nc:PersonSurName>Singleton</nc:PersonSurName>
<nc:PersonNameSuffixText></nc:PersonNameSuffixText>
</nc:PersonName>
<nc:PersonOtherIdentification>
<nc:IdentificationID>c86a92ef-35a4-449f-a729-1bc0c1f769f6</nc:IdentificationID>
<nc:IdentificationCategoryText>CASEPARTYID</nc:IdentificationCategoryText>
</nc:PersonOtherIdentification>
<nc:PersonRaceText/>
<nc:PersonSexCode xsi:nil="true"/>
<ecf:PersonAugmentation>
<nc:ContactInformation>
<nc:ContactTelephoneNumber>
<nc:FullTelephoneNumber>
<nc:TelephoneNumberFullID>7138443400</nc:TelephoneNumberFullID>
</nc:FullTelephoneNumber>
</nc:ContactTelephoneNumber>
<nc:ContactEmailID/>
<nc:ContactMailingAddress>
<nc:StructuredAddress>
<nc:LocationStreet>
<nc:StreetFullText>P O BOX 3064</nc:StreetFullText>
</nc:LocationStreet>
<nc:AddressSecondaryUnitText></nc:AddressSecondaryUnitText>
<nc:LocationCityName>Houston</nc:LocationCityName>
<nc:LocationStateName>TX</nc:LocationStateName>
<nc:LocationCountryFIPS10-4Code>US</nc:LocationCountryFIPS10-4Code>
<nc:LocationPostalCode>772533064</nc:LocationPostalCode>
</nc:StructuredAddress>
</nc:ContactMailingAddress>
</nc:ContactInformation>
</ecf:PersonAugmentation>
</ecf:EntityPerson>
<ecf:CaseParticipantRoleCode>1679</ecf:CaseParticipantRoleCode>
</ecf:CaseParticipant>
<ecf:CaseParticipant>
<ecf:EntityPerson s:id="Party4">
<nc:PersonBirthDate>
<nc:Date xsi:nil="true"/>
</nc:PersonBirthDate>
<nc:PersonName>
<nc:PersonGivenName>Raul</nc:PersonGivenName>
<nc:PersonMiddleName></nc:PersonMiddleName>
<nc:PersonSurName>Garza</nc:PersonSurName>
<nc:PersonNameSuffixText></nc:PersonNameSuffixText>
</nc:PersonName>
<nc:PersonOtherIdentification>
<nc:IdentificationID>15440071-302d-44f1-82e4-3fc930532049</nc:IdentificationID>
<nc:IdentificationCategoryText>CASEPARTYID</nc:IdentificationCategoryText>
</nc:PersonOtherIdentification>
<nc:PersonRaceText/>
<nc:PersonSexCode xsi:nil="true"/>
<ecf:PersonAugmentation>
<nc:ContactInformation>
<nc:ContactTelephoneNumber>
<nc:FullTelephoneNumber>
<nc:TelephoneNumberFullID></nc:TelephoneNumberFullID>
</nc:FullTelephoneNumber>
</nc:ContactTelephoneNumber>
<nc:ContactEmailID/>
<nc:ContactMailingAddress>
<nc:StructuredAddress>
<nc:LocationStreet>
<nc:StreetFullText>222 South Fork</nc:StreetFullText>
</nc:LocationStreet>
<nc:AddressSecondaryUnitText></nc:AddressSecondaryUnitText>
<nc:LocationCityName>Houston</nc:LocationCityName>
<nc:LocationStateName>TX</nc:LocationStateName>
<nc:LocationCountryFIPS10-4Code>US</nc:LocationCountryFIPS10-4Code>
<nc:LocationPostalCode>77148</nc:LocationPostalCode>
</nc:StructuredAddress>
</nc:ContactMailingAddress>
</nc:ContactInformation>
</ecf:PersonAugmentation>
</ecf:EntityPerson>
<ecf:CaseParticipantRoleCode>1666</ecf:CaseParticipantRoleCode>
</ecf:CaseParticipant>
<ecf:CaseParticipant>
<ecf:EntityPerson s:id="Party5">
<nc:PersonBirthDate>
<nc:Date xsi:nil="true"/>
</nc:PersonBirthDate>
<nc:PersonName>
<nc:PersonGivenName>Sandra</nc:PersonGivenName>
<nc:PersonMiddleName>A.</nc:PersonMiddleName>
<nc:PersonSurName>Garza</nc:PersonSurName>
<nc:PersonNameSuffixText></nc:PersonNameSuffixText>
</nc:PersonName>
<nc:PersonOtherIdentification>
<nc:IdentificationID>c346477d-90eb-4323-b082-7cc8edc6d143</nc:IdentificationID>
<nc:IdentificationCategoryText>CASEPARTYID</nc:IdentificationCategoryText>
</nc:PersonOtherIdentification>
<nc:PersonRaceText/>
<nc:PersonSexCode xsi:nil="true"/>
<ecf:PersonAugmentation>
<nc:ContactInformation>
<nc:ContactTelephoneNumber>
<nc:FullTelephoneNumber>
<nc:TelephoneNumberFullID></nc:TelephoneNumberFullID>
</nc:FullTelephoneNumber>
</nc:ContactTelephoneNumber>
<nc:ContactEmailID/>
<nc:ContactMailingAddress>
<nc:StructuredAddress>
<nc:LocationStreet>
<nc:StreetFullText>L J Garage</nc:StreetFullText>
</nc:LocationStreet>
<nc:AddressSecondaryUnitText>902 Arkansas St</nc:AddressSecondaryUnitText>
<nc:LocationCityName>South Houston</nc:LocationCityName>
<nc:LocationStateName>TX</nc:LocationStateName>
<nc:LocationCountryFIPS10-4Code>US</nc:LocationCountryFIPS10-4Code>
<nc:LocationPostalCode>775874916</nc:LocationPostalCode>
</nc:StructuredAddress>
</nc:ContactMailingAddress>
</nc:ContactInformation>
</ecf:PersonAugmentation>
</ecf:EntityPerson>
<ecf:CaseParticipantRoleCode>1666</ecf:CaseParticipantRoleCode>
</ecf:CaseParticipant>
</ecf:CaseAugmentation>
</court:CourtCase>
</CaseResponseMessage>
</GetCaseResponse>
</GetCaseResponse>

Hi,
I have some characters like below in oracle production database.
COMPAÑÍA
AGUARAGÜE
I am taking the data from prod and loading the same in staging as it is.
We use some EAI tools and generate the flat files and load those files into another oracle database. We get failed for those records which has special charaters like above.
Both are oracle databases and one supports these characters and other doesnt't.
Do we need to make any configuration changes at the database level?
If any one worked on this scenario, pls help me out.
Thanks,
Vijay

Similar Messages

  • How to extract data by using function module in generic extraction please

    how to extract data by using function module in generic extraction please  give me steps  required

    Dear Deba,
    Generic Extraction via Function Module
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    If the requirement is like extracting data from multiple tables with some complex logic then views cannot be used..so u cna go for FM is used where it can be achieved.
    Chk these
    /people/siegfried.szameitat/blog/2005/09/29/generic-extraction-via-function-module
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/a0f46157-e1c4-2910-27aa-e3f4a9c8df33
    check the following thread
    generic extraction with function module
    Generic Extraction with function module
    Regards,
    Ram.

  • Use ODI to Extract Data from Hyperion Planning & Budgeting report to Excel

    Hello
    Can someone tell me please how to Extract Data from (Financial Reporting in) Hyperion Planning & Budgeting into Excel Using ODI?
    Would the steps be the same as Creating an ODI Project and Interface: Exporting a Flat File to a Flat File? If not, why?
    Best Regards.
    Edited by: Saturday on May 26, 2012 9:55 PM

    Where do you think the financial reports get their data from? Financial Reports pull data from data sources such as Essbase, HFM.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • Error using XML_ETL_UTILS to extract data.

    I'm using XML_ETL_UTILS in order to extract data to a file.
    I followed exactly the demonstration steps but my mapping doesn't compile.
    The problem seems to be related to a naming convention.
    The generated code contains a reference to a table alias which is not defined by the Expert.
    The wrong code I get is
    <CODE>
    SELECT 1 INTO owb_temp_variable1
    FROM
    (SELECT
    "DUMP_XML"."COLUMN_VALUE" COLUMN_VALUE
    FROM
    TABLE ( SAVE_XML_TO_FILE (
    CURSOR (
    SELECT
    XMLElement("ED_FRO_BOLLE_H",
    XMLAttributes(
    T0.NOTE_H as "NOTE_H",
    T0.DATA_SPEDIZIONE as "DATA_SPEDIZIONE",
    T0.DATA_BOLLA as "DATA_BOLLA",
    T0.PUNTO_CONSEGNA as "PUNTO_CONSEGNA",
    T0.CLIENTE as "CLIENTE",
    T0.NUMERO_BOLLA as "NUMERO_BOLLA",
    T0.SOCIETA as "SOCIETA",
    T0.UNICO_ID as "UNICO_ID" ) ,
    (select XMLAgg(XMLElement("ED_FRO_BOLLE_D",
    XMLAttributes(
    T1.UNICO_ID as "UNICO_ID",
    T1.NOTE_D as "NOTE_D",
    T1.UNITA_MISURA as "UNITA_MISURA",
    T1.QUANTITA as "QUANTITA",
    T1.ARTICOLO as "ARTICOLO",
    T1.NUMERO_ORDINE as "NUMERO_ORDINE",
    T1.RIGA as "RIGA",
    T1.NUMERO_BOLLA as "NUMERO_BOLLA",
    T1.SOCIETA as "SOCIETA",
    T1.BOLLE_ID as "BOLLE_ID" ) ) ) FROM ED_FRO_BOLLE_D T1 WHERE T1.BOLLE_ID = T0.UNICO_ID)
    )/* CREATE_XML.OUTGRP1.XML */ "XML",
    "M_FI_BOLLE"."FILE_NAME" "FILE_NAME$1",
    "M_FI_BOLLE"."DIRECTORY" "DIRECTORY$1"
    FROM
    "ED_FRO_BOLLE_H" "ED_FRO_BOLLE_H"
    ))) "DUMP_XML"
    </CODE>
    does anyone know how I can eliminate that error ?
    Does anyone ever run in that problem ?
    Tks
    Tullio

    Hi Tullio
    es you will have to regenerate the pluggable mappings (rerun the expert). and you can either rebuild your map or synchronize the pluggable mapping operator in the map.
    The error crept in when I introduced the 'create root node' option in the expert, this path worked, just the original did not ..sorry:) The fix should resolve your problem and I will get a full update uploaded.
    Thanks
    David

  • SSIS 2014 - Best way to use parameters to extract data from sources

    Hi,
    Is there any way besides SQL COMMAND FROM VARIABLE that I could use to extract data from Oracle \ SQL Server tables that filters the amount of data?
    For instance, I want to extract in all sources data beyond 2007 so I wanted to use this year as a parameter in all OLEDB sources I will be using.
    Thank you

    Hi Pedro,
    Based on my research, the Microsoft OLE DB provider for Oracle and Oracle Provider for OLEDB does not allow parameterized queries in OLE DB Source. So the best method to achieve your requirement is still using SQL COMMAND FROM VARIABLE option as Data access
    mode.
    Considering construct your query in a variable which you can include your parameter dynamically with another variable and set the variable properties "EvaluateAsExpression" to true. In the Expression Property set the value to:
     "select * from test
    where Col1='" + (DT_WSTR,100) @[User::para]  +"'"
    The following two similar threads are for your references:
    https://social.msdn.microsoft.com/Forums/sqlserver/en-US/97f23ef5-35ac-466e-87d9-69edac2525f9/ssis-oledb-source-problem
    https://social.msdn.microsoft.com/forums/sqlserver/en-US/32a70752-adab-4180-8b6d-f6100b3e356c/pass-variable-for-ole-db-source-with-connection-to-oracle
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • Extract date from string in T-SQL

    Hi,
    I am having one field(AT_TEXT) in my database that has below kind of values. I want to extract date from this string but the issue is all rows has different format.
    1)One Month Lttr sent on 3/12/2009 due to
    2)One Month Letter sent on 1/15/2009 due to
    3)One Month letter sent on7/15/2011.The amount due             - This has no space between on and 7 and . after yr
    4)One Month letter sent on 7/16/12 due to        - This has 12 instead of 2012(2 positions after 2nd slash/)
    Can anyone please help me to write query to extract date from this string?
    Vicky

    Hi Jingyang
    Li,
    I checked your query and it looks good but I have one issue. So when we reverse it, it looks like below and it is talking that $57.80 as a 1st numeric value and try to convert it into date and giving me error.
    I realize from your query that you are trying to reverse the value and then try to find out 1st Numeric value from that string, but my whole string has another numeric value at the end, like 
    "One Month Letter on 1/15/2009 due to non-pmt of prems-amt to avoid DE is $57.80"
    So when we reverse it, it looks like below and it is taking that $57.80 as a 1st numeric value and try to convert it into date and giving me error.         
    "08.75$ si ED diova ot eud tma - smerp fo tmp-non ot eud 9002/51/1 no retteL htnoM enO"
    Also sometimes I have $ amount at the end and sometimes I don't have any $ amount at the end, like below,
    "One Month letter sent on 10/15/2012 due to non-payment of premiums. The amount due to avoid dise"
    Can you please modify your query which takes only date part not the $ amount and give me?
    Thank you so much for your help 
    Vicky

  • Tables used in MM Master Data Upload using LSMW or BDC?

    Hi,
    Can anyone provide me with the following information about uploading MM Master Data using LSMW or BDC :-
    1. What and all tables are used for uploading Material Master, Vendor Master, Info Record, Open PO, Open PR, RFQ, Open Contracts/Agreements ?
    2. What problems are faced during Data Upload ?
    3. What error appears/encouontered during upload ?
    4. What is the diffrence b/w LSMW and BDC ? Both can be used for Data upload so, what differences are b/w them ?
    5. Any other thing to remember/know during Data Upload ?
    Thanks,
    Lucky

    Hi Lucky,
    Dont get angry by seeing my response.
    See each and every question posted by u is available , in this forum,
    u need to do just a search on individual post.
    see what ever ur posted, u r definetly got the solutions through others,
    remember most of these answers are fetching by this threads itself (60-70%)
    a few solutions are there that are given by own,
    so better to search first, in the forum , if not satisfied with the solutions then .........
    Just its an friendly talk
    and Reward points for helpful answers
    Thanks
    Naveen khan

  • Extract date from text string - Transact-SQL

    Hello,
    I have a field in my database with an archived date... (Giampaoli  Live Oak, Almonds Archive 09/16/10)
    I need to be able to extract the date from this, then perform a datepart function on it... How do I extract the date into it's own value using just SQL?
    Thanks,
    Wes

    Thanks Guys,
    This helped me:
    select
    ID,
    NAME,
    datepart(month, CONVERT(date, SUBSTRING(YOUR_COLUMN_NAME, patindex('%[0-9][0-9]/[0-9][0-9]/[0-9][0-9]%', YOUR_COLUMN_NAME), 50))) AS MONTHARCHIVED,
    datepart(YEAR, CONVERT(date, SUBSTRING(YOUR_COLUMN_NAME, patindex('%[0-9][0-9]/[0-9][0-9]/[0-9][0-9]%', YOUR_COLUMN_NAME), 50))) AS YEAR_ARCHIVED
    FROM
    TABLEABC
    Thanks Shiven:) If Answer is Helpful, Please Vote

  • When I use SSIS for extract from OLAP Database, then the error random occurred,Error Code = 0x80040E05

     I have tired for this!
    When I use SSIS for extract data from ssas, that means,I use mdx query.
    then random error occured.
    Hope some one can understand my poor English....
    And the Error Info show below.
    Code Snippet
    Error: 0xC0202009 at Data Flow Task - For Individual User Tech Points, OLE DB Source 1 1 [31]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E05.
    An OLE DB record is available.  Source: "Microsoft OLE DB Provider for Analysis Services 2005"  Hresult: 0x00000001  Description: "Error Code = 0x80040E05, External Code = 0x00000000:.".
    Error: 0xC004701A at Data Flow Task - For Individual User Tech Points, DTS.Pipeline: component "OLE DB Source 1 1" (31) failed the pre-execute phase and returned error code 0xC0202009.

    I have had the same error on SQL2008 and now on SQL2012 SSIS, but have been able to eliminate / workaround.
    We have a Loop Container in our Control flow that contains a data-flow task with an MDX source. The MDX query for the data-flow source is dynamically built (via an expression) on each iteration of the Loop container (however it always returns the "same shaped"
    results - only the filters in the WHERE clause are different).
    We've found the error to be somewhat intermittent - sometimes the package will complete successfully, other times it will fail with the 0x80040E05 error at varying iterations thru the container loop.
    To alleviate the problem we setup the SQL Agent job-step for this package to re-try on failure for up to 5 retries - not an ideal workaround, but it helped to improve the success rate of the Job.
    We have no idea why this error is occurring or what is causing it, however it appears to be timing-related in some way and I have only seen the issue when using a SSAS OLE-DB data source with a dynamically generated MDX query. I have managed to virtually
    eliminate the error from occurring with a not ideal workaround in the SSIS package - no idea why this works/helps (hopefully Microsoft will be able to work it out and resolve the issue as it's been plaguing us since SQL2008 and is still here in SQL2012
    SP1...
    Workaround for MDX causing 0x80040E05 error:
    Within our loop container we have added a Script task with OnSuccess precedent constraint to the data-flow task that contains the dynamically generated MDX source query. The script task simply introduces a WAIT in the processing immediately after the
    data-flow task completes of about 5 seconds, before allowing SSIS to continue with the next iteration (e.g. System.Threading.Thread.Sleep(5000)).
    With this delay in place we have had much more stable SSIS package executions - dont know why, but that's what we havce observed. Also note that when we migrated to SQL2012 SSIS packages the 0x80040E05 error returned, however we were able to eliminate it
    once more by increasing the WAIT time to 10 seconds on this script task.
    Now waiting for 10 seconds is not an ideal solution / workaround to this problem - particularly when it is contained within a Loop Container (in our case it has added nearly 30 minutes of "WAIT time" to the package execution duration), however this workaround
    is better than having the package fail 80%+ of the time...
    regards,
    Piquet

  • Turn off phone capability of iPhone and continue using cps and cellular data?

    Can I turn off phone capability of any iPhone and continue using cps and cellular data, practically using the device as iPad? Is this going to be possible with iOS8 or iPhone 6 Plus?

    This could be what you are looking for:
    Using an iPhone without a wireless service plan

  • Error trying to extract data via HFM objects

    I've written a program to extract selected data from HFM (version 11.1.1.3.500) using the API objects. The program (shown at the bottom of this post) is failing on the 2nd of the following 2 lines:
    oOption = oOptions.Item(HSV_DATAEXTRACT_OPT_SCENARIO_SUBSET)
    oOption.CurrentValue = lBudgetScenario
    where oOption is a data load/extract object previously initialized and lBudgetScenario is the long internal ID for our budget scenario.
    The error is usually "COM Exception was unhandled" with a result code of "0x800456c7", but, mysteriously, even with no code changes, it sometimes throws the error "FileNotFoundException was not handled", where it says that it could not load "interop.HSXServerlib or one of its dependencies". The second error occurs even though HSXServer was previously initialized in the program and used in conjunction with the login.
    I've carefully traced through the VB.NET 2010 code and find that all relevant objects are instantiated and variables correctly assigned. It also occurred to me that the data load DLLs might have been updated when the 11.1.1.3.50 and 500 patches were applied. For that reason, I removed the references to those DLLs, deleted the interop files in the debug and release folders and copied the server versions of those DLLs to my PC. I then restored the DLL references in Visual Studio which recreated the interops. However, the error still occurs.
    The ID I'm using (changed to generic names in the code below) has appropriate security and, for example, can be used to manually extract data for the same POV via the HFM client.
    I've removed irrelevant lines from the code and substituted a phony ID, password, server name and application name. The line with the error is preceded by the comment "THE LINE BELOW IS THE ONE THAT FAILS".
    Imports HSVCDATALOADLib.HSV_DATAEXTRACT_OPTION
    Module Module1
    Public lActualScenario, lBudgetScenario As Long
    Public oClient As HSXCLIENTLib.HsxClient
    Public oDataLoad As HSVCDATALOADLib.HsvcDataLoad
    Public oOptions As HSVCDATALOADLib.IHsvLoadExtractOptions
    Public oOption As HSVCDATALOADLib.IHsvLoadExtractOption
    Public oSession As HSVSESSIONLib.HsvSession
    Public oServer As HSXSERVERLib.HsxServer
    Sub Main()
    'Create a client object instance, giving access to
    'the methods to logon and create an HFM session
    oClient = New HSXCLIENTLib.HsxClient
    'Create a server object instance, giving access to
    'all server-based methods and properties
    oServer = oClient.GetServerOnCluster("SERVERNAME")
    'Establish login credentials
    oClient.SetLogonInfoSSO("", "MYID", "", "MYPASSWORD")
    'Open the application, which will initialize the server
    'and session instances as well.
    oClient.OpenApplication("SERVERNAME", "Financial Management", "APPLICATION", oServer, oSession)
    'Instantiate a data load object instance, which will be used to extract data from
    'FRS.
    oDataLoad = New HSVCDATALOADLib.HsvcDataLoad
    oDataLoad.SetSession(oSession)
    'Initialize the data load options interface.
    oOptions = oDataLoad.ExtractOptions
    'Find the internal ID numbers for various scenarios and years.
    'These are required for HFM API function calls.
    lActualScenario = GetMemberID(DIMENSIONSCENARIO, "Actual")
    lBudgetScenario = GetMemberID(DIMENSIONSCENARIO, "Budget")
    'Construct file names for open data.
    strFileName = "c:\Temp\FEWND_BudgetData.dat"
    strLogFileName = "c:\Temp\FEWND_BudgetData.log"
    'Extract data for the current open cycle.
    ExtractData("Budget", BudgetYear, "Dec", strFileName, strLogFileName)
    End Sub
    Sub ExtractData(ByVal strScenario As String, ByVal strYear As String, ByVal strPeriod As String, _
    ByVal strFileName As String, ByVal strLogFileName As String)
    'Populate the Scenario element.
    oOption = oOptions.Item(HSV_DATAEXTRACT_OPT_SCENARIO_SUBSET)
    If strScenario = "Actual" Then
    oOption.CurrentValue = lActualScenario
    Else
    'THE LINE BELOW IS THE ONE THAT FAILS
    oOption.CurrentValue = lBudgetScenario
    End If
    End Sub
    Function GetMemberID(ByVal lDimID As Long, ByVal strMemLabel As String) As Long
    Dim oMetaData As HSVMETADATALib.HsvMetadata
    oMetaData = oSession.Metadata
    oEntityTreeInfo = oMetaData.Dimension(lDimID)
    GetMemberID = oEntityTreeInfo.GetItemID(strMemLabel)
    End Function
    End Module

    I stumbled upon the solution to my problem. The documentation for extracting data via objects defines member ID variables as Longs. In fact, I've always defined such variables as longs in previous object programs and had no problems. It appears that the datal load/extract "option" property of "Currentvalue" is defined as integer. When I changed all of my member ID items (such as the "lBudgetScenario" variable that was the right-side of the failing assignment statement) to be integers, the program worked.

  • Extracting data from a SQL Server to BW

    Hi Experts,
        Can somebody let me know how to extract data from a NON SAP
        SQL Server I mean
        1. Creating a Source System
        2. Connecting to the SQL server
        3. Creating datasources and extraction
        Kindly help me its urgent
        thank you
        arshad.

    Hi Ingo,
    What I suggest is instead of extracting it to a file, can you use the function module which replicates this data to the mobile clients and use this function module to call the select statement. If a mobile client is able to access this info, then it must be doing a RFC call to some system whose logical system would have been in SAP as well. This is an assumption.
    May be if you could call the same function to derive the required data instead of extracting it to a file and then uploading it.
    Regards,
    Srikanth

  • Best practice to extract data from Hyperion Enterprise 5.5

    We are looking into extracting high-level data from our Hyperion Enterprise 5.5 and am in the process of researching what are the best practices to do that. I am reading the docs for the APIs that I can call from VB6. I am also interested if there are available Java APIs out there.Thanks in advance and Happy Holidays to everyone!Angelito [email protected]

    The easiest is using HAL (Hyperion Application Link). I have used HAL to extract data, organizations, account, subs, entities, etc.

  • Does ODI has ability to extract data from multiple tables

    We have requirement using ODI to extract data from multiple tables depending on certain logic and spool 100+ files.
    How efficient ODI is in data extraction from several multiple tables especially when the extraction is dependent on certain business logic conditions ? Also, if anyone used Peoplesoft Application Engine process to extract volumes of data, how efficient Peoplesoft Applicaiton Engine process is as compared to ODI ? I will really appreciate if someone throws some light on this ? Thanks in advance.
    Ram

    One more option
    Create two Integration Interfaces and launch them sequentially:
    1st Interface : select a IKM ... Append and activate the Distinct rows check box.
    2nd Interface : select an IKM ... Incremental Update and set the UPDATE option to No.
    Be aware that the update key in this Integration Interface should be composed of all the target columns mapped. Also activate the Distinct rows check box.
    Thanks,
    Sutirtha
    Edited by: Sutirtha Roy on Jul 21, 2009 10:08 AM

  • Best way to extract data from archived cube

    Hello Experts,
    Can anyone tell me best way to extract data from archived cube.
    Basically I am trying to pull all the data from archived cube and then load it into another brand new infoprovider which is in different box.
    Also I need to extract all the master data for all infoobjects.
    I have two options in my mind:
    1) Use open hub destination
    or
    2) Infoprovider>display data>select the fields and download the data.
    Is it really possible to extract data using option (2) if records are too high and then load it into another infoprovider in new system.
    Please suggest me the pros and cons for the two options.
    Thanks for your time in advance.

    Hello Reddy,
    Thanks a lot for your quick reply.
    Actually in my case I am trying to extract archived infocube data and then load it into new infoprovider which is in different system. If I have connectivity I can simply export data source from archived infocube and then reload into new infoprovider.
    But there is no connectivity between those two systems (where archived cube is and new infoprovider) and so I am left with the two options I mentioned.
    1) Use Open Hub
    or
    2) Extract data manually from infoprovider into excel.
    Can anyone let me know which of the two options is the best and also I doubt on how to use excel in extracting data as excel have limit of no.of records 65536
    Thanks
    Edited by: saptrain on Mar 12, 2010 6:13 AM

Maybe you are looking for