Primary ledger error
Hi,
I am getting below error when trying to load Operating Unit in Target Instance. It will be great if someone can help me resolve below error:
Name: HR_OperatingUnit
Type: BC4J
Path: oracle.apps.per.isetup.schema.server.OperatingUnitAM
Time Taken(seconds): 0.0
oracle.apps.fnd.framework.OAException: An exception occurred in API 'Operating Units API'.
at oracle.apps.az.fwk.BEUtil.wrapperException(BEUtil.java:381)
at oracle.apps.az.fwk.server.BEImport.importXML(BEImport.java:426)
at oracle.apps.az.fwk.server.BEApplicationModuleImpl.importFromXML(BEApplicationModuleImpl.java:414)
at oracle.apps.per.isetup.schema.server.OperatingUnitAMImpl.importFromXML(OperatingUnitAMImpl.java:188)
at oracle.apps.az.r12.api.BC4JAPI.importAPI(BC4JAPI.java:803)
at oracle.apps.az.r12.loader.cpserver.APILoader$APIExecuter.run(APILoader.java:503)
## Detail 0 ##
oracle.apps.fnd.framework.OAException: There are warnings in this API and the commitWithWarnings flag is set to false.
at oracle.apps.az.fwk.server.BEImport.commit(BEImport.java:1559)
at oracle.apps.az.fwk.server.BEImport.importXML(BEImport.java:392)
at oracle.apps.az.fwk.server.BEApplicationModuleImpl.importFromXML(BEApplicationModuleImpl.java:414)
at oracle.apps.per.isetup.schema.server.OperatingUnitAMImpl.importFromXML(OperatingUnitAMImpl.java:188)
at oracle.apps.az.r12.api.BC4JAPI.importAPI(BC4JAPI.java:803)
at oracle.apps.az.r12.loader.cpserver.APILoader$APIExecuter.run(APILoader.java:503)
Importing rows from xml file, and validating rows ......
An error occurred in API 'Operating Units API'
View Object 'ClassificationTypeVO'
Classification = 'OPERATING_UNIT'
Type = 'Operating Unit Information'
Error encounted while converting descriptive flex field 'Operating Unit Information'.
Value XXXX for the flexfield segment Primary Ledger does not exist in the value set FND_MO_LEDGERS.
Thanks
This error is more functional than technical. From the error message what I understand is that you are moving Operating Unit without moving DFF/KFF. Please check with functional experts in your team. They should be able to help you out.
Similar Messages
-
Purchasing Requestor 3 or Purchasing Super User
Accounting > SLA: User Main Menu > Accounting Events
Initially when opening this screen the Primary Ledger will default in. If you switch responsibilities or clients and go back into this screen it will no longer default in. Does anyone have any ideas on how to get this to default everytime or any ideas on what could be causing it to only default on the initial use.
Thanks.Hi,
It got worked. Thanks.
However, while trying to create a new legal entity I got the following error message.
"Attribute Name in GLLe Quick Create AM. Create Entity profile AM. Entity profile VO is required".
Do you aware of the error message.
If so please advice.
Thanks,
R. Bala -
Application Translation Not Working - Primary Key Error
I had created an application translation to Spanish but it wasn't displaying my Spanish translation. I was going to try and redo it so I tried creating a new mapping and then seeding the translatable text. I got a primary key error "ORA-20001: Seed insert error: WWV_FLOW_TOPLEVEL_TABS.TAB_TEXT ORA-00001: unique constraint (FLOWS_030100.WWV_FLOW_TRANSLATABLE_TEXT_PK) violated".
I went in and deleted what I had done through APEX for this app and tried to create a new application but still get the primary key error when I try to seed it. I gave it a new translated application ID but that doesn't seem to help. Anyone have this problem or no of the reason I'm having this issue?
Thanks.Hi David,
Thanks for reporting this. This was an interesting problem to solve.
As it turns out, it was a logic error in Application Express (i.e., bug). When deleting a translation mapping, the associated strings in the translation repository would be deleted for that application, but if and only if you had actually published the application.
I think this is why you could never get Spanish working properly - you had never actually published the application the first time. So I'll bet what you did is deleted the original mapping, then you recreated the mapping for the same language but with a different translated application ID. Since you had never published the application from the original translation mapping, and there were orphaned rows in the translation repository, you encountered a "collision" when you tried to seed the second time with the different translated application ID.
Your action of deleting rows from WWV_FLOW_TRANSLATABLE_TEXT$ cleaned up these orphaned rows. As you stated, this isn't recommended to perform DML on the underlying APEX tables. A couple alternatives could have been:
1) Before deleting the translated application mapping, actually publish the application and then delete the mapping.
2) If you had deleted the mapping already, you could recreate the mapping for the same language and with the original translated application ID. Then, publish the application and then go back and delete the mapping.
I realize all this sounds crazy. But it was only an issue because you had not actually published the application. Not your fault, though, as this is a bug in APEX.
This bug will be fixed in Application Express 4.0. This way, you won't have to worry about if you published or didn't publish. The orphaned rows will be cleaned up when you delete a mapping.
Thanks again for reporting this.
Joel -
How's the secondary ledger working in different currency rather than primary ledger
Dear All,
I'm facing a doubt about the Subledger, Primary Ledger and Secondary ledger accounting stuff. Could you anyone of you give me suggestion for the below scenario?
I have AP module is linked to the primary ledger which is having functional currency as EUR and meanwhile, this primary ledger has one secondary ledger with USD currency linked with. Data conversion level for the secondary ledger is subledger.
While setting up the secondary ledger, I'm choosing custom rate type CUS in order to convert the journal through the SLA to secondary ledger.
In OCT-13, The rate between EUR and USD is 1.2 : 1 for rate type CUS. Then I have one invoice created in AP module, the accouting enties are:
Primary Ledger (EUR):
Dr: AP accrual 100
Cr: Liability 100
Secondary Ledeger (USD)
Dr: AP accrual 120
Cr: Liability 120
In NOV-13, The rate between EUR and USD is 1.3 : 1 for rate type CUS. Then I have one credit note created n AP module to offset the invoice which I created in OCT-13. the accouting enties are:
Primary Ledger (EUR):
Dr: Liability 100
Cr: AP accrual 100
Secondary Ledeger (USD)
Dr: Liability 130
Cr: AP accrual 130
From the above case, you can see that, the accouting entires in primary ledger got offset each other, but due to rate difference in OCT-13 and NOV-13, we can see that, in the secondary ledger, the accounting entires is not offsetting each other.
Does someone know how to handle this gap in seconary ledger? I think oracle should have certain standard functionality to handle this, or we have to create manual adjustment journal in secondary ledger?
Thanks & Best Regards,
JeromeDear All,
I really need your guys' opinion on this. Expecting your answer or suggestion.
Best Regards,
Jerome -
Oracle Primary key error on a sequence number generator
I have a table called table 1 and I am trying to insert a few values in this table and i am constantly getting bogged down by a primary key error. Strange thing is this primary key called "ID" on the table is a sytem generated sequence value number. The error is
"ORA-00001: unique constraint (Schema1.LICN_PK) violated"
Any idea?
I will post the structure of the table below and my SQL statement as well.
Table structure:
CREATE TABLE schema1.table1
ID NUMBER(12),
LITM_ID NUMBER(12),
PROG_PROGRAM_CD VARCHAR2(2 BYTE),
SCHED_NBR VARCHAR2(3 BYTE),
SCHD_VERSION_YR NUMBER(4),
SCHD_VERSION_NBR NUMBER(3),
LITM_LINE_ITEM_NBR VARCHAR2(3 BYTE),
SLIN_LINE_ITEM_ID NUMBER(12),
COND_CD VARCHAR2(15 BYTE),
COND_TYPE VARCHAR2(1 BYTE) DEFAULT 'O',
COND_TEXT VARCHAR2(240 BYTE),
DERIVE_COMPRSN_IND VARCHAR2(1 BYTE),
DISPLAY_SEQ_NBR NUMBER(5),
SEVRTY_CD VARCHAR2(1 BYTE),
OVRRDBL_IND VARCHAR2(1 BYTE),
NEVER_OVRRDBL_IND VARCHAR2(1 BYTE),
CREATED_BY VARCHAR2(8 BYTE),
CREATED_TMST DATE,
MODIFIED_BY VARCHAR2(8 BYTE),
MODIFIED_TMST DATE
CREATE UNIQUE INDEX schema1.LICN_PK ON schema1.table1
(ID)
NOLOGGING
TABLESPACE INDEX_STAT1
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 128K
NEXT 128K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
NOPARALLEL;
CREATE UNIQUE INDEX schema1.LICN_UK ON schema1.table1
(LITM_ID, COND_CD)
NOLOGGING
TABLESPACE INDEX_STAT1
PCTFREE 10
INITRANS 2
MAXTRANS 255
STORAGE (
INITIAL 128K
NEXT 128K
MINEXTENTS 1
MAXEXTENTS UNLIMITED
PCTINCREASE 0
BUFFER_POOL DEFAULT
NOPARALLEL;
Table structure ends
****************Insert statement*************
insert into table1
(id,
litm_id,
prog_program_cd,
sched_nbr,
schd_version_yr,
schd_version_nbr,
litm_line_item_nbr,
slin_line_item_id,
cond_cd,
cond_type,
cond_text,
derive_comprsn_ind,
display_seq_nbr,
sevrty_cd,
ovrrdbl_ind,
never_ovrrdbl_ind,
created_by,
created_tmst,
modified_by,
modified_tmst)
values
(LITM_ID_SQ.nextval,
5678,
'28',
000,
2005,
1,
'007',
28,
'0008',
'E',
'No advance',
'N',
80,
'M',
'N',
'Y',
USER,
SYSDATE,
USER,
SYSDATE);
*************End***********************
Any idea why the error is coming up and any way to resolve it. I checked the max sequence number value and kept running it for a while and then tried to run my insert statement but no luck yet.
Please help!!!Hi,
Are you tring to do the same insert more than once?
The sequence for ID will be generated and there will be no problem with that.
But what about UNIQUE INDEX schema1.LICN_UK ON schema1.table1(LITM_ID, COND_CD)?
you are trying to insert the same values again into those columns... and there is a unique index.
Test your insert by dropping the unique index LICN_UK
DROP INDEX schema1.LICN_UK;Now it will work. But if you need the uniqueness, you need to insert different values for those columns each time you insert.
G. -
Reverse Journal in Primary Ledger not auto create to secondard ledger .
Hi ,
I create a 2nd Ledger by Journal conversion Level.
Setup Primary to Secondary Ledger Mapping : Journal Source and Category Conversion
Source Category Transfer Journals to this Secondary Ledger Remove
Other Other Yes
all other journal source & all other journal category "Transfer Journals to this Secondary Ledger" = Yes
Now,
1. Create a P1 journal in Primary Ledger and post .
2. Check 2nd Ledger .
It will automatic create 2nd Ledger P1 journal when Primary ledger journal posted.
3. Reverse P1 journal in Primary Ledger. Generate a new "Reverses P1 Journal" .
4. Post Reversed P1 Journal in Primary Ledger.
5. Check 2nd Ledger.
It does not automatic generate "Reversed P1 Journal " in 2nd Ledger.
I want to make sure why Reverse Journal & post in Primary ledger , It will not automatic create reversed Journal in 2nd Ledger..???Hi,
There is restriction due to difference in period between primary ledger and secondary ledger. The is identified as bug and it now rectified by oracle as per document 428196.1
Thanks & Regards
Niki -
TB Primary Ledger V/S TB of Secondary Ledger
Hi All
I am trying to generate same trial balance of Primary Ledger in Secondary Ledger same in R12 for the IFRS pourpose .can any one tell me the setup with screen shot.
Regards
AjayHi,
Add secondary ledger to primary ledger.
Add the secondary ledger to GL : ledger name or to the ledger set that you use for responsibility.
Run the report Trial Balance, you will have the secondary ledger name available as LOV.
Regards,
chirag -
Selecting Primary Ledger in AP
Hi
How do you select your primary ledger in AP. What is the navigation path?
Thanks!FOR ALL WHO HAVE BEEN WONDERING LIKE I HAVE.....HAVE FOUND THE SOLUTION. IN R12 YOU NOW CHOOSE YOUR LEDGERS THROUGH THE FINANCIAL OPTIONS WINDOW.
-
I am using Sun One App Server PE8.
I have a class with a composite primary key field. When I place the following method in my Home interface:
public MyEjb findByPrimaryKey(MyEjbPrimaryKey pk) throws FinderException, RemoteException;I get the following error when deploying:
ejbFindByPrimaryKey(EjbPrimaryKey) is already defined in MyEjb1368202910_ConcreteImpl
public MyEjbPrimaryKey ejbFindByPrimaryKey (MyEjbPrimaryKey key)However, If i remove this method from the Home interface, i get the following error when running the verification tool:
Error: No single arg findByPrimaryKey(PrimaryKeyClass) method was found in home interface class [ MyEjb ].However, I can still deploy the EAR successfully.
Another related symptom of this problem, is if I include the following method in my Home interface:
public MyEjb findByPrimaryKey(String pkField1, String pkField2) throws FinderException, RemoteException;And call this method, I get the following exception at runtime:
java.rmi.RemoteException: Bean class for ejb [MyEjb] does not define a method corresponding to [Home] interface method [public abstract MyEjb MyEjbHome.findByPrimaryKey(java.lang.String,java
.lang.String) throws javax.ejb.FinderException,java.rmi.RemoteException]I get these same problems with all EJB's that use composite keys. Has anyone else had this problem?
Thanks
tobyThis is a CMP bean, with no ejbFindByPrimaryKey in the Bean class. Below, i have included the Home interface and the Bean class (with unneccessary code removed)
Thanks for looking at this for me.
BEAN CLASS
package lands.mc.bus.prod;
import java.rmi.*;
import java.util.*;
import javax.ejb.*;
public abstract class TopoMapBean implements EntityBean
private EntityContext entity;
public TopoMapBean()
public void setEntityContext(EntityContext ctx)
entity = ctx;
public void unsetEntityContext()
entity = null;
public TopoMapPrimaryKey ejbCreate(String mapName, String mapNumber, String mnemonic,String edition, String scale)
throws CreateException
// call setters...
return null;
public void ejbPostCreate( String mapName,
String mapNumber,
String mnemonic,
String edition,
String scale )
removed set/get methods
public void ejbStore() {}
public void ejbLoad() {}
public void ejbActivate() {}
public void ejbPassivate() {}
public void ejbRemove() {}
}HOME INTERFACE
package lands.mc.bus.prod;
import java.rmi.*;
import java.util.*;
import javax.ejb.*;
public interface TopoMapHome extends EJBHome
public TopoMap create(String mapName,
String mapNumber,
String mnemonic,
String edition,
String scale
throws CreateException, RemoteException;
public TopoMap findByPrimaryKey(String mapNumber, String edition) throws FinderException, RemoteException;
// doesnt deploy with this signature
// public TopoMap findByPrimaryKey(TopoMapPrimaryKey pkey) throws FinderException;
// have to use this method instead of findByPrimaryKey(String, String) above
public TopoMap findTopoMap(String mapNumber, String edition) throws FinderException, RemoteException; -
Material ledger error while doing GR
Hello,
I am getting the error " Error reading material ledger header record while doing Gr for particular material.when double clicked the error,I see this message "Internal error in function module CKMS_HEADER_READ_WITH_ITAB"
what may be the issue?
Regards
GouthamHI,
I assume, you got the problem after material ledger activation or Material split valuation
please check the following two points;
There may be one reason, i hope the material is split valuated after creation of PO. Plese check the Material master in the accounting view whether it is split valuation activated or not
2. problem is other side, at the time PO creation, material is having split valuation after that materil was changed to non- split valuation.
With regards
Madhav -
Report Painter for Non Leading Ledger (Error GH113)
Hi,
Kindly note that we are in the process of enhancing a report for Monthly Balance Sheet as per our client's requirement. The report is based on report painter and we want to add Ledger as an input selection so that the report can be run for Leading Ledger(0L) and for Non Leading ledger(CL)as well .Initially there was no ledger selection and the report ran only for Leading ledger (0L). However when we try to run it for non leading ledger CL it throws an error message GH113 (more than one ledger not allowed in drill down report.)
Our ABAP Consultants have investigated this issue and suggested that for field (RLDNR) ledger the program is picking up "CL" as per input selection , However 0L is also getting captured thereby resulting in conflict and consequently throwing error GH113.
Concern
1) Does this report has a constraint that it can be run only for leading ledger and not for non leading ledger?
2) Apart from report painter form are there any other default setting which extracts "0L" and puts in the report.
Also note that the report painter form settings have been checked thoroughly and ledger has been defined as local variable for input selection.
ThanksHi,
Thanks for your quick response. I have already added the ledger as part of report selection and declared it as a local variable so that input selection is possible. but When I select the non leading ledger "CL" and try to execute report it throws error message GH113.
have checked all the settings in report painter form and not too sure as to from where the report is picking up Leading ledger "0L" although as a part of input selection i have selected non leading ledger "CL"
Appreciate your response.
Thanks -
I imported some tables from a CSV file. When I imported, I chose to use the original Primary Key and generated a new sequence for the primary key's trigger. Now, Whenever I use the forms to add a new record to the table, I get the following error message:
ORA-00001: unique constraint (MOBILE_INV.TBL_NEXTELPHONE_PK) violated
What should I do?
Is there something wrong with the trigger?
reate or replace trigger "bi_TBL_NEXTELPHONE"
before insert on "TBL_NEXTELPHONE"
for each row
begin
if :new."PHONEID" is null then
select "TBL_NEXTELPHONE_SEQ".nextval into :new."PHONEID" from dual;
end if;
end;
Is there something wrong with the sequence? (Here's my current sequence)
Min Value 1
Max Value 999999999999999999999999999
Increment By 1
Cycle Flag N
Order Flag N
Cache Size 20
Last Number 21Hello,
It looks like you already had some records in your table before you created the sequence and triggers. Recreate the sequence and use as Min value the value +1 of the max in your table.
Regards,
Dimitri
-- http://dgielis.blogspot.com/
-- http://apex-evangelists.com/
-- http://apexblogs.info/ -
Define Currencies of Leading Ledger Error
Dear Friends,
I need to replicate a ticket, which consists of three currencies AED,USD,GBP. In the Spro-Define Currencies of Leading Ledger, Two currencies of AED and USD are already defined. when i try to enter 3rd local currency, 40 - Hard currency,
I am getting the following error.
You are not permitted to change the currency type
Message no. FC061
Diagnosis
The currency type for an additional local currency cannot be changed for company code , since documents were already posted in this company code.
How to solve this error?
Please advise.
Regards
Sridharissue is closed
-
Material Ledger Error CKMLWIP099
I have been working with Material LEdger (ML) for several years and was deeply involved in the configuration and testing prior to deployment. I have recently come across a problem I can find no resolution for. The message is CKMLWIP099. The text is as follows:
"Internal error in FORM/FUNCTION CL_CKML_WIP_DBACCESS->QS_COMPLETE in position 5 with RC"
The issue occurs when running the WIP Revaluation step within CKMLCP Costing Cockpit.
Our version is 4.7. I tried wating until the material period was two periods old and using the "Must_WIP" tip, but the same error happened. Now, the few parts with this error have infected 10 times as many other parts. I have reviewed the materials as well as all movement types and can not find a logical problem.
If anyone has any ideas or advice I would appreciate it greatly. I have logged an SAP help ticket, but that could take a long time and become very difficult.
Edited by: Juggler2010 on Dec 15, 2010 6:11 PM
We opened a ticket with SAP. They found that some PP orders from 2007 popped up in Oct-2010 for which WIP had been run. In my experience there was a time that PP orders RA was accidentally run for a period far into the future, which caused ML to break for every part involved. They had given us a special program to cure that. I ran that program before opening the ticket, but it found nothing to fix. This time, SAP asked us to implement note 1497118, which installs the program WIP_HELPDESK. That program should only be run by SAP. After deleting the bad WIP qty records, I ran material ledger for the failed periods with full success. Problem resolved.This may help others who experience this unusual issue.
-
Hi
While doing MIGO, I am getting the error as Material Ledger is not active. There is no requirement for material ledger activation. How does this error can be solved.
Please suggest
Thanks
SanjayHi,
Please check whether you have activated Material Ledger at specified Plant level by t-code-OMX1-Activate Material Ledger. But Material Ledger activation settings are not yet completed in your specified Material Master i.e., Material MasterAccounting1ML Active i.e. checking the box for activation of ML and defining Price Determination indicatoru20142 or 3. I guess missing of these settings, you are getting this error in MIGO activity. Please check and confirm.
Regards
appalas
Edited by: appalas on Mar 7, 2010 7:24 AM
Maybe you are looking for
-
Shooting stills while recording video with the SX50
Has anyone done this? I was shooting some video yesterday and was happy with how it came out until I realized that pressing the shutter button while recording video actually caused the video to insert a black frame and included the shutter sound. W
-
How to create table of results
Hi, I am using a database in director and after a search I will end up with multiple record results. How do I present these to the user in a table which is then selectable per row?? I thought using a Flash DataGrid would be a good idea but I don't kn
-
A Question about popup keyword in ABAP programming
Hello Expert, When I write ABAP code like following statement, START-OF The system will popup a help window to suggest the relevant ABAP keyword. in this case, the popup keyword is START-OF-SELECTION. My question is, if the popup keyword is what i wa
-
I previously purchased a copy of acrobat 9 standard and had it on my other computer. Just purchased a new laptop that doesn't have a disc drive but want to have acrobat on it and don't want to purchase another copy of it. Is there a way to download
-
I am quite new to Illustrator, but it seems this should be simple. (It is trivial in CorelDraw X4: After selecting an object with three nodes, I go to Edit > Find and Replace > Find Objects > Find objects that match the currently selected object, a