Pointers needed on Mapping Parameters - BAPI_OBJCL_CHANGE

Hi Gurus,
I am unable to pass correct mapping paramters to BAPI_OBJCL_CHANGE.
I need to update Characteristics in AUSP table
The paramters being passed:
Import parameters
OBJECTKEY                      -  what should be the value for Object key ?
Should i concatenate Material num and Batch to build Object Key ?
OBJECTTABLE                  -  AUSP
CLASSNUM                       -  what is Class Num?
CLASSTYPE                      - 023
STATUS                            - '1'
STANDARDCLASS           -
CHANGENUMBER             -
KEYDATE                         -
NO_DEFAULT_VALUES   - 
Tables
ALLOCVALUESNUMNEW
ALLOCVALUESCHARNEW
What should be populated in the above tables.
Please giude me with some pointers to use the above BAPI.
Please help me out in this one, its very critical.
Many Thanks,
Madan

data: numc_values type table of bapi1003_alloc_values_num with header line,
        alph_values type table of bapi1003_alloc_values_char with header line,
        curr_values type table of bapi1003_alloc_values_curr with header line,
        return type table of bapiret2 with header line,
        material type bapi1003_key-object.
  if not data_record-sp_ind is initial.
    move 'spare-part-indicator' to alph_values-charact.
    move data_record-sp_ind to alph_values-value_char.
    append alph_values.
  endif.
    call function 'BAPI_OBJCL_CHANGE'
      exporting
        objectkey          = material
        objecttable        = 'MARA'
        classnum           = 'SPARES'
        classtype          = '001'
      tables
        allocvaluesnumnew  = numc_values
        allocvaluescharnew = alph_values
        allocvaluescurrnew = curr_values
        return             = return.
