Need FM to read classification deatils of a material based on classtype

Hi All,
i need FM to read classification deatils of a material based on classtype.
ex: in mm02 if u enter any material number and enter, we ll see the material and below that class type (description as material class).Based on this class type i need fetch the classification data of a perticular material.
kindly let me knoa ASAP.
Thaks
Sri

Hello,
Use the BAPI:
    CALL FUNCTION 'BAPI_OBJCL_GETCLASSES'
         EXPORTING
              OBJECTKEY_IMP   = L_OBJECT " Material Number
              OBJECTTABLE_IMP = L_OBJECTTABLE " MARA
              CLASSTYPE_IMP   = L_CLASSTYPE
              READ_VALUATIONS = 'X'
              KEYDATE         = SY-DATUM
              LANGUAGE        = SY-LANGU
         TABLES
              ALLOCLIST       = L_ALLOC
              ALLOCVALUESCHAR = L_VALUES_CHAR
              ALLOCVALUESCURR = L_VALUES_CURR
              ALLOCVALUESNUM  = L_VALUES_NUM
              RETURN          = L_RETURN.
Regards,
Vasanth

Similar Messages

  • How to read classification

    Hi developers,
    I need to read the classification item of a material.
    How can I do that?
    Thanks,
    Simone

    Hi Simone,
    You can find out from table CABN and AUSP.
    Below code snippet may help you..
    *--- Build internal table IT_AUSP based on Characteristic Name,
    *--- Internal characteristic value, Indicator(Class/Object) and Class Type
      IF it_objek[] IS NOT INITIAL.
        SELECT SINGLE atinn                     "Internal characteristic
                 FROM cabn
                 INTO v_atinn
                 WHERE atnam = 'Z_001_CLASS'.  "Your class name of the material
        IF sy-subrc IS INITIAL.
          SORT it_objek BY objek.
          DELETE ADJACENT DUPLICATES FROM it_objek.
          SELECT objek                          "Key of object to be classified
                        atwrt                           "Characteristic Value
            FROM ausp
            INTO TABLE it_ausp
            FOR ALL ENTRIES IN it_objek
            WHERE objek = it_objek-objek
              AND atinn = v_atinn
              AND mafid = 'O'                   "Indicator: Object/Class
              AND klart = '001'.                 "Class Type
        ENDIF.
      ENDIF.
    Best Regards,
    Sayak

  • Data from a file need to be read and mapped  into a custom table of R/3

    Hello all,
    This is related to inbound to  SAP ECC via SAP PI.
    There is a requirement concerning PI part that data from a file need to be read and mapped  into a custom table of R/3.
    To have this scenario developed , do we have any other  option than the Proxy ?
    My understanding is as follows : File --> SAP PI --> Proxy
    You suggestions are welcome.
    Regards,
    Rachana

    Hi Ravi,
    As suggested by Inaki, you can use proxy communication in recever.
    but you can also use the below
    FILE -----> PI -------> PROXY
                                  RFC
                                  IDOC
    to communicate to ECC system.
    Regards
    srinivas

  • My MacBook Pro will not open documents via Adobe Reader. Says I need to aspen Reader in Browzer and accept terms and contitions first. Went through this 3 times and got through to "Finish", closed browser and then retried. No luck. What's going on?? Have

    My MacBook Pro will not open documents via Adobe Reader. Says I need to aspen Reader in Browzer and accept terms and contitions first. Went through this 3 times and got through to "Finish", closed browser and then retried. No luck. What's going on?? Have no problem with same documents on iPhone and iPad

    After you finished installing did you launch Adobe Reader from your /Applications folder and accept EULA(End User License Agreement)?
    What is your Adobe Reader version?
    What browser are you using and browser version?
    Thank You.

  • Camera raw 7.2 will not install within CS5.5, but need it to read nrw files from P7700.

    camera raw 7.2 will not install within CS5.5, but need it to read nrw files from P7700. Besides DNG Converter, what can I do to use files directly?

    Your next option is to upgrade photoshop. If you can't afford the full version (less than $20/month) you could get elements, it uses the latest version of camera raw, but I think it is a stripped down version though.

  • Need latest acrobat reader for solaris 10 sparc version

    i need latest acrobat reader for solaris 10 sparc version
    checked adobe site it is only avilable for linux and not for solaris, very strange

    There's no version of Adobe Reader XI for Solaris.
    The only versions you can download are legacy - see the complete list here: http://www.adobe.com/support/downloads/product.jsp?product=10&platform=Unix

  • I need to install reader on an old (Win2K SP2) PC w/ no internet access.

    I need to install reader on an old (Win2K SP2) PC w/ no internet access.

    You can download the proper offline installer from here
    http://get.adobe.com/reader/enterprise/
    then copy it in some suitable device to take it to your old computer.

  • New user - need info on reading documents

    I dusted off my husbands old Tungsten E which I know is kind of old but would be sufficient for my needs, namely use it to read documents on the go.  (My husband is not much help as he never did really used it.) So really all I need is information on cheap or free software (and how to put it on the PDA) so I can open  either word or pdf files, all I need is to read, no editing necessary. I have an SD card I can use to move the files from my pc, so I don't have to deal with much sinking. 
    As you can't tell I am not very PDA savy, so the simpler the better.  Thank you all in advance for any help.
    Post relates to: Tungsten E

    First tell us if the program Docs to Go is already installed if not just follow this guide:
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=38830
    Please note that you will need to load palm desktop first inorder to load this software to your device.
    Set up Documents To Go
    Documents To Go, a third-party application from DataViz, lets you carry Word, Excel and PowerPoint files on your handheld, so you can be more productive wherever you are.
    DataViz Documents To Go Professional Edition is included on the Tungsten E2 CD-ROM. To install Documents To Go:
    Windows:
    Insert the Tungsten E2 CD-ROM into your PC.
    A "Discover your handheld" screen will automatically appear. Select "Add software to your handheld."
    Select "Documents To Go," then select "Install."
    Follow the onscreen instructions to install the software.
    Mac:
    Insert the Tungsten E2 CD-ROM into your Mac.
    On your desktop, click Palm CD icon.
    Open the following sequence of folders:
    Palm CD : English : Essential Software : DocumentsToGo
    Double-click the icon for DXTGPROFull7003en.dmg.
    A Documents To Go panel will open after the image is mounted. Double-click the Documents To Go Installer icon.
    Follow the onscreen instructions to install the software.
    How do I learn to use Documents To Go?
    Launch Documents To Go on your PC or Mac. From the Help menu, select Interactive Tutorials (Windows) or Getting Started Manual (Mac).
    You can also go to www.DataViz.com for complete product information, technical support and more.
    Documents To Go is supported by DataViz. If you have questions or need help, please contact DataViz.
    If you already have Docs to Go installed on your device then just drag and drop the files on to the SD card from the PC, then insert the SD card into the device and open Docs to Go to view the documents.
    Message Edited by IrreducibleM31 on 03-20-2009 07:17 PM

  • Do I need to uninstall Reader 8 before installing Reader X?

    Do I need to uninstall Reader 8 before installing Reader X?

    Hi,
    Uninstall previous or current version of Adobe Reader, you use Adobe Reader Cleaner Tool :
    http://labs.adobe.com/downloads/acrobatcleaner.html
    Download Adobe Reader 10.1.4  : http://get.adobe.com/reader/

  • I need the Adobe Reader for OS 5.1.

    I need the Adobe Reader for OS 5.1.The app available in the stor is only for OS 7

    Please see the answer in the following post.
    Acrobat reader for ios 5.1
    You should see the dialog with a choice to download an older version of Adobe Reader for iOS.
    Please let us know if it does not work for you.

  • BAPI to read classification of Material Variant

    Hi experts,
    In our customer we are using material with a reference product KMAT (Material Variant), and we need a BAPI to read the configuration of the materials.
    Does anyone knows which BAPI can we use to read the configuration of the material variant?
    We tried to use the BAPI_PRDSRVAPS_GETCLASSES, but for material variant it didn't work, just to products that doesn't have a KMAT related.
    Thanks in advanced
    Thiago Cyrillo

    Thiago,
    Why dont you use a class like /SAPAPO/CL_MC01_CCV and method like GET_SINGLE_CHARVAL?
    Kedar

  • I need that Adobe reader don`t update automatically.

    Good Afternoon
    In My company actually have problems with the Adobe reader  update, we had worked in various solutions for example , in the program option Edit/preferences option update and check in No download.... other  was program files/common files/Adobe/ rename the folder update with other character or other name.
    this solutions was not succesfull , I have the problem yet.
    I need help with this situation because my data channel is not working correctly, my users have problems.
    If somebody know about one solutions please help me!
    I need that Adobe reader don`t update automatically.
    Have good day!

    If you have a Windows Domain environment in your company and domain controllers are Windows 2008/2008 R2, than you can use this Grou Policy Templates: https://sourceforge.net/projects/customadmx/
    They are capable of switching auto updates off.

  • Need an ebook reader for itouch gen 2

    need an ebook reader for itouch gen 2, OS is 4.x

    All you can do is search the App store for ebook readers and see if they are compatible with a 2G iPod with iOS 4.2.1.
    What format of books do you want to read? There a many different formats.

  • Need to Assign read-only roles to a user in EP

    Hello,
    I am currently facing a situation wherin I need to assign read-only roles to a user. I need to assign the user admin, system admin and content admin roles to him, but all with read only permissions. Could someone kindly direct me as to how this can be done in EP7.0?
    Thanks in advance and best regards,
    Karthik.

    Hi Karthik,
    first, welcome on SDN!
    About your question:
    Ganesh already showed the way for the PCD. Anyhow, the content admin also can accedd the KM content (if installed); so for KM the settings have to be done, too, i.e. defining only read-permissions for this user on all repositories.
    The same holds for System-Admin - Permissions - Portal Permissions, here under the different sections only read access permissions would have to be set.
    Anyhow, some areas cannot be restricted in this way, for example the User Management. This could be done only via http://yourserver/useradmin and there via ROLE actions (and not per user).
    Still, some areas certainly will stay problematic, so that one maybe would have to strip down the standard roles (create a delta link copy of the content and then remove the problematic areas).
    Hope it helps
    Detlev
    PS: Please consider rewarding points for helpful answers on SDN. Thanks in advance!

  • Need help to read Instant messenger packet

    I need help to read the IM packet from the LAN.Can anyone help me? I doing my project to monitor the IM in LAN.If got example,pls show me.

    There are several problems with this. First, it is not possible to separate IM packets from any other packets floating around a network. Second, to peek at packets intended for other computers is a pretty big no no.
    If you really need to do this, build a proxy server or some layer in the middle of your IM where you can record
    I need help to read the IM packet from the LAN.Can
    anyone help me? I doing my project to monitor the IM
    in LAN.If got example,pls show me.

