Fleet-Primary counters creation nd updating records in measurement document
I have made the required config for fleet management. Defined Units of measurement, Positions of measurement for fleets, and calculation method. My doubt is wen i create fleet master using ie31, how do I create the measuring positions/primary counters and assign it to the vehicles in the "Vehicle ID/Measuremnt" tab page.
Please explain me the following steps
How to create measuring points and measurement documents to record daily Fuel consumption and distance travelled
How to calculate the consumption data on daily averge basis for short and long run.
I read the SAP Library document link but unable to understand.
please provide ur inputs, basic t-codes and step by step procedure.
thanx for ur time n input.
IFCU - How to enter the readings ?
IN IFCU, No stock possible for this material
Fleet management
Fleet Managment - Fuel consumption & Mileage in MCIZ
MCIZ report - Fleet management
Similar Messages
-
Update Record Wizard, tng_Recordset and Primary Key
Hi - trying to make an image gallery that allows the user to add captions to each image displayed in a loop without having to send the user to a different form/detail page.
My question is - can the tng_recordset generated by the Update Record Wizard be modified to use a field of another recordset on the same page as it's primary key?
I.e. (on the Update Record behaviour) - Primary Key = Entered Value = {imagegalleries.galleryimages}
this doesn't work, but it's where I'd like to be...
The recordset 'imagegalleries' has been filtered using a URL variable that was defined as the gallery being edited.
Hope this makes sense - have been trying for days on this.
Dan-------
I just get a blank page
this means you´re having a PHP syntax error somewhere, and I´d recommend to always activate PHP error reporting at least on your local development server to have PHP indicate the reason why things aren´t working.
However, when using such native PHP syntax within this context, you´ll usually need to add some more stuff around the variable -- means:
$upd_boomcms_galleries_files->setPrimaryKey("bcms_galleryimage_id", "NUMERIC_TYPE", "VALUE", "".$row_galleryimagelist['bcms_galleryimage_id']."");
works better now ?
Cheers,
Günter Schenk
Adobe Community Expert, Dreamweaver -
Creation of condition record (MEK1) for freight w.r.t. vendor in STO
I am working in ECC 6.0 environment. My requirement is to fetch value of freight automatically w.r.t. selected vendor in condition while creation of STO.
How can i define condition record by MEK1 for the same? Which access sequence needs to be assign to freight condition for creation of condition record of the same so system can fetch value of freight in STO w.r.t. vendor?hi,
Create one access sequence for freight conditon with follwing table and assign the same that access sequnce to condtion .
665 Vendor/Customer/Material
716 Vendor/Plant/Material
give the fright accout key for valution with FG cost add and seperate GR/IR vaules for vendor payment.
while purchase order update conditon and in the view detial mentain transporter vendor for the same .
pass the miro ref planned delivery cost
Sans. -
Get error ORA-20505 and ORA-01403 when UPDATING record
Hi,
I'm running APEX 3.2.1, on Oracle XE 10.2.0.1, on Sun Ultra20 (Intel-based) running Windows Server 2003.
I created a small, department database - to keep track of contacts, equipment, etc.
Initially, I used a NUMBER as the PRIMARY KEY in both the CONTACTS table and EQUIPMENT tables. I created a CONTACTS interactive report and a CONTACT DETAILS form, where the EDIT button on a row in the CONTACTS report brings up the individual record to modify. Same thing for EQUIPMENT - interactive report page and form page.
This all worked fine!
Then, I decided to change the PRIMARY KEY for the CONTACTS table to a STRING - with CONTACT_FIRST_NAME and CONTACT_LAST_NAME as the primary key. I figured I this would prevent duplicate entries. After the change, inserts work. Updates work, IF a change is made to ANY field EXCEPT first name or last name.
UPDATES fail - if user modifies EITHER the first name or last name - in APEX. But, update SUCCEEDS if done in SQL Developer. Obviously, I missing a subtle nuance in APEX, but I can't figure it out.
I've included DEBUG trace and version information below.
Thanks,
Andy
ORA-20505: Error in DML: p_rowid=Adam1, p_alt_rowid=CONTACT_FIRST_NAME, p_rowid2=Adam, p_alt_rowid2=CONTACT_LAST_NAME. ORA-01403: no data found
0.02: A C C E P T: Request="SAVE"
0.02: Metadata: Fetch application definition and shortcuts
0.02: NLS: wwv_flow.g_flow_language_derived_from=FLOW_PRIMARY_LANGUAGE: wwv_flow.g_browser_language=en-us
0.02: alter session set nls_language="AMERICAN"
0.02: alter session set nls_territory="AMERICA"
0.02: NLS: CSV charset=WE8MSWIN1252
0.02: ...NLS: Set Decimal separator="."
0.02: ...NLS: Set NLS Group separator=","
0.02: ...NLS: Set date format="DD-MON-RR"
0.02: ...Setting session time_zone to -06:00
0.02: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
0.02: ...NLS: Set date format="DD-MON-YYYY"
0.03: Fetch session state from database
0.03: ...Check session 1896858759858984 owner
0.03: Setting NLS_DATE_FORMAT to application date format: DD-MON-YYYY
0.03: ...NLS: Set date format="DD-MON-YYYY"
0.03: ...Check for session expiration:
0.03: ...Metadata: Fetch Page, Computation, Process, and Branch
0.03: Session: Fetch session header information
0.03: ...Metadata: Fetch page attributes for application 101, page 21
0.05: ...Validate item page affinity.
0.05: ...Validate hidden_protected items.
0.05: ...Check authorization security schemes
0.05: Session State: Save form items and p_arg_values
0.05: ...Session State: Save "P21_CONTACT_FIRST_NAME" - saving same value: "Adam"
0.06: ...Session State: Saved Item "P21_CONTACT_LAST_NAME" New Value="Adam Jr"
0.06: ...Session State: Save "P21_CONTACT_COMPANY" - saving same value: "Atempo"
0.06: ...Session State: Save "P21_CONTACT_JOB_TITLE" - saving same value: "Sr Sw Engr"
0.06: ...Session State: Save "P21_CONTACT_JOB_ROLE" - saving same value: "Engineering"
0.06: ...Session State: Save "P21_CONTACT_STATUS" - saving same value: "Active"
0.06: ...Session State: Save "P21_CONTACT_PRODUCT" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_PHONE" - saving same value: "222-333-4444"
0.06: ...Session State: Save "P21_CONTACT_MOBILE" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_FAX" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_EMAIL" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_STREET" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_CITY" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_STATE" - saving same value: "CO"
0.06: ...Session State: Save "P21_CONTACT_ZIP" - saving same value: ""
0.06: ...Session State: Save "P21_CONTACT_COUNTRY" - saving same value: "United States"
0.06: ...Session State: Save "P21_CONTACT_NOTES" - saving same value: ""
0.06: Processing point: ON_SUBMIT_BEFORE_COMPUTATION
0.06: Branch point: BEFORE_COMPUTATION
0.06: Computation point: AFTER_SUBMIT
0.06: Tabs: Perform Branching for Tab Requests
0.06: Branch point: BEFORE_VALIDATION
0.06: Perform validations:
0.08: ...Item in validation equals expression 2: P21_CONTACT_JOB_ROLE
0.08: ...Item in validation equals expression 2: P21_CONTACT_STATUS
0.08: ...Item Not Null Validation: P21_CONTACT_PHONE
0.08: ...Item in validation equals expression 2: P21_CONTACT_STATE
0.08: ...Item in validation equals expression 2: P21_CONTACT_COUNTRY
0.08: Branch point: BEFORE_PROCESSING
0.08: Processing point: AFTER_SUBMIT
0.08: ...Process "Process Row of ISR_CONTACTS": DML_PROCESS_ROW (AFTER_SUBMIT) #OWNER#:ISR_CONTACTS:P21_CONTACT_FIRST_NAME:CONTACT_FIRST_NAME:P21_CONTACT_LAST_NAME:CONTACT_LAST_NAME|IU
0.08: Show ERROR page...
0.08: Performing rollback...
Oracle Database 10g Express Edition Release 10.2.0.1.0 - Product
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for 32-bit Windows: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Database
NAME XE
CREATED 06/08/2010 05:22:50 PM
RESETLOGS_TIME 07/09/2010 10:09:59 AM
PRIOR_RESETLOGS_CHANGE# 193066
PRIOR_RESETLOGS_TIME 06/08/2010 05:22:52 PM
LOG_MODE ARCHIVELOG
CHECKPOINT_CHANGE# 4436025
ARCHIVE_CHANGE# 4387159
OPEN_RESETLOGS NOT ALLOWED
VERSION_TIME 07/09/2010 10:08:44 AM
OPEN_MODE READ WRITE
PROTECTION_MODE MAXIMUM PERFORMANCE
PROTECTION_LEVEL MAXIMUM PERFORMANCE
REMOTE_ARCHIVE ENABLED
DATABASE_ROLE PRIMARY
ARCHIVELOG_CHANGE# 4458138
SWITCHOVER_STATUS SESSIONS ACTIVE
DATAGUARD_BROKER DISABLED
GUARD_STATUS NONE
FORCE_LOGGING NO
CGI Environment
PLSQL_GATEWAY WebDb
GATEWAY_IVERSION 2
SERVER_SOFTWARE Oracle Embedded PL/SQL Gateway/10.2.0.1.0
GATEWAY_INTERFACE CGI/1.1
SERVER_PORT 8080
SERVER_NAME XDB HTTP Server
REQUEST_METHOD GET
QUERY_STRING p=4500:36:1896858759858984:::::
PATH_INFO /f
SCRIPT_NAME /apex
REMOTE_ADDR 10.135.65.180
SERVER_PROTOCOL HTTP/1.1
REQUEST_PROTOCOL tcp
REMOTE_USER ANONYMOUS
HTTP_USER_AGENT Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.0.19) Gecko/2010031422 Firefox/3.0.19 (.NET CLR 3.5.30729)
HTTP_HOST isr-si-project:8080Maybe because you're changing primary key...and then updating record with primary key that doesn't exist.
-
Unable to update record in web Form
Hi, i am unable to update record in a form. I am building a custom form using forms 6i and putting it on the web in oracle applications 11.5.9
I used template.fmb as a starting point for my form. I have one datablock based on a table. Insert, update and delete properties are set to yes on the property pallete of data block. The table against which i am running the form has a primary key which is a combination of two fields. I am able to update a record with pure SQL running against the table.
My form now brings back a record from the db like it should but whenever I try to update that record either by pressing Action Save or by clicking button that has update statement in it, instead of doing an update, it does an insert and tells me that this record already exists and that i entered value(s) that must be unique for each record. It thinks I want to insert but I want to update. What am i doing wrong???
Update allowed value is set to Yes in all the items in the data block and at the data block level as well. Querly_only is set to no.
What's even more frustratinng is that I've ran the form manually before starting with template.fmb and have been able to update the table but when I put it on the web and used template.fmb it stopped working!
I am very new to forms, can anybody suggest anything? Please help!!!When you populate the 2nd block with a select into query, it's the same as just typing the data into the block. The record is treated as one needing to be inserted, not as one that is queried.
To populate it using a true query, but with data from the LOV, you can do this:
Programmatically set the default_where clause of the block based on the LOV. For example, if a name is chosen from the LOV in an item called LOV1, you could do:
set_block_property('block2','default_where','name='''||:block1.lov1||'''');
or if the LOV is a number, like a department number:
set_block_property('block2','default_where','deptno='||:block1.lov1);
The tricky part when you build your where clause is that you must surround strings with single quotes, and the way to do this is to use two single quotes to represent an actual single quote in the where clause. Otherwise a single quote is interpreted as part of the PL/SQL syntax.
Then, just navigate to block 2 and execute a query:
go_block('block2');
do_key('execute_query');
I hope this works for you. I didn't have time to test this, so I hope I didn't make any syntax errors when typing. -
Hi,
I Understand that with XML save you can insert a row into a database however I am very confused about the ability of using XML to update a record.
Can I use XML save to update a record? Eg if I have a primary key will it update instead of save?
Are there any best practices for updating records when passed an XML record?
Many ThanksA common way to pass data with custom events is to extend the
event class to create a new version which has a reference to a var
of the datatype you are passing, and then in your metadata type the
event to your custom event class. If that makes sense
[Event(name="customEvent", type="events.CustomEvent")] -
I am having problems with inserting update record forms and
Custom From from the wizards into php files i am using Dreamweaver
cs3 and Developer Toolbox.
An Insert form works OK.
The Update Form inserts into the page and can be accessed
from the server, bit on attempting to update database I get the
following message:
quote:
Developer Details:
tNG_update.prepareSQL:
No Primary Key Column was set. (UPD_NO_PK_SET)
quote:
tNG Execution Trace - VIEW
* tNG_update.executeTransaction
o STARTER.Trigger_Default_Starter
o tNG_update.doTransaction
+ BEFORE.Trigger_Default_saveData
# tNG_update.saveData
+ BEFORE.Trigger_Default_FormValidation
+ tNG_update.prepareSQL*
o tNG_update.getRecordset
o tNG_update.getFakeRsArr
o tNG_update.getLocalRecordset
o tNG_update.getFakeRecordset
/Q]
When using the Custom form wizard (inset and update) and
{else} statement is inserted into the code and only the 'insert'
button appears when I require 'insert', 'update' and 'delete'.
Has anyone else experienced this - is there something I am
not doing?Hi Glenn, I kept having the same problem this morning. What I
finally figured out is that I wasn't using the session variables
properly. For example. My user_ID field maps to the session
variable name kt_login_id
my email field maps to kt_login_user (I use my email as user
name) and password is kt_password. I finally printed out the
Session information from login settings in the control panel so I
was sure to fill out the data in the update wizard correctly.
Open up the Update Transaction panel and under the Fields
Tab, you can see how your table fields are mapped to the session
fields. Hope it helps.l -
Recently updated records to be sent back
Hi,
procedure(i_dept in number, dept_cur out sys_refcursor)
is
begin
update emp set sal=sal+100 where dept=i_dept;
end;
in this procedure i want to send only the updated records back in dept_cur cursor.
lets say in 1st proc call 2 records updatd then i have send 2 records in cursor.
in 2nd call 4 records updated then have to send 4 records in curso. like that
question is how can i catch the recently updated records?
plese help.
ThanksAre you looking for RETURNING clause..
Something like this based on the Primary Key of the table..Hope your data volume is not huge..
create or replace type num_tab as table number;
create or replace procedure p1(i_dept in number, dept_cur out sys_refcursor) is
lt1 num_tab;
lt2 num_tab;
begin
update emp set sal=sal+100
where deptno=i_dept
returning empno bulk collect into lt1;
open dept_cur for
select ......
from emp
where empno in
select COLUMN_VALUE
from table(lt1)
end;If you need something else, pleas eexplain your exact business requirement.. -
Error in updating records brought by LOV
Hi everybody
I am using Oracle 10 g
when fetching data from the database by choosing a specific record from LOV then trying to make "save" means "commit" I have this error
FRM-40509: Oracle error: unable to update record
I think there is a problem in mapping btw the record in the form and the cursor pointing to that record in the database because when i execute "next_recod" button after choosing one in LOV it go to the record next the one specified before choosing from LOV
knowing that updating process working correctly when choosing by ("first_record, previous_record, next_record or last_record)
so what is the solution
please help
thank you very muchyes please
I didn't know what do you mean by customized or default menu
I build LOV using the wizard and bind it by a query to a table then make Show_LOV from the form
so when I choose one of the rows and they brought to the text boxes assigend to them after that when I make "Commit" I got that error
thank you for help
and sorry for bieng late in reply, I don't have enternet after 2:00 pm -
Need help to insert and update records in MDM
Hi ,
I am trying to develop an webdynpro application which can create and update records in tables of a repository of MDM . For example .. I want to insert values and later update values in Vendor table.
I am new to webdynpro and MDM. If any one can help step by step or can send a sample code which I can be ready to use that would be great help.
If anyone can have a sample code .. kindly mail to "[email protected]"
It is urgent. Please help.
Regards,
Niraj
Edited by: Niraj Kumar on May 23, 2008 6:50 AMHi Niraj,
Are u going to work with webdynpro Java/ABAP?
some materials which are found useful are sent.
Cheers,
Mary -
How can I update record in the block that Data Source is PROCEDURE?
I like use Procedure as the Data Source of block.It's very flexible.
Usually I do this only query the record,but now I must update record in the block that Data Source is Procedure.
What next step can I do?Can anyone offer some examples?
This is example, you goto
http://www.2shared.com/file/1923834/e0b65fb7/Example.html
Wait about 30 sec, Click "Save file to your PC: click here",and then you can download it.<p>I have written an article about some advanced Forms features.
Have a look at the 2.3.2 paragraph</p>
Francois -
Mapping problem with compressed key update record
Hi, could you please advise?
I'm getting the following problem:
About a week ago replicat abened with "Error in mapping" error. I found in discard file some record looking like:
filed1 = NULL
field2 =
field3 =
field4 =
field5 =
datefield = -04-09 00:00:00
field6 =
field8 =
field9 = NULL
field10 =
Where filed9 = @GETENV("GGHEADER", "COMMITTIMESTAM"), field10 = = @GETENV("GGHEADER", "COMMITTIMESTAM"), others are table fields mapped by USEDEFAULTS
So I got Mapping problem with compressed key update record at 2012-06-01 15:44
I guess I need to mention that extract failed in 5 minuts before it with: VAM function VAMRead returned unexpected result: error 600 - VAM Client Report <[CFileInfo::Read] Timeout expired after 10 retries with 1000 ms delay, waiting to read transaction log or backup files. To increase the number of retries, use SETENV (GGS_CacheRetryCount = n) in Extract parameter file. To control retry delay time, use SETENV (GGS_CacheRetryDelay = n). handle: 0000000000000398 ReadFile GetLastError:997 Wait GetLastError:997>.
I don't know if it has ther same source as data corruption, could you tell me if it is?
Well, I created new extract, starting 2012-06-01 15:30 to check if there was something with extract at the time, but got the same error.
If I run extract beging at 15:52 it starts and works.
But well, I got another one today. Data didn't look that bad, but yet one column came with null value:( And I'm using it as a key column, so I got Mapping problem with compressed key update record again:(
I'm replicating from SQL Server 2008 to Oracle 11g.
I'm actually using NOCOMPRESSUPDATES in Extract.
CDC is enabled for all tables replicated. The only thing is that it is enabled not by ADD TRANDATA command, but by SQL Server sys.sp_cdc_enable_table, does it matter?
Could you please advise why does it happen?Well, the problem begins somewhere in extract or before extract, may be in transaction log, I don't know:(
Here are extract parameters:
EXTRACT ETCHECK
TRANLOGOPTIONS MANAGESECONDARYTRUNCATIONPOINT
SOURCEDB TEST, USERID **, PASSWORD *****
exttrail ./dirdat/ec
NOCOMPRESSUPDATES
NOCOMPRESSDELETES
TABLE tst.table1, COLS (field1, field2, field3, field4, field5, field6, field7, field8 );
TABLE tst.table2, COLS (field1, field2, field3, field4 );
Data pump:
EXTRACT DTCHECK
SOURCEDB TEST, USERID **, PASSWORD *****
RMTHOST ***, MGRPORT 7809
RMTTRAIL ./dirdat/dc
TABLE tst.table1;
TABLE tst.table2;
Replicat:
REPLICAT rtcheck
USERID tst, PASSWORD ***
DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
SOURCEDEFS ./dirdef/sourcei.def
HANDLECOLLISIONS
UPDATEDELETES
MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
Rpt file for replicat:
Oracle GoldenGate Delivery for Oracle
Version 11.1.1.1 OGGCORE_11.1.1_PLATFORMS_110421.2040
Windows x64 (optimized), Oracle 11g on Apr 22 2011 00:34:07
Copyright (C) 1995, 2011, Oracle and/or its affiliates. All rights reserved.
Starting at 2012-06-05 12:49:38
Operating System Version:
Microsoft Windows Server 2008 R2 , on x64
Version 6.1 (Build 7601: Service Pack 1)
Process id: 2264
Description:
** Running with the following parameters **
REPLICAT rtcheck
USERID tst, PASSWORD ***
DISCARDFILE ./dirrpt/rtcheck.txt, PURGE
SOURCEDEFS ./dirdef/sourcei.def
HANDLECOLLISIONS
UPDATEDELETES
MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
MAP dbo.TPROCPERIODCONFIRMSTAV, TARGET R_019_000001.TPROCPERIODCONFIRMSTAV, COLMAP (USEDEFAULTS , field5 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed6= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (filed1, field2, field3);
CACHEMGR virtual memory values (may have been adjusted)
CACHEBUFFERSIZE: 64K
CACHESIZE: 512M
CACHEBUFFERSIZE (soft max): 4M
CACHEPAGEOUTSIZE (normal): 4M
PROCESS VM AVAIL FROM OS (min): 1G
CACHESIZEMAX (strict force to disk): 881M
Database Version:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for 64-bit Windows: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
Database Language and Character Set:
NLS_LANG = "AMERICAN_AMERICA.CL8MSWIN1251"
NLS_LANGUAGE = "AMERICAN"
NLS_TERRITORY = "AMERICA"
NLS_CHARACTERSET = "CL8MSWIN1251"
For further information on character set settings, please refer to user manual.
** Run Time Messages **
Opened trail file ./dirdat/dc000000 at 2012-06-05 12:49:39
2012-06-05 12:58:14 INFO OGG-01020 Processed extract process RESTART_ABEND record at seq 0, rba 925 (aborted 0 records).
MAP resolved (entry tst.table1):
MAP tst.table1, t.table1, COLMAP (USEDEFAULTS , filed9 = @GETENV("GGHEADER", "COMMITTIMESTAMP"), filed10= @CASE(@GETENV("GGHEADER", "OPTYPE"), "SQL COMPUPDATE", "U", "PK UPDATE", "U",@GETENV("GGHEADER", "OPTYPE")) ), KEYCOLS (field3);
2012-06-05 12:58:14 WARNING OGG-00869 No unique key is defined for table table1. All viable columns will be used to represent the key, but may not guarantee uniqueness. KEYCOLS may be used to define the key.
Using the following default columns with matching names:
field1=field1, field2=field2, field3=field3, field4=field4, field5=field5, field6=field6, field7=field7, field8=field8
Using the following key columns for target table R_019_000001.TCALCULATE: field3.
2012-06-05 12:58:14 WARNING OGG-01431 Aborted grouped transaction on 'tst.table1', Mapping error.
2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
2012-06-05 12:58:14 WARNING OGG-01151 Error mapping from tst.table1 to tst.table1.
2012-06-05 12:58:14 WARNING OGG-01003 Repositioning to rba 987 in seqno 0.
Source Context :
SourceModule : [er.main]
SourceID : [er/rep.c]
SourceFunction : [take_rep_err_action]
SourceLine : [16064]
ThreadBacktrace : [8] elements
: [C:\App\OGG\replicat.exe(ERCALLBACK+0x143034) [0x00000001402192B4]]
: [C:\App\OGG\replicat.exe(ERCALLBACK+0x11dd44) [0x00000001401F3FC4]]
: [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x000000014009F102]]
: [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B29CC]]
: [C:\App\OGG\replicat.exe(<RCALLBACK+0x11dd44) [0x00000001400B8887]]
: [C:\App\OGG\replicat.exe(releaseCProcessManagerInstance+0x25250) [0x000000014028F200]]
: [C:\Windows\system32\kernel32.dll(BaseThreadInitThunk+0xd) [0x000000007720652D]]
: [C:\Windows\SYSTEM32\ntdll.dll(RtlUserThreadStart+0x21) [0x000000007733C521]]
2012-06-05 12:58:14 ERROR OGG-01296 Error mapping from tst.table1 to tst.table1.
* ** Run Time Statistics ** *
Last record for the last committed transaction is the following:
Trail name : ./dirdat/dc000000
Hdr-Ind : E (x45) Partition : . (x04)
UndoFlag : . (x00) BeforeAfter: A (x41)
RecLength : 249 (x00f9) IO Time : 2012-06-01 15:48:56.285333
IOType : 115 (x73) OrigNode : 255 (xff)
TransInd : . (x03) FormatType : R (x52)
SyskeyLen : 0 (x00) Incomplete : . (x00)
AuditRBA : 44 AuditPos : 71176199289771
Continued : N (x00) RecCount : 1 (x01)
2012-06-01 15:48:56.285333 GGSKeyFieldComp Len 249 RBA 987
Name: DBO.TCALCULATE
Reading ./dirdat/dc000000, current RBA 987, 0 records
Report at 2012-06-05 12:58:14 (activity since 2012-06-05 12:58:14)
From Table tst.table1 to tst.table1:
# inserts: 0
# updates: 0
# deletes: 0
# discards: 1
Last log location read:
FILE: ./dirdat/dc000000
SEQNO: 0
RBA: 987
TIMESTAMP: 2012-06-01 15:48:56.285333
EOF: NO
READERR: 0
2012-06-05 12:58:14 ERROR OGG-01668 PROCESS ABENDING.
Discard file:
Oracle GoldenGate Delivery for Oracle process started, group RTCHECK discard file opened: 2012-06-05 12:49:39
Key column filed3 (0) is missing from update on table tst.table1
Missing 1 key columns in update for table tst.table1.
Current time: 2012-06-05 12:58:14
Discarded record from action ABEND on error 0
Aborting transaction on ./dirdat/dc beginning at seqno 0 rba 987
error at seqno 0 rba 987
Problem replicating tst.table1 to tst.table1
Mapping problem with compressed key update record (target format)...
filed1 = NULL
field2 =
field3 =
field4 =
field5 =
datefield = -04-09 00:00:00
field6 =
field8 =
field9 = NULL
field10 =
Process Abending : 2012-06-05 12:58:14 -
Mapping problem with compressed key update record (target format)...
Hi Guys,
Getting below error while replication from Source to target. Source table is having NOT NULL Column, but on target replicat process giving error about some NULL value ??
How to overcome this issue, any idea...
2011-08-04 10:35:04 INFO OGG-00995 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: REPLICAT RMASTRK starting.
2011-08-04 10:35:05 INFO OGG-00996 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: REPLICAT RMASTRK started.
2011-08-04 10:35:06 WARNING OGG-00869 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: OCI Error ORA-01407: cannot update ("INFRA"."CUST"."CODE") to NULL (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"DP_ID" = :a3,"EXCHNG_CODE" = :a4,"ORD_QTY" = :a5,"ORD_PRICE" = :a6,"CODE" = :a7,"MKRT_CODE" = :a8,"CHANN>.
2011-08-04 10:35:06 WARNING OGG-01004 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Aborted grouped transaction on 'INFRA.CUST', Database error 1407 (ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL).
2011-08-04 10:35:06 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Repositioning to rba 44132192 in seqno 68708.
2011-08-04 10:35:06 *WARNING OGG-01154 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: SQL error 1407 mapping INFRA.CUST to INFRA.CUST OCI Error ORA-01407:* *cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL (status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"DP_ID" = :a3,"EXCHNG_CODE"=:a4,"ORD_QTY"*
*= :a5,"ORD_PRICE" = :a6,"SCRP_CODE" = :a7,"MKRT_CODE" = :a8,"CHANN>.*
2011-08-04 10:35:06 WARNING OGG-01003 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Repositioning to rba 44132192 in seqno 68708.
2011-08-04 10:35:06 ERROR OGG-01296 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: Error mapping from INFRA.CUST to INFRA.CUST.
2011-08-04 10:35:06 ERROR OGG-01668 Oracle GoldenGate Delivery for Oracle, rmastrk.prm: PROCESS ABENDING.
Oracle GoldenGate Delivery for Oracle process started, group RMASTRK discard file opened: 2011-08-04 10:35:05
Current time: 2011-08-04 10:35:06
Discarded record from action ABEND on error 1407
OCI Error ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL
(status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"MKRT_CODE" = :a8,"CHANN>
Aborting transaction on ./dirdat/pm beginning at seqno 68708 rba 44132192
error at seqno 68708 rba 44132192
Problem replicating INFRA.CUST to INFRA.CUST
*Mapping problem with compressed key update record (target format)...*
ORD_QTY = 500
ORD_PRICE = 37430
SCRP_CODE =
MKRT_CODE = N
Oracle GoldenGate Delivery for Oracle process started, group RMASTRK discard file opened: 2011-08-
04 10:35:05
Current time: 2011-08-04 10:35:06
Discarded record from action ABEND on error 1407
OCI Error ORA-01407: cannot update ("INFRA"."CUST"."SCRP_CODE") to NULL
(status = 1407), SQL <UPDATE "INFRA"."CUST" SET "ORD_ID" = :a2,"MKRT_CODE" = :a8,"CHANN>
Aborting transaction on ./dirdat/pm beginning at seqno 68708 rba 44132192
error at seqno 68708 rba 44132192
Problem replicating INFRA.CUST to INFRA.CUST
Mapping problem with compressed key update record (target format)...
ORD_QTY = 500
ORD_PRICE = 37430
SCRP_CODE =
MKRT_CODE = N
Any inputs / help would be appreciated.
Regards,
ManishThe SCRP_CODE column has a NOT NULL constraint. The ORA-01407 error is telling you that you cannot update or set a value for this column to null because of the constraint. This has absolutely nothing to do with an index. You can use a marker/sentinel value in lieu of using NULL. For a numeric field, where everything is positive, a negative value (-1) can be decoded as meaning null. For a character field, a code such as NA can represent NULL.
This also has nothing to do (directly) with GoldenGate failing because of this error. The underlying SQL statement will fail everywhere, regardless of the tool or application. It is not a case of failing only in GoldenGate. -
Getting the error "Error while trying to update record" when I try to force complete a plan in DAC
Hello Everyone ,
I am using OBIA 7.9.3.7 . One of my execution plan has finished executing all the tasks but it is still in running mode . When I try to force complete it , it gives the error " Error while trying to update record" . Upon checking the log file , I found the below errors :
MESSAGE:::ORA-04092: cannot COMMIT in a trigger
ORA-06512: at "DAC_CUSTSCM.ETL_FAIL_NOTOFICATION", line 9
ORA-04088: error during execution of trigger 'DAC_CUSTSCM.ETL_FAIL_NOTOFICATION'
EXCEPTION CLASS::: java.sql.SQLSyntaxErrorException
The Plan is in running state for past couple of days . I tried to re-start the DAC services , but again it gave the same error . Kindly suggest .
Regards
SatyendraJust to correct , the version of obia is 7.9.6.3
-
Error during creation of info record for pipline material.(Urgent)
Hi All,
We are getting the following error during creation of Info record for pipeline material
" Material XXXXX is not a pipline material"
we have checked the material master and found it is a pipeline material.
Kindly advice on the same.
Help in any form will be rewarded.
Best Regards
ArihanthHi Arahanth,
The steps u need to check are;
1) The Material Type ( If standard then it is PIPE or if defined own Material Type check the settings once preferably in special material type a tick at pipeline mandatory)
2) when u create the info record (ME11) ensure the info category is selected as pipeline.
Hope its clear to u
if solved do reward me points
Regards
Anil Thai
Maybe you are looking for
-
Converting cmyk compressed images to rgb compressed format
Hi, I need some help in converting of CMYK images to RGB images. I got some sample code from internet but I get some run time exceptions with that and I'm not able to figure out the reason for the same. Pls help me in fixing the same. Any help will b
-
Hi, report zars no standard page heading line-size 170 line-count 65(4). data: begin of d1600, field1(5), field2(10), field3(3). data: end of d1600. move '1' to d1600-field1. " Only 1 move ' 3' to d1600-field
-
Everything I click on freezes!
I have a Pavilion p6210y PC. On Sunday, my screen froze and left me no option but to turn off at case. It never booted properly again. I couldn't get into setup - would not boot from cd - occasionaly it began a CHKDSK, but never finished and froze.
-
Apex integrating with ebusiness suite 11.5.10
Hello, We are using apex 3.2.0.00.27 and trying to integrate with ebusiness suite 11.5.10. Our apex is located on a stand alone separate server than our ebusiness suite installation. We are trying to follow the Cabot document found at http://www.stuf
-
Google Mobile vs Google classic on iPhone
I have been happily using Google 'Classic' on my iPhone frome the start (as opposed to the more simplified Google 'Mobile' option I'm presented with). But now each time I go to Google.com on my iPhone it automatically defaults to the 'Mobile' version