To change the classification data for a material using BDC

I have to update clssification data for material in MM02 using BDC so when i record the transaction MM02 using SHDB i am not able to see the value assignment window which i a able to see when i am changing using MM02 transaction directly. So can anyone have an idea regarding this ?
     I have even tried updating classification data using a BAPI BAPI_OBJCL_CHANGE but i am not getting desired results....can anyone suggest me what are the parameters need to be passed to the BAPI. Thanks in advance for your help....

Hi Nagarjuna,
                   <b>BAPI_OBJCL_CHANGE</b>  :  This BAPI changes an existing classification, or creates the classification if it does not yet exist. The classification is defined by the required entry fields for the object key (ObjectKey), object table (ObjectTable), class name (AllocDetail-Class_Num), and class type (AllocDetail-Class_Type). The default value for the optional date field (KeyDate) is the system date, on which all classifications become valid. The new characteristics and/or values are transferred to different tables according to data type. Numeric, time, and date characteristics are transferred to table AllocValuesNumNew, character and boolean characteristics are transferred to table AllocValuesCharNew, and currency characteristics are transferred to AllocValuesCurrNew.
The object key (OBJECTKEY) must be transferred in internal format. This means before conversion exits. For example, a material number must be transferred with leading zeros.
If the BAPI runs without errors, table Return contains no messages of type "E".
Assignment created:  message CL735
Assignment changed:  message CL737
Assignment not changed:  message CL738
This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
You can only use this BAPI for objects that are not classes!
This BAPI only processes assigned values for classification - not for configuration.
Reward points if helpful.
Regards,
Hemant