Maybe you are looking for

  • Adding BI Java on NetWeaver Portal 2004s installation

    Hi All, We have NetWeaver Portal 2004s sps 10 installed. We would like to know if we can add BI Java on the same instance. Thanx Jayant

  • Service Contract Sublines appear Active in Contract, but Expired in IB

    Contract is Active, contains 1 Service Line with End Date > today, contains 5 sublines. Originally contract contained 3 Sublines, contract Expired, was then Extended and successfully Active again, 2 covered items added. Contract header, lines and sub

  • Emergency Access Management & SPM 5.3 - add default text!

    Hi, is there a way to initialize the text fields, which pop up when you logon as a firefighter, with default values (such as Enter Ticket Number here: #)? Would be interesting for 5.3 as well as 10.0. Thank you

  • How to define interface builder outlets in Cocoa-Python?

    Hi, I am writing a Cocoa-Python application but I couldn't find a way to define outlets in Python code that I can use in the Interface Builder. Of course I know how to do that in Objective-C and this doc http://developer.apple.com/documentation/Cocoa

  • Time Capsule via ADSL modem: settings

    In italy there's not a cable ADSL, so we need an ADSL modem (adapter) in order to connect to the web. So now I've just purchased a new Time Capsule and I'm in order to set the connection. I would set the device this way: 1)Set bridge mode the modem t