the above is a code snippet from a program we use to maintain chracteristics of a class on material masters.
The object key is indeed the object that is being classified. in this case, the material number. you must first move it to the work field to make sure there is no typing issues with the BAPI. The object table is the table which stores the OBJECT (not the classification table AUSP). The classnum is actuall the NAME of the class, and the class type is the class type (for materials, this is '001' for example.
the internal tables store the values for the characteristics, and each characteristic goes into one of the three tables, depending on its data type. in the snippet is an example of loading a "character" characteristic.
actually create a classification manually, and then check it in AUSP, and you will see how the data is stored, and this might also help you. ausp is one of about a dozen or so tables used in classification.
this comes from a working, active program, but of course, you use this at your own risk (end of disclaimer)
i hope this helps. we do a lot of classification, so if you need any further help, just ask.

Similar Messages

  • Pointers Needed on Movement from Blocked Stock to Unrestricted Stock !

    Hi Gurus,
    I have a scenario wherein I need to take care of "Movement from Blocked Stock to Unrestricted Stock using Movement type 343 and in the next step need to do Material to Material transfer using movement type 309"
    My Query is:
    1. What does it mean when we say Movment from Blocked stock to Unrestricted stock ?
    2. What does it mean when we say Material to Material transfer ?
    Please help me with pointers on finding a BAPI to do the above stock movements or material to material transfer.
    Many Thanks,
    Madan

    Hi,
    Please help me with pointers on the mapping parameters for this BAPI.
    Here are the details which I am using, but gettin error message -
    T ID                   NUM MESSAGE
    E /CWM/MM              001 Transfer the parallel entry quantity/entry unit of measure
    I have filled below fields:
    GOODSMVT_HEADER
           PSTNG_DATE                   11/25/2009
           DOC_DATE                       11/25/2009
           PR_UNAME                        MyName
           HEADER_TXT                    TEST
    GM
    04  (Transfer Posting)
    GOODSMVT_ITEM
               MATERIAL                       100001374
               PLANT                          1AAE
               STGE_LOC                       B100
               BATCH                          0111331309
               MOVE_TYPE                      343
               ENTRY_QNT                                10.000
               ENTRY_UOM                      EA
               ENTRY_UOM_ISO                  EA
               MOVE_MAT                       100001374
               MOVE_PLANT                     1AAE
               MOVE_STLOC                     B100
               MOVE_BATCH                     0111331309
    Need your help to resolve this.
    Many Thanks,
    Madan

  • Need help in modifying mapping parameters of out the box mapping

    Hi There,
    I am a new bee to dac.
    Need help in modifying mapping parameters of out the box mapping, which is invoked by DAC task.
    We got a requirement to edit mapping parameter. When I go and see parameter under mappings tab in a mapping, I could not see any values in it.
    But when I set any value, and validate it. It is successful.
    Is it right way to do it?
    What my concern is, When I initially go and see parameter values under maapings tab in a mapping, they are blank.
    Where is it storing these values?
    Thanks,
    Rag

    If you modify mapping then u have to create new task in dac and dac itself craete parameter file at run time. if you want to add more parameters then do it in dac system parameters tab.
    Thanks
    Jay.

  • I need to map my garden.  I need to draw it to scale and locate plants ties to a list of plants.

    I need to map my garden.  I need to draw it to scale and locate plants that ties to a list of plant names.

    A quick google search for gardening apps gave a surprisingly large number of hits. I saw at least three distinct garden planner apps (from $2 to $10) without half trying. These are mostly for iOS - iPad and/or iPhone - though there may be equivalents for Mac OS.
    I suggest you hit the app store and start doing some searches. I suspect you'll find something appealing fairly quickly.

  • Need of security parameters in reciever mail adapter

    helo all.
    i just want to know the need of security parameters  and persist duration in reciever mail adapter.
    waiting for ur response.
    bye.
    regards.
    seeta ram.

    Hi Seeta Ram,
    If you want to encrypt e-mails and give them a digital signature in the corresponding receiver agreement in the Integration Server then Security Parameters are used.
    Persist Duration is used for security archiving.
    This link will help you
    http://help.sap.com/saphelp_nw70/helpdata/en/4e/c153426da9bd30e10000000a155106/content.htm
    Regards,
    Sreenivas
    Message was edited by:
            Sreenivas Nettem

  • Mapping parameters in Mainstage

    Hey I'm having trouble mapping parameters to my midi keyboard in Mainstage.
    I have an M-Audio Oxygen 49 midi controller and I tried clicking on something i want to control (reverb level) and then map parameter, and then I tried moving a fader on my keyboard to send a midi message, and then map parameter again but this did not work.
    Any help would be appreciated.

    First step of trouble shooting: does the keyboard actually work? Open any template concert - do you get a confirmation (An alert with "Select Preset #1" or so?) that the keyboard was recognized? Go to layout mode and check if all knobs actually react to your keyboard without any mappings.
    If they work, go to edit mode and map the parameter to whatever you want. It should work. You can test this with the template concerts that are shipped with MainStage.

  • As per requirement I need to map Char as KF

    Dear Experts,
    As per requirement I need to map Char as KF
    Char data type Char but need to KF Number
    Please Guide me
    Regards,
    JK

    Dear Rajendra,
    Thanku
    But as per our client requirement char value 1,5,25, show in  report Max ,Min and Avg 
    Please guide me
    Regards,
    Jk

  • OWB 10.2 PARIS - How do you enter mapping parameters?

    When I go to run or schedule my mapping, I can't seem to find anywhere where I can change my default parameters! I've been clicking and clicking to the point where my left mouse button doesn't work anymore. Can someone help while I go out and buy a new mouse.
    Thanks
    K

    I am left handed so my left mouse button works the same as a normal persons right mouse button, and clicking on the mapping parameters did not work.
    However, the suggestion to Tools -> Preferences -> Deployment - Process.
    Set the preference “Prompt for execution parameters” works perfectly
    I must've hovered very near that option in my frenzied clicking, but not on that exact one.
    Thanks you M Boire.

  • Is there a need to map fileds in tranformations?

    Hi All,
    I have few fields in source maktx,maktg  that defined as nav attributes in bi for 0materail.
    To get data to this fields in report is there a need to map the source fields to 0material in tranforamations?

    Hi,
    You need not to map attributes of the master data in teh transformation. Just mark the chracteristic 0Material as Master data and do the master data load for the chracteristic before doing the transaction data load. You will get the desired result.
    Also remember to do the attribute change run of the master data if any aggregate is created over it in the infoprovider i.e. cube.
    Navesh

  • I lost my iPhone, but it's been more than 24 hours so iCloud won't let me see the last known location of the device, and i need the map of it's last know location to find the phone, how do i get the map of it's last known location?

    I lost my iPhone, but it's been more than 24 hours so iCloud won't let me see the last known location of the device, and i need the map of it's last know location to find the phone, how do i get the map of it's last known location?

    It's not likely to re-connect to a network lying on the ground somewhere and getting rained on, it would be really great if I could see that map again so I could use it's last known location to find it.  Kind of pointless to have a 24 hr killswitch deadline.  If I had known I would have taken a screen-shot while I still had access to the information.  Since I lost the phone at Canada's Wonderland (which is now closed for the season) I don't have access to the location where I lost the phone (under a roller-coaster probably), and so I wanted to send the Lost And Found people a screen-shot of it's last known location, but I guess I can't do that now.  (Apple are big jerks)

  • What edition of Oracle DB do I need for Map Viewer 12c?

    Hi All,
    What edition of Oracle DB do I need for Map Viewer 12c?
    Thanks,

    What version of Oracle client do I need for a machine with Windows 8?
    Windows 8 doesn't require ANY version of Oracle client!
    Most installations of Windows 8 never install Oracle client and they have never had any problem except the large set of problems that come included with the OS itself (bugs).
    So you clearly need to explain what PROBLEM you are trying to solve.
    Then we can help you find the best way to solve it. For example you could download and use the free Oracle Sql Developer and just use JDBC to connect to your databases. Then you don't need an Oracle client at all.

  • Invalid map parameters

    Hi!
    When i'm sending to mail my world position from maps, then i can't open in my browsers on pc. 
    When site opens, only show me a map of the world. And sign "Invalid map parameters. Display default"
    Why??

    Sorry I forgot :
    Database: Oracle 11gR2
    GG version: Version 11.1.1.1.2
    Sometimes gettin error on target side ERROR OGG-01296 Error mapping from

  • Need help on Parameterized mapping in PI 7.1

    Dear all,
      i had a requirement in which Username, password & client values should pass from interface determination and these values should call through the  java mapping. i had gone through some of the discussions in SCN , but i cant understand. So can any one  please explain   step by step with java mapping.
    thanks in advance.

    hi Shaik Samir,
        In this pic you can see the user is creating the parameter called  TAG_NAME with a value "TAG"
    Then the java mapping code reads this parameter here in this line
    String inParam = arg0.getInputParameters().getString("TAG_NAME");
    In the string inParam we will have the value "TAG". You can do whatever you want with this value.
    Similarly you can write your own java code in NWDS as given in this sample mapping here
    http://wiki.scn.sap.com/wiki/display/XI/Parametrized+Java+Mapping+in+PI+7.1?original_fqdn=wiki.sdn.sap.com
    In your case you need to add Username, password & client values as parameters and their values as shown above and use them in your mapping. Hope I could explain you the process.
    All the best.
    Regards
    Anupam

  • Help needed in passing parameters between custom pages

    Hi,
    Thanks in advance for your help gurus. I am developing 2 new pages and both should have link between them. WHen I click a button on page A it will navigate to page B, I am passing 2 parameters to page B. Page B is rendered with the help of values passed. Page B has 2 OAMessageLovInput Bean for which I am setting their values based on the values passed using
    OAMessageTextInputBean custBean = (OAMessageTextInputBean)webBean.findIndexedChildRecursive("CustID");
    custBean.setText(pageContext.getParameter("customerid"));
    Everything works great till now. Now I want to change the customer id on page B using the LOV ie I select a new customer and I tab out of the field, still the customer id is not changed, it is set to the old one only to which the bean is set to.
    What should I do get the new selected customer id to be populated on the LOV fields.
    Thanks,
    newbie

    newbie,
    You really do not need to explicitly set the customer Id through code. Just create a new LOV Mapping and make its return value to the MessageTextInputBean i.e CustID on base page and Lov Region Item would be the CustomerID of the Lov Table region.
    Create Custome ID in LOV Table region and set its render property to false. I am assuming that the custId is present in the LOV VO query.
    Thanks
    --Anil                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

  • Help needed with Map function in Lumira

    Hi,
    I've bee using Luira for lots of great tile charts and bar charts, but now I am looking to make use of the mapping visulization in Lumira.
    Bascially I want to get a count of the number of retail stores by state. 
    I uploaded my data , and some have been populated and looks nice (see first screenshot) , but for others the state is not found (see second screenshot).
    I have looked in the help documents, and some of the training, but have yet to find a solution.
    What I'd like to know is how I can fix the "unfound" states, or at least find out what is the source file which stores all the states?
    Above is the results so far, below is the missing states that I need to resolve. How can I fix for these "not found" states  or compare the format of my original excel data vs the data from Lumira.
    Alteratively if there is a way to match via post-code / zip-code please tell me how.
    Thanks,
    Paul

    Hi Paul,
    the geo-hierarchies take all cities that are greater than 100.000 for the name resolution and for the smaller ones you would need to use latitude/longitude information to get them resolved by Lumira.
    You can find mre information on how to use latitude/ longitude information from here:
    https://scn.sap.com/docs/DOC-33118
    Regards,
    Clarissa

Maybe you are looking for

  • LZW license, can i use LZW in own application?

    Hello, i saw an article onadobe.com that mentions that a license is necessary if someone wants to use LZW: http://kb2.adobe.com/cps/584/6e584843.html That article is dated 2006, is it still valid?  What does that mean for an application that i write

  • How to order/get top 10 records of Business Object

    Hi Guys, I need some help here. Im trying to find out how should I go about ordering my return results by .findByMultipleParameters. Is there a simple method to also get eg. top 30 records after sorting the results? There are some new class - OrderBy

  • Mac Book Battery Question

    If I have my charger plugged into my macbook pro 2011, but it is not plugged in to the wall(so it is not charging), will this make the batter of my mac drain faster?

  • Boot a computer from sd card in a wp8

    How to boot a bios computer from the sd card (mount as usb mass stor dev) installed in a windows phone 8.1 device?

  • DIR getting Locked during MDT execution

    Dear Experts; In our projects  we use Device Infor Records (DIR).During the cretion of technical master data a  MDT gets triggered which installs the DIR at the Installation. We are facing a issue currently in our system.Whenever employee starts the