Query for classfication for material number

Hi,
I would like to create a query that links the material number (MARA) with its assigned classes (in classification in material master) and characteristics for each class. So I want to be able to key in a material number and receive the class and all charateristics and values for that.
Do you know which tables I should join?
Thanks,
Ola

For query you use table AUSP only where Object field is your mateiral number and this will return the value of Char
if you need class also than link the KLAH table
MARA you don't need here and wont link

Similar Messages

  • FM for Material number conversion from R/3 to APO in R/3

    Hi,
       Can anybody tell me conversion exit (function module) for Material number conversion from R/3 to APO in R/3 system. I mean i have 18 digit R/3 material number which i have to convert to 40 digit APO material number in R/3 system.
    Please suggest to win full points.
    Thaniks in Advance,
    Chandan Dubey

    Dear Chandan,
    Conversion Exits:
    CONVERSION_EXIT_MATN1_INPUT ....... If you are storing Material With Zeros
    Then concatenate it with 22 zeros. i.e. '0000000000000000000000000000'.
    For example:
    data : v_matnr type matnr,            "R/3 Material
           v_apo_matnr(40) type c,        "APO Material with 40 length
           v_zeros(22) type c. value '0000000000000000000000000000'.
    CALL FUNCTION 'CONVERSION_EXIT_MATN1_INPUT'
           EXPORTING  INPUT          = v_matnr
           IMPORTING  OUTPUT         = v_matnr.
    concatenate e_mantr v_zeros into
                v_apo_matnr.
    Regards,
    Naveen.

  • SAP query for Material pricing group changes in material.

    Dear all,
    I'm trying to generate a query for Material Pricing group changes in material. For that I've to retrieve data from follwing three tables MVKE, CDHDR & CDPOS.
    Firstly while generating infoset -
    I tried it by joining tables MVKE & CDHDR, but system is not allowing it, also table CDPOS can't bejoined.
    Then I tried by reading dirctly from table MVKE and then adding additional fields in it. query created using this infoset is giving the output, however it's giving only 1 entry per material entered in input.
    for multiple entries in output for MPG changes in same material I tried creating addtional structure for table CDHDR & CDPOS but again I'm getting only 1 entry per material.
    please suggest how I can get MPG changes done in specified time period for a material.
    Thanks.

    Hi
    Check the report RSSCD100 and run it for object MAT_FULL for table MVKE. Use this report as a template for your own development.
    I hope this helps you
    Regards
    Eduardo
    PD: sorry, the table is DMVKE
    Edited by: E_Hinojosa on Sep 2, 2011 9:37 AM

  • "Settings for material number conversion not found" occurs when ...

    After I run an initial load data into the InfoCube 0PUR_C01, I want to check the InfoCube Content by the following path:
    RSA1 -> pick up the InfoCube 0PUR_C01, right click it and select Manage -> Get to Content tab -> Click InfoCube Content button -> Deselect all selection, only tick the 1st column checkbox next to 0Material, then hit enter, get a small window titled as "Cancel" with a red STOP msg sysing "Settings for material number conversion not found" with an "Exit" button and a question mark button, click Exit button leads to SAP Easy Access screen, if clicking the question mark button, another window pops up with the msg showed above, click Technical Information button causes the original window short dump and the short dump msg shows below in between two dashed lines:
    Runtime Errors         RPERF_ILLEGAL_STATEMENT
    Date and Time          11/28/2005 14:43:13
    ShrtText
        Statement "CALL SCREEN" is not allowed in this form.
    What happened?
        Error in ABAP application program.
        The current ABAP program "SAPLSHL2" had to be terminated because on
        statements could not be executed.
        This is probably due to an error in the ABAP program.
    Error analysis
        There is probably an error in the program
        "SAPLSHL2".
        The program was probably called in a conversion exit
        or in a field exit. These are implemented by
        function modules called CONVERSION_EXIT_xxxxx_INPUT/OUTPUT or
        USER_EXIT_xxxxx_INPUT.
        Conversion exits are triggered during screen field transports or
        WRITE statements, field exits during field transports from the
        screen to the ABAP/4 program.
        In this connection, the following ABAP/4 statements are not allowed:
        -  CALL SCREEN
        -  CALL DIALOG
        -  CALL TRANSACTION
        -  SUBMIT
        -  MESSAGE W... and MESSAGE I...
        -  COMMIT WORK, ROLLBACK WORK
        -  COMMUNICATION RECEIVE
        -  STOP
        -  REJECT
        -  EXIT FROM STEP-LOOP
        Moreover, conversion exits for output conversion
        (implemented by function modules called
        CONVERSION_EXIT_xxxxx_OUTPUT) do not allow
        -  MESSAGE E...
        to be used.
    Trigger Location of Runtime Error
    Program                                 SAPLSHL2
    Include                                 LSHL2F19
    Row                                     3
    Module type                             (FORM)
    Module Name                             TECHNISCHE_INFO5
    rce Code Extract
    e  SourceCde
    1 ***INCLUDE LSHL2F19 .
    2 form technische_info5.
    >>   call screen 1900 starting at 5  8.
    4 endform.
    5
    6 &----
    7 *&      Form  SHRINK_VALUES
    8 &----
    9 *       text                                                           *
    10 ----
    11 *  -->  p1        text
    12 *  <--  p2        text
    13 ----
    14 form shrink_values.
    15
    16   loop at dynpselect.
    17     clear checktable.
    18     if dynpvaluetab-lowvalue ne space and dynpvaluetab-lowvalue na '*'.
    19       move 'EQ' to checktable-op.
    20       move dynpvaluetab-lowvalue to checktable-low_value.
    21       append checktable.
    22     endif.
    What could cause the problem by selecting only 0Material when checking the InfoCube 0PUR_C01 content?  What does that mean by this STOP msg "Settings for material number conversion not found"?
    Thanks

    Hi Kevin,
    Set the length of 0MATERIAL and change conversion to alpha:
    Re: Error Installing 0MATERIAL from Business Content
    Best regards,
    Eugene

  • Serialization not possible for material number (SHPCON IDOC error )

    Hello,
       Can any one shed some light on following inbound PGI IDOC (SHPCON) Error from 3PL.
    "Serialization not possible for material number XYZ"
    Message no. IO205
    Diagnosis
      The serial number profile of the material does not allow serialization for the operation you have chosen.
    Procedure
    Maintain the serial number profile.
    Additional info
    1) Serial number profile is maintained in the material master
    2) Serial number populated in the idoc E1EDL11 is not used in any delivery or assigned  and it is valid serial number  and has equipment master record
    3) If i use the same serial number from the IDOC and post PGI manually via VL02N , I am able to post the PGI without any problems and I don;t get the above error
    4) IDOC has all the info required , Delivery number,Valid material # , qty,UOM and Line item number of the delivery .
    Thanks in advance for your help
    GJ

    Dear Jalwadi
    I got exact same problem. How did you solve it?

  • Settings for material number conversion not found

    "Settings for material number conversion not found"
    This is the error that came out. I was everytime i try to access the activated business content 0material, the system comes up with this error. Please help me with this! Thank you!
    -Peter

    Hi Peter,
    try oss note 555675, it tells you to use transaction OMSL.
    regards
    Siggi
    Message was edited by: Siegfried Szameitat

  • Template for material number

    My requirement is I want the material number starting with `AAA` followed by internal number
    How to do using template..
    Thanx

    Hi ,
    We have an standard SAP -User exist used for material number assignments based on business needs.
    Go to Transaction code SMOD - Enhancement MGA00002 is used to hard code the material number ( Internal / External assignments)
       Important
       Retail customers must use customer enhancement MGW00002.
       You use this customer enhancement to influence the assignment of material numbers. You can intervene in the program at the following points:
       Internal number assignment (function module exit exit_saplmg02_001) Functional Module EXIT_SAPLMG02_001
       This function module is called if internal number assignment is allowed and if the user has not specified a number when creating a material master record.
       External number assignment (function module exit exit_saplmg02_002) Functional Module EXIT_SAPLMG02_002
       This function module is called if the user has specified a number When creating a material master record. However, if external number assignment is not allowed, the (changed) number is subsequently discarded.
    Please discuss with ABAP developer in order to fulfilled your business requirements.
    With Regards,
    Thiru

  • Help needed in query for Materialized View

    Hi,
    I want to create a materialized view which has some precalcultaed values.
    I have four dimension tables out of which one is a Time Dimension table with levels as Year->Quarter->Month.
    The precalculations are the moving averages and cummulative values of Sales Amt on the dimension values over a period of 4 Months.
    The dimension tables are Clients, Products, Channel, Time.
    Fact Table is Sales_Fact which will have the sales amount for different members of the dimension.
    Since my fact table is very huge, i want to create a materialized view where i could store the required calculated measures, here Moving Average of Sales Amt for each Client, Product, Channel dimensions over a period of 4 Months.
    Can anybody help with writing the query for this..Any help in this regard will be appreciated..
    Please give me suggestions for this..

    Check this link.
    http://download.oracle.com/docs/cd/B19306_01/server.102/b14223/aggreg.htm#sthref1612
    Regards
    Raj

  • What is required userexit or badi or enhacement for material number ??

    HI Sir,
    Issue,
    In MM01  TCODE
    when we are entering the material number   it should be the  12digit  otherwise it has to give the error message.
    so plz help what is the exact exit and the code .
    thanks and regards
    syed

    Hi,
        Check these BADI's
    WRF_DISCONT_PARAMS_I                    BAdI: Parameters in Fashion Discontinuation
    WRF_DISCONT_FACT_E                      BAdI: Follow-Up Actions in Discontinuation
    WRF_DISCONT_CHECKS_I                    BAdI: Scope of Check in Material Reorganization
    MG_MASS_NEWSEG                          User-Specific Fields & Segments in Mass Maintenance
    MATGRP_SKU_UPD                          BAdI for Article Hierarchy Connection
    CDT_CHECK_MATERIAL                      Checks for Existence of a Material in a CDT
    BADI_MM_MATNR                           Modification-Free Archiving Enhancement of MM_MATNR
    BADI_MATNR_CHECK_PVS                    Check Material for Use in iPPE
    BADI_MATERIAL_REF                       Addition of customer-defined default data for material
    BADI_MATERIAL_OD                        Integration of New Objects in Material or Article Master
    BADI_MATERIAL_CHECK                     Enhanced Checks for Material Master Tables
    BADI_GTIN_VARIANT                       User Exit for Customer-Specific GTIN Variant Check
    BADI_EAN_SYSTEMATIC                     BAdI for Internal Control of EAN Logic
    Regards,
    Srini.

  • Querying for large number of objects... searchspec limitation

    As part of a product i'm developing i may come across a scenario where i need to query for 100+ specific objects based on ids.
    I know the query input for WS 2.0 has a "searchspec" string field, but based on the sheer number of specific objects i need to query for i'm afraid the string may eventually get too large.
    Is there a way around this? Can i send multiple individual queries in a batch request? Can i add more than one search object to a single query page request? Anything?
    Thanks!
    -Kevin

    A few options available using the WS v2.0 Query methods:
    1. Use Arguments like page size and startrownumber arguments. This will allow you to specify the pagesize of the recordset to be returned and also the starting row number.
    2. The searchspec is a powerful argument and it supports a set of binary and unary operators. Refer the Ondemand user guide for a more complete set of operators supported by searchspec. To narrow the results of your query, you could use the "AND" operator between 2 or more fields in your object query.
    Hope this helps.
    Jaya

  • Search help for material number in table control

    Hi
    I have a table which i have generated using table control wizard.
    I have used an interal table while creating the table control through wizard.
    In this internal table i have field matnr.Now my requirement is to have a search help for this field.
    I want a default search help for material as you get one instandard transactions.
    In my other i have ip/op field i.e matnr and i have used the field directly from ztable,it has got the search help but since i am using the internal table i am notting getting a search help .
    can anyone tell how to assign a search help to my table control material field

    hi deepthi,
    chk a sample one which will help u. <b><i>f4 hlp in table control</i></b>
    * Screen flow logic........
    PROCESS BEFORE OUTPUT.
    *MODULE PBO_MODULE.
    PROCESS AFTER INPUT.
    *MODULE PAI_MODULE.
    PROCESS ON VALUE-REQUEST. "F4
      FIELD EKPO-EBELP MODULE help_ekpo.
    * populate screen field from within PROCESS ON VALUE-REQUEST(F4) call
    *&      Module  help_responsibility  INPUT
    *       text
    MODULE help_ekpo INPUT.
    **Transport values to table dynpro/screen table control
      DATA: l_stepl LIKE  sy-stepl,
            l_indx  LIKE  sy-stepl.
      DATA: dynpfields        LIKE dynpread OCCURS 5 WITH HEADER LINE.
    * Adjust for scroling within table control
      CALL FUNCTION 'DYNP_GET_STEPL'
        IMPORTING
          povstepl        = l_stepl
        EXCEPTIONS
          stepl_not_found = 0
          OTHERS          = 0.
      l_indx = tc_ekpotable-top_line + l_stepl - 1.
              "tc_ekpotable should already have been declared
      REFRESH dynpfields.
      CLEAR   dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELN'.
      dynpfields-fieldvalue = '00010'   "wa_ekpo-ebeln.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      dynpfields-fieldname  = 'EKPO-EBELP'.
      dynpfields-fieldvalue = '00020'   "wa_ekpo-ebelp.
      dynpfields-stepl      = l_stepl.
      APPEND dynpfields.
      CALL FUNCTION 'DYNP_VALUES_UPDATE'
        EXPORTING
          dyname     = 'SAPLZZ_EKKO'    "Program name
          dynumb     = '0100'           "Screen number
        TABLES
          dynpfields = dynpfields
        EXCEPTIONS
          OTHERS     = 0.
    ENDMODULE.                 " help_ekpo  INPUT
    rgds
    Anver
    <b><i>if hlped kindly mark points</i></b>

  • Query for Serial number

    Hello all,
    I want a query for show all the record along with serial number.Here i mentioned a sample table along with data.
    COMPCODE
    ITEMCODE
    ACTIVITY
    DESIGNATION
    QTY
    105
    001
    A13
    D7
    50
    105
    001
    A22
    D7
    44
    105
    001
    A34
    7
    54
    105
    001
    A45
    D7
    34
    105
    001
    A45
    D8
    54
    105
    001
    A52
    D13
    32
    105
    001
    A52
    D14
    3
    105
    001
    A61
    D2
    43
    105
    002
    A12
    D1
    43
    105
    002
    A25
    D1
    53
    105
    002
    A35
    D5
    42
    105
    002
    A35
    D4
    45
    105
    002
    A35
    D3
    65
    105
    002
    A44
    D2
    423
    105
    002
    A55
    D3
    43
    105
    002
    A62
    D4
    65
    These is the sample table along with data.My requirement is I want show the serial number based on the itemcode and activity.
    The final result should be  like this
    COMPCODE
    ITEMCODE
    SLNO
    ACTIVITY
    DESIGNATION
    QTY
    105
    001
    1
    A13
    D7
    50
    105
    001
    2
    A22
    D7
    44
    105
    001
    3
    A34
    D7
    54
    105
    001
    4
    A45
    D7
    34
    105
    001
    4
    A45
    D8
    54
    105
    001
    5
    A52
    D13
    32
    105
    001
    5
    A52
    D14
    3
    105
    001
    6
    A61
    D2
    43
    105
    002
    1
    A12
    D1
    43
    105
    002
    2
    A25
    D1
    53
    105
    002
    3
    A35
    D5
    42
    105
    002
    3
    A35
    D4
    45
    105
    002
    3
    A35
    D3
    65
    105
    002
    4
    A44
    D2
    423
    105
    002
    5
    A55
    D3
    43
    105
    002
    6
    A62
    D4
    65
    I tried write a query  used with row_number() function  but i didn't get the exact output.kindly help me for getting this type of output

    I see, try dense_rank instead:
    SQL> with your_view_resultset as (
      2  select 105 compcode, 001 itemcode, 'A13' activity, 'D7' designation, 50 qty from dual union
      3  select 105, 001, 'A22', 'D7', 44 from dual union
      4  select 105, 001, 'A34', '7', 54 from dual union
      5  select 105, 001, 'A45', 'D7', 34 from dual union
      6  select 105, 001, 'A45', 'D8', 54 from dual union
      7  select 105, 001, 'A52', 'D13', 32 from dual union
      8  select 105, 001, 'A52', 'D14', 3 from dual union
      9  select 105, 001, 'A61', 'D2', 43 from dual union
    10  select 105, 002, 'A12', 'D1', 43 from dual union
    11  select 105, 002, 'A25', 'D1', 53 from dual union
    12  select 105, 002, 'A35', 'D5', 42 from dual union
    13  select 105, 002, 'A35', 'D4', 45 from dual union
    14  select 105, 002, 'A35', 'D3', 65 from dual union
    15  select 105, 002, 'A44', 'D2', 423 from dual union
    16  select 105, 002, 'A55', 'D3', 43 from dual union
    17  select 105, 002, 'A62', 'D4', 65 from dual
    18  )
    19  --
    20  --
    21  --
    22  select t.*
    23  ,      dense_rank() over (partition by t.itemcode order by t.itemcode, t.activity) slno
    24  from   your_view_resultset t
    25  order by t.itemcode, t.activity;
      COMPCODE   ITEMCODE ACT DES        QTY       SLNO
           105          1 A13 D7          50          1
           105          1 A22 D7          44          2
           105          1 A34 7           54          3
           105          1 A45 D7          34          4
           105          1 A45 D8          54          4
           105          1 A52 D13         32          5
           105          1 A52 D14          3          5
           105          1 A61 D2          43          6
           105          2 A12 D1          43          1
           105          2 A25 D1          53          2
           105          2 A35 D3          65          3
           105          2 A35 D4          45          3
           105          2 A35 D5          42          3
           105          2 A44 D2         423          4
           105          2 A55 D3          43          5
           105          2 A62 D4          65          6
    16 rows selected.

  • Getting delivery date for material number i PO...

    Hi,
    I am Smartform associated with PO in ME22N:
    Now I need to get the delivery date associated with Differnet Grid items in a material.
    So if I go to some material and then if I click on Delivery schedule:
    I see columns for delivery date, sat. del da, Grid value, etc...
    But I want to know the table or function module we need to use to get Delivery date associated with
    prticular Grid item of a material in PO.
    Please help me out.
    Thanks.
    Regards,
    Ramesh.

    Hi ,
    Check out for BAPI_PO_GETDETAIL.
    In this BAPI,
    fill parameters : PURCHASEORDER with PO number
                      ITEMS with 'X'
                      SCHEDULES with 'X'
    Then in tables PO_ITEMS you will get Item details and
    in table <b>PO_ITEM_SCHEDULES</b> you will get required details like delivery date
    Hope this helps.
    Regards,
    Akshay Bhagwat

  • Query for Transaction number in Create Accounting = Draft Mode

    Hi al!!
    I run the Create Accounting program concurrent in my R12 instance in DRAFT MODE, and when the concurrent program finish i want to obtain the TRANSACTION number of the transactions in the XLA_AE_LINES table, how can i do that ???... it's for AP_INVOICES, AP_PAYMENTS, RECEIPT and CE Tables...
    Thanks in advance..
    Pablo.-

    1 row in ap_invoice_distributions_all ------> 1 row in xla_ae_lines.xla_ae_lines will have more than one row. dr and cr has to be there for each journal entry.
    I want to do a query that get lines from XLA_AE_LINES and then obtain the transaction number (AP_INVOICES_ALL.INVOICE_NUM) that was generated this line in the table.Check the link http://www.orafaq.com/node/2242
    I know that this is possible to do using the XLA_ENTITY_TRANSACTIONS table... but when the concurrent is run in DRAFT mode no line are created in this table.The rows in xla_transaction_entities table will get created when the invoice is created. NOT after running accounting, which is much earlier.
    Check the link http://www.orafaq.com/node/2243
    Also some more details on draft, final accounting are available at http://www.orafaq.com/node/2240
    By
    Vamsi

  • Query for batch number

    Hi
    i want query that
    suppose i create 'i01' item make management method by batch.
    when i create ap invoce at that time i add vendor refrence number add add that 'i01'
    item with '5' quantity's then add. at that time it ask for batch update.
    then i get new window of batch OBTN  in that window  i make user defined field.
    "In that user defined field i want that vendor reference number which i give in ap invoce "
    so plz help ..................

    Hi,
    Unless I misunderstood your question (if so, sorry), I presume you mean formatted-search to copy vendor reference number from main A/P Invoice form to batch selection form, isn't it? You can't do this, formatted search works in one form, can't work across two form / document. Hope this help.
    Best Regards,
    Hendry Wijaya

Maybe you are looking for