Dblink is creating issue
Hi
We had a dblink at one of client side, they are pushing data throught a dblink since long time. Now they are facing some problem while insert bulk records through application. As a trial basis i tried to pull reccords through dblinks and is working fine.
How can i trouble shoot on the previous dblink
thy are getting ORA 20005;02055;02068
Regards
The ORA-02055 error indicates you migh have a in-dobubt transaction so you should check or have checked the contents of the dba_2pc_pending and dba_2pc_neighbors views on both systems. Manual intervention to remove the transaction may be required.
$ oerr ora 02055
02055, 00000, "distributed update operation failed; rollback required"
// *Cause: a failure during distributed update operation may not have
// rolled back all effects of the operation. Since
// some sites may be inconsistent, the transaction must roll back to
// a savepoint or entirely
// *Action: rollback to a savepoint or rollback transaction and resubmitHTH -- Mark D Powell --
Similar Messages
-
Do you find connecting to a Bluetooth keyboard creates issues w/ the new iPad's performance?
I have an Adesso case with bluetooth keyboard for my iPad 2. No affect on performance. Keybord easier to use compared to on-screen keyboard. Plus it has more keys compared to on-screen keyboard.
Cheers, Tom -
Hello All,
I am getting 'Out of memory' error while opening the file. I have tried several versions of Adobe 7.0,9.0,X1.
Also, it is creating issue to convert PDF into TIFF. Please provide the solution ASAP.I am using Adobe reader XI. When i open PDF it gives "OUT of memory" error after scrolling PDF gives another alert "Insufficient data for an image". after clicking both alerts it loads full data of PDF. It is not happening with all PDFs. couple of PDFs are facing this issue. Because of this error my software is not able to print these PDFS into TIFF. My OS in window7*64. I tried it on win2012R2 and XP. Same issue is generating there.
It has become critical issue for my production. -
I want to download pictures from my iphone to my new laptop. I already have itunes on my pc. I need to download itunes on my new laptop, will this create issues with my other itunes?
m-cp wrote:
I want to download pictures from my iphone to my new laptop.
-> iOS: Importing personal photos and videos from iOS devices to your computer
I need to download itunes on my new laptop, will this create issues with my other itunes?
No. -
Can a dblink be created with select only privilege
I have created dblink from one instance to another instance.With dblink we can perform dml operations on a table.But i want to restrict insert,update,delete rights and grant only select.Is this possible
my problem is there is a user named ABC in mango instance with >insert,update,delete privs.
there is another user CDE in apple instance with insert,update,delete privs.
Now i have created a dblink on user ABC to CDE as a fixed user.So now user >ABC can do all insert,update,delete operations on user CDE tables.This I want to >restrict.I want user ABC to just view CDE tables instead of update,insert and >delete operations. Create a new user CDE1 and grant select only privilege on all tables of CDE.
create a dblink using CDE1 this will solve the issue?
Justin explains the same in his previous reply.
HTH -
Oracle Ad-hoc report with multiple queries creating issues
Hi Guys,
I have been having multiple issues (one after the other) in trying to generate a report for Business user. Let me start with my test cases and yes, this time I have made sure by testing and dirtying my hands that the test cases work properly and commit into the database (I will be more than happy to provide screen shots of the same).
Test Case:
Tables:RETURNS & RETURN_LINE_ITEMS
CREATE TABLE RETURNS
ID NUMBER(12),
PROG_PROGRAM_CD VARCHAR2(2 BYTE),
ACCT_ID NUMBER(12),
ACPE_ID NUMBER(12),
JENT_ID NUMBER(12),
PREV_RTRN_ID NUMBER(12),
ENTP_ABN NUMBER(9),
ACCT_OCCURNC_NBR NUMBER(4),
SOURCE_TYPE VARCHAR2(30 BYTE) DEFAULT 'BLANK',
RECEIVE_DATE DATE,
AMEND_IND VARCHAR2(1 BYTE) DEFAULT 'N',
CMPLT_IND VARCHAR2(1 BYTE) DEFAULT 'N',
PENALTY_OR_IND VARCHAR2(1 BYTE) DEFAULT 'N',
RETURN_STATUS VARCHAR2(12 BYTE),
STATUS_DATE DATE,
STATUS_USERID VARCHAR2(8 BYTE),
PERIOD_START_DATE DATE,
PERIOD_END_DATE DATE,
NOTICE_STATUS VARCHAR2(12 BYTE),
NOTICE_STATUS_DATE DATE,
NOTE_TEXT VARCHAR2(2000 BYTE),
PENALTY_OR_BY VARCHAR2(8 BYTE),
PENALTY_OR_TMST DATE,
FILING_ID NUMBER(12),
CASE_ID VARCHAR2(49 BYTE),
DOC_CONTRL_NBR NUMBER(29),
LOCTR_NBR NUMBER(10),
STATUTE_BARRED_DATE DATE,
MEDIA_TYPE VARCHAR2(30 BYTE),
DISPSTN_TYPE VARCHAR2(30 BYTE),
AMEND_TYPE VARCHAR2(30 BYTE),
CALC_MODE VARCHAR2(30 BYTE),
PROCESS_PASS_CNT NUMBER(1),
CONVRTD_IND VARCHAR2(1 BYTE) DEFAULT 'N',
LOSS_PERIOD_END_DATE DATE,
MF_SYNC_CD VARCHAR2(1 BYTE)
CREATE TABLE RETURN_LINE_ITEMS
ID NUMBER(12),
RTSC_ID NUMBER(12),
RTRN_ID NUMBER(12),
SCLI_ID NUMBER(12),
LITM_ID NUMBER(12),
ENTP_ABN NUMBER(9),
PROG_PROGRAM_CD VARCHAR2(2 BYTE),
ACCT_OCCURNC_NBR NUMBER(4),
ACPE_END_DATE DATE,
SCHED_NBR VARCHAR2(3 BYTE),
SCHD_VERSION_YR NUMBER(4) DEFAULT 0,
SCHD_VERSION_NBR NUMBER(3),
RTSC_OCCUR_NBR NUMBER(3),
LITM_LINE_ITEM_NBR VARCHAR2(3 BYTE),
SLIN_LINE_ITEM_ID NUMBER(12),
OCCUR_NBR NUMBER(3) DEFAULT 1,
PREV_VAL_MOD_IND VARCHAR2(1 BYTE) DEFAULT 'N',
VIABLE_IND VARCHAR2(1 BYTE) DEFAULT 'N',
ACTIVE_IND VARCHAR2(1 BYTE) DEFAULT 'Y',
ACTION_CD VARCHAR2(1 BYTE),
PREV_VAL_AMT NUMBER(15,2),
REVISE_VAL_AMT NUMBER(15,2),
PREV_VAL_TEXT VARCHAR2(100 BYTE),
REVISE_VAL_TEXT VARCHAR2(100 BYTE),
DISPLAY_SEQ_NBR NUMBER(3),
SYS_VAL_AMT NUMBER(15,2),
LITM_INNER_PASS_SEQ_NBR NUMBER(3)
Inserting data into RETURNS table
INSERT INTO RETURNS (
ID ,
PROG_PROGRAM_CD ,
ACCT_ID ,
ACPE_ID ,
JENT_ID ,
PREV_RTRN_ID ,
ENTP_ABN ,
ACCT_OCCURNC_NBR ,
SOURCE_TYPE ,
RECEIVE_DATE ,
AMEND_IND ,
CMPLT_IND ,
PENALTY_OR_IND ,
RETURN_STATUS ,
STATUS_DATE ,
STATUS_USERID ,
PERIOD_START_DATE ,
PERIOD_END_DATE ,
NOTICE_STATUS ,
NOTICE_STATUS_DATE ,
NOTE_TEXT ,
PENALTY_OR_BY ,
PENALTY_OR_TMST ,
FILING_ID ,
CASE_ID ,
DOC_CONTRL_NBR ,
LOCTR_NBR ,
STATUTE_BARRED_DATE ,
MEDIA_TYPE ,
DISPSTN_TYPE ,
AMEND_TYPE ,
CALC_MODE ,
PROCESS_PASS_CNT ,
CONVRTD_IND ,
LOSS_PERIOD_END_DATE ,
MF_SYNC_CD)
VALUES(
3715944,
'01',
139048,
3587419,
9518324,
NULL,
401377197,
1,
'TAXPAYER',
TO_DATE('4/7/2009','mm/dd/yyyy'),
'N',
'Y',
'N',
'ASSESSED',
TO_DATE('4/30/2009','mm/dd/yyyy'),
'TRAPROD2',
TO_DATE('2/1/2008','mm/dd/yyyy'),
TO_DATE('1/31/2009', 'mm/dd/yyyy'),
'PRINTED',
TO_DATE('4/30/2009' , 'mm/dd/yyyy'),
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
6045574495,
NULL,
'RSI',
'NOTICE',
NULL,
NULL,
NULL,
'N',
NULL,
NULL);
NSERT INTO RETURNS (
ID ,
PROG_PROGRAM_CD ,
ACCT_ID ,
ACPE_ID ,
JENT_ID ,
PREV_RTRN_ID ,
ENTP_ABN ,
ACCT_OCCURNC_NBR ,
SOURCE_TYPE ,
RECEIVE_DATE ,
AMEND_IND ,
CMPLT_IND ,
PENALTY_OR_IND ,
RETURN_STATUS ,
STATUS_DATE ,
STATUS_USERID ,
PERIOD_START_DATE ,
PERIOD_END_DATE ,
NOTICE_STATUS ,
NOTICE_STATUS_DATE ,
NOTE_TEXT ,
PENALTY_OR_BY ,
PENALTY_OR_TMST ,
FILING_ID ,
CASE_ID ,
DOC_CONTRL_NBR ,
LOCTR_NBR ,
STATUTE_BARRED_DATE ,
MEDIA_TYPE ,
DISPSTN_TYPE ,
AMEND_TYPE ,
CALC_MODE ,
PROCESS_PASS_CNT ,
CONVRTD_IND ,
LOSS_PERIOD_END_DATE ,
MF_SYNC_CD)
VALUES(
4117092,
'01',
57794,
3864551,
10566221,
NULL,
400571410,
1,
'TAXPAYER',
TO_DATE('6/30/2010', 'mm/dd/yyyy'),
'N',
'Y',
'N',
'ASSESSED',
TO_DATE('7/27/2010','mm/dd/yyyy'),
'TRAPROD2',
TO_DATE('1/1/2009','mm/dd/yyyy'),
TO_DATE('12/31/2009','mm/dd/yyyy'),
'PRINTED',
TO_DATE('7/27/2010','mm/dd/yyyy'),
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
6053117120,
NULL,
'RSI',
'NOTICE',
NULL,
NULL,
NULL,
'N',
NULL,
NULL);
INSERT INTO RETURNS (
ID ,
PROG_PROGRAM_CD ,
ACCT_ID ,
ACPE_ID ,
JENT_ID ,
PREV_RTRN_ID ,
ENTP_ABN ,
ACCT_OCCURNC_NBR ,
SOURCE_TYPE ,
RECEIVE_DATE ,
AMEND_IND ,
CMPLT_IND ,
PENALTY_OR_IND ,
RETURN_STATUS ,
STATUS_DATE ,
STATUS_USERID ,
PERIOD_START_DATE ,
PERIOD_END_DATE ,
NOTICE_STATUS ,
NOTICE_STATUS_DATE ,
NOTE_TEXT ,
PENALTY_OR_BY ,
PENALTY_OR_TMST ,
FILING_ID ,
CASE_ID ,
DOC_CONTRL_NBR ,
LOCTR_NBR ,
STATUTE_BARRED_DATE ,
MEDIA_TYPE ,
DISPSTN_TYPE ,
AMEND_TYPE ,
CALC_MODE ,
PROCESS_PASS_CNT ,
CONVRTD_IND ,
LOSS_PERIOD_END_DATE ,
MF_SYNC_CD)
VALUES(
4382179,
'01',
498210,
3957251,
11264174,
3727534,
405079963,
1,
'TAXPAYER',
TO_DATE('4/26/2011', 'mm/dd/yyyy'),
'Y',
'Y',
'N',
'ASSESSED',
TO_DATE('5/12/2011','mm/dd/yyyy'),
'LOPATS',
TO_DATE('2/1/2008', 'mm/dd/yyyy'),
TO_DATE('1/31/2009','mm/dd/yyyy'),
'PRINTED',
TO_DATE('5/12/2011','mm/dd/yyyy'),
NULL,
NULL,
NULL,
NULL,
NULL,
NULL,
6058767341,
TO_DATE('4/30/2015','mm/dd/yyyy'),
'RSI',
'NOTICE',
'LOSS CARRY BACK (SIMPLE)',
'LOSS CARRY BACK',
NULL,
'N',
TO_DATE('1/31/2011', 'mm/dd/yyyy'),
NULL
Now inserting data into 2nd table i.e. RETURN_LINE_ITEMS
RTRN_ID means RETURN ID
This is for RTRN_ID =3715944
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES(
277707088,
8022477,
3715944,
NULL,
1585,
401377197,
'01',
1,
TO_DATE('1/31/2009', 'mm/dd/yyyy'),
'000',
1998,
1,
1,
'029',
23,
1,
'N',
'Y',
'Y',
NULL,
1,
1,
NULL,
NULL,
115,
1 ,
1);
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
277707106,
8022477,
3715944,
NULL,
1603,
401377197,
'01',
1,
TO_DATE('1/31/2009', 'mm/dd/yyyy'),
'000',
1998,
1,
1,
'062',
40,
1,
'N',
'Y',
'Y',
NULL,
1069336,
1069336,
NULL,
NULL,
200,
1069336,
130
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
(277707109,
8022477,
3715944,
NULL,
1539,
401377197,
'01',
1,
TO_DATE('1/31/2009','mm/dd/yyyy'),
'000',
1998,
1,
1,
'066',
43,
1,
'N',
'Y',
'Y',
NULL,
NULL,
1000,
'NULL',
'NULL',
215,
1069336,
200);Now for RTRN_ID = 4117092
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES(
319820214,
9028477,
4117092,
NULL,
1585,
400571410,
'01',
1,
TO_DATE('12/31/2009','mm/dd/yyyy'),
'000',
1998,
1,
1,
'029',
23,
1,
'N',
'Y',
'Y',
NULL,
3,
3,
NULL,
NULL,
115,
3,
1
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES(
319820233,
9028477,
4117092,
NULL,
1603,
400571410,
'01',
1,
TO_DATE('12/31/2009','mm/dd/yyyy'),
'000',
1998,
1,
1,
'062',
40,
1,
'N',
'Y',
'Y',
NULL,
790068,
790068,
NULL,
NULL,
200,
790068,
130
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
319820236,
9028477,
4117092,
NULL,
1539,
400571410,
'01',
1,
TO_DATE('12/31/2009','mm/dd/yyyy'),
'000',
1998,
1,
1,
'066',
43,
1,
'N',
'Y',
'Y',
NULL,
NULL,
790,
NULL,
NULL,
215,
790068,
200
Now finally for RTRN_ID = 4382179
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
348462584,
9694297,
4382179,
NULL,
1585,
405079963,
'01',
1,
TO_DATE(1/31/2009, 'mm/dd/yyyy'),
'000'
1998,
1,
1,
'029',
23,
1,
'N',
'Y',
'Y',
NULL,
1,
1,
NULL,
NULL,
115,
NULL,
1
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
348462602,
9694297,
4382179,
NULL,
1603,
405079963,
'01',
1,
TO_DATE('1/31/2009','mm/dd/yyyy'),
'000',
1998,
1,
1,
'062',
40,
1,
'N',
'Y',
'Y',
NULL,
672738,
643304,
NULL,
NULL,
200,
NULL,
130
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
348462605,
9694297,
4382179,
NULL,
1539,
405079963,
01,
1,
TO_DATE('1/31/2009','mm/dd/yyyy'),
'000',
1998,
1,
1,
'066',
43,
1,
'N',
'Y',
'Y',
NULL,
672738,
643304,
NULL,
NULL,
215,
643304,
200
);OK. Now once this data is all inserted, comes the real problem and that is:
a) based on the following requirements
Requirements: Adhoc Report for Audit on CIT Income Allocation
1. Select from the RETURNS table:
• Id > 3600000 and
• Prog_program_cd = '01' and
• Return_status in ('ASSESSED', 'DU") and
• Tax year ending in 2009 (i.e. year portion of the Period_end_date is in 2009)
2. Retrieve the following fields from the RETURNS table :
• Id
• Entp_abn
• Acct_id
• Prog_program_cd
• Period_start_date
• Period_end_date
• Amend_ind
• Return_status
• Status_date
• Loctr_nbr
3. If there are multiple entries from the same account and tax year, only retain the latest record: From the records selected in step 2, if there are multiple records with the same Acct_Id and Period_end_date, only retain the record with the most recent Status_date (i.e. MAX value on the date).
4. Using the results from step 3, link to the applicable RETURN_LINE_ITEMS table where:
• RETURNS.Id = RETURN_LINE_ITEMS.Rtrn_Id
5. From the selected return on RETURN_LINE_ITEMS table, retrieve records where (value on Sch 000 Line 062 > 500,000) and (value on Sch 000 Line 066 < value on Sch 000 Line 062) :
• Sched_nbr = '000', and Litm_line_item_nbr = '062', and Active_ind = 'Y', get Revise_val_amt as 'ab_taxable_income'
• Sched_nbr = '000', and Litm_line_item_nbr = '066', and Active_ind = 'Y', get Revise_val_amt as 'amt_taxable_in_ab'
• Retain the return only if (ab_taxable_income > 500,000) and (amt_taxable_in_ab < ab_taxable_income)
I utilized the following query and I am getting 4 rows (line item numbers 062 and 066 where in ab_taxable_income > 500,000) and (amt_taxable_in_ab < ab_taxable_income) and this is correct
SELECT r1.id, r1.entp_abn, r1.acct_id, r1.prog_program_cd, r1.period_start_date, r1.period_end_Date, r1.amend_ind, r1.return_status, r1.status_date, r1.loctr_nbr,
rtlnms.sched_nbr, rtlnms.litm_line_item_nbr,
decode(rtlnms.litm_line_item_nbr, '062', RTLNMS.REVISE_VAL_AMT)AB_TAXABLE_INCOME,
decode(rtlnms.litm_line_item_nbr, '066', RTLNMS.REVISE_VAL_AMT)AMT_TAXABLE_IN_AB
from returns r1, return_line_items rtlnms
where
r1.id = rtlnms.rtrn_id and
r1.prog_program_cd = rtlnms.prog_program_cd and
r1.entp_abn = rtlnms.entp_abn and
r1.id > 3600000 AND r1.prog_program_cd = '01' AND r1.return_status in ('ASSESSED', 'DU')
and r1.period_end_Date between to_date('01-01-2009','DD-mm-YYYY') and to_date ('31-12-2009', 'DD-mm-YYYY')
and r1.status_date = (select max (status_date) from returns r2 where r2. acct_id= r1.acct_id and r2.period_end_date = r1.period_end_date)
and rtlnms.sched_nbr = '000'
and rtlnms.active_ind = 'Y'
and r1.id in (4117092,3715944,4382179,3691435)
and RTLNMS.LITM_LINE_ITEM_NBR IN('062')
AND nvl(decode(litm_line_item_nbr, '062', REVISE_VAL_AMT),0) > 500000
and NVL(RTLNMS.REVISE_VAL_AMT,0) >( select NVL(RTLNMS2.REVISE_VAL_AMT,0)
FROM RETURN_LINE_ITEMS RTLNMS2
WHERE RTLNMS2.RTRN_ID=RTLNMS.RTRN_ID
AND RTLNMS2.LITM_LINE_ITEM_NBR = '066'
AND SCHED_NBR='000'
UNION
SELECT r1.id, r1.entp_abn, r1.acct_id, r1.prog_program_cd, r1.period_start_date, r1.period_end_Date, r1.amend_ind, r1.return_status, r1.status_date, r1.loctr_nbr,
rtlnms.sched_nbr, rtlnms.litm_line_item_nbr,
decode(rtlnms.litm_line_item_nbr, '062', RTLNMS.REVISE_VAL_AMT)AB_TAXABLE_INCOME,
decode(rtlnms.litm_line_item_nbr, '066', RTLNMS.REVISE_VAL_AMT)AMT_TAXABLE_IN_AB
from returns r1, return_line_items rtlnms
where r1.id = rtlnms.rtrn_id
AND r1.prog_program_cd = rtlnms.prog_program_cd
AND r1.entp_abn = rtlnms.entp_abn
AND r1.id > 3600000 AND r1.prog_program_cd = '01'
AND r1.return_status in ('ASSESSED', 'DU')
and r1.period_end_Date between to_date('01-01-2009','DD-mm-YYYY') and to_date ('31-12-2009', 'DD-mm-YYYY')
and r1.status_date = (select max (status_date) from returns r2 where r2. acct_id= r1.acct_id and r2.period_end_date = r1.period_end_date)
and rtlnms.sched_nbr = '000'
and rtlnms.active_ind = 'Y'
and r1.id in (4117092,3715944,4382179,3691435)
and RTLNMS.LITM_LINE_ITEM_NBR IN('066')
and NVL(RTLNMS.REVISE_VAL_AMT,0) <( select NVL(RTLNMS2.REVISE_VAL_AMT,0)
FROM RETURN_LINE_ITEMS RTLNMS2
WHERE RTLNMS2.RTRN_ID=RTLNMS.RTRN_ID
AND RTLNMS2.LITM_LINE_ITEM_NBR = '062'
and NVL(RTLNMS2.REVISE_VAL_AMT,0)>500000
AND SCHED_NBR='000'
order by IDHowever there is another condition after "5c" i.e. after Retain the return only if (ab_taxable_income > 500,000) and (amt_taxable_in_ab < ab_taxable_income)
and that is:
For those returns meeting the criteria in step 5, also retrieve the following from RETURN_LINE_ITEMS table and that is:
sched_nbr = '000' and Litm_line_item_nbr = '029' and ACTIVE_IND ='Y', get Revise_val_amt as "corp_type"
and in order to go about this, I utilised the following query:
SELECT r1.id, r1.entp_abn, r1.acct_id, r1.prog_program_cd, r1.period_start_date, r1.period_end_Date, r1.amend_ind, r1.return_status, r1.status_date, r1.loctr_nbr,
rtlnms.sched_nbr, rtlnms.litm_line_item_nbr,
decode(rtlnms.litm_line_item_nbr, '062', RTLNMS.REVISE_VAL_AMT)AB_TAXABLE_INCOME,
decode(rtlnms.litm_line_item_nbr, '066', RTLNMS.REVISE_VAL_AMT)AMT_TAXABLE_IN_AB,
decode(rtlnms.litm_line_item_nbr, '029', RTLNMS.REVISE_VAL_AMT)CORP_INCOME
from returns r1, return_line_items rtlnms
where
r1.id = rtlnms.rtrn_id and
r1.prog_program_cd = rtlnms.prog_program_cd and
r1.entp_abn = rtlnms.entp_abn and
r1.id > 3600000 AND r1.prog_program_cd = '01' AND r1.return_status in ('ASSESSED', 'DU')
and r1.period_end_Date between to_date('01-01-2009','DD-mm-YYYY') and to_date ('31-12-2009', 'DD-mm-YYYY')
and r1.status_date = (select max (status_date) from returns r2 where r2. acct_id= r1.acct_id and r2.period_end_date = r1.period_end_date)
and rtlnms.sched_nbr = '000'
and rtlnms.active_ind = 'Y'
and r1.id in (4117092,3715944,4382179,3691435)
and RTLNMS.LITM_LINE_ITEM_NBR IN('062')
AND nvl(decode(litm_line_item_nbr, '062', REVISE_VAL_AMT),0) > 500000
and NVL(RTLNMS.REVISE_VAL_AMT,0) >( select NVL(RTLNMS2.REVISE_VAL_AMT,0)
FROM RETURN_LINE_ITEMS RTLNMS2
WHERE RTLNMS2.RTRN_ID=RTLNMS.RTRN_ID
AND RTLNMS2.LITM_LINE_ITEM_NBR IN( '066')
AND SCHED_NBR='000'
UNION
SELECT r1.id, r1.entp_abn, r1.acct_id, r1.prog_program_cd, r1.period_start_date, r1.period_end_Date, r1.amend_ind, r1.return_status, r1.status_date, r1.loctr_nbr,
rtlnms.sched_nbr, rtlnms.litm_line_item_nbr,
decode(rtlnms.litm_line_item_nbr, '062', RTLNMS.REVISE_VAL_AMT)AB_TAXABLE_INCOME,
decode(rtlnms.litm_line_item_nbr, '066', RTLNMS.REVISE_VAL_AMT)AMT_TAXABLE_IN_AB,
decode(rtlnms.litm_line_item_nbr, '029', RTLNMS.REVISE_VAL_AMT)CORP_INCOME
from returns r1, return_line_items rtlnms
where r1.id = rtlnms.rtrn_id
AND r1.prog_program_cd = rtlnms.prog_program_cd
AND r1.entp_abn = rtlnms.entp_abn
AND r1.id > 3600000 AND r1.prog_program_cd = '01'
AND r1.return_status in ('ASSESSED', 'DU')
and r1.period_end_Date between to_date('01-01-2009','DD-mm-YYYY') and to_date ('31-12-2009', 'DD-mm-YYYY')
and r1.status_date = (select max (status_date) from returns r2 where r2. acct_id= r1.acct_id and r2.period_end_date = r1.period_end_date)
and rtlnms.sched_nbr = '000'
and rtlnms.active_ind = 'Y'
and r1.id in (4117092,3715944,4382179,3691435)
and RTLNMS.LITM_LINE_ITEM_NBR IN('066','029')
and NVL(RTLNMS.REVISE_VAL_AMT,0) < ( select NVL(RTLNMS2.REVISE_VAL_AMT,0)
FROM RETURN_LINE_ITEMS RTLNMS2
WHERE RTLNMS2.RTRN_ID=RTLNMS.RTRN_ID
AND RTLNMS2.LITM_LINE_ITEM_NBR='062'
and NVL(RTLNMS2.REVISE_VAL_AMT,0)>500000
AND SCHED_NBR='000'
order by ID
My output is: 7 rows i.e.
3 rows of return id = 3715944,
3 rows of return id = 4117092
and 1 row of return id = 4382179
It should only retrieve rows for 3715944 and 4117092; not for row =4382179 and this is because based on question in 5 "c", rows retrieved were for return ids' = 3715944 and 4117092
I know where the problem is:
As soon as it retrieves rows for returns 3715944 and 4117092 (because REVISE_VAL_AMT is greater than 500,000), it also finds another record with return id = 4382179 with greater than 500,000 and it blindly brings that as well.
Is there a way around to ensure that I my results are compared only against the return id's retrieved from 5 "c" = 3715944 and 4117092
Believe me I have tried every option that I could think of to remove return id = 4382179 but somehow could not.
Dear Gurus @ OTN, please help me.
Thanks,
SandeepThanks for your words of wisdom guys. Appreciate it.
Anyways what ever I asked, I was able to get solution for it by using an inline query and it's as follows:
SELECT id, entp_abn, acct_id, prog_program_cd, period_start_date,
period_end_date, amend_ind, return_status, status_date, loctr_nbr,
ab_taxable_income, amt_taxable_in_ab
FROM (SELECT r1.id, r1.entp_abn, r1.acct_id, r1.prog_program_cd,
r1.period_start_date, r1.period_end_date, r1.amend_ind,
r1.return_status, r1.status_date, r1.loctr_nbr,
SUM
(DECODE
(rtlnms.litm_line_item_nbr,
'062', rtlnms.revise_val_amt)) ab_taxable_income,
SUM
(DECODE
(rtlnms.litm_line_item_nbr,
'066', rtlnms.revise_val_amt)) amt_taxable_in_ab
FROM returns r1, return_line_items rtlnms
WHERE r1.id = rtlnms.rtrn_id
AND r1.id > 3600000
AND r1.prog_program_cd = '01'
AND r1.return_status IN ('ASSESSED', 'DU')
AND r1.period_end_date BETWEEN
TO_DATE ('01-01-2009', 'DD-MM-YYYY') AND
TO_DATE ('31-12-2009', 'DD-MM-YYYY')
AND rtlnms.sched_nbr = '000'
AND rtlnms.active_ind = 'Y'
AND r1.status_date =
(SELECT MAX (status_date)
FROM returns r2
WHERE r2. acct_id= r1.acct_id
AND r2.period_end_date = r1.period_end_date)
GROUP BY r1.id, r1.entp_abn, r1.acct_id, r1.prog_program_cd,
r1.period_start_date, r1.period_end_date, r1.amend_ind,
r1.return_status, r1.status_date, r1.loctr_nbr)
WHERE ab_taxable_income > 500000
AND amt_taxable_in_ab < ab_taxable_income
ORDER BY id
*OUTPUT*
ID ENTP_ABN ACCT_ID PR PERIOD_ST PERIOD_EN A RETURN_STATU STATUS_DA LOCTR_NBR AB_TAXABLE_INCOME AMT_TAXABLE_IN_AB
3715944 401377197 139048 01 01-FEB-08 31-JAN-09 N ASSESSED 30-APR-09 6045574495 1069336 1000
4117092 400571410 57794 01 01-JAN-09 31-DEC-09 N ASSESSED 27-JUL-10 6053117120 790068 790
2 rows selected.Anyways I am stuck in another issue and that is:
Based on what I have received above - I have been given a new requirement and that is:
retrieve the corresponding Schedule 002 data (if exist) from the RETURN_LINE_ITEMS table:
*• Sched_nbr = ‘002’, and Litm_line_item_nbr = ‘001’, and Active_ind = ‘Y’, get Revise_val_amt as ‘special_allocation’*
*• Sched_nbr = ‘002’, and Litm_line_item_nbr = ‘002’, and Active_ind = ‘Y’, get Revise_val_amt as ‘ab_salaries_wages’*
So in order to do this, I committed 5 additional rows with schedule number 002 and they are as follows:
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
626121,
118320,
3715944,
NULL,
2322,
401377197,
'01',
1,
TO_DATE('1/31/2009', 'mm/dd/yyyy'),
'002',
1981,
1,
1,
'001',
78,
1,
'N',
'Y',
'Y',
NULL,
NULL,
NULL,
NULL,
NULL,
5,
NULL,
40
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
626121,
118320,
3715944,
NULL,
2322,
401377197,
'01',
1,
TO_DATE('1/31/2009', 'mm/dd/yyyy'),
'002',
1981,
1,
1,
'002',
78,
1,
'N',
'Y',
'Y',
NULL,
NULL,
NULL,
NULL,
NULL,
5,
NULL,
40
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
626121,
118320,
3715944,
NULL,
2322,
401377197,
'01',
1,
TO_DATE('1/31/2009', 'mm/dd/yyyy'),
'002',
1981,
1,
1,
'004',
78,
1,
'N',
'Y',
'Y',
NULL,
NULL,
NULL,
NULL,
NULL,
5,
NULL,
40
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
626121,
118320,
3715944,
NULL,
2322,
401377197,
'01',
1,
TO_DATE('1/31/2009', 'mm/dd/yyyy'),
'002',
1981,
1,
1,
'006',
78,
1,
'N',
'Y',
'Y',
NULL,
NULL,
NULL,
NULL,
NULL,
5,
NULL,
40
INSERT INTO RETURN_LINE_ITEMS (
ID ,
RTSC_ID ,
RTRN_ID ,
SCLI_ID ,
LITM_ID ,
ENTP_ABN ,
PROG_PROGRAM_CD ,
ACCT_OCCURNC_NBR ,
ACPE_END_DATE ,
SCHED_NBR ,
SCHD_VERSION_YR ,
SCHD_VERSION_NBR ,
RTSC_OCCUR_NBR ,
LITM_LINE_ITEM_NBR ,
SLIN_LINE_ITEM_ID ,
OCCUR_NBR ,
PREV_VAL_MOD_IND ,
VIABLE_IND ,
ACTIVE_IND ,
ACTION_CD ,
PREV_VAL_AMT ,
REVISE_VAL_AMT ,
PREV_VAL_TEXT ,
REVISE_VAL_TEXT ,
DISPLAY_SEQ_NBR ,
SYS_VAL_AMT ,
LITM_INNER_PASS_SEQ_NBR
VALUES
626121,
118320,
3715944,
NULL,
2322,
401377197,
'01',
1,
TO_DATE('1/31/2009', 'mm/dd/yyyy'),
'002',
1981,
1,
1,
'008',
78,
1,
'N',
'Y',
'Y',
NULL,
NULL,
NULL,
NULL,
NULL,
5,
NULL,
40
); So based on the requirement I ran the following query in the hope that I should see 8 records but unfortunately I saw none, Can any one help again please??? The query is as follows:
SELECT id, entp_abn, acct_id, prog_program_cd, period_start_date,
period_end_date, amend_ind, return_status, status_date, loctr_nbr,
ab_taxable_income, amt_taxable_in_ab,
CORP_INCOME, AB_ALLOC_FACTOR, AB_TAX_PAYABLE,
special_allocation, ab_salaries_wages
FROM (SELECT r1.id, r1.entp_abn, r1.acct_id, r1.prog_program_cd,
r1.period_start_date, r1.period_end_date, r1.amend_ind,
r1.return_status, r1.status_date, r1.loctr_nbr,
SUM
(DECODE
(rtlnms.litm_line_item_nbr,
'062', rtlnms.revise_val_amt)) ab_taxable_income,
SUM
(DECODE
(rtlnms.litm_line_item_nbr,
'066', rtlnms.revise_val_amt)) amt_taxable_in_ab,
SUM
(DECODE
(rtlnms.litm_line_item_nbr,
'029', rtlnms.revise_val_amt)) CORP_INCOME,
SUM
(DECODE
(rtlnms.litm_line_item_nbr,
'065', rtlnms.revise_val_amt)) AB_ALLOC_FACTOR,
SUM
(DECODE
(rtlnms.litm_line_item_nbr,
'080', rtlnms.revise_val_amt)) AB_TAX_PAYABLE,
SUM
(DECODE
(rtlnms.litm_line_item_nbr,
'001', rtlnms.revise_val_amt)) SPECIAL_ALLOCATION,
SUM
(DECODE
(rtlnms.litm_line_item_nbr,
'002', rtlnms.revise_val_amt)) AB_SALARIES_WAGES
FROM returns r1, return_line_items rtlnms
WHERE r1.id = rtlnms.rtrn_id
AND r1.id > 3600000
AND r1.prog_program_cd = '01'
AND r1.return_status IN ('ASSESSED', 'DU')
AND r1.period_end_date BETWEEN
TO_DATE ('01-01-2009', 'DD-MM-YYYY') AND
TO_DATE ('31-12-2009', 'DD-MM-YYYY')
AND rtlnms.sched_nbr = '000'
AND(rtlnms.sched_nbr = '002' and rtlnms.litm_line_item_nbr in ('001','002','004','006','008') )
AND rtlnms.active_ind = 'Y'
AND r1.status_date =
(SELECT MAX (status_date)
FROM returns r2
WHERE r2. acct_id= r1.acct_id
AND r2.period_end_date = r1.period_end_date)
GROUP BY r1.id, r1.entp_abn, r1.acct_id, r1.prog_program_cd,
r1.period_start_date, r1.period_end_date, r1.amend_ind,
r1.return_status, r1.status_date, r1.loctr_nbr, rtlnms.sched_nbr)
WHERE ab_taxable_income > 500000
AND amt_taxable_in_ab < ab_taxable_income
strangely it's not retrieving any row where as it should have retrieved one row atleast and that is all records pertaining to return_id (return id ) = 3715944
Can any of the Gurus' please help me out? As said I am really having a bad day on this. Many thanks to any one who can help me see the light today :-) -
Load Plan in oracle bi Applications Configurations Manager creating issues
Hi All,
I have installed oracle data integrator + BI Apps. I had created a load plans in Administer Execution Plans (ie. select payroll subject area ) to load payroll fact. Everything went will till this point.
But when i start executing the package i am getting weird errors.The errors are as follows:
In the SDE_ORA_TRANSACTION_TYPEDIMENSION_PO_LINES_TYPE package is failing in the step "Insert flow into I$ table" . When i checked the logs ===> "insert /*+ APPEND */ into TEMP_BIAPPS.I$17_W_XACT_TYPE_DS".. I can see that it is using "PO_LINE_TYPES_V.ORDER_TYPE_LOOKUP_CODE" directly.
from TEMP_BIAPPS.C$17_2W_XACT_TYPE_DS RIGHT JOIN (TEMP_BIAPPS.C$17_1W_XACT_TYPE_DS RIGHT JOIN TEMP_BIAPPS.C$17_0W_XACT_TYPE_DS ON LKP_XACT_TYPES.XACT_TYPE_CODE = PO_LINE_TYPES_V.ORDER_TYPE_LOOKUP_CODE) ON LKPTRANS.XACT_TYPE_CODE1 = PO_LINE_TYPES_V.PURCHASE_BASIS
So its throwing invalid identifier as we are executing this in the data ware house and PO_LINE_TYPES_V is in EBS.
When i do execute this directly from the ODI Designer by executing the package i am not getting this error. Instead of the "PO_LINE_TYPES_V.ORDER_TYPE_LOOKUP_CODE" i was getting the " C1_XACT_TYPE_CODE".
FROM
TEMP_BIAPPS.C$17_2W_XACT_TYPE_DS RIGHT JOIN (TEMP_BIAPPS.C$17_1W_XACT_TYPE_DS RIGHT JOIN TEMP_BIAPPS.C$17_0W_XACT_TYPE_DS ON C14_XACT_TYPE_CODE = C1_XACT_TYPE_CODE) ON C13_XACT_TYPE_CODE1 = C3_XACT_TYPE_CODE1
Can any one let me know how i can resolve this issue ?Hi ,
We are also facing same issue while using inline view IKM.
BeanShell script error: Sourced file: inline evaluation of: ``out.print("\"\"\"\n") ; import oracle.di.biapps.*;out.print("\n\n") ; String t . . . '' : Attempt to resolve method: parseFromClause() on undefined variable or class name: InlineView : at Line: 5 : in file: inline evaluation of: ``out.print("\"\"\"\n") ; import oracle.di.biapps.*;out.print("\n\n") ; String t . . . '' : InlineView .parseFromClause ( snpRef .getFrom ( ) )
BSF info: Build Java String at line: 0 column: columnNo
out.print("\"\"\"\n") ; -
Business System creating issue
there are two Production SAP R/3 on our landscape.
so we can see PRD on AHOST and PRD on BHOST on technical system on SLD. they are using same 100 client.
whenn i create BS, I got error message
"The selected client has an associated logical system name that is already used for another business system. select a different client"
Due to using same PRD, even though they are different host name, it show us when creating BS,
i think that it does not make sense because many r/3 sid are used by PRD or DEV.
does anyone has such issue?
thank you
YDIf both are brand new, or at least one is new (it means they're not being exchanging IDocs, BDocs, or are somehow connected to other SAP boxes like APO, BW, etc) you should consider to change one of the two logical systems in SCC4.
Otherwise... suppose you want to route an IDoc (coming from R/3) based on which PRD instance issued it: you won't be able using the LOGSYS, but you can prob use some other fields of the control record, properly set.
If you just don't mind, let your SLD think that you have just one system. For IDocs going to SAP, you'll just be able to decide whether they should go changing the pointing of your IDOC receiver channel.
But this is a very strange situation anyway. What I wrote are just suggestion based on exerience and common sense. Hope that helps somehow.
Alex -
Creating Issue against Reservation
Dear SAP Gurus,
While creating Goods Issue against the reservation the system through the message M7 181 only O Quantity availble.
But if i see the actual quantity through MMBE the system shows the actual quantity which is there in PRD server.
Can any one give me immediate reply highly appriciated
Thanks,
Alam.Sivakumarhi
Though stock is available pls. check whether availability check is active for that material or not...may be the available stock is reserved for another reservations
u can check list of reservation in MMBE
check reserved column--Shift+F6 will give u list of reservations
Vishal... -
Account creating issue with credit !!!
Hi
i was trying to create an account an then the web site ask for payment method i entered my credit card details and then i recieved msgs from the bank that apple deduct from the credit please what should i do ?
how can i return my money back.
ERRRRWhy couldn't you create the account ? You got to the payment's screen and put in your card's details and then what ?
The temporary store holding charge is a standard thing, it will be removed/refunded by your card issuer :
If you update your billing information, the iTunes Store or Mac App Store will place an authorization hold on your payment card account, usually in the amount of 1 USD or the local currency equivalent, to verify your account information. -
Hi,
I've got a fresh installation of SOLMAN that I completed recently, and while using SOLAR01 to try to create an issue, I get the following error: CRM Transaction could not be created. Anyone have any idea about this? Google doesn't yield very much useful information.
Thanks.
EdmondHi Edmond,
no problem, hehe
the easiest way to create an issue would be by DSWP transaction.
regarding the configurations, i believe that the initial and basic are not enough to use the service desk and the incident management.
Check the following help page that covers this whole area:
http://help.sap.com/saphelp_sm70ehp1_sp26/helpdata/en/d6/b729db0a2a41589e9fa8f25eba7fcb/frameset.htm
This should help you
Kind regards,
Fabricius -
E$ Table in SQL Server - creating issues
Hi All,
After a successful run of an ETL SCD Type2, the E$ table is craeted in the SQL Server but it is not deleted after the run even when it is successful, the second time I run it it causes a failure because of that, how do I automatically delete it after a succesful run, I understand the error table being there after a failure, so we investigate teh cause and then manually delete it. IS tehre a way to automatically delete it after a successful run.
Thanks for your time and help.Hi,
When you say deleted", do you mean :
- DROPPED (= destructed, a droped table doesn't existe anymore)
- DATA DELETED (= the table is still here but the records are deleted)
By default, the CKM doesn't *drop* the error table. You can activate the "drop error table" option in the "control" tab of your interface. If so, the E$ table will be dropped (=destructed) at the BEGINNING of the interface. The E$ table is NEVER droped at the end of an interface (otherwise, we couldn't be able to read the errors).
But it shouldn't generate crash during the step "create error table" because the flag "ignore errors" is supposed to be true in the CKM step.
And, the CKM ALWAYS delete the errors of your E$ table at the beginning of the interface. It means the errors that were rejected and stored in E$ during the last execution are deleted (... in fact, only the errors due to this interface). -
Idoc Created once PO created issue
Hi ,
Idoc created once PO Creted with single item is populated with 'WE' partner data withinthe requried segment of the idoc , But when we create the PO with Multilpe items with same header data the segment with 'WE' partner is missing the respetive outbound idoc .
Any idea please help me ....
Thanks ,Hi,
Can you please cross check whether if any customer exit for the outbound idoc is active and put in some conditions/checks.
Regards,
Vamsee -
Preview(610) deny file-write-create issue
I was reviewing a document in Preview (a PDF that I downloaded from the internet) and added annotations with notes and rectangles - frequently using cmd-S to save versions (I could see the older versions ising "Revert document..." After I closed and re-opened the document (and reverted to my home time zone (I did the work on a plane) all but my first edits were gone. In addition, I keep getting asked if I want to open a file downloaded from the Internet. Very odd. I went into Console and saw a series if items:
2/25/12 12:06:58.628 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-oaMVR0
2/25/12 12:07:29.047 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-C7m4lN
2/25/12 12:07:59.467 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-5n0NJe
2/25/12 12:08:29.914 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-saU9Th
2/25/12 12:09:00.355 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-OeeJNl
2/25/12 12:09:30.782 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-G67ylo
2/25/12 12:10:01.203 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-C2pDW5
2/25/12 12:10:31.642 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-ewnB2Q
2/25/12 12:11:02.066 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-KdQbPR
2/25/12 12:11:32.492 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-9madk1
2/25/12 12:12:02.928 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-5z8uop
2/25/12 12:12:33.356 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-tfmgi6
2/25/12 12:13:03.780 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-FbgwGV
2/25/12 12:13:34.201 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-ClcLCU
2/25/12 12:14:04.631 PM sandboxd: ([610]) Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-nYrhpk
Expanding one of them, I see this:
Preview(610) deny file-write-create /Users/paul/Library/Preferences/ByHost/.GlobalPreferences.4303C8C3-A534-54DA-BF D2-08D9A393F8FD.plist.sb-d2a9a742-Gfz2WE
Process: Preview [610]
Path: /Applications/Preview.app/Contents/MacOS/Preview
Load Address: 0x107587000
Identifier: Preview
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: launchd [274]
Date/Time: 2012-02-25 10:14:34.657 -0800
OS Version: Mac OS X Server 10.7.3 (11D50)
Report Version: 7
Backtrace:
0 libsystem_kernel.dylib 0x00007fff8850aad2 __open + 10
1 CoreFoundation 0x00007fff86191b37 -[CFXPreferencesPropertyListSourceSynchronizer writePlistToDisk] + 343
2 CoreFoundation 0x00007fff8615a8e5 -[CFXPreferencesPropertyListSourceSynchronizer synchronizeAlreadyFlocked] + 613
3 CoreFoundation 0x00007fff8615a639 -[CFXPreferencesPropertyListSourceSynchronizer synchronize] + 441
4 CoreFoundation 0x00007fff8619886f __-[CFXPreferencesPropertyListSource synchronizeInBackgroundWithCompletionBlock:]_block_invoke_1 + 111
5 libdispatch.dylib 0x00007fff8c9fc8ba _dispatch_call_block_and_release + 18
6 libdispatch.dylib 0x00007fff8c9fe10a _dispatch_queue_drain + 264
7 libdispatch.dylib 0x00007fff8c9fdf66 _dispatch_queue_invoke + 54
8 libdispatch.dylib 0x00007fff8c9fd760 _dispatch_worker_thread2 + 198
9 libsystem_c.dylib 0x00007fff872273da _pthread_wqthread + 316
10 libsystem_c.dylib 0x00007fff87228b85 start_wqthread + 13
Binary Images:
0x7fff86111000 - 0x7fff862e5fff com.apple.CoreFoundation (6.7.1 - 635.19) <57B77925-9065-38C9-A05B-02F4F9ED007C> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
0x7fff871d7000 - 0x7fff872b4fef libsystem_c.dylib (763.12.0 - compatibility 1.0.0) <FF69F06E-0904-3C08-A5EF-536FAFFFDC22> /usr/lib/system/libsystem_c.dylib
0x7fff884f4000 - 0x7fff88514fff libsystem_kernel.dylib (1699.23.2 - compatibility 1.0.0) <55377210-60A0-3F33-9D45-B2D19AA91859> /usr/lib/system/libsystem_kernel.dylib
0x7fff8c9fb000 - 0x7fff8ca09fff libdispatch.dylib (187.7.0 - compatibility 1.0.0) <712AAEAC-AD90-37F7-B71F-293FF8AE8723> /usr/lib/system/libdispatch.dylib
Not sure what to do. Have started redoing 3 hours of work saving, closing and reopening. Still get the "Do you want to open a file downloaded from the Internet" but the recent work appears to be there. VERY UNNERVING that so much work could be lost.
I should also mention that my computer defaults to opening PDFs with Adobe Reader but for this one I used command-I to change the default application to Preview since it was so much better at annotating (or so I thought).
Any insight or suggestions? Just tried resetting permissions with Disk Utility and this time it did not ask if I wanted to open a downloaded file.
PaulRepairing the permissions of a home folder in Lion is a complicated procedure. I don’t know of a simpler one that always works.
Launch the Terminal application by entering the first few letters of its name into a Spotlight search. If that doesn’t work, then in the Finder, press the key combination shift-command-U. The application is in the folder that opens.
Drag or copy – do not type – the following line into the Terminal window, then press return:
chmod -R -N ~
If you get an error message about permissions, enter this:
sudo !!
You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up.
Next, boot from your recovery partition by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
When the recovery desktop appears, select Utilities ▹ Terminal from the menu bar.
In the Terminal window, enter “resetpassword” (without the quotes) and press return. A Reset Password window opens.
Select your boot volume if not already selected.
Select your username from the menu labeled Select the user account if not already selected.
Under Reset Home Directory Permissions and ACLs, click the Reset button.
Select ▹ Restart from the menu bar. -
Camera raw update 3.2 create issues with panasonic square LX3 raw
Hi everybody,
since I've installed the last camera raw update(ie 3.2), my square raw from my panasonic LX3 are not recognised anymore by snow leopard, I can't even get a preview on any of my square raw.
As it was working perfectly before this update, is there a way to remove this update?
Can you reproduce this issue?
thanks for your attentionI have the Leica D Lux 4 and it does the same thing with my camera using 1:1 aspect ratio. I've since rolled the raw update back to version 3 and all is normal again. If you read this thread, it explains how to roll back the raw update.
http://discussions.apple.com/thread.jspa?messageID=11157435�
Andy
Maybe you are looking for
-
Not getting output undr billing details and item details in printng invoice
In form interface under import tab i have declared 1 value i.e. IM_FS_KNA1 type KNA1 I have not declared anything except this in form interface. In Global Definitions under Global Data tab: IM_T_KNA1 TYPE TABLE OF KNA1 IM_FS_VBRK TYPE
-
How do i add a new data type in this Bubble sort
i have tried to i add a new String data type (String publisher) but my program has an error. please show me // libmainsys.java // demonstrates bubble sort // to run this program: C>java BubbleSortApp class ArrayBub private String[] a; // ref to array
-
Can't install extra languages to spell check
Hi, In our office we have a English Windows 7. English spell check is working in IE10. Now I want ie10 to check my spelling in Dutch. I tried tools, manage add-ons, spell correction and there "Get more Spelling Dictionaries Online...". That resulted
-
Does anyone know if the Creative Cloud subscription includes some sort of free web hosting? I seen somewhere that the membership includes hosting for 3 websites, but I just want to confirm. Thanks, - Michael
-
BPEL Invoke Pool does not relinquish threads
Hi Everyone, We are in the midst of a Sev 1 escalated issue which has now been running for 4 days. BPEL Invoke Pool (10.1.3.4.2) is not relinquishing threads for a whole range of BPEL instances - but why? This eventually causes the JVM into an OutOfM