Similar Messages

  • How can we change the valuation type for a material created.

    How can we change the valuation type for a material created.
    Note : All open orders are closed for this material.3
    Please guide

    Hi,
    You can change valuation class, or you can set valuation category for your material master. If valuation category is set you can extend your material master and in this way creating records for different valuation types.
    Please try to set the desired changes in your mmr (MM02) > save > SAP will give you error message > push 'Display error' button and you will see what conditions must be eliminated to carry out the change.
    - you are not allowed to have open transactional data
    - no stock in the current and previous period (using proper posting date in MB1A + 201 you can reduce your stock level to 0, and after that you can set it back by MB1A + 202)
    - in case of valuation category setting batch archiving may be necessary
    BR
    Csaba

  • How do I change the start date for the week from Monday to Sunday on my iPhone 5?

    How do I change the start date for the week on iCal from Monday to Sunday on my iPhone5?

    Yes. On my new iPhone 5 the iCal week begins on a Monday not a Sunday and does not give me the option to edit in settings on the phone

  • XD02 transaction to change the customer data for updating KNA1 table?

    Hi all,
    How can we use XD02 transaction to change the customer data for updating KNA1 table?
    Give the steps.
    Thanks in advance
    rk

    Hi KR,
    Why don't u use BDC to run XD02.
    With Regards,
    Zafar Ali

  • Urgent-change the end date for a existing wage type.

    Hi,
    Can u pls let us know how to change the end date for a existing wage type.
    The current end date is 30.8.2008  and we would like to change to 31.12.9999.
    Rgds,

    Use This report RPCLGV00
    The Wage Type Distribution report enables you to display wage types for several payroll periods. It does not take into consideration differences resulting from retroactive payroll. The report shows the current values (number and amount) for each wage type. The report evaluates the payroll records that are marked with update indicator ‘A’ when the report is run. Subsequent reporting runs may not give the same result if - in the intervening period - retroactive payroll has taken place for the evaluation period. The wage type distribution uses the data from the results table RT for the relevant payroll result. The employee’s organizational assignment is also evaluated from the payroll result. This data is taken from the Work Center Basic Pay table (WPBP).
    The wage type distribution offers you the following options for evaluation:
    Individual reporting for a specific personnel number or name.
    Totals evaluation without specifying a personnel number or name.
    You cannot use wage type distribution to run a report for several countries. You can only select payroll areas from one country for reporting.
    Scope of Function
    You use the following parameters to determine how the appearance of the wage type statement:
    Wage type for evaluation
    Enter all wage types that are to be evaluated. If you do not make an entry here, the system selects all wage types. Note that you can only select wage types that occur in the RT table.
    Evaluation start date
    Evaluation start date and evaluation end date define the evaluation period. Enter the year and payroll period for the start of the evaluation.
    Evaluation end date
    This parameter delimits the evaluation period. If you do not make an entry here, only the period from the period from the parameter Evaluation start date is evaluated.

  • Reference class In the classification system for a material.

    Hi All,
    I would like to know What is meant by reference class in classification system for a material? If we are using a variant configuration scenario expalin in context to the classification systme used in this.

    Hi
    I am not sure of anything called as Reference class but definately we have Reference charecteristics inthe SCE application. Below is the brief description of the Reference charecteristics- see the link below
    http://help.sap.com/saphelp_crm40/helpdata/en/8a/dff538b0bd4606e10000000a114084/content.htm
    Corresponding to R/3 Master data is maintained in the R/3 database.
    Please let me know if yoy need any more info
    thanks

  • Can I change the count date for a PI Document?

    Dear All,
    By mistake, I entered count date as 30-Sep-2010 instead of 01-Oct-2010 while entering count for a PI document.
    Now, Can I change the count date to 01-Oct-2010 ?
    The issue here is I am not allowed to post the difference today since the count date belongs to the previous period which is 09 2010.
    pls suggest how can I resolve this issue?
    regards,
    Shetty

    Hi Shetty,
    I am assuming your issues is around posting the PI document and the count date  i.e.Posting period is in last month and hence you are stuck.
    If your client is ok to perform posting in previous period then try MMRV and allow posting in previous period and complete the Inventory counting posting and adjustment (write off differences and revert back the settings)
    Other option would be to  used above suggestion post PI doc without difference. Then create new PI document with correct count date.
    Hope this helps.
    Thx
    MJ

  • Is there a way to change the Digitised Date for Mov files in Lightroom?

    I am scanning some old photos.  Unfortunately Programs such as Dropbox and OneDrive display Mov files by their digitised Date.
    Consequently, My scanned photos are shown by the date that I scanned them. I can not seem to find anyway in LightRoom to change the Digitised Date so that they are shown on OneDrive/Dropbox in the correct order on my iPad.
    Any help would be appreciated.

    Your subject line says "Mov files" (which are video files), but your message talks about scanning old photos.  I'll address the old photos issue.
    Because there are so many dates/times associated with photos, and because every program feels free to use its own names, it's critical to be pedantically precise about terminology. The date/time a photo was originally taken (when the shutter was pressed) is called Date/Time Original or Capture Date. The date/time a photo was transferred to digital media is called Date/Time Digitized (when the analog file was scanned or when the digital-camera shutter was pressed). 
    A good rule of hygiene is to ensure every photo has a Date/Time Original (capture date).  Typically only digital archivists care about maintaining Date/Time Digitized.  If you ensure that every photo has a Date/Time Original, then pretty much any modern app and Web site will order your photos correctly.
    In LR, you set Date/Time Original using the Metadata > Edit Capture Time command.  By default, LR won't write the capture time back to the file's metadata, so depending on how you are transferring photos to other programs, the capture time won't necessarily get transferred.  So you either need to do Metadata > Save Metadata To File, or better, set the option Catalog Settings > Metadata > Automatically Write Changes Into XMP.
    Unfortunately, LR's Edit Capture Time isn't very flexible with dealing with scanned photos in which the precise date/time is not known.  So some people like to set an entire batch to, say, 1963/10/01 00:00:00, while others like to have each photo set in increasing increments of 1 second, so that programs will at least maintain the known relative ordering (which comes from the film or slide ordering).   To do that, you'll need a third-party plugin, e.g. ExifMeta or CaptureTime To EXIF.

  • Why can't I change the Created Date on a file using Terminal?

    I bought a used Contour helmet camera to take pictures of the kids while they're skiing, and I cannot access the camera itself to change the clock in it (USB port is broken).
    I get videos from it just fine, but every time I remove the battery the date/time on the camera resets to January 2008, so my skiing videos end up someplace completely different from what I expect in iMovie.
    I thought I could change the Created Date with Touch in Terminal, but it only handles the Modified Date.  I know I can purchase File Date Changer 5 from the App Store to do this, but I'd like to know why I can't do it in Terminal.
    Anybody know?  Or know of a different way that I COULD do it in Terminal?

    pessex wrote: Anybody know?  Or know of a different way that I COULD do it in Terminal?
    Don't know about Terminal, but, because you are using 10.9.x and iMovie, try the iMovie method:

  • How to change the created date for a file?

    I searched and found someone had asked this question last month, and an answer given was to try the site:
    http://danilo.ariadoss.com/howto-change-date-modified-date-created-mac/
    which I had previously found. However, when I follow the instructions I get a message stating "-bash: -t: command not found"
    I have gone through this numerous times, always with the same result. Is it possible that the direction given are not valid for Snow Leopard?
    Thanks for any help.

    First, thanks to both of you for helping - I hadn't realized that the 'touch' was part of the command itself. However, when I type in:
    touch -t 0904131115/Users/RobertFately/Desktop/suttonallen/suttonallen.jpg
    to test the procedure (there is a jpeg file I made today named suttonallen inside a directory of the same name) I get this error message:
    touch: out of range or illegal time specification: [[CC]YY]MMDDhhmm[.SS]
    This happens if I use the full year (2009) or just the last two digits (09) as seen above. My thinking is that I am attempting to redate the "create date" to April 13th of this year with an arbitrary time of 11:15AM.

  • After Changing the start date for a task in a project we are not able to save

    Hi 
    When we are updating the task start date of a particular task the below message is poping up in Project Professional and when we trying to update in Pwa and saving it automatically the save is becoming undone. 
    We are logging in with that user credentials and checking where the user has not charged any actuals on that task.
    Then a message pops up saying:
    "The actual work in "xxxx" is out of sync with the actual work updated from timesheets. Actual work can only be updated by team members through PWA. Changes you have made to users' actual work will be lost during the save."
    Can any body throw some light on the above issue.
    Thanks
    Geeth If you feel that the answer which i gave you is Helpful please select it as Answer/helpful.

    It seems you have enabled the option in server setting >> task Settings and Display >> Protect User Updates>> for restricting updates to PWA only ? this is one cause when this error message appears when the update restriction is to PWA
    and PM tries to modify the Plan, the only exception to this is milestones which can be updated via Proj pro,
    this being the case becomes a conflict when you say updates can be done only via PWA and try to overwrite the actual via MSP 
    kirtesh

  • How to change the posting date in UD stock posting for a HU managed item?

    Hi,
    We are using Handling Unit managed items with QM activation. For a specific HU managed material, we wanted to post the stock on a previous date. We have created PO on a back date and made GR also on a back date. Now the problem is, the system has generated an inspection lot. Now while trying to do UD and stock posting, I do not see the "Doc" tab which we normally see in UD stock posting for normal inspection lots (non-HU managed items) for changing the date.
    I don't see any other way to change the posting date for the HU managed item in UD stock posting. Anyone can help please?
    Thanks & Regards,
    Madhavan Krishnamoorthy.

    I don't think you can.
    Craig

  • Reading Classification data for material

    Hi all
    can anybody give me a FM or BAPI to read the classification data
    for a particular material..
    Kindly help . apt points will be rewarded
    Regards
    N manjrekar

    Hi Nikhil
    just copy paste this code to get the clasification of any material.
    hope this will be helpful.
    DATA: V_CLASS LIKE KLAH-CLASS VALUE 'MAT_SEL_CLASS_JASC',
            V_CLASSTYPE LIKE KLAH-KLART VALUE '023',
            V1_OBJECT LIKE AUSP-OBJEK,(nothing but material no)
            V_OBJECTTABLE LIKE  TCLA-OBTAB VALUE 'MARA',
            V_LANGU LIKE SY-LANGU,
            V_DATUM LIKE SY-DATUM.
            V_LANGU = 'EN'.
            V_DATUM = SY-DATUM.
    CALL FUNCTION 'CLAF_CLASSIFICATION_OF_OBJECTS'
      EXPORTING
       CLASS                      = V_CLASS
      CLASSTEXT                  = 'X'
        CLASSTYPE                  = V_CLASSTYPE
      CLINT                      = 0
      FEATURES                   = 'X'
       LANGUAGE                   = V_LANGU
       OBJECT                     = V1_OBJECT
       OBJECTTABLE                = V_OBJECTTABLE
       KEY_DATE                   = V_DATUM
      INITIAL_CHARACT            = 'X'
      NO_VALUE_DESCRIPT          =
      CHANGE_SERVICE_CLF         = 'X'
      INHERITED_CHAR             = ' '
      CHANGE_NUMBER              = ' '
      TABLES
        T_CLASS                    = T_CLASS
        T_OBJECTDATA               = T_CLOBJDAT
      I_SEL_CHARACTERISTIC       =
      T_NO_AUTH_CHARACT          =
    EXCEPTIONS
       NO_CLASSIFICATION          = 1
       NO_CLASSTYPES              = 2
       INVALID_CLASS_TYPE         = 3
       OTHERS                     = 4 .
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
         READ TABLE T_CLOBJDAT INDEX 2. " KEY 'MAT_CHAR_THICKNESS'.
          IF SY-SUBRC = 0.
            T_OUTPUT1-THICK = T_CLOBJDAT-AUSP1.
          ENDIF.
    Please close the thread if your query in  answered
    Reward points if helpful.
    Regards
    Zarina

  • Modify Classification data for IL02

    Hi,
      I want to modify the classification data for Functional location.
    Is there any function modules available to change. I know the functional module for Material classification, but Functional location its not working.
    SO pls tell me the function modules or any other method is available.
    I was unable to do to in BDC.
    regards
    Rajesh V

    Hi,
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
      EXPORTING
        objectkeynew    = lv_funcloc
        objecttablenew  = 'IFLOT'
        classnumnew     = lv_class
        classtypenew    = '010'
      TABLES
        allocvaluesnum  = li_numc
        allocvalueschar = li_char
        allocvaluescurr = li_curr
        return              = li_return.
    if not li_return[] is initial.
    read table li_return into lwa_return with key TYPE = 'E'.
    if sy-subrc ne 0.
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    endif.
    endif.
    Fill the new characteristic values into table parameters li_numc, li_char, li_curr depending on the data type (field ATFOR) of the characteristic value.
    Inside the FM it uses BAPI_OBJCL_GETDETAIL to get the old characteristic values and make comparision with table parameters li_numc, li_char, li_curr and updates the characteristic data for the functional location and class.
    Regards,
    Dwaraka.S
    Edited by: Dwarakanath Sankarayogi on Jan 29, 2009 10:49 AM

  • Costing error while change the mrp data

    Hi dears,
    This is Rem process. when i try to change the material master MRP data ex. ( mrp type M1 to M0)
    system not allow to change and show the error as
    Product cost collector 000000750122 is still active (assigned to PrCtr 50601-025)
    pls give some hints to clear
    Any program is there to change the MRP data for the material master in production server directly
    thanks

    Dear ,
    Did you try MASS or MM70 Transction ?
    If you do not want to go for Deletion flag of PCC  , you need to settle the REM qty  .You need to do product cost for semi finished product and finsihed product in KKF6N and after that you have to do mark and release in CK24N .For standard cat Estimate create std Cost estimation(CK11n)  and std cost Estimation Mark & release(CK24) .
    1.Backflush (confirmation) the Planned order - MFBF. Results planned order will Reduced and GR,GI, activity cost will be posted. U need not convert the planned order to production order, Confirmation for planned order only.
    2.To see Backflushed documents MF12
    3.Then Goto KKF6n to see the Manufaturing cost.
    4.Over head calculation - (Co42)
    5. Variance calculation (KKS6)
    6.Settlement(KK87)
    Try and revert back
    Regards
    JH

