BAPI_OBJCL_CHANGE error

Hi,
I am getting an error using the BAPI which I am not able to analyse. I am trying to change the value(7 to 6) assigned to the characteristics(assigned to class and linked to functional location) NBU_PCM_PMI_CLASS.
BAPI_OBJCL_CHANGE is run with below data
OBJECTKEY = S1115-11ESS AC OUT
OBJECTTABLE = IFLOT
CLASSNUM = NHC_TECH_DATA
CLASSTYPE = 003
Table ALLOCVALUESCHAR is maintained with characteristics and new value(6)
error message in return table is shown as 'assignment not changed NBU_ARC_BUS_VOLTAGE: Value "0 V" not found'   (which is beyond my logical reasoning as I am not passing this characteristic and value and the data that is passed is correct).
There are data for which this BAPI is working fine and updating values if BAPI is passed with correct data.
Please suggest.
Regards
Subhro

Hi Shubro ,
How have you solved the above problem ?
If you have a particular issue, open your own thread with your specific details.
-Paul
Moderator
Edited by: Paul Meehan on Aug 10, 2011 5:52 PM

Similar Messages

  • BAPI_OBJCL_CHANGE error: valuated with object dependencies

    Hi expert,
    having programmed an extension for a customer for automatic maintenance of characteristic values of technical object, we have come across an error.
    When using BAPI_OBJCL_CHANGE to change a characteristic followed by BAPI_TRANSACTION_COMMIT (without wait) we have two scenarios:
    1. if the technical object has no value in the characteristic before calling  BAPI_OBJCL_CHANGE  the characteristic will be set.
    2. if there is already a value set there is an error stating
    Characteristic 'XYZ' valuated with object dependencies (old value '00')
    However, I can't find a dependency definition in CT04. do you know what's wrong here,or what is a usual cause of that?
    thanks
    Stefan

    Hi,
    Please see the given link, It may help you.
    Re: BAPI_OBJCL_CHANGE and BAPI_TRANSACTION_COMMIT
    Regards,
    Shamma

  • BAPI_OBJCL_CHANGE error C1 821

    I am using BAPI_OBJCL_CHANGE to modify the classification view of batches. When I want to overrite a classification characteristic value with a blank value, the following error is returned.
    Message Class C1 821 Inconsistent characteristic value assignment
    This started happening after the upgrade to ECC 6.0. Prior to that the function was working smoothly. I have been searching for OSS notes but have not found any. It seems that this error message is triggered from function module CLAP_DDB_UPDATE_CLASSIFICATION. Does any one have an idea how to resolve this? I would like to be able to use this fm to clear characteristic values of batches.
    Thank you.

    Hi,
    I have your same issue. Could you tell me please how you solved it?
    Thanks.
    G.B.

  • BAPI_OBJCL_CHANGE Lock Error !

    Hi Friends,
    Iam using BAPI_OBJCL_CHANGE to update the characteristics for equipment.
    The code is somthing like:
    call Function BAPI_OBJCL_CHANGE
         |
         |
    Read it_return -  for any error messages.
         |
         |
    Bapi_commit.
    The problem here is, when run on Batch Mode sometimes this Bapi gives out the error 'Equipment is locked by user.'
    There is no other parallel job running at this time. But also we get this error. Sometimes able to replicate and sometimes not.
    I searched in SDN and found few others also faced the same problem with this FM BAPI_OBJCL_CHANGE.
    The thread i viewed for your ref:
    "BAPI_OBJCL_CHANGE "   is locking customers
    Which lock should I use for material batch characteristics?
    BAPI_OBJCL_CHANGE and BAPI_TRANSACTION_COMMIT
    Record Locking when using BAPI
    Kindly suggest me the suitable solution.
    Should locking and unlocking the equipment using FM enqueue/dequeue before calling this bapi will help?
    or
    Should this Bapi be called in Update task?
    Kindly suggest me.
    thanks,
    Padma

    Hi,
    Please try this
    CALL FUNCTION function IN UPDATE TASK
    COMMIT WORK
    Regards
    Hiren K.Chitalia

  • ERROR in the FM "BAPI_OBJCL_CHANGE"

    Hi All,
    I am using FM  u201CBAPI_OBJCL_CHANGEu201D and passing parameters
    OBJECTKEY :-  (MATNR + BATCH NUMBER)
    OBJECTTABLE:-   MCHA
    CLASSNUM:-   Z_KOR_B_MASTER
    CLASSTYPE:- 023
    STATUS:-  1
    STANDARDCLAS:-
    CHANGENUMBER:-
    KEYDATE:-  11.11.2010
    NO_DEFAULT_VALUES:-
    Getting the Error message:-
    u201DClass type 023, object type MCHA, object 0000000000001001011000001537
    Object 0000000000001001011000001537 does not exist
    Assignment was not createdu201D
    Any body can help how to use the FM "BAPI_OBJCL_CHANGE" or where is my mistake.
    But I am getting the clacification details diplaying in the FM " ME_VAR_GET_CLACIFICATION".
    Thanking you.
    Subash

    Change MCHA into MCH1.
    edit.
    I assume batch is not on plant level.

  • Error using BAPI_OBJCL_CHANGE

    I'm trying to change a characteristic within mm02 through a program(batch job).  I am using the FM BAPI_OBJCL_CHANGE and I'm getting the error message of CL535 that it cannot find FM object_check_ausp.  The field in which I'm trying to change is within the ausp table and no the FM object_check_ausp does not exist within my environment.  I had read a previous blog to create the FM, but a customer cannot create a FM named object_check_ausp.  Anyone run into this or have any idea where to get this FM?  I've looked at the notes, but did not find any help there.
    Regards,
    Kim

    Hi Welcome to SCN
    Search in forum for how to use the FM, I doubt if the error you are getting is correct.... It could be some other error leading you to this...[Click here for more info>>>|https://forums.sdn.sap.com/search.jspa?q=BAPI_OBJCL_CHANGE&dateRange=last90days&searchID=24050142&rankBy=10001&start=0]

  • Error While Changing the Batch Characterstics

    Hi Guys,
    We are getting error while Passing Material,Plan and Batch(Concatenated Value) to BAPI_OBJCL_CHANGE in the LV_OBJECT(BAPI1003_KEY-OBJECT) field we are getting the following error "Object LV_OBJECT Value does not exist" in the Return Table of the Bapi. Do we need to do any configurations for this?
    Thanks
    Nav

    Issue Got Resolved.
    Thanks,
    Nav

  • How to use  BAPI_OBJCL_CHANGE

    Hi Friends,
    For a Batch Number, I need to change the Characteristic value in MSC2N.
    I have MATNR,WERKS,CHARG, AND  I am also passing BATCH_CLASS as Class  CLASSNUM, 022 as class type.
    and In tables paramerter  I am exporting the values to the parameter ALLOCVALUESCHARNEW.( Z_STD_BARRIER_MAT,test( value to be updated),STAND / BARRIER & GEL A/B as character description).
    but I am getting the error while testing the function module as Enter the Batch Number.
    I am concatenating material number,plant and Batch number and passing to  OBJECTKEY.
    Kindly, let me know if anybody has already used the function-module BAPI_OBJCL_CHANGE,if anyother function module for the same purpose.
    Regards,
    xavier.P

    HI,
    Chk the code below.
    data: git_bapi1003 type table of bapi1003_alloc_values_num,
          git_values_char type table of bapi1003_alloc_values_char,
          git_values_curr type table of bapi1003_alloc_values_curr,
          git_bapiret2    type table of bapiret2,
          ls_bapiret2           type bapiret2.
    data: gs_bapi1003     type bapi1003_alloc_values_num,
          gs_values_char  type bapi1003_alloc_values_char,
          gs_values_curr  type bapi1003_alloc_values_char,
          gc_flag_x(1)       type c value 'X'.
    gs_values_char-charact = 'VIEWS_ID'.       "Characteristics
    gs_values_char-value_char = '012'.         "characteristics value
    append gs_values_char to git_values_char.
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
      EXPORTING
        objectkey                = '1100000028' "Customer
        objecttable              = 'KNA1'        
        classnum                 = 'CATALOG_VIEW_CUST' "Class Number
        classtype                = '011'               "Class Type
    *   STATUS                   = '1'
    *   STANDARDCLASS            =
    *   CHANGENUMBER             =
    *   KEYDATE                  = SY-DATUM
    *   NO_DEFAULT_VALUES        = ' '
    * IMPORTING
    *   CLASSIF_STATUS           =
      tables
        allocvaluesnumnew        = git_bapi1003
        allocvaluescharnew       = git_values_char
        allocvaluescurrnew       = git_values_curr
        return                   = git_bapiret2
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
       wait          = 'X'
    importing
       return        = ls_bapiret2
    Hope this helps.
    Thnaks,
    Harini

  • How to use BAPI_OBJCL_CREATE / BAPI_OBJCL_CHANGE

    After deleting the assignment of class in im12 transaction ( Change inv. prog. positions), I executed the BAPI, BAPI_OBJCL_CREATE. It shows error, 'Assignment already exists and is valid'. whereas assignment does not exist.
    Similarly, there is a problem with BAPI_OBJCL_CHANGE.
    When an assignment is already created, I used BAPI_OBJCL_GETDATA and accordingly entered values directly in BAPI_OBJCL_CHANGE. But it gives the error ' Characterstic not found or is not valid'. I have checked the data types of the variables passed and I did not find any mismatch.
    These errors are shown even if the BAPIs are executed directly from SE37. Please suggest what the problem might be.

    Hi all !
            I have found the solution for this problem, I found that I was trying to use the wrong functions for my case, so, to solve my needs here, I will use BAPI_OBJCL_CREATE to set the classification data for Functional Locations and Equipments, and I can use BAPI_OBJCL_GETCLASSES to list all classes assigned for a Technical Object, and BAPI_OBJCL_GETDETAIL to get all characteristics assigned to a Technical Object for a specific class.
            Thank you all for your attention !
            Wilson

  • Error while calling BAPI in BLS(Logic Editor)

    Hi all,
    I am using a RFC(BAPI_OBJCL_CHANGE) in XMLL logic editor. I have configured in SAP JCO interface. While executing that transaction, it shows error like ACTION FAILED: End Action SAPJCOInterface_0 : (SAP JCO Interface).  But, when I try with other BAPI's its working fine. At the same time when I execute the RFC(BAPI_OBJCL_CHANGE) in SAP logon its working fine. What could be the problem?
    Help in this regard, it's urgent.
    Thanks & Regards,
    Hemalatha

    Did you try to execute the BAPI from SAP in BAPI Explorer?  If you are not familiar with the behavior of a particular BAPI, that is a good place to do testing.  By using BAPI Explorer, you have bypassed any impact xMII may have on the execution of the BAPI. 
    Once you have the parameters set correctly there and the BAPI executes without error, then try it in xMII.  A couple of other things to keep in mind.  SAP often adds leading zeroes to various ID's (material, production order, batch, etc.).  BAPI's often do not.  So make sure you know the configuration of the object and check to make sure you have leading zeroes where appropriate.
    Hope this helps,
    Mike
    Also make sure you check the Automatically Commit Transaction since you are performing an action upon SAP rather than simply retrieving information.
    Edited by: Michael Appleby on Feb 11, 2008 4:17 PM

  • BAPI_OBJCL_CHANGE

    Hi all,
    I am using BAPI_OBJCL_CHANGE to update the characteristics value for the material
    In case of error handling if the 1first characteristics and 5th charcteristics of material is invalid, then the return structure gives the message only for 1st characteristics.
    It does not gives the error in 5th characteristics.
    whereas inmy case i want all error to be populated at once..
    Is this possible?
    Is there any other bapi which populates all error?
    Regards,
    Amruta

    Hi
    try using BAPI_XBP_JOB_ABAP_STEP_MODIFY

  • Use of BAPI_OBJCL_CHANGE for Table VBAP

    Hi All,
    We are trying to update/create  the charateristic LOBM_RLZ on change/create on Additional Data screen data ( VBKD).
    For this purpose we are using BAPI_OBJCL_GETDETAIL and changing the charateristic value at run time, and  further using the BAPI  BAPI_OBJCL_CHANGE to update the value.
    We are changing the LOBM_RLZ value from 30 days to 50 days. On executing this we are getting the error message  "C1- 801" - LOBM_RLZ: Value "> 0 d" not found  .
    Can someone kindly advise if we have missed something?
    In the below code we are fetching the  pit_allocvaluesnum,  pit_allocvalueschar,  pit_allocvaluescurr table values from BAPI_OBJCL_GETDETAIL.
    CALL FUNCTION 'BAPI_OBJCL_CHANGE'
            EXPORTING
              objectkey          = l_objek
              objecttable        = 'VBAP'
              classnum           = pi_wa_classinfo-class
              classtype          = pi_wa_classinfo-classtype
              status             = pc_status
              keydate            = sy-datum
            TABLES
              allocvaluesnumnew  = pit_allocvaluesnum
              allocvaluescharnew = pit_allocvalueschar
              allocvaluescurrnew = pit_allocvaluescurr
              return             = pit_return.

    Hi bossi_007 ,
    The cause for the problem is conversion of the the Chararteistic values from  BAPI format to CACL format due to ISO code maintenance in the Unit of measure "Days".
    Since the BAPI 'BAPI_OBJCL_CHANGE' internally calls 'BAPI_OBJCL_GETDETAIL'  to get the Old assignment values and converts them too, we get the error despite forcing the ISO code value to initial value in the table pit_allocvaluesnum before calling BAPI.
    To resolve this problem we have decided to use 'BAPI_OBJCL_CREATE'  for new Assignment creation and the Function module  LVF_UPDATE_AUSP to update AUSP value for changed charateristic.
    Regards
    Prasuna

  • How to delete lock entries generated by the function module "BAPI_OBJCL_CHANGE"

    Hi experts,
    I'm now trying to make an add-on program
    which updates material master information by the background job.
    To update the "Classification" view of material master,
    the program calls the function module "BAPI_OBJCL_CHANGE".
    If the "RETURN" information is valid,
    then the program calls "BAPI_TRANSACTION_COMMIT" (with the "wait" parameter 'X').
    Contrary to my intention,
    lock entries generated by the function module "BAPI_OBJCL_CHANGE" remains after "BAPI_TRANSACTION_COMMIT".
    As a result, the material updated remains locked until the add-on processing ends.
    To shoot this trouble, I read some SCN discussions below:
    <<lock unlock record>>
    ⇒ As I wrote above, I checked the parameter for "BAPI_TRANSACTION_COMMIT".
    <<BAPI_OBJCL_CHANGE Lock Error !>>
    ⇒ I cannot call the function module "BAPI_OBJCL_CHANGE" with "IN UPDATE TASK" option
    because of "BAPI_OBJCL_CHANGE" attributes.
    ("BAPI_OBJCL_CHANGE" is not a "Update Module".)
    How can I delete lock entries generated by the function module "BAPI_OBJCL_CHANGE" ?
    Thanks in advance.
    Tom

    I quess/hope you want to remove locks in you caller program and not locks required by the update task processing to insure database consistencies...
    Did you use the WAIT option in the commit FM, else if there are no other locks in your called program a call of FM DEQUEUE_ALL could solve your problem.
    Regards,
    Raymond

  • Error in starting Adobe Bridge in Photoshop CS2

    I've just installed Photoshop CS2, however upon opening Adobe Bridge this error message appears " The application has failed to start because libagluc28.dll was not found. Reinstalling to application may fix the problem"
    I have reinstalled and click repair but to no avail
    I followed Adobe Support Knowledgebase solution and run CMD and this appears:
    c:Documents and Settings/Jesus M Ferraris>
    then i entered the command
    cacls c:\windows\installer /T /E /C /G administrators:F
    but an error message appears - 'cacls' is not recognized as an internal or external command, operable program or bathc file
    I also entered the next command
    cacls "c:\documents and setting\all users" /Y /E /C /G administrators:F
    still the same error as above appears, Please help, have I miss something or was my procedure correct...
    P4, 512ram, WXP 80gHD

    Very useful.
    Good Luck.
    My
    Si
    tes

  • Windows Vista: Ipod Error Message, no longer read by PCs

    Hello,
    I have a 5th generation black ipod video with 30GB of memory.
    The other day I hooked it up to my laptop (Toshiba, 4 months old) that it's been functioning on with no problems whatsoever. This weird error message flashed twice about it not being able to sync because of some software problem.
    Eversince then, the only thing I can charge my ipod on is the family treadmill in the basement (~_~) as no other computer in the house recognizes it. I can't even charge it through the wall sockets, either.
    I have changed the ipod cord, still no luck. I've also reset the device about 3 or 4 times and uninstalled, restarted the laptop then reinstalled itunes. I would like to reset it back to factory settings but that's impossible as computers/laptops don't pick it up. I live very far from a Mac store...
    What's a girl to do? I can't live without my Busta Rhymes and Wu-Tang Clan!
    Any advice would be greatly appreciated! Thanks!

    you have to update Vista go to this site and up-date http://windowsupdate.microsoft.com

Maybe you are looking for

  • My Apple TV is only displaying on a quarter of the screen.

    When I turned on my Apple TV today, only a quarter of the screen was displayed.  The Apple TV is up to date.  I tried restarting it, as well as the internet connection.  When booting up, it uses the entire screen, but only a quarter of the home scree

  • Sending of OUTBOUND IDOC

    We are sending out idocs for schedule lines, Some idocs get stuck at 03 status (successfully processed), but these idocs or not received by the recepiant systems which does ot acknoledge receipt. hence thou these idocs are successful they are not sen

  • Page Layout Strange in Firefox

    Here's an example of the problem: http://www.brucetholmes.com/Music/Music.html In Safari it displays just fine. But in Firefox the main container is way off to the right. I've studied the code till I'm blue in the face trying to figure out what's wro

  • Javax.servlet.ServletException

    Hi guys, i'm developing a jsf application... i'm trying to use a myfaces email validator and now i'm this error when i run the application... what can i do?? Please help me solving my problem,i'm inexpert of jsf... type Exception report message descr

  • ALE_IDOCS_CREATE

    Hello All!!! Does anyone of you ever used the ALE_IDOCS:CREATE function to create an IDOC? If so, could please explain to me how to populate de tables and imports paramenter of the function? TIA! Federico Morrone