I need to extract a portion of a string

Hi, I have a string like "abcdef-ghik". I need to return "ghik" only. I have vb background and I could use Substring and Instring functions to do that. How can this be done in Java?

Hi, I have a string like "abcdef-ghik". I need to
return "ghik" only. I have vb background and I could
use Substring and Instring functions to do that. How
can this be done in Java?
String extractPortion(String original) {
  return "ghik";
}Now, obviously, that's a really stupid solution. But it meets the very vague requirements you provided.
You've already been given an answer based on a reasonable guess about what you want, but really you should be more clear.
Will it always be "start-end" and you want everthing after the "-"?
What if start or end contain a "-"? Will that ever happen, and if so, what do you do?
Or is it not the "-" that matters but some character index? Do you just want the last 4 characters?
If you can't specify your requirements clearly, it will be impossible for you or anybody else to write code that correctly meets them.

Similar Messages

  • In full xml i need to extract some portion of xml and i need to store

    Hi this is the xml i will get i need to store from olife tag please suggest some idea how to do
    <TXLife>
    <UserAuthRequest>
    <UserLoginName>UserId</UserLoginName>
    </UserAuthRequest>
    <TXLifeRequest>
    <TransRefGUID>0099962A-BFF3-4761-4058-F683398D79F7</TransRefGUID>
    <TransType tc="186">OLI_TRANS_CHGPAR</TransType>
    <TransExeDate>2008-05-29</TransExeDate>
    <TransExeTime>12:01:01</TransExeTime>
    <InquiryLevel tc="3">OLI_INQUIRY_OBJRELOBJ</InquiryLevel>
    <InquiryView>
    <InquiryViewCode>CU186A</InquiryViewCode>
    </InquiryView>
    <ChangeSubType>
    <ChangeTC tc="32">Update / Add Client Object Information</ChangeTC>
    <!--TranContentCode tc = 1 (Add)
    tc = 2 (Update)
    tc = 3 (Delete)
    -->
    <TranContentCode tc="1">Add</TranContentCode>
    </ChangeSubType>
    <OLifE>
    <SourceInfo>
    <SourceInfoName>Client Profile</SourceInfoName>
    </SourceInfo>
    <Activity id="Act1" PartyID="Party1">
    <ActivityStatus tc="2">In Progress</ActivityStatus>
    <UserCode>123456</UserCode>
    <Opened>2010-08-17</Opened>
    <ActivityCode>CP10001</ActivityCode>
    <Attachment>
    <Description>LastScreenName</Description>
    <AttachmentData>CP Create</AttachmentData>
    <AttachmentType tc="2">OLI_ATTACH_COMMENT </AttachmentType>
    <AttachmentLocation tc="1">OLI_INLINE </AttachmentLocation>
    </Attachment>
    <OLifEExtension VendorCode="05" ExtensionCode="Activity">
    <ActivityExtension>
    <SubActivityCode>CP20001</SubActivityCode>
    </ActivityExtension>
    </OLifEExtension>
    </Activity>
    <Grouping id="Grouping1">
    <Household>
    <EstIncome>90000</EstIncome>
    </Household>
    </Grouping>
    <Party id="Party1">
    <PartyTypeCode tc="1">Person</PartyTypeCode>
    <EstNetWorth>250000</EstNetWorth>
    <LiquidNetWorthAmt>120000</LiquidNetWorthAmt>
    <EstTotAssetsAmt>400000</EstTotAssetsAmt>
    <Person>
    <FirstName>John</FirstName>
    <LastName>Doe</LastName>
    <MarStat tc="1">Married</MarStat>
    <Gender tc="1">Male</Gender>
    <BirthDate>1965-05-07</BirthDate>
    <EducationType tc="3">Associate Degree</EducationType>
    <Citizenship tc="1">USA</Citizenship>
    <NetIncomeAmt>70000</NetIncomeAmt>
    <DriversLicenseNum>D123456789</DriversLicenseNum>
    <DriversLicenseState tc="35">New Jersey</DriversLicenseState>
    <ImmigrationStatus tc="8">Citizen</ImmigrationStatus>
    <DriversLicenseExpDate>2012-05-25</DriversLicenseExpDate>
    <OLifEExtension VendorCode="05" ExtensionCode="Person">
    <PersonExtension>
    <NoDriversLicenseInd tc="0">False</NoDriversLicenseInd>
    </PersonExtension>
    </OLifEExtension>
    </Person>
    <Address>
    <Line1>125 Finn Lane</Line1>
    <City>North Brunswick</City>
    <AddressStateTC tc="35">New Jersey</AddressStateTC>
    <Zip>08902</Zip>
    </Address>
    <Phone>
    <PhoneTypeCode tc="1">Home</PhoneTypeCode>
    <DialNumber>732456789</DialNumber>
    </Phone>
    <Phone>
    <PhoneTypeCode tc="2">Work</PhoneTypeCode>
    <DialNumber>732987654</DialNumber>
    </Phone>
    <FormInstance id="Form1">
    <FormResponse>
    <ResponseText>No</ResponseText>
    <QuestionType tc="1009800001">Is the Client/Owner with an interest in the account either: (A) a senior military, governmental, or political official in a non-U.S. country, or (B) closely associated with or an immediate family member of such official?</QuestionType>
    </FormResponse>
    <FormResponse>
    <ResponseText>Yes</ResponseText>
    <QuestionType tc="1009800005">I am familiar with the product(s) being sold and have determined proper suitability. For deferred variable annuity purchases only: I have reasonable grounds for believing that the recommendations for this customer to purchase/exchange an annuity is suitable on the basis of the facts disclosed by the customer as to his/her investments, insurance products and financial situation and needs.</QuestionType>
    </FormResponse>
    </FormInstance>
    </OLifE>
    </TXLifeRequest>
    </TXLife>
    i need to get output like this
    <OLifE>
    <SourceInfo>
    <SourceInfoName>Client Profile</SourceInfoName>
    </SourceInfo>
    <Activity id="Act1" PartyID="Party1">
    <ActivityStatus tc="2">In Progress</ActivityStatus>
    <UserCode>123456</UserCode>
    <Opened>2010-08-17</Opened>
    <ActivityCode>CP10001</ActivityCode>
    <Attachment>
    <Description>LastScreenName</Description>
    <AttachmentData>CP Create</AttachmentData>
    <AttachmentType tc="2">OLI_ATTACH_COMMENT </AttachmentType>
    <AttachmentLocation tc="1">OLI_INLINE </AttachmentLocation>
    </Attachment>
    <OLifEExtension VendorCode="05" ExtensionCode="Activity">
    <ActivityExtension>
    <SubActivityCode>CP20001</SubActivityCode>
    </ActivityExtension>
    </OLifEExtension>
    </Activity>
    <Grouping id="Grouping1">
    <Household>
    <EstIncome>90000</EstIncome>
    </Household>
    </Grouping>
    <Party id="Party1">
    <PartyTypeCode tc="1">Person</PartyTypeCode>
    <EstNetWorth>250000</EstNetWorth>
    <LiquidNetWorthAmt>120000</LiquidNetWorthAmt>
    <EstTotAssetsAmt>400000</EstTotAssetsAmt>
    <Person>
    <FirstName>John</FirstName>
    <LastName>Doe</LastName>
    <MarStat tc="1">Married</MarStat>
    <Gender tc="1">Male</Gender>
    <BirthDate>1965-05-07</BirthDate>
    <EducationType tc="3">Associate Degree</EducationType>
    <Citizenship tc="1">USA</Citizenship>
    <NetIncomeAmt>70000</NetIncomeAmt>
    <DriversLicenseNum>D123456789</DriversLicenseNum>
    <DriversLicenseState tc="35">New Jersey</DriversLicenseState>
    <ImmigrationStatus tc="8">Citizen</ImmigrationStatus>
    <DriversLicenseExpDate>2012-05-25</DriversLicenseExpDate>
    <OLifEExtension VendorCode="05" ExtensionCode="Person">
    <PersonExtension>
    <NoDriversLicenseInd tc="0">False</NoDriversLicenseInd>
    </PersonExtension>
    </OLifEExtension>
    </Person>
    <Address>
    <Line1>125 Finn Lane</Line1>
    <City>North Brunswick</City>
    <AddressStateTC tc="35">New Jersey</AddressStateTC>
    <Zip>08902</Zip>
    </Address>
    <Phone>
    <PhoneTypeCode tc="1">Home</PhoneTypeCode>
    <DialNumber>732456789</DialNumber>
    </Phone>
    <Phone>
    <PhoneTypeCode tc="2">Work</PhoneTypeCode>
    <DialNumber>732987654</DialNumber>
    </Phone>
    <FormInstance id="Form1">
    <FormResponse>
    <ResponseText>No</ResponseText>
    <QuestionType tc="1009800001">Is the Client/Owner with an interest in the account either: (A) a senior military, governmental, or political official in a non-U.S. country, or (B) closely associated with or an immediate family member of such official?</QuestionType>
    </FormResponse>
    <FormResponse>
    <ResponseText>Yes</ResponseText>
    <QuestionType tc="1009800005">I am familiar with the product(s) being sold and have determined proper suitability. For deferred variable annuity purchases only: I have reasonable grounds for believing that the recommendations for this customer to purchase/exchange an annuity is suitable on the basis of the facts disclosed by the customer as to his/her investments, insurance products and financial situation and needs.</QuestionType>
    </FormResponse>
    </FormInstance>
    </OLifE>
    Edited by: LRAJESH on Oct 21, 2010 1:50 AM

    What have you tried? I know previous links that have been supplied to you on other questions have shown examples of extracting XML fragments from an XML document. Also, which version of Oracle (4 digits).

  • Retrieve/Extract a portion of a string

    In a table I have a field with formula data. What I need to do is locate the “IF|” in the formula field and retrieve the data between the “IF|” and the next “|“ following the “IF|”.
    Formula data:
    IF-.16
    (1.03*IF)
    ((IF)+.0959)
    Expected results:
    PIPE Xx Kk ML
    OLO Kk
    TEN LA 500
    I am using SUBSTR and INSTR but have only been partially successful. So far I have been able to separate the remainder of the data after the IF| using code below but have been unable to separate the data between the two |.
    select substr(formula,1,instr(formula,'IF|')+2), substr(formula, instr(formula,'|')+1)
    I am working in 9i. Can someone help with this problem?

    One solution could be
    SQL> select x,
      2         substr(x, instr(x, '|',1,1)+1, instr(x, '|',1, 2)-instr(x, '|',1, 1)-1)
      3  from (
      4  select 'IF-.16' x from dual union all
      5  select '(1.03*IF)' from dual union all
      6  select '((IF)+.0959)' from dual
      7  )
      8  ;
    X                                 SUBSTR(X,INSTR(X,'|',1,1)+1,INSTR
    IF-.16    PIPE Xx Kk ML
    (1.03*IF)        OLO Kk
    ((IF)+.0959) TEN LA 500
    SQL>

  • Extracting a  a piece of string starting with a number

    Hi,
    I am new to SQL, so I could use some help with the following issue. I need to extract contract number from a string, but the position of the contract number and the text inside of the string might vary, which means it is important to tie the SELECT statement to the number. Extracting only numbers wouldn't help too, because contract number contains letters and other characters. For example, if there was a string "Payment to a contract nr 1100/70HE", the SELECT statement should be able to extract only "1100/70HE" from that string.
    Thank you in advance,
    Keit

    Hi,
    welcome to the forum.
    Please read SQL and PL/SQL FAQ
    When you put some code or output please enclose it between two lines starting with {noformat}{noformat}
    i.e.:
    {noformat}{noformat}
    SELECT ...
    {noformat}{noformat}
    Coming to your question, I would say that extracting the contract number from a string it is not the ideal solution for a data model.
    Beside that, you may be able to reach your goal by using regular expression but you should provide more example and explain if the contract number could be identified with a specific pattern.
    I suggest you to post some sample data (CREATE TABLE and INSERT statement or a WITH statement) and try to identify a rule that can apply to extract your data.
    I.e.: if contract number always is one or more characters, followed by a slash (/) and followed by one or more characters then maybe you can use regular expression to identify it. I suggest you to post some cases and try to find the logic to apply.
    Regards.
    Al                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • How do I extract a portion out of a picture?

    how do I extract a portion out of a picture? I need to be able to cut out cows in a field and place them on the moon instead.
    Thanks

    Hello Halle,
    You can extract the audio form a movie clip by selecting the clip that you want the audio from then go to the drop down menu Modify > Detach Audio and then you will see the audio in green and then can move it to where you want it to be. Take a look at the article below for more information how to extract the audio from a video clip. Let me know if this helps
    iMovie (2013): Add only the audio from a video clip
    http://support.apple.com/kb/PH14710
    Regards,
    -Norm G. 

  • Extract a portion of a video file

    I want to extract a portion of an existing video file. A movie is an hour and I would like to take the five minutes 0:10:00 to 0:15:00. The film does not need to be / should not have to be recoded. Is that possible? thx
    Windows 8 x64, Premiere Elements 11

    My understanding of your question is that you want to save a 5 minute section to a new file... correct?
    Some reading that may help
    Importing Video http://forums.adobe.com/thread/1065281
    -and project settings http://forums.adobe.com/thread/1112086
    Saving & Sharing http://forums.adobe.com/thread/1051093
    Sharing for Computer http://forums.adobe.com/thread/1058237
    Steve's Basic Training Tutorials... steps are the same for several versions
    -http://forums.adobe.com/thread/537685

  • I need to extract Recipient Email Addresses - is it impossible?

    Hi I spent way too much time tonight trying to solve this problem, I hope someone brilliant can help.
    I have a web store, and am CC'd on the receipts sent to my customers. So I have accumulated a large mailbox full of emails addressed to recipients other than myself.
    I now need to extract those recipient email addresses into a .txt file.
    Through my travels I discovered the simple script below. It's awesome except that it only works for sender addresses! When I try to tweak the code to extract recipient addresses it gives me an error.
    Can anyone either modify this code, or point me in the right direction?
    I just can't believe this should be so hard! (And it probably isn't except for me.)
    Thanks.
    tell application "Mail"
    set selectionMessage to selection -- just select the first message in the folder
    set thisMessage to item 1 of selectionMessage
    set theseMessages to (every message in (mailbox of thisMessage))
    repeat with eachMessage in theseMessages
    set theFrom to (extract address from sender of eachMessage)
    do shell script "echo " & quoted form of theFrom & return & " >> ~/documents/extracted.txt"
    end repeat
    end tell
    ------------------

    Nice! Austin Kinsella1 your script works well but in some cases return this:
    <Undisclosed-Recipient:;@studio.com>
    I think this mail was sended with multiple addresses.
    Try this one, I made some little changes.
    Good Luck!
    tell application "Mail"
    set selectionMessage to selection -- just select the first message in the folder
    set thisMessage to item 1 of selectionMessage
    set theseMessages to (every message in (mailbox of thisMessage))
    repeat with eachMessage in theseMessages
    set headerMessage to all headers of eachMessage as string
    set recipientMessage to {}
    set start to false
    set char_f to ""
    set char_o to ""
    set char_r to ""
    set char__ to ""
    set previousChar to ""
    repeat with c in headerMessage
    set c to c as string
    if start is true then
    if c is ">" then exit repeat
    copy c to the end of recipientMessage
    end if
    if c is "<" " then set start to true
    if char_r is "r" and previousChar is "r" and c is " " then set char__ to " "
    if char_o is "o" and previousChar is "o" and c is "r" then set char_r to "r"
    if char_f is "f" and previousChar is "f" and c is "o" then set char_o to "o"
    if c is "f" then set char_f to "f"
    set previousChar to c
    end repeat
    set recipientMessage to recipientMessage as text
    do shell script "echo " & quoted form of recipientMessage & return & " >> ~/documents/recipients.txt"
    end repeat
    end tell

  • Need to extract data from R/3 to BI...

    Hi Friends,
    We need to extract some data available in the R/3 side to BI. I have written code in a function module which brings the output into the table e_t_data. now by attaching this function module, we created a Data source also. and then from BI side we replicated this Datasource. when tried to extract the data at BI from R/3, the process keeps on running with out bringing any data into BI. 
    Regarding this, i referred some docs in the forums. They say that we have to go with the approach followed in the FM 'RSAX_BIW_GET_DATA_SIMPLE'. I have done all the coding and settings similar to this function module. there is no syntax error and code produces the required output in e_t_data.In that FM they used some Select statement under the Open Cursor statement. But in our requirement, we are not selecting anything from Table. but we generate some data by some calculations and these data will be our output. If it is the case, can't we use that open cursor approach...?  we need to get the output data not by any select statement  but the output will be some internal table entries which are created by some calculations.
    Please suggest how to handle this. That would be very much helpful. <removed_by_moderator>
    Thanks in advance...
    Regards
    Ram
    Edited by: Julius Bussche on Jul 14, 2008 2:17 PM

    If you dont require any coding, then why dont you extract the data using the DB view/table or DB query. why you are using the FM.
    If you are using the FM, then for the first extraction call it will pass the selectoption data into ranges and in the next extraction call it will open the cursor based on the input data and fetch the data according to the package size per extraction call.
    For the generic data sources using the FM, the main thing lies in Fetching the data. If you study the standard FM 'RSAX_BIW_GET_DATA_SIMPLE', it fetches the data according to the number of records per extraction call.
    At the BI, entire data cant be picked up at once. it will pick packets of data.
    Regards
    Kannaiah

  • I Need to print a portion of a pdf file using a dos command. Can i ?

    Hello,
    I Need to print a portion of each page of a pdf file using a dos command without opening it.
    Can i do it ? if yes how ?
    Thanks in Advance for your help.

    hello,
    Thanks for your reply. If i use another printing software like ghostscript
    or foxit reader will i be able to do it ?
    Regards
    Le 14 déc. 2014 18:49, "Bernd Alheit" <[email protected]> a écrit :
        I Need to print a portion of a pdf file using a dos command. Can i ?
    created by Bernd Alheit <https://forums.adobe.com/people/Bernd+Alheit> in *Printing
    & Prepress* - View the full discussion
    <https://forums.adobe.com/message/7013717#7013717>

  • Need Xml Extraction help...not very urgent but only 6 Hrs left...

    Hi,
         I have an xml in a blob column and I need to extract the xml resultset into the (specified below) row/column format. So that i created a custom blob_to_clob function for this conversion and extracted below specified xml. Now I am executing the below specified queries for this xml to extract PanelSet, PanelId, Link values & attributes. but the problem is, I am not been able to relate the parent and child nodes or may be not able to identify, who belongs to who (parent--child). for e.g if I extract all link i.e status1, status2 etc of a particular Panel then i am not been able to access its (parent) Panel identification.please suggest me any solution.
    --query using
    --to extract PanelSet
    select
      extractValue(value(t),'/PanelSet/@name') panelset_name
      from
        (Select blob_to_clob(grp_menu) blobval
        from OUG
        WHERE user_group_seqno =9) c,
    table(xmlsequence(extract(xmltype.createxml(c.blobval),'/Menus/PanelSet'))) t
    --to extract PanelID
    select
      extractValue(value(t),'/PanelID/text()') panelid
      from
        (Select blob_to_clob(grp_menu) blobval
        from oug
        WHERE user_group_seqno =9) c,
    table(xmlsequence(extract(xmltype.createxml(c.blobval),'/Menus/PanelSet/PanelID'))) t
    --to extract Panel
    select
      extractValue(value(t),'/Panel/@id') Panel_id,
      extractValue(value(t),'/Panel/@name') Panelname
      from
        (Select blob_to_clob(grp_menu) blobval
        from oug
        WHERE user_group_seqno =9) c,
    table(xmlsequence(extract(xmltype.createxml(c.blobval),'/Menus/Panel'))) t
    --to extract link
    select
      extractValue(value(t),'/Link/@name') link_name,
      extractValue(value(t),'/Link/@type') link_type,
      extractValue(value(t),'/Link/text()') link_value 
      from
        (Select blob_to_clob(grp_menu) blobval
        from oug
        WHERE user_group_seqno =9) c,
    table(xmlsequence(extract(xmltype.createxml(c.blobval),'/Menus/Panel/Link'))) t
    --XML
    <Menus>
        <PanelSet name="0_Data center_A">
        <PanelID>1-1</PanelID>
        <PanelID>1-2</PanelID>
        <PanelID>1-3</PanelID>
        <PanelID>0-0</PanelID>
        <PanelID>1-6</PanelID>
        <PanelID>1-7</PanelID>
    </PanelSet>
       <PanelSet name="1_Data center_B">
          <PanelID>2-4</PanelID>
          <PanelID>2-5</PanelID>
          <PanelID>2-6</PanelID>
          <PanelID>0-0</PanelID>
          <PanelID>2-7</PanelID>
          <PanelID>2-8</PanelID>
    </PanelSet>
       <PanelSet name="2_Data center_C">
          <PanelID>3-2</PanelID>
          <PanelID>3-4</PanelID>
          <PanelID>0-0</PanelID>
          <PanelID>3-9</PanelID>
          <PanelID>3-10</PanelID>
          <PanelID>3-11</PanelID>
    </PanelSet>
          <Panel id="1-1" name="Sts">
            <Link name="status 1" type="Module">forbidden</Link>
            <Link name="status 2" type="Module">/forbidden</Link>
            <Link name="status 3" type="Module">/forbidden</Link>
            <Link name="status 4" type="Module">/forbidden</Link>
            <Link name="status 5" type="Module">/forbidden</Link>
          </Panel>
          <Panel id="1-2" name="Adm">
             <Link name="View 1" type="Module">forbidden</Link>
             <Link name="View 2" type="Module">forbidden</Link>
             <Link name="View 3" type="Module">forbidden</Link>
             <Link name="View 4" type="Module">forbidden</Link>
             <Link name="View 5" type="Module">forbidden</Link>
             <Link name="View 6" type="Module">forbidden</Link>
             <Link name="View 7" type="Module">forbidden</Link>
          </Panel>
          <Panel id="2-4" name="Position">
             <Link name="viewer 1" type="Module">forbidden</Link>
             <Link name="viewer 2" type="Module">forbidden</Link>
          </Panel>
          <Panel id="3-2" name="Administration">
             <Link name="inquiry 1" type="Module">forbidden</Link>
          </Panel>
          <Panel id="3-4" name="Reconciliation">
            <Link name="reconciliation 1" type="Module">forbidden</Link>
            <Link name="reconciliation 2" type="Module">forbidden</Link>
            <Link name="reconciliation 3" type="Module">forbidden</Link>
          </Panel> 
    </Menus>
    --Structure
                                       -----Link abc
                                      -     Link abd
                                  -      Link abe
                -----Panel ID 1-1-                
                  -     Panel ID 1-2--------link a--z (more than one)
    --------    -      Panel ID 1-3--------link N...
    |PanelSet 0|-
                  ------PanelID 2-1--------link N...
               -     PanelID 2-2--------link N...
    --------     -      PanelID 2-3--------link N...
    |PanelSet 1|-      
                  ------PanelID 3-1--------link N...
    --------     -      PanelID 3-2--------link N...
    |PanelSet 2|-       PanelID 3-1--------link N...
    --resultset required
    Panel_set         Panel_id          link
    0_Data center_A    1-1               Status1
    0_Data center_A    1-1               Status2
    0_Data center_A    1-1               Status3
    0_Data center_A    1-1               Status4
    0_Data center_A    1-1               Status5
    0_Data center_A    1-2               View 1
    0_Data center_A    1-2               View 2
    0_Data center_A    1-2               View 3
    0_Data center_A    1-2               View 4
    0_Data center_A    1-2               View 1
    1_Data center_B    2-4              viewer 1
    1_Data center_B    2-4              viewer 2Message was edited by:
    Sachin.Singh

    with t as
    (select xmltype(
    '... your xml here ...
    ') as xml from dual),
    panel_sets as ( select extractvalue(t2.column_value, '//*/@name') as panel_set,
                           extractvalue(t3.column_value, '//*'      ) as panel_id
                      from t, table(xmlsequence(extract(t.xml,           '//Menus/PanelSet'))) t2,
                              table(xmlsequence(extract(t2.column_value, '//*/PanelID'     ))) t3
        panels as ( select extractvalue(t2.column_value, '//*/@id'  ) as panel_id,
                           extractvalue(t3.column_value, '//*/@name') as link
                      from t, table(xmlsequence(extract(t.xml,           '//Menus/Panel'))) t2,
                              table(xmlsequence(extract(t2.column_value, '//*/Link'     ))) t3
    select s.panel_set, s.panel_id, p.link
      from panel_sets s, panels p
      where p.panel_id = s.panel_id
    PANEL_SET            PANEL_ID LINK
    0_Data center_A      1-1      status 1
    0_Data center_A      1-1      status 2
    0_Data center_A      1-1      status 3
    0_Data center_A      1-1      status 4
    0_Data center_A      1-1      status 5
    0_Data center_A      1-2      View 1
    0_Data center_A      1-2      View 2
    0_Data center_A      1-2      View 3
    0_Data center_A      1-2      View 4
    0_Data center_A      1-2      View 5
    0_Data center_A      1-2      View 6
    0_Data center_A      1-2      View 7
    1_Data center_B      2-4      viewer 1
    1_Data center_B      2-4      viewer 2
    2_Data center_C      3-2      inquiry 1
    2_Data center_C      3-4      reconciliation 1
    2_Data center_C      3-4      reconciliation 2
    2_Data center_C      3-4      reconciliation 3
    18 rows selected.

  • Need to extract data from a bricked hard drive - Failure ID ucx77t-69j7ms-mfpx1f-60vp03

    Hi My laptop (HP Pavilion Sleekbook 14, purchased in October 2012)  had gone slow recently, and finally its hard drive developed problems. At one point, it was so slow that it took a few minutes to sign off my user, so I shut it down manually while it was logging off. That was when it got really bad. Specifically, I reached the "Repairing disk errors. This may take over an hour to complete" screen. I left it to run for almost a full day and it didn't work. So, I rebooted the laptop and checked its diagnostics boot menu. It ran diagnostics on the hard drive, and on the whole laptop. There were no hardware problems or any codes for any individual components, except the hard drive. Specifically, it gave me the  Failure ID "ucx77t-69j7ms-mfpx1f-60vp03". I tried looking that up but I couldn't find anything. I wonder what that failure ID is for. Fortunately, I have a recovery drive, and most of the information on the laptop is backed up, but I need to extract some recently created data from my hard drive before I lose it by running recovery manager. I tried to back up some files, but the recovery drive could not reach any files to back up. I've also tried taking out the drive and putting it in an external hard drive enclosure then connecting it to another laptop, but it's telling me that the drive is only 25 GB when it's a 500 GB drive, and I still can't reach any files from C: inside. Can you help me figure out how to back up those files? They're only about 10-15 GB altogether, and I can easily fit them on another laptop.

    The failure id message means the hard drive has failed and will have to be replaced. The slowness and other problems were early warning signs of a failing hdd.If the drive can not be read using an external enclosure-not much hope. You might try one of the free tools to recover files-especially #2 which claims ability to recover lost partitions.Maybe it can see your C partition. http://pcsupport.about.com/od/filerecovery/tp/free-file-recovery-programs.htm

  • Need to extract Post to inspection stock field from material master

    Hi Guys,
    I need to extract the Post to insp.stock indicator from material master QM view for all FERT materials, i have tried with MARC table but no use. Is there any alternative way to download this from the material master?, kindly help me resolve this.
    Thanks
    S.Murali

    I got it from table QMAT.
    Thanks
    S.Murali

  • Need to extract PO's to send third party system

    Hi,
    I need to extract Purchase orders with the following criteria. I need to extract them based on vendor, Purchase Org and date of creation of PO
    1. PO with no GR and IR
    2. PO with no IR
    3. PO with no GR
    I need to extract the PO's as mentioned above as we need to send third party system. Please let me know is there any standard reports available to extract.

    Hi,
    Explore t-code ME2L.
    You can filter using the field Selection Parameters to identify those three segments:
    Selection Parameters:
    GUTSCHRIFT Invoices exist
    M-OFFEN Open target quantity
    R-ERLEDIGT No open invoices
    RECHNUNG Open invoices
    W-OFFEN Open target value
    WA351 Open issue quantity
    WA352 Issue quantity reversible
    WE101 Open goods receipt
    WE102 Goods receipt exists
    WE103 Open goods receipt
    WE104 GR blocked stock exists
    WE105 GR blocked stock exists
    WE106 Goods receipt exists
    WE161 Open goods receipt: returns
    WE162 GR exists: returns
    You can also use the column available in the layout to idenfity if the PO has an invoiced, if its pending, etc..
    Kind Regards,
    Mariano

  • Need to extract only file name from path.........

    Hi All,
    I have a parameter.This calls the function
    "CALL FUNCTION 'F4_FILENAME' to get the file from C drive.
    After selecting the file the path is displayed in the Parameter field.
    My problem is I need to extract only file name from the path.Please advice.
    Example : Prameter  id    C:\folder\file.xls  
    I shd extract only file.xls from the path.Please advice.

    Hi,
    Use the below logic:
    data: begin of itab,
               val    type  char20,
            end of itab.
    SPLIT  l_f_path  AT  '\'  INTO  TABLE itab.
    The last record of the internal table holds the file name.
    describe table itab lines l_f_lines.
    read itab index l_f_lines.
    l_f_filaname = itab-val.
    Hope this helps u.

  • Need to extract FS items and Hierachy (TRX CX17)

    Hi ALL,
    I need to extract a FS iten hierarchy from CX17 ,do u have any sample code which i can use as ref code for it?
    I have to display parents n child accordingly ..
    Let me knw ,as its on urgent basis.
    Thnks in advance

    Hi,
    Use FM: K_HIERARCHY_TABLES_READ
    to get all the nodes and leaves of the FS item. Check the table SETNODE AND SETLEAF for appropriate parameter values to be passed.
    Regards
    Subramanian

Maybe you are looking for