Maybe you are looking for

  • Unable to make purchases with my new Mac in iTunes Store.

    I am unable to make purchases with my new Mac in iTunes Store. I can buy with  my iPhone or my company lap-top (Windows) without any problems. Only with my brand new MacBook Pro it is impossible. When I try to authorize my Mac, sure dialog window app

  • HT1338 My iphoto has disappeared! What happened? Help

    I went to use my iphoto library after sometime  not using and it is not there! Where did the picture albums go?

  • Garbled audio when using 24-bit, 5.1 audio on X-Fi Titanium...

    Hi there... Everytime I try to play a 24-bit, multichannel audio file, the sound gets garbled and distorted. I usualy play them with KMplayer and AC3filter... I'm using the latest drivers, some people even sugested me to try older ones...But I have s

  • IPhoto to Photoshop

    I like to use iPhoto to scroll through all my photos, etc., but then I use photoshop CS3 to edit. After editing a photo in photoshop and saving it as a new file, it doesn't show up in iPhoto. It's in the iPhoto directory, but it doesn't show up in th

  • Im trying to download a dvd with promotional code on to itunes.

    So far i have been unsuccessful, a window comes up saying that the application requires 7.6.2 or higher download latest version, which i did. Then i started the process all over again now to get the error message (2005). I would be so grateful if any