ESB Data Mapping Issue
Hello,
We have a ESB Process.
In ESB Routing rule we are mapping source Xsd to Target Xsd. Both XSD's have 100 field.
When We Invoke the ESB Process, It's completed with error. We know the error reason (That is: Target field size is shorter than what we are getting in the source field.)
We wanted to know which field is causing a error in ESB.
Can we capture the error (i.e. Which target field size is shorter), If yes then what are the different ways to track this error.
Thanks,
AB
Hello Adam,
Thanks for your reply. Can you tell me the location of log file.
is ther any another way to track this error.
Thank youm
AB
Similar Messages
-
ESB Data Mapping Issue: Urgent
Hello,
We have a ESB Process.
In ESB Routing rule we are mapping source Xsd to Target Xsd. Both XSD's have 100 field.
When We Invoke the ESB Process, It's completed with error. We know the error reason (That is: Target field size is shorter than what we are getting in the source field.)
We wanted to know which field is causing a error in ESB.
Can we capture the error (i.e. Which target field size is shorter), If yes then what are the different ways to track this error.
Any help on this appriciated
Thanks,
ABHello Adam,
Thanks for your reply. Can you tell me the location of log file.
is ther any another way to track this error.
Thank youm
AB -
BPC 7.5 SP08 - Transaction Data mapping Issue
Hi All,
The staging cube in BI is updated without 'entity(company code)' which has value as zero, only some records.
when i pull reported data from BI to BPC, the records with the above zero record is not updated, because there is no entity.
In my mapping file, i am trying to skip, the records with no entity, but unable to do so.
(ENTITY=IF(0COMP_CODE=str() then skip(); 0COMP_CODE))
below is my mapping formats.
ACCOUNT=0GL_ACCOUNT
COSTCENTER=IF(0COSTCENTER=str() then *str(NONE_CC) ; 0COSTCENTER)
CATEGORY=0VTYPE
DATASRC=*NEWCOL(D00)
ENTITY=IF(0COMP_CODE=str() then skip(); 0COMP_CODE)
TIME=0FISCPER
AMOUNT=0AMOUNT
RPTCURRENCY=0CURKEY_LC
Any inputs ...
ThnaksHi,
I dont think you can use skip() function like that. If you dont want to load records if company code is blank, then use the LOAD_INFOPROVIDER_UI process chain and give the selection, there. You can specify something like company code not equal to blank.
Hope this helps. -
How to map between child objects in a Siebel Data Map
Hello. I need to map a field from one child object to another child object using a Siebel Data Map.
Specifically, I have an Integration Object set up for FINS Group Policy with 2 child components (Action and Proposal). I want to map the Proposal's name to the Activity's Description. Here's the structure:
Policy (io)
-Name
-Action (io)
--Description
-Proposal (io)
--PPSLFileName (this is the proposal's file name)
I can map from the parent (Policy) to the child (Action) as follows:
Integration Component Map: Action-to_Action
Source Expression: [FINS Group Policy.Name]
Target Field Name: Description
This will map the Policy's Name to the Activity's Description.
I tried these, but they don't work:
1)
Integration Component Map: Action-to_Action
Source Expression: [FINS Group Policy.Proposal.PPSLFileName]
Target Field Name: Description
2)
Integration Component Map: Action-to_Action
Source Expression: [Proposal.PPSLFileName]
Target Field Name: Description
Thanks for any helpHi,
For your issue,you can use the 2nd point what u hv mentioned :-
Integration Component Map: Action-to_Action
Source Expression: [Proposal.PPSLFileName]
Target Field Name: Description
But it has some limitations,i.e the child's(Proposal) cardinality should be 1 or less than 1 i.e no. of instances of Proposal IC should not exceed 1 or else the data map will error out at runtime.
Regards,
Sambit -
XML Data Mapping Disappear when Reopening xlf - Xcelsius
Hi,,,
I have created one xcelsius with XML Data maps which works fine. But when I re-open this XLF, the XML data mapping disappear from XML source screen of Excel. It's so much enoying, so every time when i re-open the xlf. I have to map xml data again and then do some formating. after that it works fine.
I guess i have missed some setting. Does anyone has faced such a weired problem with xcelsius.
your quick help in this will be really appreciated.
Regards,
AshishHi,
Its a Fixed Issue ,It has been solved
For Futher Details
http://alteksolutions.com/wp/index.php/2010/10/xcelsius-2008-sp-3-fix-pack-3-now-available/
XML Data Maps Disappear when Reopening xlf
Regards
Naveen -
This is not a PC/PWX problem, but a mainframe security problem. TIDSS01.POS.IBD.DR0100.DAT is not a GDG file name.It might be the base for a GDG. A GDG file name would look something like eitherTIDSS01.POS.IBD.DR0100.DAT(+1)orTIDSS01.POS.IBD.DR0100.DAT.G001V00 So I suspect that you have the wrong file name.Please talk with your mainframe team.
HI Dan, I am very new to using power exchnage please help me through this issue, Below is the details : My data map name :postest.test1_POS
Copy book name which is used to create the power exchange Datamap : TIDSS01.ACTRLP.TEST(POSCPY)
Main frame GDG name : TIDSS01.POS.IBD.DR0100.DAT Below are the Session properties i have set in informatica workflow:Schema Name Override : postest
Map Name Override : test1_POS
PWX Partition Strategy : Overrides driven
Space : CYLINDER
File Name Override :TIDSS01.POS.IBD.DR0100.DAT(+1)
I am getting below error: PWXPC_12190
Message: [ERROR] Transformation [test1_POS]: A permanent error has been encountered in PowerExchange: [
[Informatica][SCLI PWX Driver] PWX-00267 DBAPI Error. DB_INSERT failed for file postest.test1_POS.
[Informatica][SCLI PWX Driver] PWX-01279 DBNTC INSERT failed for file postest.test1_POS. Rcs 1274/2019/268.
[Informatica][SCLI PWX Driver] PWX-01274 DBNTC INSERT Failed for file postest.test1_POS, rcs 260/2019/268.
[Informatica][SCLI PWX Driver] PWX-02019 SQL insert failure. SQLCODE = 268.
[Informatica][SCLI PWX Driver] PWX-00268 DBAPI Error. DB_OPEN failed for file TIDSS01.POS.IBD.DR0100.DAT.
[Informatica][SCLI PWX Driver] PWX-00220 DYNALLOC failed for file TIDSS01.POS.IBD.DR0100.DAT RCs = 9700/0.
[Informatica][SCLI PWX Driver] PWX-00221 DATA SET: TIDSS01.POS.IBD.DR0100.DAT WITH RETURN CODE 08 REASON CODE 00
[Informatica][SCLI PWX Driver] PWX-00221 RACF FUNCTION: RACDEF FOR
[Informatica][SCLI PWX Driver] PWX-00221 IGD308I DATA SET ALLOCATION REQUEST FAILED -
[Informatica][SCLI PWX Driver] PWX-00221 IKJ56893I DATA SET TIDSS01.POS.IBD.DR0100.DAT NOT ALLOCATED+
[Informatica][SCLI PWX Driver] PWX-07404 Permanent error set by Open call on file "TIDSS01.POS.IBD.DR0100.DAT" because dynamic allocation failed. rc=4
[Informatica][SCLI PWX Driver] PWX-07515 Insert call for table postest.test1_POS met a permanent error. Return codes 267 2019 268.
] -
Dear SAP experts,
I'm implementing an automatic payment module through HSBC in an SAP project.
My customer want to streamline their payments to vendors using automated
payments with HSBC.
I have a document about ifile description which show me information about the
structure and data format in HSBC ifile. I know how to create a DME format tree
but the HSBC format seem to be very complicated, it contains a lots of fields and
a lots of them I don't really understand.
I'm sure that many of you have done this before. Do you have any document about
data mapping for HSBC file format? I have a lot of fields leaving undone so any
relevant documents will be very helpful for me.
Hope you can help.
Thank in advance.
Maxielight.Hello Maxielight,
I too am working on this IFILE format for transmitting to HSBC for Indian INR payments & am using DMEE.
I'm struggling with a couple of fields in relation to PP.
1st is the 'Record Count' in FIle header, which is just a count of the total number of lines in the file.
2nd is the 'Total number of instructions in batch' in Batch Header section, because I'm trying to count using aggreation via reference node id, but because the Batch Header is level 1 & I need to wait for '2nd Party Details for PP' which is at a lower level I always get an error when I run the check with error 'aggregation not permitted because of field I'm using is lower level, or they are not in the same segment.
I've also tried creating a new segment with 'Delay output' but still get similiar error about the nodes being in differenet segments.
How did you get past this issue?
We are not using COS, instead we will print our own cheques in the office so sorry I cannot offer advise there.
Any advice you can offer would be appreciated.
Thanks,
Steve -
Hi everyone,
I have a requirement to map two external IO's using the declarative Data Map. Further on the mapping for one integration component in the source IO has to be conditioned on whether it has or not children. If the children are present they get mapped if not the parent is mapped. How to do this? Sounds silly, but I have tried Search Spec and Precondition at the component level but it does not seem to work. Using xslt would be no brainer, but the client sticks to the Data Maps.
Anyone having the same issue ?
Thanks for your input,Hi,
Try to use EAI Dispatch Service for your requirement. You can check hierarchy of the message in different ways and invoke different maps, based on your rules.
This service is documented in Bookshelf.
Regards. -
XSLT mapping issue in parent child relation
Hi Guys,
i have one XSLT mapping issue. Mapping scenario is from IDoc to file.
IDoc structure is as below
<ZLOIPRO1>
<E1AFKOL>
<A></A>
<B></B>
<E1RESBL>
<MATNR>1</MATNR>
<CHARG>1</CHARG>
<ZSBL>
<MTART>ABC</MTART>
</ZSB>
</E1RESBL>
<E1RESBL>
<MATNR>2</MATNR>
<CHARG>2</CHARG>
<ZSBL>
<MTART>ZHA1</MTART>
</ZSB>
</E1RESBL>
<E1RESBL>
<MATNR>3</MATNR>
<CHARG>3</CHARG>
<ZSBL>
<MTART>ZHA1</MTART>
</ZSB>
</E1RESBL>
</E1AFKOL>
</ZLOIPRO1>
As you can see 'E1RESBL' is repeatative. Now my issue is i need to select 'MATNR' and 'CHARG' from 'E1RESBL' segment when first occurance of 'ZSBL/MTART' with value 'ZHA1' appears. i.e. my output would be MATNR = 2 and CHARG = 2.
I hope i am clear. Please let me know if any solution for this.Hi,
Try this
<xsl:if test="./ZSBL/MTART == 'ZHA1'">
<xsl:for-each select="./E1RESBL">
<MATNR>
<xsl:value-of select="./MATNR"/>
</MATNR>
<BATCH>
<xsl:value-of select="./CHARG"/>
</BATCH>
</xsl:for-each>
</xsl:if>
You might need to do some changes in the above.
Thanks,
Prakash -
EA4500 – Smart Wi-Fi interface and Windows Network Map issues
I purchased this Router about 2 weeks ago as a phased upgrade of our Home Network, primarily to enhance media streaming. It has the latest firmware preinstalled from the factory. Prior to the purchase and installation of the EA4500 Router I replaced my old Motorola SurfBoard SB6120 DOCSIS 3.0 Cable Modem with a Motorola SurfBoard SB6141 DOCSIS 3.0 Cable Modem. My old Linksys E2000 Router worked perfectly with the SB6141, with the exception that the E2000 wasn’t IPv6 enabled, but does have 10/100/1000Base-T Ethernet (RJ-45) and Internet ports.
The EA4500 has been installed for about 10 days and seems to have improved local network speeds and I don’t seem to be having any Internet connectivity issues. However, there are some disturbing issues with the EA4500 and the AE3000 I purchased. There are 11 devices connected through the Router; a Dell Desktop (wireless with the AE3000), a Dell Desktop (Ethernet), a Dell Laptop (wireless), 2 Canon Printers (1 Ethernet and 1 Wireless), 2 Western Digital 1TB MyBookLive Network Drives (both Ethernet), a WD TV Live Streaming Media Player (wireless), an Apple TV media player (wireless), an iPad (wireless), and an Android Smartphone (wireless).
Issue 1 – The Linksys Smart Wi-Fi interface appears to be unreliable at times!!! I’ve read about this problem here on the Community involving the EA6500, so I don’t know if this is a Linksys Server issue, as suggested in a few responses, or a bug in the Router firmware, or defective hardware. However, when the interface locks up, it can’t be accessed from a wireless or wired connection. Usually, powering down the Router and then powering it back up and restart will allow it to function again. However, at times before the interface completely locks up it shows either just a white screen or the security screen will show no firewall features enabled. This is a little scary, so I’ll do a complete reset and setup; this is becoming a pain in the rear!!!!! Is there any hope for this being fixed, in this Router, not the next generation??????????
Issue 2 - All of my network devices show up in the Router’s Device List. Except for the Apple devices they also show up, when they are online, in Windows 7 Explorer under Network and when you click on Network they are correctly displayed as Computers, Media Devices, Network Infrastructure, or Storage. However, when you click on “Open Network and Sharing Center” and then click on “See Full Map”; it fails with the response “Windows cannot create the network map. Responses from other devices on the network are delayed or there is an incompatible router on the network”; no device map is shown. When I follow the link for more information, the only thing that stands out is “A device on the network, such as a hub or switch, is not working properly or is not compatible with the Link Layer Topology Discovery (LLTD) protocol, which Windows uses to create the map. To fix this problem, disable the device, turn it off, or remove it from your network”. All of my network devices showed up on the Network Map with the old E2000. This issue is the same on all of my computers, either wired or wireless. Any known solutions for this, or is it as Windows suggests; an incompatible Router????
Thanks in advance for any insight or solutions. With the issues I’m having with the EA4500 and the AE3000; they are both probably going back to Amazon.thebluemamba_24; Thank you for your suggestion; I finally found time yesterday to perform an extensive evaluation before I return the Router. However, rather than trying to add devices manually, my rationale was if the EA4500 can’t process them correctly, automatically, it needs to be returned anyway, so I added devices normally letting the device an Router handle the process.
In thinking through this issue, all devices on our network are detected and identified by Windows Explorer on Windows 7 computers; except of course the Apple and Android devices (Apple TV, iPad, and Smartphone). So, I wondered if one of those three devices being added to the Router’s device list was somehow causing issues or interfering with Windows 7’s ability to generate a Network Map. Therefore, my approach was to turn off or disable all devices on our network, reset the Router to factory defaults, reestablish the Router to my custom Home Network configuration using a Windows 7 PC that has LAN and Wireless access to the Router, then add one device at a time and check with each addition to see if Windows 7 could still generate a Network Map.
With the Router reset and reestablishment complete; I began the process of adding one device at a time and checking to see if a Network Map was being generated. What I discovered was when a recent addition to the network, a Western Digital WD TV Live Streaming Media Player, was connected (wirelessly), Windows 7 could no longer generate the Network Map and the failure was consistent. The only way to get the Network Map to work again was to remove power from the WD TV Live, although it remained in the EA4500’s Device List; simply turning it off didn’t help. Since I’d originally witnessed the Windows 7 Network Map working with the Linksys E2000 Router that the EA4500 replaced, I decided to test the WD TV Live with that Router. It worked initially, but it failed consistently after the first success. Interestingly, the failure indication was a little different, but nevertheless generation of the Network Map failed.
I’ve tried changing a few settings on the EA4500 as well as the WD TV Live, but nothing helped. There was a recent firmware update to the WD TV Live, so I might try rolling back the firmware to see if it makes a difference.
The Network Map issue might very well be an issue with the WD TV Live, not the Router, but after reading many threads on this Community I have reservations that the problems I’m experiencing with the Smart interface lockup will be fixed. I suspect new emerging replacement products will be the focus and these older products will be abandoned and no more firmware fixes will be forthcoming and I don’t want to spend more money for a new product just to fix old problems and get something that works properly. The Network Map issue is troublesome, but the lockup of the Router’s “Linksys Smart Wi-Fi” interface is a serious matter to me. It appears that once it locks up, the only way to correct it is a power off restart; not practical if you’re traveling and trying to access settings remotely; the selling point for this feature.
Given the problems I’m experiencing with the EA4500 and AE3000, I guess I’ll return them. Too bad, because otherwise the EA4500 seems like it’s a good Router. I’ve been brand loyal since the Linksys WRT54G came out, but after reading this Community and with my personal experience with the EA4500 and AE3000, now I’ll probably give the NETGEAR N900 equivalents a try. -
Hello Guru's
I have 2 issues, and i am unable to understand the system logic for the same
Issue 1:-
We have an Intercomapny scenario
sequence of transaction is as follows
1. Create Return purchase order (document type NB) - Intercompany purchase
2. Post return goods receipts - movement type 161
3. Post credit memo with respect to return purchase order
4. Cancel the movement type 161 - using 161 movement type
System allows me to cancel the document created using 161 movement type
Step 4 should not be allowed but system is allowing me to do so, please advise how to stop this
Issue 2:-
I have a strange MAP issues which is flactuating very drastically
the scenario is as follows
Store stock is 10 ea, stock value is 1000, MAP is 100
DC map is 25
When we make return STO from store to DC, ths stocks are issued at DC MAP (condition type P101)
Assume we issue 9 quantity from Store then
Store stock is 9 ea, stock value is (1000-(25*9)) = 775, MAP is 775/1 = 775
This transaction is causing major flactuation in store MAP (100 changed to 775)
Please advise if there is any way we can control this behaviour
I understand that there is a setting which will in case of major MAP changes will put the amount into PRD account.
Appreciate if you can guide me to help
Regards
AmitHi,
For your first scenario,
for a retun po of IC NB type, after creating the PO you need to deliver the same at VL10G. For the delivery system will allow to create the PGR . Prior to these steps you need to return the goods using 161 at MIGO.Please check this 161 stock posted to stock in transit.After PGR system will clear the stock in transit.
Now after claring the stock from transit try cancelling the MIGO 161 document.
For the second query,
Please review your question' When we make return STO from store to DC, ths stocks are issued at DC MAP (condition type P101)
Assume we issue 9 quantity from Store then
Store stock is 9 ea, stock value is (1000-(25*9)) = 775, MAP is 775/1 = 775
This transaction is causing major flactuation in store MAP (100 changed to 775),
Please review the third line.
Regards, -
Windows 8.1 Data reordering issue with Intel Adaptors
According to Intel, there is a data reordering issue with their adaptors and probably this dumb WIDI software. This is from Intel site. they say some are fixed, "A future Windows 8 fix will address this issue for other Intel wireless adapters." I
have one Nope, still broke. I get drops all the time. Brand new Toshiba laptop I7 16 gigs of ram and a SSD and a 2 gig Vid card. Would be nice to be able to play games but I get dropped all the time. Now would Microsoft quit hiding
about this, and fix the darn thing. Also i'm a system admin for 13 years. I have build over 1000 PCs and servers. I know bad software. Please fix this. PLEASE. Its not going to just go away and its not just Toshiba, I have seen other companies with the
same problem. If there is a Fix PLEASE POST IT. Or even a workaround I have tried everything.
http://www.intel.com/support/wireless/wlan/sb/CS-034535.htm
Hi,
Have your first tried the software fix under this link for your network adapter?
http://www.intel.com/support/wireless/wtech/proset-ws/sb/CS-034041.htm
Please Note: The third-party product discussed here is manufactured by a company that is independent of Microsoft. We make no warranty, implied or otherwise, regarding this product's performance or reliability.
Also, you can try to check if there is any driver update under Device manager from manufacture's website.
Kate Li
TechNet Community Support
Yep didn't work. Still get drops all the time, had to run a Cat 5E cable to my laptop from my modem, because I have Atheros Gigabyte Lan adaptor. Works Great. The Wireless still drops all the time. Has Microsoft let out the patch to fix this or is it coming in
April in the 8.1 patch that's coming. Funny thing is all for Widi, I don't even use widi, I got the software to do that from Samsung works better on my TV. Intel and Microsoft need to get this fixed. because their driving off gamers and that's the
people that make sure they buy Microsoft so they can play games. With the wireless link dead and a great laptop worthless what's the point. Ive been in IT for 13 years building PCs and Servers how I knew how to run a 60 FT Cat 5e line thru
a 2 story house and terminate it. Most people don't. Fix the problem. -
Data Load Issue "Request is in obsolete version of DataSource"
Hello,
I am getting a very strange data load issue in production, I am able to load the data upto PSA, but when I am running the DTP to load the data into 0EMPLOYEE ( Master data Object) getting bellow msg
Request REQU_1IGEUD6M8EZH8V65JTENZGQHD not extracted; request is in obsolete version of DataSource
The request REQU_1IGEUD6M8EZH8V65JTENZGQHD was loaded into the PSA table when the DataSource had a different structure to the current one. Incompatible changes have been made to the DataSource since then and the request cannot be extracted with the DTP anymore.
I have taken the follwoing action
1. Replicated the data source
2. Deleted all request from PSA
2. Activated the data source using (RSDS_DATASOURCE_ACTIVATE_ALL)
3. Re transported the datasource , transformation, DTP
Still getting the same issue
If you have any idea please reply asap.
SamitHi
Generate your datasource in R/3 then replicate and activate the transfer rules.
Regards,
Chandu. -
Hi,
Im very new to streams and having a doubt regarding ORA-01403 issue happening while replication. Need you kind help on this regard. Thanks in advance.
Oracle version : 10.0.3.0
1.Suppose there are 10 LCRs in a Txn and one of the LCR caused ORA-01403 and none of the LCRs get executed.
We can read the data of this LCR and manually update the record in the Destination database.
Eventhough this is done, while re-executing the transaction, im getting the same ORA-01403 on the same LCR.
What could be the possible reason.
Since, this is a large scale system with thousands of transactions, it is not possible to handle the No data found issues occuring in the system.
I have written a PL/SQL block which can generate Update statements with the old data available in LCR, so that i can re-execute the Transaction again.
The PL/SQL block is given below. Could you please check if there are any issues in this while generating the UPDATE statements. Thank you
/* Formatted on 2008/10/23 14:46 (Formatter Plus v4.8.7) */
--Script for generating the Update scripts for the Message which caused the 'NO DATA FOUND' error.
DECLARE
RES NUMBER; --No:of errors to be resolved
RET NUMBER; --A number variable to hold the return value from getObject
I NUMBER; --Index for the loop
J NUMBER; --Index for the loop
K NUMBER; --Index for the loop
PK_COUNT NUMBER; --To Hold the no:of PK columns for a Table
LCR ANYDATA; --To Hold the Logical Change Record
TYP VARCHAR2 (61); --To Hold the Type of a Column
ROWLCR SYS.LCR$_ROW_RECORD; --To Hold the LCR caused the error in a Txn.
OLDLIST SYS.LCR$_ROW_LIST; --To Hold the Old data of the Record which was tried to Update/Delete
NEWLIST SYS.LCR$_ROW_LIST;
UPD_QRY VARCHAR2 (5000);
EQUALS VARCHAR2 (5) := ' = ';
DATA1 VARCHAR2 (2000);
NUM1 NUMBER;
DATE1 TIMESTAMP ( 0 );
TIMESTAMP1 TIMESTAMP ( 3 );
ISCOMMA BOOLEAN;
TYPE TAB_LCR IS TABLE OF ANYDATA
INDEX BY BINARY_INTEGER;
TYPE PK_COLS IS TABLE OF VARCHAR2 (50)
INDEX BY BINARY_INTEGER;
LCR_TABLE TAB_LCR;
PK_TABLE PK_COLS;
BEGIN
I := 1;
SELECT COUNT ( 1)
INTO RES
FROM DBA_APPLY_ERROR;
FOR TXN_ID IN
(SELECT MESSAGE_NUMBER,
LOCAL_TRANSACTION_ID
FROM DBA_APPLY_ERROR
WHERE LOCAL_TRANSACTION_ID =
'2.85.42516'
ORDER BY ERROR_CREATION_TIME)
LOOP
SELECT DBMS_APPLY_ADM.GET_ERROR_MESSAGE
(TXN_ID.MESSAGE_NUMBER,
TXN_ID.LOCAL_TRANSACTION_ID
INTO LCR
FROM DUAL;
LCR_TABLE (I) := LCR;
I := I + 1;
END LOOP;
I := 0;
K := 0;
dbms_output.put_line('size >'||lcr_table.count);
FOR K IN 1 .. RES
LOOP
ROWLCR := NULL;
RET :=
LCR_TABLE (K).GETOBJECT
(ROWLCR);
--dbms_output.put_line(rowlcr.GET_OBJECT_NAME);
PK_COUNT := 0;
--Finding the PK columns of the Table
SELECT COUNT ( 1)
INTO PK_COUNT
FROM ALL_CONS_COLUMNS COL,
ALL_CONSTRAINTS CON
WHERE COL.TABLE_NAME =
CON.TABLE_NAME
AND COL.CONSTRAINT_NAME =
CON.CONSTRAINT_NAME
AND CON.CONSTRAINT_TYPE = 'P'
AND CON.TABLE_NAME =
ROWLCR.GET_OBJECT_NAME;
dbms_output.put_line('Count of PK Columns >'||pk_count);
DEL_QRY := NULL;
DEL_QRY :=
'DELETE FROM '
|| ROWLCR.GET_OBJECT_NAME
|| ' WHERE ';
INS_QRY := NULL;
INS_QRY :=
'INSERT INTO '
|| ROWLCR.GET_OBJECT_NAME
|| ' ( ';
UPD_QRY := NULL;
UPD_QRY :=
'UPDATE '
|| ROWLCR.GET_OBJECT_NAME
|| ' SET ';
OLDLIST :=
ROWLCR.GET_VALUES ('old');
-- Generate Update Query
NEWLIST :=
ROWLCR.GET_VALUES ('old');
ISCOMMA := FALSE;
FOR J IN 1 .. NEWLIST.COUNT
LOOP
IF NEWLIST (J) IS NOT NULL
THEN
IF J <
NEWLIST.COUNT
THEN
IF ISCOMMA =
TRUE
THEN
UPD_QRY :=
UPD_QRY
|| ',';
END IF;
END IF;
ISCOMMA := FALSE;
TYP :=
NEWLIST
(J).DATA.GETTYPENAME;
IF (TYP =
'SYS.VARCHAR2'
THEN
RET :=
NEWLIST
(J
).DATA.GETVARCHAR2
(DATA1
IF DATA1 IS NOT NULL
THEN
UPD_QRY :=
UPD_QRY
|| NEWLIST
(J
).COLUMN_NAME;
UPD_QRY :=
UPD_QRY
|| EQUALS;
UPD_QRY :=
UPD_QRY
|| ' '
|| ''''
|| SUBSTR
(DATA1,
0,
253
|| '''';
ISCOMMA :=
TRUE;
END IF;
ELSIF (TYP =
'SYS.NUMBER'
THEN
RET :=
NEWLIST
(J
).DATA.GETNUMBER
(NUM1
IF NUM1 IS NOT NULL
THEN
UPD_QRY :=
UPD_QRY
|| NEWLIST
(J
).COLUMN_NAME;
UPD_QRY :=
UPD_QRY
|| EQUALS;
UPD_QRY :=
UPD_QRY
|| ' '
|| NUM1;
ISCOMMA :=
TRUE;
END IF;
ELSIF (TYP =
'SYS.DATE'
THEN
RET :=
NEWLIST
(J
).DATA.GETDATE
(DATE1
IF DATE1 IS NOT NULL
THEN
UPD_QRY :=
UPD_QRY
|| NEWLIST
(J
).COLUMN_NAME;
UPD_QRY :=
UPD_QRY
|| EQUALS;
UPD_QRY :=
UPD_QRY
|| ' '
|| 'TO_Date( '
|| ''''
|| DATE1
|| ''''
|| ', '''
|| 'DD/MON/YYYY HH:MI:SS AM'')';
ISCOMMA :=
TRUE;
END IF;
ELSIF (TYP =
'SYS.TIMESTAMP'
THEN
RET :=
NEWLIST
(J
).DATA.GETTIMESTAMP
(TIMESTAMP1
IF TIMESTAMP1 IS NOT NULL
THEN
UPD_QRY :=
UPD_QRY
|| ' '
|| ''''
|| TIMESTAMP1
|| '''';
ISCOMMA :=
TRUE;
END IF;
END IF;
END IF;
END LOOP;
--Setting the where Condition
UPD_QRY := UPD_QRY || ' WHERE ';
FOR I IN 1 .. PK_COUNT
LOOP
SELECT COLUMN_NAME
INTO PK_TABLE (I)
FROM ALL_CONS_COLUMNS COL,
ALL_CONSTRAINTS CON
WHERE COL.TABLE_NAME =
CON.TABLE_NAME
AND COL.CONSTRAINT_NAME =
CON.CONSTRAINT_NAME
AND CON.CONSTRAINT_TYPE =
'P'
AND POSITION = I
AND CON.TABLE_NAME =
ROWLCR.GET_OBJECT_NAME;
FOR J IN
1 .. NEWLIST.COUNT
LOOP
IF NEWLIST (J) IS NOT NULL
THEN
IF NEWLIST
(J
).COLUMN_NAME =
PK_TABLE
(I
THEN
UPD_QRY :=
UPD_QRY
|| ' '
|| NEWLIST
(J
).COLUMN_NAME;
UPD_QRY :=
UPD_QRY
|| ' '
|| EQUALS;
TYP :=
NEWLIST
(J
).DATA.GETTYPENAME;
IF (TYP =
'SYS.VARCHAR2'
THEN
RET :=
NEWLIST
(J
).DATA.GETVARCHAR2
(DATA1
UPD_QRY :=
UPD_QRY
|| ' '
|| ''''
|| SUBSTR
(DATA1,
0,
253
|| '''';
ELSIF (TYP =
'SYS.NUMBER'
THEN
RET :=
NEWLIST
(J
).DATA.GETNUMBER
(NUM1
UPD_QRY :=
UPD_QRY
|| ' '
|| NUM1;
END IF;
IF I <
PK_COUNT
THEN
UPD_QRY :=
UPD_QRY
|| ' AND ';
END IF;
END IF;
END IF;
END LOOP;
END LOOP;
UPD_QRY := UPD_QRY || ';';
DBMS_OUTPUT.PUT_LINE (UPD_QRY);
--Generate Update Query - End
END LOOP;
END;Thanks for you replies HTH and Dipali.
I would like to make some points clear from my side based on the issue i have raised.
1.The No Data Found error is happening on a table for which supplemental logging is enabled.
2.As per my understanding, the "Apply" process is comparing the existing data in the destination database with the "Old" data in the LCR.
Once there is a mismatch between these 2, ORA-01403 is thrown. (Please tell me whether my understanding is correct or not)
3.This mismatch can be on date field or even on the timestamp millisecond as well.
Now, the point im really wondering about :
Some how a mismatch got generated in the destination database (Not sure about the reason) and ORA-01403 is thrown.
If we could update the Destination database with the "Old" data from LCR, this mismatch should be resolved isnt it?
Reply to you Dipali :
If nothing is working out, im planning to put a conflict handler for all tables with "OVERWRITE" option. With the following script
--Generate script for applying Conflict Handler for the Tables for which Supplymentary Logging is enabled
declare
count1 number;
query varchar2(500) := null;
begin
for tables in (
select table_name from user_tables where table_name IN ("NAMES OF TABLES FOR WHICH SUPPLEMENTAL LOGGING IS ENABLED")
loop
count1 := 0;
dbms_output.put_line('DECLARE');
dbms_output.put_line('cols DBMS_UTILITY.NAME_ARRAY;');
dbms_output.put_line('BEGIN');
select max(position) into count1
from all_cons_columns col, all_constraints con
where col.table_name = con.table_name
and col.constraint_name = con.constraint_name
and con.constraint_type = 'P'
and con.table_name = tables.table_name;
for i in 1..count1
loop
query := null;
select 'cols(' || position || ')' || ' := ' || '''' || column_name || ''';'
into query
from all_cons_columns col, all_constraints con
where col.table_name = con.table_name
and col.constraint_name = con.constraint_name
and con.constraint_type = 'P'
and con.table_name = tables.table_name
and position = i;
dbms_output.put_line(query);
end loop;
dbms_output.put_line('DBMS_APPLY_ADM.SET_UPDATE_CONFLICT_HANDLER(');
dbms_output.put_line('object_name => ''ICOOWR.' || tables.table_name|| ''',');
dbms_output.put_line('method_name => ''OVERWRITE'',');
dbms_output.put_line('resolution_column => ''COLM_NAME'',');
dbms_output.put_line('column_list => cols);');
dbms_output.put_line('END;');
dbms_output.put_line('/');
dbms_output.put_line('');
end loop;
end;
Reply to u HTH :
Our Destination database is a replica of the source and no triggers are running on any of these tables.
This is not the first time im facing this issue. Earlier, we had to take big outage times and clear the Replica database and apply the dump from the source...
Now i cant think about that situation. -
4G LTE data reception issue in area of work building
Hi, I'm having a data reception issue in a certain area at work. The signal indicator at the upper right of the homescreen shows "4GLTE" but this is clearly inaccurate since I am not able to navigate to websites or send/receive multimedia messages. If I move ~30 feet east in the building, the reception is restored. Two people with iPhone 5 devices have the same issue. However, the Verizon iPhone 5 allows you to turn off LTE. Once this was done and the signal fell back to 3G, reception was restored, albeit with slower speeds, but at least reception wasn't completely blocked. I understand 4G is not available in all areas, but in this case, the phone is not automatically switching to 3G and there is no workaround because there is no option to turn off LTE on the Z10. In the "Settings" -> "Network Connections" -> "Mobile Network" -> "Network Technology" dropdown, the only values are:
UMTS/GSM (when I switch to this, no networks are found)
Global (the current selection)
LTE/CDMA
This is a big problem for me because for 8+ hours in the day I can't receive MMS messages or navigate to websites.Hi, Nate650,
Sorry to hear about your problem with 4G. First, let me ask, have you updated your Z10 to the latest official software version? I had a similar problem with my Z10. After about an hour on the phone with CS, we figured out it was a problem with the tower near me. The problem was fixed by VZW and I have not had connection issues. You are right, though, about the Z10 falling back to 3G. Mine did before the update but not since.
Doc
Maybe you are looking for
-
what should i do please someone help me, I live in UK so how much will it cost to get a screen replacement or will they just replace my phone? but its just my screen so yeah please help. its in a bag of rice and it works fine only the screen is not d
-
Unmountable Boot Volume installing Windows XP
Hi, I'm trying to install Windows XP SP2 on my New Mac Mini. I run boot camp, create the partition, insert the Win XP disc. The machine then reboots and enters the initial phase of the installation, however before it gets to the screen where you choo
-
Iphoto 5.0.4 won't open now after installing leopard
I installed Leopard in the last few days and now I am unable to open iphoto here are the problem details any help would be appreciated. Process: iPhoto [327] Path: /Applications/iPhoto.app/Contents/MacOS/iPhoto Identifier: com.apple.iPhoto Version: 5
-
Server0 stooped when I try to start the system...
Hi gurus, I don´t know what´s happen when I try to start the system and the Java side don´t start, it stay in MMC console with yellow semaphore at disp+work.EXE and when I look inside of J2EE Process Table in the same console the server0 is stopped a
-
Hey guys, i hope you understand my question: I know, that the Socialize webcam got a feature, you are able to create live videos while a picture / (powerpoint) presentation is running. So you can talk next to the presentation and everybody see you in