Extraction of characterstics values

Hi,
We are working on an upgradation project. We need to extract data from the previous SAP system. We are not able to find out the table from which we need to extract the characterstics values for a material. Please help me in this regard.
Thanks
Ramakanth

Hi,
You can extract it via below method also.
Go to any of the Material related transection.Then in Material field press F4.
Then serch via classification.Slect class type and class.
Then press find button.
Set the layout.
Then tansport report list to local file or any.
Regards,
Dhaval
Edited by: Dhaval Choksi on Jul 23, 2008 3:54 PM

Similar Messages

  • How to extract the date value of IBOR date="12/12/2009"

    I have the following query, but do not get the date value out:
    WITH ibors AS (
    SELECT xmltype('<?xml version="1.0" encoding="utf-8"?>
    <IBOR date="12/12/2009">
    <LIBOR currency="USD">
    <OneYear>1.38875</OneYear>
    </LIBOR>
    </IBOR>
    ') ibor_xml
    FROM dual
    SELECT i.ibor_date, i.ibor_oneyear
    FROM ibors,
    XMLTABLE(
    '//IBOR'
    PASSING ibors.ibor_xml
    COLUMNS ibor_date VARCHAR2(20) PATH '/IBOR/date',
    ibor_oneyear VARCHAR2(20) PATH '/IBOR/LIBOR/OneYear'
    ) i;
    How to extract the date value of <IBOR date="12/12/2009">?

    Hi,
    The date is an attribute of element IBOR. So you must use "@date" in the xpath expression :
    WITH ibors AS (
    SELECT xmltype('<?xml version="1.0" encoding="utf-8"?>
    <IBOR date="12/12/2009">
    <LIBOR currency="USD">
    <OneYear>1.38875</OneYear>
    </LIBOR>
    </IBOR>
    ') ibor_xml
    FROM dual
    SELECT i.ibor_date, i.ibor_oneyear
    FROM ibors,
    XMLTABLE(
    '//IBOR'
    PASSING ibors.ibor_xml
    COLUMNS
    ibor_date VARCHAR2(20) PATH '/IBOR/@date',
    ibor_oneyear VARCHAR2(20) PATH '/IBOR/LIBOR/OneYear'
    ) i;

  • Extracting the Attributes values of an XML Element

    Dear Forum Members
    Please tell me any XML Function which is used to extract the Attribute value of an XML Element.
    Given below
    <BRKCD_STREDSWTINVIN_C Key="6708">
    is an Element With some Key value.
    I want to have that Key value.
    Using Extract and Extractvalue I am not able to get the Attribute value.
    Is there any way..
    Regards
    Madhu K

    Your xml is not really complete ;), but this should get you started:
    michaels>  with t as
    (select xmltype('<BRKCD_STREDSWTINVIN_C Key="6708"></BRKCD_STREDSWTINVIN_C>') xml from dual)
    select d.xml, d.xml.extract('//BRKCD_STREDSWTINVIN_C/@Key') key
      from t d
    XML                                                            KEY    
    <BRKCD_STREDSWTINVIN_C Key="6708"></BRKCD_STREDSWTINVIN_C>     6708   

  • Sales order prod costing error and extracting the cost $ value

    We are doing sales order product costing via custom program which internally calls FM CKKA_Costing_Process, CK_F_SD_ORDER_CALC and all other std processes and calculates the cost. In the event of error, the calculated dollar value is getting cleared. Is there any way we can find and extract the cost $ value in case of costing error?

    Owen,
    That's fine. Not worried about the error. But business needs the cost calculated with the error. Is there anyway we can get the cost $ while error. VA02 costing returns error too, but we have the cost updated.
    Regards
    Gopi

  • Data load of Batch Characterstics values

    Hi,
    We are using batch management. For initial stock we have data map for batch creation. We need to enter the characterstics values for all these batches.
    We can enter the batch characterstics values using MSC2N. However, I am not sure if that is the correct way of doing it.
    If I use CL20N, then we can not enter the characterstics values at batch level.
    Am I correct in my understabding of using MSC2N or it has to be something else?
    Thank you for all your help.
    Thanks,
    -Shekhar

    I usually use LSMW for batch classifiction load.
    Here I use IDOC import method with message type CLFMAS.

  • Extracting the tag value sent from PCo

    Hi,
    Can anybody explain how to extract the tag value hidden in a PCo notification, which is sent to a BLS transaction as an XML parameter. Appreciate it.
    Chanti.

    Guess that document only shows how to setup the communication between PCo and MII.
    Anyway I was able to extract the values once the notification is received into the BLS.
    Never mind.
    Chanti.

  • Does any LO cockpit extractyor extract VBKD table values

    Hello Friends
    Does any LO cockpit extractyor extract VBKD table values--I am looking for BSTDK field.
    Thanks
    Tanya

    Hi Tanya.....
    This table is related to SD.......Following datasources r extracting data from the table VBKD.......but none of the table extracting BSTDK field.........
    2LIS_11_VAITM >> SD Sales: Document Item
    2LIS_11_VASCL >> SD Sales: Document Schedule Line
    2LIS_11_VAKON >> SD Sales: Order Conditions 
    2LIS_11_V_ITM >> SD Sales: Document Item Billing
    2LIS_11_V_SCL >> SD Sales: Document Schedule Line Billing
    U hav to enhance the Datasource........Check this.......
    http://help.sap.com/saphelp_nw70/helpdata/EN/3c/7b88408bc0bb4de10000000a1550b0/frameset.htm
    Regards,
    Debjani......

  • Auto populate  variant characterstics values in sales order

    Hi Sapients,
    we are trying to configure variant configuration at sales order level. We have created several characterstic and assigned it to class. Now some of the characterstics will be fixed at material level and some of the characterstics are dependent on the values supplied by the user in sales order. we have created characterstics like grade, profile, size, length, tdc number , tdc date, tdc customer, hardness, composition etc and assigned it to class salesspec ( class type 300 ).The characterstics like profile, grade, size, length are entered in the material master itself.
    TDC related details like tdc no, tdc date, tdc customer, hardness, composition will be entered through a ZPROGRAM and the details will be stored in ZTABLE (ZTDC) where TDC number wll be the primary key and the respective details will be stored here.Now when we create sales order, after entering the material and clicking on variant configuration, the configuration screen comes up where the user will enter the appropriate TDC number . based on the TDC no entered by the users , the other dependent values like TDC date, tdc customer, hardness, chemical composition needs to be automatically populated in the sales order variant configuration screen .
    Please guide me how to resolve this issue. shall i create dependency based on TDC no. In dependecy what is the code i have to write . Please elaborate in detail as i dont have idea on dependency.
    Is it possible through user exit.
    Thanks

    Starting right is the first significant step. Looking at the answers to my questions, I think your industry certainly needs VC as also righty figured out by you. VC is a long way to go, and in my opinion you will need good experts handle this situation. In VC you will discover thatt there are 10 different ways to achieve the same outcome, but what matters is which solution you choose. This will depend upon a oot of factors during producg modelling, cutting the classification system, bulding configuration profiles, etc.
    To give you a guideline:
    1. You have 2 situtations MTO and MTS. MTO is 100% configurable material and MTS is where your KMAT will be replaced by an SKU (stock-kept-unit). For this you should emply variant type matching functionality. It's explained in SAP LO-VC help. Let me know if you do not have it.
    2. For MTO you build classification system thoroughly to classifiy your products accordingly. This also involves creation of cstics. Ensure that you don't want to create cstics you will need to abondon in future.
    3. To answer your question in the post: Steps involved in VC are:
    a. create cstics, assign them to relevant class (type 300)
    b. assign class to material CL20N or in configuration profile.
    c. create configuration profile for material CU41 and write your object dependency (OB type = procedure)
    d. In your OD (procedure) employ a table, say ZTDC. This is not ABAP table but a variant table created via CU61 and values maintained in CU60
    e. your code in OD may look like this:
    TABLE ZTDC
    (TDC_NO = TDC_NO,
    TDC_DAT = $SELF.TDC_DAT,
    TDC_CUST = $SELF.TDC_CUST,
    TDC_HRD = $SELF.TDC_HRD)
    Here, TDC_NO is the key field you should define while table creation and when this is keyed in by users the other elements get determined autmoatically as per the varaint table.
    Hope this helps. Let me know if you face any issues. Thank you.
    - Nikhil.

  • In which table  batch characterstics values are saved for tcode VA01

    DEAR EXPERT,
    i am working on a development to update screen field values in characterstic assignment screen. i need  in which table the data we put for each characterstics  stored. and i want to know how i will update the screen field value in va01 in the above standard screen.
    req.: suppose a = 1.
                         b = 2.
                         c = ?
    i need how how c will update if a + b.
    please reply.

    hi,
    check table CABN.

  • Extract the node value of the input schema in a mapping

    I want to extract the value of request_id in the xslt of the mapping where the input schema format is in the below image.
    I tried the following, but I am not able to pull out the value. Could anyone help with it.
    <xsl:template match="/s1:TranslationsRequest">
    <ns1:Value>
    <xsl:value-of select="SelectRecord/s0:REQUEST_ID/text()" />
    </ns1:Value>

    SelectRecord Record has a blank namespace. Instance Xpath for request_id has a different namespace(s0). TranslationsRequest has a different namespace(s1). So I used as above.
    la Cour Vertica:   I tried, "s1:SelectRecord/s0:REQUEST_ID/text()", but it's not working. May be because of blank namespace for SelectRecord
    boatseller: I tried the following, but it failed. May be because TranslationRequest has a namespace, REQUEST_ID has a namespace and no namespace for SelectRecord
    <xsl:template match="/s1:TranslationsRequest">
    <ns1:Value>
    <xsl:value-of select="//*[local-name()='SelectRecord']/*[local-name()='REQUEST_ID']/text()"
    />
    </ns1:Value>

  • How to extract a string value from a varchar column

    Hi,
    I've a varchar2 column which has got xml data. I want to extract the value of some tag <test></test>
    I can't use EXTRACT as the column is not XMLTYPE.
    Please suggest.

    Hi,
    make a new temporary table table wirth columns as the same name as TAGS in your XML.
    extract the XML in a temporary variable.
    pass it to the below proc with the table name created in step1 , it will populate the temporary table with the XML data.
    PROCEDURE prc_save_xml(
    iv_table_name IN VARCHAR2,
    ic_xmlstring IN CLOB,
    on_count OUT NUMBER,
    ov_remarks OUT VARCHAR2,
    ov_status OUT VARCHAR2,
    iv_row_tag IN VARCHAR2 DEFAULT 'ROW'
    ) IS
    insctx dbms_xmlsave.ctxtype;
    doc CLOB;
    BEGIN
    --Get a context handle
    insctx := dbms_xmlsave.newcontext(iv_table_name);
    dbms_xmlsave.setdateformat(insctx, 'YYYYMMDD');
    dbms_xmlsave.setrowtag(insctx, iv_row_tag);
    ov_remarks := 'Inserting now';
    on_count := dbms_xmlsave.insertxml(insctx, ic_xmlstring);
    ov_remarks := 'Inserted now';
    dbms_xmlsave.closecontext(insctx);
    --set return status as Success
    ov_remarks := 'Sucess';
    ov_status := gv_success;
    EXCEPTION
    WHEN OTHERS THEN
    DBMS_OUTPUT.put_line('IN OTHERS :' || SQLERRM);
    ov_status := gv_failure;
    ov_remarks := ov_remarks || ':' || SQLERRM;
    on_count := 0;
    END prc_save_xml;

  • Extracting only Scale value ..how to do this

    Hi,
    How to fetch only scale value from a number value..?
    example from 1000.1212 i have to select 1212 only..
    I want any oracle supplied function to do this..
    i tried substr and instr but i want can we do this a function available in oracle
    Thanks
    asp

    No you have to use the existing sql functions:
    SQL> select to_char(sysdate,'YYYY') from dual;
    TO_C
    2006
    SQL> select to_char(to_date('2003-08-22','YYYY-MM-DD'),'YYYY') from dual;
    TO_C
    2003
    which you can include in your own function:
    create or replace function extract (p_1 in varchar2,p2 in varchar2) return integer is
    begin
      declare v_return varchar2(30);
      begin
        if p_1 = 'YEAR FROM DATE' then
          select to_char(to_date(p2,'YYYY-MM-DD'),'YYYY')
          into v_return
          from dual;
        end if;
        return to_number(v_return);
      end;
    end;
    /SQL> select extract('YEAR FROM DATE','2003-08-22') from dual;
    EXTRACT('YEARFROMDATE','2003-08-22')
    2003

  • 2lis_02_itm is not extracting net price value

    Hi All,
    The standard data source 2lis_02_itm is not extracting the NETPR( NET PRICE ) data from table EKPO-NETPR. The values existing in the table varies with the extracted data.  Did any body face the same issue?  please tell us the reason for this?Any sap note be applied .
    Please suggest...please revert back..points awarded for the valid answers.
    Thanks,
    Joseph
    Edited by: joseph reddy on Feb 15, 2010 5:55 PM

    Hello Joseph & Ravi,
    I've found the reason for the difference in the value of NETPR in the extractor by reading SAP Note 670313 (http://service.sap.com/sap/support/notes/670313).
    To solve the issue, we've set up a user exit extracting the value from the table (EKPO-NETPR) and connecting this to the infoobject in BW instead of the value provided by the extractor.
    Kind regards,
    Ben

  • How to extract multiple transaction values

    Hai All,
             I have a situation where the customer enters more than one value for a field. The values entered is transaction data and also some times text is also entered.
    Can anyone tell me how I can extract this data to BW?
    Thank you very much.

    Hai Ravi,
              Sure. I have a form where the user enters some information. There is a field named Sales Area where the user can select more than one areas. There is a drop down list with the cities names and then there is a extra box, where the user can enter a city name thats not on the list. The user can enter more than one city name. In R/3, they have this field "Sales area" and the multiple entries are being stored in another table. I have other situations where the user can enter some amounts for the same field "Price quote".
    I need to extract this data.
    Thank you.

  • Extract Variables and Values out of a String

    Hello Everbody!
    I have a question, hope that anyone can help me.
    I have a string of this kind: "frame= 2255 q=0.0 size= 2739kB time=75.0 bitrate= 299.3kbits/s"
    Know I want to deconstruct it and extract the variables and
    values written in there. There is some Whitespace in it.
    After the extraction it have to look like this:
    frame=2255
    q=0.0
    Greetz Christian

    What is a StringTokenizer?http://java.sun.com/j2se/1.5.0/docs/api/java/util/StringTokenizer.html
    Can you give me an
    example? Would be great! http://www.google.com/search?q=java+stringtokenizer+example
    You can first use space as the delimiter, to get tokens
    a=b
    c=d
    etc.
    Then you can tokenize each of those tokens on =.
    However, this doesn't work if you can have spaces around the = or inside the values:
    a = b
    c="d e f"
    If you can have this, you'll have to take a different approach. String.split might serve you better in that case, but you'll have to learn a bit about regex first.
    Sun's Regular Expression Tutorial for Java
    Regular-Expressions.info

Maybe you are looking for