BAPI_OBJCL_CREATE inconsistent classification data error
I am using BAPI_OBJCL_CREATE to create a new classification for batch. Prior to this I am using BAPI_OBJCL_DELETE to delete the old classification data. But everytime I try to open the batch using MSC3N, I always get a termination error stating inconsistent classification data. Does any one know of a way around this?
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
Similar Messages
-
Error While Updating Classification Data - Error Message
Hi,
Has anyone encountered this error message while updating articles through ARTMAS04 IDOC. We have seen this error so many times and the only solve we could find is if the IDOC is reprocessed then it works fine. I definitely know that's not the solve but it is working temporarily.
Any help would be greatly appreciated
Thanks,
SriRahul,
Which function module or transaction are you trying to call?
It looks like that this update only can happen when logged in to SAP itself.. Because it is trying to call the sap gui..
Possible solutions you can find in following thread:
Dump during BAPI_ENTRYSHEET_CREATE calling from Portal
kind regards,
Robin -
Inconsistency in classification data = transaction terminated
Hello Guys & Gals,
I am doing the transaction CORK for Partial Confirmation of Process Orders.At the end of the Transaction,after putting the Production date & when saving it,a mesage is showing that "ERROR IN GOODS MOVEMENTS".when i m going through the termination message,it shows the message text that
"Inconsistency in classification data => transaction terminated"
By double clicking over the same,the below details is shown:-
Inconsistency in classification data => transaction terminated
Message no. 12126
Diagnosis
An inconsistency resulted during initialization of the classification data in the batch master transaction. The transaction therefore had to be terminated.
If i am going to the change view of the Material Master & select Classification View(not plant specific)..ther shows nothing.
Could you plz help me out that,where exactly it stuck up.
Thanks
JPDear,
Please refer my reply from this thread and OSS note 555508
Re: Problems with confirmation production order
Hope it will also solve your problem.
Regards,
R.Brahmankar -
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 -
Fiscal year variants in co.code have inconsistent start date.Msg no AC531
Hi Experts
We went with 24 periods after Go live. I am trying to assign the TAX basis fiscal year variant(TX) at Depreciation area level. But it's not letting to add with the following error message.
Fiscal year variants in co.code have inconsistent start date
Message no. AC531
Diagnosis
The first day of the fiscal year for variant TX (24periods) in company code in Asset Accounting differs from the first day of the fiscal year for variant D1(12 periods) in General Ledger Accounting.
However, both variants must have the same start and end date! Only the periods within the fiscal year can be different in the two variants.
Please guide me how to fix this error message.
Thanks in advance
Meenakshi.N
Edited by: Meenakshi.Nakshatrula on May 3, 2010 5:45 AMHi,
Message no. AC531 says:
The first day of the fiscal year for variant K4 in company code in Asset
Accounting differs from the first day of the fiscal year for variant NL
in General Ledger Accounting.
However, both variants must have the same start and end date! Only the
periods within the fiscal year can be different in the two variants.
The error is described in note 844029 :-
In the NewGL in Asset Accounting, it is still not possible for
depreciation areas to have fiscal year variants with different start and
finish dates. If you try to assign a fiscal year variant to an area,
whereby the fiscal year variant infringes this restriction, the system
issues error message AC 531.
Regards Bernhard -
Updating Batch classification data from MIGO for Purchase order
Hi,
I need to update batch classification data (in MSC3n) from MIGO for purchase order. The logic needed for this is as below,
1) Pass material and batch to MCH1 table to get CUOBJ_BM.
2) Pass CUOBJ_BM to INOB table to get INOB-OBJEK.
3) Pass INOB-OBJEK to CLAF_CLASSIFICATION_OF_OBJECTS to get class name & characteristic name.
4) Pass INOB-OBJEK, CLASS name and characteristic name to BAPI_OBJCL_CHANGE to update batch classification data.
I created implicit enhancement at the bottom of FM "CLVF_VB_INSERT_CLASSIFICATION". But the problem is, the return parameter of BAPI_OBJCL_CHANGE is giving the following error.
Class type 023, object type MCH1, object RAW-6 0000001151
Object is currently locked by user
The assignment was not changed
Please let me know how to do it. Is there any BADI or User Exit?Hi,
As you said the break point is not triggering did you activate your exit and activated even the project to which your exit is assigned.
I hope you missed activating your project in CMOD transaction. Please verify it once and if it is not activated then immediately activate it and try debugging again.
Regards,
Rafi -
How to use BAPI_OBJCL* to set classification data for Techn. Objects - PM ?
Good afternoon !
I´m working in a project to integrate some legacy system with the ECC 6.0, and I need to do some activities like, create functional locations and equipments in SAP PM, I have done this creating Z RFC modules that call bapis like BAPI_FUNCLOC_CREATE and BAPI_EQUI_CREATE, but these BAPIs doesn´t fill classification data, so, in a first moment, I solved this using BDC, but I would like to solve these needs using standard BAPIs if possible.
To solve the classification, I tried to do it using the BAPI_OBJCL* BAPIs(BAPI_OBJCL_GET_KEY_OF_OBJECT, BAPI_OBJCL_CREATE_KEY), but I didn´t find any example of using these bapis with technical objects, so I tried to test the BAPI_OBJCL_GET_KEY_OF_OBJECT in a first moment and, when I call it passing '003' as classtype(003 is the classtype for the functional locations), this bapi returns me "Class type 003 requires additional objects"(the same occurs if I try it with 002, for equipment). What means this message ? Need I to do some customization in img/spro, or cannot these bapis be used with PM technical objects ?
Thank you for your attention,
WilsonHi 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 -
Material Classification Data extraction fron ECC
Hello Experts,
We are trying to extract material classification data from ECC 6.0 to MDM 7.1 using mdmgx T-Code. We are using the standard SAP list of tables which is uploaded in MDMGX. On performing 'Start Extraction' it gives us the following errors:
Class and characteristics info returned is blank
Blank XML returned for port LT_ClassAttributes
Class and characteristics info returned is blank
Blank XML returned for port LT_Classes
Kindy advice if we are missing anything.
Thanks in advance,
Elizabeth.Hi Eliza,
I think rather than class type there should be Class Name e.g.
-<ClassHierarchies>
<Class>LIQUID_SAMPLER</Class>
<ParentClass />Zparent<ParentClass />
<Name_English>LIQUID_SAMPLER</Name_English>
</ClassHierarchies>
-<ClassHierarchies>
<Class>Zparent</Class>
<ParentClass />
<Name_English>ZPARENT</Name_English>
</ClassHierarchies>
One of the <ClassHierarchies> should not have ParentClass because there must be one class which is parent of all classes e.g. here ZPARENT
You should check that may be 001 is here also defined as class-name not class type. I would also say check do you have other ParentClass as Class name or not, except 001. Try to import this data in the manner as shown in MDM import Manager Reference Guide page 162 onwards using Create Hierarchy, after import check with business/functional consultant. Please have a look into it,
http://help.sap.com/saphelp_nwmdm71/helpdata/en/4b/72b8e7a42301bae10000000a42189b/MDMImportManager71.pdf
You can also use predefined import map for pre-delivered repositories like Material, Product etc.
Also, refer http://wiki.sdn.sap.com/wiki/display/SAPMDM/eClassTaxonomyinCustomRepositories
Regards,
Mandeep Saini -
How to Extract R/3 Multiple Valued variant Classification Data in BI
Dear Gurus,
got stuck in a situation where I am in need of your help. My Client want to extract the R3 Classification Data(Variant, Batch) into BI. I will share till what point I had reached. Used Transaction Code CTBW, was Trying to create Datasource based on Basic datasource 2LIS_11_VAITM for transactional Data. when I was trying to add the new Characteristics (CVN_L_AVG_SH) using Class with type 300(Variant), Getting an error "Characteristic has Multiple Values". I do know that Characteristics (CVN_L_AVG_SH and a fewmore) is having Multiple values, how can I add the same so that I can create classification datasource. Tried SDN got a PDF " How to Extract R/3 Classification Data in BI by Affine" but didn't helped Much.
Looking ahead to hear from you.Hi Harsha,
You cannot extract the multiple values using classification data sources, this data can be extracted by creating a generic extractor based on a view (with join on tables AUSP and INOB). this extractor brings the data in the following format.
OBJEK | ATINN | ATZHL | ATWRT
1 | HOBBY | 1 | CRICKET
1 | HOBBY | 2 | PAINTING
1 | HOBBY | 3 | READING
2 | HOBBY | 1 | CRICKET
2 | HOBBY | 2 | PAINTING
3 | HOBBY | 1 | READING
i.e. for field Hobby these are values assigned, if you want you can create 3 InfoObjects in BW and flatten this data by setting flags as below.
OBJEK | HOBBY_CRICKET | HOBBY_PAINTING | HOBBY_READING
1 | X | X | X |
2 | X | X | |
3 | | | X |
Let me know if you need more details.
Regards,
Rk -
ORA -10567 : Redo is inconsistent with data block...
Hi All !!
Two days back I installed oracle 10g on windows XP and today my database is giving problem as it's in mount state and not opening for normal operation.
When I give command 'alter database open' then it's giving error ORA-10567 : Redo is inconsistent with data block...I have no earlier backup for database
and also no backup for any datafile. I crosschecked the status of datafile and found that there are block corruption in datafile 2 & 4 (users and undotbs01)..I used blockrecover coomand too for block corruption but not able to correct those blocks..plz suggest me that how can I fix this error ORA-10567.
Thanks
With Best Regards
-avichalHi Ramesh,
I reckon you should try these out:
- identify the tablespace that file belongs to in the production db.
- put the that tablespace in backup mode on the prod db
- shutdown your standby database
- overwrite the problematic datafile with the corresponding datafile from production database
- put the tablespace above in end backup mode
- startup your standby database and issue the recover command.
Well, there you go. Your standby database should be all fine now.
Regards
Pranilesh Chand -
Classification data extraction questions
Hai All,
I have few questions regarding the classification data extraction from R/3 to BW.
Does anybody know if I can do the following(classification data sources in CTBW):
1. Extraction of Characters that permit multiple value valuations
2. Extraction of characters intended for intervals
3. I know that only FULL update is supported for classification data as of BW 2x. Does anybody know if deltas are supported in any of the new versions upto BI 7.0?
I appreciate if any body can answer these questions or refer to documentation or SAP notes.
Thank you very much.hi,
please take a look
1. oss note 604412
Symptom
The selection after the key field during the extraction of the classification data from the class type that permits several objects (MULTOBJ = .X in table TCLA) does not work. The selection only works in such a case if an object number (CUOBJ from table INOB) is entered as a selection criterion.
Other terms
OBJEK, CTBW, RSA3, extractor checker
Reason and Prerequisites
This is caused by a program error.
Solution
Implement the source code corrections.
3. delta should be supported since 'old' version, see 'old' oss note 323412-Create change pointers for BW
(other notes for delta problem 410741, 413130)
DataSources, Symptom
You must implement this correction if you also want to use the DataSources of the classification, that are created using Transaction CTBW, for delta uploads.
Additional key words
CTBW_BW_CHANGE_POINTERS, ALE
Cause and prerequisites
Making DataSources delta compatable for the BW.
Solution
Program enhancement in update of the classification. -
Problem while generating classification data-sources
Hi ,
I have one classification data-source 1CL_OVEN001 which is based on vendor master data and class type 10. I tried to added one field in this data-source . while generating data-source, I got some error like " Extractor can not be generated".
Then I searched on SAP site and got one note 1946309 . When I implemented this note and tried to generated data-source. Now I am getting another error.
"EXTRACT STRUCTURE IS NOT PERMITTED"
I have tried with several note but getting same error.
Please help.
Thanks in advance
Devesh VarshneyHi,
What field you have added, if it is Keyfigure then make sure that you have added its unit.
-Sriram -
Inconsistent calendar data precluding calendar sync
For the past week or so, iCal on my iMac has been having difficulty syncing with MobileMe. I spent an entire evening on the phone with an Apple tech support guy, and we walked through a process in which he had me repair the permissions on the iMac and set things up to protect the good copy of the calendar from being compromised. Then he either caused or observed the resetting of my calendars on MM. Immediately after that, iCal seemed to sync "properly" with MM and I went on about my business.
A couple of days later, though, I discovered that none of the events that I had entered on either my MacBook or iPhone appeared on the iMac, and none of the events that I had entered on the iMac appeared in MM (and thus either of the remote devices). Subsequently, I have tried to reset the whole process by pointing the sync arrow in System Preferences toward the iMac and then presumably overwriting the calendar data on the iMac. Didn't work!!
Occasionally over this period I have gotten the "inconsistent calendar data" message while iCal has been syncing with MM, but I can't figure out where the inconsistency might lie.
I'm thinking that the only way to resolve this is to delete the entire calendar from iCal and then download the MM calendar again. What I don't know is whether or not this will actually solve the problem, or just "update" the calendar on the computer without fixing whatever the syncing issue is.
What is the best way to delete the calendars on the iMac - delete them from within iCal or delete the calendar data in the Library? If it is the latter, where is the actual calendar data? The iMac is on OS 10.5 and the calendars, obvious in 10.4, have changed names and moved.
Any other ideas are certainly welcome.I'm having the same problem. I've been using Microsoft Entourage but began having difficulty syncing it back to iCal and therefore my iPhone. I reverted to paper. I am trying to reestablish my usage of iCal, but whatever appointment I add to iCal, does not appear in Mobile Me and therefore my phone.
I'm getting the same error: "Inconsistent Data" and a suggestion to reset Mobile Me within system preferences. I don't want to reset all data. But I'm stuck!
Help!! -
Hi,
I am using Windows 8.1
I have an External Hard Disk i have partitioned it to 4 parts.
One drive is now inaccessible due to sudden power failure while listening Music from that drive few days ago.
Now it shows "Data error (Cyclic redundancy check)".
I tried all the procedures provided here like
chkdsk /f, diskpart, rescan etc
but no result :( (i mean all processes failed. They could not detect the drive).
Please help me to get those data, pictures and project files.
thank youThen why aren't you posting this in the Windows 8 forums found @
http://social.technet.microsoft.com/Forums/windows/en-US/home?category=w8itpro
This is a Windows 7 forum for discussion about Windows 7.
Please remember to click “Mark as Answer” on the post that helps you, and to click “Unmark as Answer” if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. ” -
Stale data error while opening a multiple OAF page .
Dear Friends ,
I have a OAF page developed and deployed in server , its basically a search page , it also has several links to
go to create page and update page . when the user opens the multiple page using different tabs in the browser
like for example
ex :
from search page click on create page open it as new tab . if such multiple table are being opened
and do some operation like search a record , it gives and error (stale data : Developer's mode exception ) .
How to over come this exception , could you please share you ideas
Thanks in Advance,
Keerthi.kHi friend ,
In Search page i didn't do any update. and also search page is not a problem it's working fine. create page only the problem. In this page only throwing Stale data error exception.
Please give me more suggestion.
Thanks in advance,
Maybe you are looking for
-
Error while creating fields in the Category Structure Urgent
Hii, I am getting the Error while creating the Category structure fields Error Message : Entry YF_COU does not exist in CABN - check your entry Message no. 00058 Diagnosis Input values must be defined in Table CABN. The value or values 'YF_COU ' ar
-
ACS 4.2.1: adding new AAA clients through odbc import
Hello, we have added the user defined vendor RADIUS_HUAWEI to our Cisco ACS 4.2.1 Windows Server. Unfortunately there is a problem with importing network devices through odbc connection using the accountactions table with the action code 220. The d
-
STARTING UP TOMCAT ON REMOTE WIN2000 SERVER
Hi all, i have the following problem and i was wondering if any of you has ever come across the same problem as me. I am trying to setup a server/client network. As you can imagine i need to startup tomcat by accessing the actual server machine from
-
Why does a CRIO-9004 only provide a timed loop of 1kHz (clock) and not 1MHz?
I essentially have a compact CRIO-9004 and require a PID loop with update rates around 4-5 kHz. Additionally, I was hoping to use multiple 'timed loops' in the program in order to synchronize certain events. During this coding, the timed while loop w
-
Macro/automated process to create destinations or links?
I have a project that involves a 600 page pdf (created from WORD and then run through XPP) and then into a PDF with adobe acrobat professional 9. I have to create 100s of destinations and then link to them. Is there anyway to automate this process