Abort Mapping

Hello,
I'm building some vbscript to avoid xlsx import problem on FDM 11.1.1.3 (tDataMap with reserved chars etc...) but I'm able to do it only for workflow import step by ImportAction.
Now, I'd like to stop and abort Mapping if selected file is not .xls (wrong Document Type or xlsx) but I don't know how. Suggestions?
I can use BefImportMap as starting point I guess, but how can I stop the process?
Thank you
Francesco.

Same help I also need.
I want to write a scipt in the BefImportMap under Events Scipts.
The reason is when any user imports the mapping table(in my case an excel .xls doc), if the user imports any other excel by mistake then the mapping goes wrong and affects the application.
So I want to validate the imported excel by putting condition say:
i) (1, B) must be LOCATION
ii) (3, B) must be either of these--Account, Entity, ICP, C1, C2, C3 & C4.
If these conditions satisfy only then the user can import the mapping excel sheet, otherwise the user will see an error.

Similar Messages

  • Aborting Mapping Jobs in OWB

    Hi,
    Depending upon some condition evaluating to a true (for say .. some attribute in a expression operator evaluating to some predefined value), I need to abort the mapping execution.
    Is there any way for implementing this in OWB, if so please explain how?
    -Arnab

    I am afraid that Public Transformations with exceptions does not abort the mapping. The mapping executes successfully and for the case where the exception condition is met, the function raises the exception and returns a NULL value. The target table field gets populated with a NULL value for that record.
    Is there any other way, there is something called WB_ABORT in the Oracle Library to which OWB has access. Does anyone have some idea, how that can be used?
    Regards
    -Arnab Panja

  • OID HR Sync Error

    Hi,
    We are in the process of synchronizing OID with our HR database. Created a config file with [SELECT] tag and select statement and also a corresponding mapping file. On trying to execute the hragent, it ends up with process failure. The trace file OracleHrAgent.trc displays the following error message.
    Error in proxy connection : java.lang.NullPointerException
    java.lang.NullPointerException
    at oracle.ldap.odip.engine.AgentThread.updateExecStatus(AgentThread.java:487)
    at oracle.ldap.odip.engine.AgentThread.run(AgentThread.java:192)
    Updated Attributes
    orclodipLastExecutionTime: 20050223092534
    orclOdipSynchronizationStatus: Agent Execution Failure, Aborting Mapping/IMPORT Operation
    orclOdipSynchronizationErrors: Agent Execution Failure, Aborting Mapping/IMPORT Operation
    When tried to run the command odihragent with proper arguments we got the error which says :
    ORA-01797: this operator must be followed by ANY or ALL
    Has anyone successfully implemented HR Sync with OID?
    We are using 10g OAS.
    Any help in this regard is highly appreciated. Waiting for your valuable feedback.
    Thanks
    SNN

    I have the same error,
    are you find the answer?
    can you tell me?

  • Error (Aborted) executing CT mapping

    Hi I 've a big problem with execution of CT mapping,
    When I try to execute a code template mapping It ended with failure.
    I've OWB 11gr2 and my sources are Adabas (heterogeneous database) and my targets are in Oracle.
    Other code templete mapping execute without error.
    I use Attunity driver to unload from adabas. This task in host ended with return code 0,
    One of the adabas files, that I use has 115 Millions of records . I don't know what's the problem. the situation is :
    * In OWB execution is busy.
    ====================
    EXECUTIONS
    ====================
    Audit ID.. Status........ Name.............. Date.............. Owner.........
    14711 BUSY M_STAG_ETL_NOMINA 27-ENE-11 09:28:57 WSBICI_ADM
    From OWB (control center)
    Icon is a red square and the message (audit Information) is only aborted.
    Review logs:
    ******alert database It's not any errors
    ******$ORACLE_HOME/owb/jrt/log/jrt/job650 (last lines)
    <attr name='TIMEZONE' value='Europe/Paris'/>
    <attr name='PHASE_ID' value='2'/>
    <attr name='END_TIME' value='1296120053683'/>
    <attr name='STATUS' value='5'/>
    <attr name='START_TIME' value='1296116912769'/>
    <attr name='EXECUTION_STATEMENT_TYPE' value='JDBC'/>
    <attr name='TASK_ID' value='10'/>
    <attr name='JOB_ID' value='650'/>
    <attr name='ID' value='13'/>
    <txt>Aborted</txt>
    </msg>
    <msg time='2011-01-27T10:20:53.703+01:00' comp_id='' type='NOTIFICATION' level='1' host_id='evodbt1' host_addr='172.24.126.31' tid='127' user='iberora'
    ecid='172.24.126.31:94597:1296120053703:3846' rid='0'>
    <attr name='PHASE_ID' value='2'/>
    <attr name='END_TIME' value='1296120053703'/>
    <attr name='STATUS' value='5'/>
    <attr name='START_TIME' value='1296116912706'/>
    ***** $ORACLE_HOME/owb/log (last lines)
    2011/01/27-10:37:34-CET [19110CAF][] Thin driver connection time - 97 millisecond(s)
    2011/01/27-10:37:34-CET [19110CAF][WSBICI_ADM.WS_TBICI] Attempting to create adapter 'class.Oracle Database.11.2.DDLDeployment'
    2011/01/27-10:37:34-CET [19110CAF][WSBICI_ADM.WS_TBICI] Thin driver connection time - 167 millisecond(s)
    2011/01/27-10:37:34-CET [19110CAF][WSBICI_ADM.WS_TBICI] Creating target schema synonyms for target schema BICI_PROP
    2011/01/27-10:37:34-CET [19110CAF][WSBICI_ADM.WS_TBICI] Assigning grants to target schema BICI_PROP
    2011/01/27-10:37:35-CET [19110CAF][WSBICI_ADM.WS_TBICI] script_run_begin auditId=14757 operation=9001
    2011/01/27-10:37:42-CET [19110CAF][WSBICI_ADM.WS_TBICI] script_run_end auditId=14765 scriptRunStatus=15002
    2011/01/27-10:37:42-CET [19110CAF][WSBICI_ADM.WS_TBICI] deploy_unit_done auditId=14755
    2011/01/27-10:37:42-CET [19C1EA29][] Free Memory(bytes)=36868584 Total Memory(bytes)=81920000 Used Memory(bytes)=45051416 Used Memory(percent)=55%
    2011/01/27-10:37:42-CET [19C1EA29][] AuditId=14755: Request completed
    what's the problem?
    are there any log file more?
    thanks in advanced
    Marisol

    I've seen in database a session with a wait event.
    SID SERIAL# PROCESS SPID USERNAME DDHHMI Programa/Modulo Prev/Sql_ID SEG Estado
    18 1406 1234 20451 OWBSYS 270929 OWB_CCS evodbt1 P cf6jvt3r35mhh 0 87052 Inactivo
    SID SEQ# EVENT P1 P2 P3 WAIT_TIME SECONDS_IN_WAIT
    18 752 SQL*Net message from client 1952673792 1 0 0 87220
    SQL_TEXT
    SQL_FULLTEXT SQL_ID SHARABLE_MEM PERSISTENT_MEM RUNTIME_MEM
    SORTS VERSION_COUNT LOADED_VERSIONS OPEN_VERSIONS USERS_OPENING FETCHES EXECUTIONS PX_SERVERS_EXECUTIONS END_OF_FETCH_COUNT
    USERS_EXECUTING LOADS FIRST_LOAD_TIME INVALIDATIONS PARSE_CALLS DISK_READS DIRECT_WRITES BUFFER_GETS APPLICATION_WAIT_TIME
    CONCURRENCY_WAIT_TIME CLUSTER_WAIT_TIME USER_IO_WAIT_TIME PLSQL_EXEC_TIME JAVA_EXEC_TIME ROWS_PROCESSED COMMAND_TYPE OPTIMIZER_ OPTIMIZER_COST
    OPTIMIZER_ENV
    OPTIMIZER_ENV_HASH_VALUE PARSING_USER_ID PARSING_SCHEMA_ID PARSING_SCHEMA_NAME KEPT_VERSIONS ADDRESS HASH_VALUE
    OLD_HASH_VALUE PLAN_HASH_VALUE MODULE MODULE_HASH
    ACTION ACTION_HASH SERIALIZABLE_ABORTS
    OUTLINE_CATEGORY CPU_TIME ELAPSED_TIME OUTLINE_SID
    LAST_ACTIVE_CHIL R OBJECT_STATUS LITERAL_HASH_VALUE LAST_LOAD_TIME I I I CHILD_LATCH
    SQL_PROFILE SQL_PATCH SQL_PLAN_BASELINE PROGRAM_ID
    PROGRAM_LINE# EXACT_MATCHING_SIGNATURE FORCE_MATCHING_SIGNATURE LAST_ACTIVE_TI
    BIND_DATA
    TYPECHECK_MEM IO_CELL_OFFLOAD_ELIGIBLE_BYTES IO_INTERCONNECT_BYTES PHYSICAL_READ_REQUESTS PHYSICAL_READ_BYTES PHYSICAL_WRITE_REQUESTS
    PHYSICAL_WRITE_BYTES OPTIMIZED_PHY_READ_REQUESTS LOCKED_TOTAL PINNED_TOTAL IO_CELL_UNCOMPRESSED_BYTES IO_CELL_OFFLOAD_RETURNED_BYTES
    BEGIN :1 := wb_rt_message_feedback.message_end( :2 ) ; END;
    BEGIN :1 := wb_rt_message_feedback.message_end( :2 ) cf6jvt3r35mhh 23096 1504 584
    ; END;
    0 3 1 1 0 0 5 0 5
    0 5 2011-01-21/10:45:14 0 5 8 0 4818 0
    0 0 36046 6333 0 5 47 ALL_ROWS 0
    E289FB89E126A80034011000AEF9C3E2CFFA331056415555519521105555551545545558591555449665851D5511058555555155515122555415A0EA0E5551454265455454449081
    566E001696A35615551403025415505AE126A800050302000002000000100000000100002000000208D0070000004009000020030001010
    425061334 68 68 OWBSYS 0 C00000011C746780 3996306960
    245208783 0 OWB_CCS -515039546
    INFRASTRUCTURE -1,086E+09 0
    40000 85515
    C00000011C79E898 N VALID 0 20110127102124 N N N 0
    0
    0 0 0 20110127102124
    0 0 65536 8 65536 0
    0 0 28 431 0 0
    Cheers
    Marisol

  • Mapping aborts instead of records getting audited in error tables

    We have several instances when a mapping encounters an invalid number error (source is non-numeric and target is numeric) and the mapping aborts with a "Invalid number" error, instead of the error being logged in the wb_rt_error* tables, and the mapping continuing. The max number of errors is set to 10,000 or something, so that is not an issue. In other instances, it does continue with warning as expected.
    I can't seem to find a pattern with this. Can someone tell me why OWB behaves like this? Is there an explaination to this? We really don't want our mappings killed by bad source data. We sould like OWB to complain, log the error, and continue.
    Please help.
    -Whiskeylover

    It sounds as though there is some specific type of data error which is occurring occassionally, and which OWB is not handling properly. As you point out, sometimes OWB does log and move on - sometimes it doesn't. The hard part is going to be figuring out what the exact data is that is causing the problem and resolving it.
    On the next day when this happens, in the prod environment run something like:
    declare
       cursor get_vals is
         select the_problem_field from the_source_table;
       function validate_field (invar in varchar2)
       return 0
       is
         testnum number;
       begin
         testnum := to_number(invar);
       exception
          when others then return 1;
       end;
    begin
        for source_record in get_vals
        loop
           if validate_field(source_record.the_problem_field) = 1 then
               dbms_output.put_line(source_record.the_problem_field);
           end if;
        end;
    end;
    /This will give you the list of values which would fail the to_number, and you can try looking for anything extraordinary, or use it as a test sample to run through another mapping.
    OH!!!! Wait!
    Just had a thought.
    If the query that is generating the data for the query is doing any formatting, then it could be the cursor that is failing and not the insert. In that case the cursor fails and exits as it cannot continue which would result in the circumstance you are describing. The error audit counting only works if the problem is at the insert portion of the code - not the select.
    Open the mapping package body and pull the cursor out. If there is a to_number() or other function being applied against the source field then this almost certainly your problem.
    You would be able to test this with a simple query by running a select with that function against the source table to see if it errors.
    Case in point:
    assume a varchar field that you are converting to date. You have desinged the mapping to use a to_Date() function with a format mask according to what should be in the field: e.g. to_date(the_field, 'yyyyymmdd'), and there is a singe record with the value '2009081111'. The select fails and will not process subsequent rows.
    I would bet that this sort of thing is your issue.
    Oh, and this error could be coming from any of the fields if you are getting a non-specific error - not neccessarily the field that you think is the problem.
    Cheers,
    Mike

  • Unable to abort from a mapping

    Hi All,
    We need to abort processing within our mapping upon meeting a certain condition. We have tried WB_ABORT and functions with RAISE_APPLICATION_ERROR. But the mapping runs to completion with errors and inserts all other rows into the target table. The mapping doesn't abort, but the audit records do show the error message raised in the above function.
    The abort is necessary at the row where the error occurs, so the mapping can be re-run from that point after fixing the problem.
    The mappings use sorter and expression operators and a splitter and run in row-based mode with bulk-processing set to false.
    Any input is highly appreciated.
    Thanks,
    Aravind

    Nikolai,
    Thanks for the tip. Regarding the same problem.. Max. no. of errors is set to 1. The errors are not database related.
    For Eg: Assume there are 10 rows in the source table. If the 5th row doesn't meet a particular condition, we want the mapping to abort at this stage. So we use a splitter to identify this row and call a function to raise an error. We see the error in the audit log, but rows 6 to 10 get processed as well and end up in the target table.
    We tried this in a simple mapping. The mapping aborts at row 5.
    source-> splitter -> target/error function.
    Mapping completion status - Completed with errors.
    Next we tried using this logic in our mapping, it doesn't abort.
    source-> filter -> expression/functions-->sorter-->expression/function --> splitter --> target/error function.
    Mapping completion status - Completed with warnings.
    Why didn't it error out here?
    Thanks,
    Chethan

  • Any Exit /Abort function in the Graphical Mapping?

    Greetings
    is there any way to exit the current mapping using?
    I have a scenario where I need not to skip mapping if a specific condition is met.
    Regards,

    Now you have got on the right track.
    DATA=createIf(Field1!=null) was just to give you an idea,
    but this you can impliment in 2-3 ways if you want.
    1. If you see u have used the boolean notEquals function which is why you get this error.
    first of all you need to know in what format you will get the result of the RFC (string/boolean etc.)
    Now it is in your hand to return the value in the UDF u r trying to use for RFC look up
    if you get the null as response what you can do is - just put a condition while writing the return statement in UDF as:
    if(RFCReturn == null)
    return ""+0;    //as the return parameter expected is in string format
    else
    return ""+RFCReturn;
    and in this manner in the mapping you can now use the notEquals as:
    notEquals(Field1,"0")
    2. You can use the Text functions like compare or equalsS along with ifElse to achive your target
    like this it is up to you how to do it.
    Ranjit

  • Printer unavailable on wireless network map

    My D110 is discovered but cannot be placed on network map. . . When installing software for wireless detection of printer, it cannot find it even with address of printer provided within software.  I tried unistalling and re-installing but the unistall app aborts???  Any ideas? The wireless network test reports no problems found and yet the software isn't completely installed (Solution Center indicates incomplete installation) . . . I spent an hour chat with HP tech with no results!! Help!

    So the Wireless Network Test shows it is connected to your network and no problems?  In that case, the issue is in your printer or router.
    What router?  What operating system?  If Windows, Download and run this utility: http://h20180.www2.hp.com/apps/Nav?h_pagetype=s-926&h_lang=en&h_client=s-h-e17-1&h_keyword=dg-NDU&ju...
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • 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,
    Manish

    The 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.

  • Mapping proc output to vars gets error extracting result into a variable of type (DBTYPE_UI2)

    Hi, we run std 2012.  I have a proc (sets nocount on) whose params r shown in the first block .   My execute ssis sql task mapping is shown in the block following that (same order as shown, the param sizes are all -1).  The variable
    characteristics and initial values are shown in the 3rd block.  The execute sql task command is
    exec usp_fileArrivalStatus ?,?,?,?,?,? output,? output,? output
    when I run the proc in ssms followed by a select on the output fields, I get stat 0, instance id -1 and file name empty string (aka tick tick aka '')
    The error is:
    [Execute SQL Task] Error: Executing the query "exec usp_fileArrivalStatus ?,?,?,?,?,? output,? ou..." failed with the following error:
    "An error occurred while extracting the result into a variable of type (DBTYPE_UI2)".
    Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
    Does anybody know what is wrong?
    CREATE PROCEDURE [dbo].[usp_fileArrivalStatus] @NewFilePattern varchar(500),
    @PkgName varchar (257),
    @appid int,
    @MsgHistCreateDate date,
    @messageFriendlyName varchar(500),
    @arrivalStatus int output,
    @instanceId bigint output,
    @fileName varchar(500) output
    VariableName Direction DataType ParamName
    User::TranFilePattern Input VARCHAR 0
    System::PackageName Input VARCHAR 1
    User::AppID Input SHORT 2
    User::todaysDate Input DATE 3
    User::TranFileArriveStatus OUTPUT SHORT 5
    User::TranFileInstanceId OUTPUT LARGE_INTEGER 6
    User::TranFileName OUTPUT VARCHAR 7
    User::TranFileFriendlyName Input VARCHAR 4
    User::TranFilePattern,string,tranfile05-Nov-2014
    User::fileDate,string,05-Nov-2014
    System::PackageName,
    User::AppID,int32,12
    User::todaysDate,DateTime, set by select getdate()
    User::TranFileArriveStatus,int32,0
    User::TranFileInstanceId,Int64,0
    User::TranFileName,string
    User::TranFileFriendlyName,string,Tran File

    I may have gotten past this.  The ui showed the first execution of that proc as the aborting component but when I looked at my error code (-1073548784), and component name in the
    message sent with notification email, I noticed the second component name.  It too executes that proc and still had ushort for appid in sql task mapping and long for instance id.  I changed these characteristics to match what I posted and got green
    on the seq container that runs both.
    I think I go thru this kind of adventure every time I try to map proc output to ssis vars.   

  • Map My Update Rule from a Master Data Attribute

    Hello experts,
    I haven't tried this scenario yet, hope you can help me, the Issue is this
    I have 2 InfoObjects ZPSCHRCHY and 0PROFIT_CTR from InfoCube WBS cost and allocations I want both the InfoObjects to be mapped to 0PROFIT_CTR attribute of 0WBS_ELEMT master data object, I have tried the Master Data Attribute but only 0PROFIT_CTR is an attribute of the Master Data.how can I mapped ZPSCHRCHY and 0PROFIT_CTR to 0PROFIT_CTR?, Is creating a start routine for it must be used? Thank you very much
    Regards and Thanks
    Chris

    PROGRAM UPDATE_ROUTINE.
    $$ begin of global - insert your declaration only below this line  -
    TYPES:
    BEGIN OF r_MD_WBS_ELEMENT,
       WBS_ELEMT  like /BI0/PWBS_ELEMT-WBS_ELEMT,
       OBJVERS    like /BI0/PWBS_ELEMT-OBJVERS,
       PROFIT_CTR like /BI0/PWBS_ELEMT-PROFIT_CTR,
    END of r_MD_WBS_ELEMENT.
    DATA: t_MD_WBS_ELEMENT  TYPE STANDARD TABLE OF r_MD_WBS_ELEMENT,
           wa_MD_WBS_ELEMENT TYPE r_MD_WBS_ELEMENT.
    $$ end of global - insert your declaration only before this line   -
    The follow definition is new in the BW3.x
    TYPES:
      BEGIN OF DATA_PACKAGE_STRUCTURE.
         INCLUDE STRUCTURE /BIC/CS8ZPSG030.
    TYPES:
         RECNO   LIKE sy-tabix,
      END OF DATA_PACKAGE_STRUCTURE.
    DATA:
      DATA_PACKAGE TYPE STANDARD TABLE OF DATA_PACKAGE_STRUCTURE
           WITH HEADER LINE
           WITH NON-UNIQUE DEFAULT KEY INITIAL SIZE 0.
    FORM startup
      TABLES   MONITOR STRUCTURE RSMONITOR "user defined monitoring
               MONITOR_RECNO STRUCTURE RSMONITORS " monitoring with record n
               DATA_PACKAGE STRUCTURE DATA_PACKAGE
      USING    RECORD_ALL LIKE SY-TABIX
               SOURCE_SYSTEM LIKE RSUPDSIMULH-LOGSYS
      CHANGING ABORT LIKE SY-SUBRC. "set ABORT <> 0 to cancel update
    $$ begin of routine - insert your code only below this line        -
    fill the internal tables "MONITOR" and/or "MONITOR_RECNO",
    to make monitor entries
      REFRESH: t_MD_WBS_ELEMENT.
          SELECT WBS_ELEMT
                 OBJVERS
                 PROFIT_CTR
          INTO TABLE t_MD_WBS_ELEMENT
          FROM /BI0/PWBS_ELEMT
       FOR ALL ENTRIES IN DATA_PACKAGE
         WHERE WBS_ELEMT   = DATA_PACKAGE-WBS_ELEMT.
        IF sy-subrc EQ 0.
        Do nothing
        ENDIF.
    if abort is not equal zero, the update process will be canceled
      ABORT = 0.
    $$ end of routine - insert your code only before this line         -
    ENDFORM.

  • Error in Seeburger BIC Mapping

    Hi all,
    I am working on Seeburger BIC Mapping Designer.
    As i am starting off with it, i have planned to do a very simple scenario File to file.
    Source would be an XML and target also would be an xml.
    Compilation is fine, but while converting I am gettuing an error
    "[Error:ID=2023;LEVEL=1] InhouseDocReader readNextSegment(): offset[4(read Segment : KA\)]: caught ReadingException: Length limit exceeded - no SEG. delim. found!!!
    DESCRIPTION: InhouseDocReader causes an ReadingException while trying to read the next segment of current file, abort
    <<ErrorStreamEnd>>
    Conversion error "
    Please let me know what should be done.
    Even I have enabled SetIngnoreCRLF option in the source options.
    Cheers,
    Karthick

    Hi Karthick,
        Where do you get this error?
    In BICMD ?
    Have you created the E2X and/or X2E mapping programs in BICMD tool?
    Test it locally in the tool intself before deploying the mappings to XI server.
    Follow these steps to create a 1;1 mapping for XML to EDI and EDI to XML conversion program:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/00b66651-eeea-2b10-e5a6-8459ec30d948;jsessionid=(J2EE3414900)ID2060961950DB01298938248398894809End
    Regards,
    Ravi

  • Report on remote users mapped drives

    After a very thorough search, I can't find anyone else who has had this question answered.
    I have a need to on-the-fly report on the mapped drives and their letters of users on remote computers. Running "Get-WmiObject -Class Win32_MappedLogicalDisk | select Name, ProviderName" only returns my drives under my credentials, not the remote user. Looking
    at HKU:\sid\network apparently only reports persisent mapped drives or drives mapped by the customer and not drives mapped by logon script that are not persistent.
    There doesn't seem to be a way to do this on-the-fly which is dissapointing, so I'm hoping you'll have a trick up your sleeve!
    The only way I can figure to get the information, but not on the fly, is to have a logon script run as the user and grab the info and save it somewhere. I'm really hoping not to resort to that. All of that becomes historical info and won't reflect changes
    that happen after logon, so it's not going to always be a true reflection of reality.
    The key seems to be running a wmi query as someone else that you don't have credentials for. Is that possible? Or do you have another suggestion?
    Ian

    I believe this post may already be closed.  I, however, would like to add my findings:  When I run this against different pc's with different users logged on:  Get-WmiObject
    -Class Win32_MappedLogicalDisk -ComputerName <remote computer> | select Name, ProviderName
    (Keep in mind that I'm a local admin on my pc as well as the destination pc's
    as well.)
    1. The logged on user is non-admin on their pc.
    Mapped drives are not retrieved
    2. The logged on user is admin on their pc.
    Mapped drives are retrieved
    3. I'm logged on to the remote pc (local admin)
    Mapped drives are retrieved
    Conclusion:  As long as the target pc logged on user is local admin on that pc then the
    mapped network drives will be pulled by the previously mentioned command.  Otherwise, it will come back empty.
    A question posted previously was:  "I'm
    curious why you need to know mapped drives??" In my case, I am trying to back up mapped network drives for all domain users.  However, logon or logoff scripts are not
    an option.
    The real question should be: Why is the previously mentioned command not pulling the mapped network drives when the logged on user is not a local admin on the target pc?
    I believe the answer is that the drives are not mapped to the remote computer per se, but to the user's process on the remote computer. And while an admin on that computer has significant power over the hardware and operating system, it cannot take control
    of the process, which is locked by the user's credentials.
    Consider remote control. My regular account is logged onto another computer. I run mstsc to establish a remote control session on that remote system under the same credentials. The effect is to disconnect the other remote session and lock the system on its
    console, and for the new session to inherit the original process, seeing the same desktop with the same apps open.
    I then run mstsc to establish another remote control session, this time using an account that is an administrator on that system. It tells me my regular account is already logged on, and gives me two options, abort my new session, or log the user out. using
    my admin credentials, I cannot take over the user's session and see what applications he has open or what drives he may have mapped.
    Al Dunbar -- remember to 'mark or propose as answer' or 'vote as helpful' as appropriate.

  • Questions In mapping...

    1) Whats  the purpose of conversion function and  In which scenarion we gor for Conversion Functions...
    2) Whats the use of mapping Pattern... and which scenarion we use
    3) Whats the status of the messages in the message monitoring table.
    venkat

    Hi,
    <b>1) Whats the purpose of conversion function and In which scenarion we gor for Conversion Functions...</b>
    There are no conversion funcitons. There is a conversion agent where you will use this when you want to convert any documents like PDF etc into xml. Then you will use it. To use this you have to install this in XI. for this:
    all docs can be found here:
    http://help.sap.com/saphelp_nw04/helpdata/en/43/4c38c4cf105f85e10000000a1553f6/frameset.htm
    SAP conversion agent it a tool that helps to convert unstructured data
    (like EDI messages, work files, pdf files etc) into XI (or from XI)
    you just use an IDE to develop the program that you can later on
    put inside the adapter module (for fiel adapter for example)
    so no programming (as it's drag and drop)
    for many documents
    <b>2) Whats the use of mapping Pattern... and which scenarion we use</b>
    There is nothing like mapping pattern. just let us know what you are talking about or where you have heard about this?
    <b>3) Whats the status of the messages in the message monitoring table.</b>
    1.Status: TO_BE_DELIVERED
    Which means that the message was successfully delivered from Integration Server point of view and it states that the messages is initially handed over to the Messaging System.
    TO_BE_DELIVERED occurs while the message is put into the Messaging System receive queue.
    2.Status: WAITING
    The message had been sent and it is failed and is currently waiting for another attempt.
    3.Status: HOLDING
    The state of an EOIO message that cannot be delivered until its predecessors have been delivered.
    4.Status: DELIVERING
    The state of message when it has popped out of the Messaging queuing system and is in the process of being transmitted across the system or delivered to an application.
    5.Status: SYSTEM ERROR
    These error messages occur during transfer due to a failed server or abnormal operation on a consistent database instance. With some errors, an implicit Shutdown is performed.
    6.Status: APPLICATION ERROR
    The Subtree containing errors that are reported in the namespaces of applications (software component versions) that sends or receives XML messages using Exchange Infrastructure.
    7.Status: CANCELED WITH ERRORS
    The state assigned to a message when an administrator decides to abort sending the message, or when a message could not be delivered due to a fatal exception that cannot be repaired.
    ...Satish

Maybe you are looking for

  • Calling a method with a string

    Here's the question: I want to call a method with the name equal to a string variable. For example, if the string variable contains "hellojava" , i'd like the hellojava() method to be called.. if the string contains "error", the error() method should

  • Music from one ipod to another

    Since I apparently lost all my music in my music library, and I am planning to buy a new ipod (30g video)how can I move all my songs from my mini to another ipod?

  • Bug: unable to rename entity attribute (jdev903)

    Hi, I have an entity and a view on it. One of the entity attributes has the wrong name, so I tried to rename it, but jdev gave me a warning that it couldn't rename the attribute because the view is dependent on it. Sounds fair (although I wish it wou

  • How to request a new (second) contract

    According to the iTunesConnect Developers Guide, I should be able to request a new contract on the Manage Your Contracts screen. I am the Admin. and I only see the one Contract (which is in process). There is no checkbox, as shown on p. 23, p. 23, "R

  • Ways to run dir command in Process and get Output

    Hello, In one of the control in our web application, User can select any directory from his work area and can get list of directories and content of directories i.e. list of files. As working on file object is really slow so the performance is extrem