Data conversion Issue while executing the package

I am executing a package for which the source is XML and destination is SQL server. I have created the package by using xsd and xml as source. When I am trying to execute the package I am getting the below error.
Any help here would be appreciated.
-kccrga http://dbatrend.blogspot.com.au/

The error is obvious. The datatypes of source and destination table solumns dont match. Please change datatypes of your sqlserver table to correspond to those coming from the XML as given by error message above.
Alternatively apply derived column task after XML source to convert datatype of columns to be same as that of your table assuming you'll have only compatible data values coming from source.
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs

Similar Messages

  • Issue While executing the Query for Pagination using ROWNUM with like

    Issue While executing the Query for Pagination using ROWNUM with like.
    Database is Oracle11G.
    Oracle Database Table contains 8-9 lakh records
    1) SQL equal (=)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920'
    Execution Time:- 0.00869245 seconds
    Returns 2 resultsets
    2) SQL like (one %)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE = 'KMF22600920%'
    Execution Time:- 0.01094301 seconds
    Returns 2 resultsets
    3) SQL like (two%)
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE A.REFERENCE like '%KMF22600920%'
    Execution Time:- 6.43989658 seconds
    Returns 2 resultsets
    In Pagination, we are using Modified version of SQL Query 3) with ROWNUM as mentioned below :-
    4) SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) WHERE RNUM > 0
    Execution Time:- Infinite
    ResultSets:- No as execution time is infinite
    a) Instead of like if we use = in the above query it is returning the 2 resultsets (execution time 0.02699282 seconds)
    b) Instead of two % in the above query, if use one example REFERENCE like 'KMF22600920%' it is returning the 2 resultsets (execution time 0.03313019 seconds)
    Issue:- When using two % in like in the above query i.e. REFERENCE like '%KMF22600920%' AND ROWNUM <= 20 ) , it is going to infinite.
    Could you please let us know what is the issue with two % used in like and rownum
    5) Modified version of Option1 query (move out the RNUM condition AND RNUM <= 20)
    SELECT * FROM (
    SELECT /*+ FIRST_ROWS(n) */ ROWNUM RNUM, A.* FROM LINE A
    WHERE REFERENCE like '%KMF22600920%' ) WHERE RNUM > 0 AND RNUM <= 20
    Execution Time:- 7.41368914 seconds
    Returns 2 resultsets
    Is the above query is best optimized query which should be used for the Pagination or still can improve on this ?

    This would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.

  • Issue while executing the report

    Hello experts,
    I have an issue related to executing the BI Report. In one report , i get an issue of Time Out, as the report is executed for a single day only with a single restriction. Also i execute the same report in RSRT, there also it gives a short dump. I checked the data into the related component for the same selection parameter values. here I get the data but it is creating issue while executing in RSRT or analyser or EP.
    what is happening there am not able to understand. please advice.
    Also searched in SDN but not get the relevant thread.
    Thanks in advance
    Neha

    hii
    The query does not includes any RKF, CKF any complex calculations. as I said before also query is based on MP which is designed on a single Cube. There are no such navigational Attributes used for selection, Number of records are not more than 300 on that particular selection parameter
    there is only one info object which is creating issue & it is a master info object. If i am restricting this info object in the query & then executes the query , it gives the error msg also i put a variable for input parameter, & there I restrict the value, then also query executes with an error msg
    But if query is not restricted with  any value for that info object then query executes with in a second.
    Thanks
    neha

  • Issue while executing the discovery command from target nodes

    Hi Experts.
    I had to create cluster two node using openfile, after creation of successful lun and associated partition from all the nodes i have changed the ip address of openfiler.
    After changing the IP on open filer.
    A) openfile version:-
    [root@san ~]# uname -r
    2.6.26.8-1.0.11.smp.pae.gcc3.4.x86.i686
    B) Linux Oel5:-
    [root@rac1 ~]# uname -r
    2.6.18-194.el5xen
    [root@rac1 ~]#
    1:- I am able to ping and ssh etc from any node to openfiler.
    However, while executing the below command i am facing the below exception..
    service iscsi restart
    Stopping iSCSI daemon:
    iscsid dead but pid file exists [  OK  ]
    Starting iSCSI daemon: [  OK  ]
    [  OK  ]
    Setting up iSCSI targets: iscsiadm: No records found!
    [  OK  ]
    [root@rac1 ~]#
    Moreover, tried to discover the targets, unfortunately no message is getting displayed after execution of this below command.
    [root@rac1 ~]# iscsiadm -m discovery -t sendtargets -p 192.168.37.200
    [root@rac1 ~]#
    The quick response will be appreciated as my whole test case is down as of now due storage issues.
    Thanks,
    Arch.

    Are you running a firewall that needs to be adjusted to support your changed Openfiler IP network?

  • Database Alert Macros issue while executing the macros in Background

    Hi All,
    I am facing some problems while executing the Database alert macros in Background/Process Chain.
    There are two macros for which the problem exists.
    1.Excess Projected Inventory above Max
    The logic here is, the alert should work for Only Fixed Lot size Procedure.
    If the Stock on hand (projected EA) > (Safety Stock (EA) + Full SOQ (EA)) then alert = "Projected inventory is XX% above MAX".
    XX is the Percent above Max. 
    Note: SOQ => fixed lot size.
    2.Excess Actual Days of Supply
    The Logic here is, the alert should work for all Lot size Procedures except for "Fixed lot size".
    Actual Days Supply >=180 days. (current -> future buckets)
    -  For every receipt cell check the Actual Days Supply - if >= 180 days.
    The macros are working perfectly as expected.

    Hi Abhi,
    Hope you are doing good.
    Yes exactly, the macros are working in foreground/Interactively but not in the Background via Process chain. Let me send the details again.
    Issue :
    I am facing some problems while executing the Database alert macros in Background/Process Chain.
    There are two macros for which the problem exists.
    1.Excess Projected Inventory above Max
    The logic here is, the alert should work for Only Fixed Lot size Procedure. But in Background the alerts are getting created for Lot for Lot and other Planning procedures..
    If the Stock on hand (projected EA) > (Safety Stock (EA) + Full SOQ (EA)) then alert = "Projected inventory is XX% above MAX".
    XX is the Percent above Max. 
    Note: SOQ => fixed lot size.
    2.Excess Actual Days of Supply
    The Logic here is, the alert should work for all Lot size Procedures except for "Fixed lot size". But in Background the alerts are getting created for the Fixed Lot size procedures too..
    Actual Days Supply >=180 days. (current -> future buckets)
    -  For every receipt cell check the Actual Days Supply - if >= 180 days.
    The macros are working perfectly as expected in Foreground/Interactively but the samething is not happening while executing the macro in Background/Process Chain.
    I have tried running these macros in different sequences(Default/Start/Macro) but couldn't able to resolve the issue.
    Thanks in Advance,
    Jay.

  • Problem while executing the package

    Hi Guys,
    I am getting the problem while executin the package for 1 of the interface named PRE_SYNC_EX_ARMY_VEH_DEL.
    The source tables are EX_ARMY_VEH_TMP and CONTROL_DEL & target table is CONTROL_DEL
    All the three tables are in the same schema named RTO_STAGE.
    I am looking in the operator as at the first session is in the process(running mode) with "DROP FLOW TABLE" as the message while all other sessions are in the waiting mode related to that interface PRE_SYNC_EX_ARMY_VEH_DEL.The previous interface before it ie PRE_SYNC_AXLE_DEL & PRE_SYNC_AXLE_DELNR is running okk(with all succesful session).
    **In one statement I can summerize that execution of package is halting/stopped at one interface & not showing error in operator(showing running)**
    what would be the problem?
    Thanx
    Edited by: user8849294 on Mar 1, 2010 10:17 PM
    Edited by: user8849294 on Mar 2, 2010 9:36 PM
    Edited by: user8849294 on Mar 2, 2010 9:43 PM

    Hi,
    You didn't mention the exact error.
    Did you check if your interface succeeds outside the Package?
    If yes, have you included any odiFileWait event which's why other tasks are kept in Wait mode?
    In any case, if there's an error, the task with the red-colored icon shows the one with problem. Double-click it & go to the Execution tab to get the exact error

  • Issue While Executing the Internal Order in KO8G

    Hi,
    Whle executing the internal order in KO8G,I am getting the below error.
    Complete Allocation Structure A1   and Message no. KD503
    I have reversed/cancelled all the relevent Material documents related to that PO,even after i am getting the same error.
    Error is as follows-
    Complete allocation structure A1
    Message no. KD503
    Diagnosis
    During settlement, the system puts the sender debits into groups (assignments), which are settled using the same settlement cost element. The settlement assignment is made in the allocation structure, which is stored in the settlement rule for the sender (under settlement parameters).
    Cost element 414126 cannot be assigned to a settlement cost assignment in allocation structure A1, and therefore it cannot be assigned to a settlement cost element.
    Procedure
    Possible solutions are as follows:
    If the posting under cost element 414126 was made to the sender because of an incorrect entry, and you can reverse the posting, and do not need to update the allocation structure. You only need to reverse the incorrectly assigned posting before repeating the settlement. Exception: For an investment measure with a line item settlement, you need to extend the allocation structure, even after the reversal.
    If the posting was made correctly, you can do the following:
    a) You can assign a different allocation structure to the sender: In the master data maintenance for the sender, choose "Settlement rule -> Goto -> Settlement parameters" and then enter a different allocation structure.
    If necessary, also check whether the correct allocation structure is entered in the settlement profile. The allocation structure is defaulted in the settlement profile when you create sender master data or when you maintain the settlement rule.
    You can update allocation structure A1
    Kindly advice me how to fix this error
    Thanks
    Supriya

    Hi,
    Thanks for your reply,I have added that cost element in allocation structure.Now i am getting one more error related to this even i have maintained Receiver type FXT and settlement cost element for that.Kindly help me on this.
    Define a settlement cost element for receiver type FXA
    Message no. KD506
    Diagnosis
    In allocation structure A1 (controlling area AFCO), you did not define which cost element should be used when settling costs/revenues of the sender. Nor did you define receiver type FXA.
    Procedure
    Assign a different allocation structure to the settlement sender (-> Master data -> Settlement rule -> Goto -> Settlement parameters), or maintain allocation structure A1.
    Thanks
    Supriya

  • Can not able to save the data while executing the package/procedure

    Hi,
    I created one package and schedule this in JOB, job is running successfully but data is not inserting in table,
    CREATE OR REPLACE package body LST_RPT as
    procedure gender_proc(gender varchar2) is
    begin
    insert into gender_count
    select * from mag_hotline_gender;
    end;
    end LST_RPT;
    after that I am executing this
    exec MSREUL.MKE_LST_RPT.gender_proc('M');
    but it is not saving the data
    can anybody suggest where I am doiing mistake

    Hi Arun,
    Thanks for the suggestion.
    I checked my table structure, gender_count was GTT(global temporary table), Now I changed the structure package is executing sucessfully and able to commit the data
    exec MKE_LST_RPT.gender_proc('M');
    commit;
    can you plz help on another point I want to schedule this package on job means it runs on every day and commit automatically, I am using TOAD but unable to create job can you plz help on this issue.

  • Issue while executing the sample.ear

    Hi All,
    I have deployed the sampl.ear file into an existing SES Installation and trying to access the application using the URL:
    http://<oc4j_host>:<oc4j_port>/sample/search
    and getting following exception:
    ã vInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocolvInvalid protocol verification, illegal ORMI request or request performed with an incompatible version of this protocol
    Any suggestion is appreciated.
    Thanks
    Krrish

    This would be easier to diagnose if there was an explain plan posted for the 'good' and 'bad' queries. Generally speaking using '%' on both sides precludes the use of any indexes.

  • While executing the query in the web template I am  facing below issue

    Hello SAP geniuses,
    Please help me on my issue  ,
    while executing the query in the web template i am  facing below issue.
    The variable for characteristic (region) is appearing but this characteristic (region) is not appearing in the free characteristic zone  but when we are executing the query with out webtemplate it is showing both variable and free characteristic
    can anybody help us to identify what is the issue with the web template.
    Thanks
    Alok

    Hi,
    Plz check ur report and execute at the designer and take its technical name and go to RSRT. log out and log in and try..
    if not check ur authorisation.
    Regards....KP

  • Gettng Error while executing the procedure(oracle 10.2.0.3.0)

    Hi all,
    I am getting following error While executing the package .
        PLS-00103: Encountered the symbol "Truncate" when expecting one of
             the following:
             * & = - + ; < / > at in is mod remainder not rem return
             returning <an exponent (**)> <> or != or ~= >= <= <> and or
             like LIKE2_ LIKE4_ LIKEC_ between into using || multiset bulk
             member SUBMULTISET_I have written follwing query in the package body.
    EXECUTE IMMEDIATE 'TRUNCATE TABLE FORT ';
    EXECUTE IMMEDIATE '
         INSERT INTO FORT (CID,CODE,DESC,SCODE,SES,T_DT,SDN,LANG)
         SELECT
           SERVICES.CID                                                     CID,
           PROFILE.FUCODE                                               CODE,
           TO_DATE(SUBSTR(SERVICES.STAT_CHNG,-7,6),'YYMMDD')   T_DT,
           PHOR.NUM                                                               SDN,
           C_ALL.cLANGUAGE                                      LANG
         FROM
          SERVICES      .....Please give me the solution for this .
    Thank y ou
    Edited by: user636482 on Apr 10, 2009 1:08 AM

    I am getting following errors if I gave " ' " after not null.
    LINE/COL ERROR
    42/8     PLS-00103: Encountered the symbol "AND" when expecting one of the
             following:
             begin case declare end exception exit for goto if loop mod
             null pragma raise return select update while with
             <an identifier> <a double-quoted delimited-identifier>
             <a bind variable> << close current delete fetch lock insert
             open rollback savepoint set sql execute commit forall merge
             pipe
    42/56    PLS-00103: Encountered the symbol "A" when expecting one of the
             following:
    LINE/COL ERROR
             ) , * & | = - + < / > at in is mod remainder not rem => ..
             <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
             LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
             The symbol ", was inserted before "A" to continue.
    42/74    PLS-00103: Encountered the symbol "D" when expecting one of the
             following:
             * & - + ; / at mod remainder rem return returning
             <an exponent (**)> and or || multiset
             The symbol "* was inserted before "D" to continue.
    LINE/COL ERROR
    45/6     PLS-00103: Encountered the symbol "COMMIT"
    52/3     PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
             of the following:
             end not pragma final instantiable order overriding static
             member constructor map
             The symbol "static" was substituted for "PROCEDURE" to continue.
    85/8     PLS-00103: Encountered the symbol "AND" when expecting one of the
             following:
             begin case declare end exception exit for goto if loop mod
             null pragma raise return select update while with
    LINE/COL ERROR
             <an identifier> <a double-quoted delimited-identifier>
             <a bind variable> << close current delete fetch lock insert
             open rollback savepoint set sql execute commit forall merge
             pipe
    85/56    PLS-00103: Encountered the symbol "A" when expecting one of the
             following:
             ) , * & | = - + < / > at in is mod remainder not rem => ..
             <an exponent (**)> <> or != or ~= >= <= <> and or like LIKE2_
             LIKE4_ LIKEC_ between || multiset member SUBMULTISET_
             The symbol ", was inserted before "A" to continue.
    LINE/COL ERROR
    85/74    PLS-00103: Encountered the symbol "D" when expecting one of the
             following:
             * & - + ; / at mod remainder rem return returning
             <an exponent (**)> and or || multiset
             The symbol "* was inserted before "D" to continue.
    88/8     PLS-00103: Encountered the symbol "COMMIT"
    95/3     PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
             of the following:
             end not pragma final instantiable order overriding static
    LINE/COL ERROR
             member constructor map
             The symbol "static" was substituted for "PROCEDURE" to continue.
    133/3    PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
             of the following:
             end not pragma final instantiable order overriding static
             member constructor map
             The symbol "static" was substituted for "PROCEDURE" to continue.
    169/3    PLS-00103: Encountered the symbol "PROCEDURE" when expecting one
             of the following:with out adding " ' " I am getting the previous error which I mentioned in Previous thread(TRUNCATE)
    Thank you

  • Error while executing the Alter statement

    ORA-00604: error occurred at recursive SQL level 1
    ORA-01654: unable to extend index SYS.I_COL2 by 64 in tablespace SYSTEM
    Im facing the above issue , while executing the Alter . Any solution on this . How to Overcome this ...

    It would have been nice if you'd bothered to actually post the statement causing this error.
    However, I think it is simply that you have run out of room in the system tablespace.
    In which case, ask your DBA to increase the size of that tablespace.

  • Short dump while executing info package in 3.5 data flow?

    Hi,
    i am getting short dump while executing info package while executing info package. it was working perfectly 2 days back suddenly it is giving this problem. it is a full load for info object text data and i have only 600 records. when i tried with " only info package" it is working perfectly n bringing the data into PSA. But when i use "PSA and the into data target" it is giving short dump.
    i replicated Data source and also i activated transfer rules, update rules still it is not working. When i check with another info objects it is working perfectly fine. i dont know what is wrong with only particular info object.
    Please find attached short dump.
    Thanks

    Hi,
    When you load transaction data I think there is a deadlock.
    Check in the process overview (transaction SM50) the waiting processes are in program SAPLSENA .
    The program SAPLSENA is the lock handler tool.
    Also check if  ACR is running on this target while your load is happening.
    Check in SM12 if there are any lock entries for the Infoobject to which you are loading data and on RSICCONT table .
    Try reloading after deleting the locks manually.
    Regards.

  • Issue in getting score while executing the matching strategy

    Hi,
    On executing the matching strategy, even if there is a duplicate count of zero in the record pane, some score is calculated. I want to know how does the system get that score even if there is no potential duplicate in the matches pane. 
    Also we are facing an issue - whenever the matching strategy is executed, some score is calculated which does not match with any one of the individual score in the match pane.
    Can anyone guide me what might be the reason?
    Regards,
    Indraveer

    Hi Indraveer,
    On executing the matching strategy, even if there is a duplicate count of zero in the record pane,
    some score is calculated. I want to know how does the system get that score even if there is no
    potential duplicate in the matches pane.
    First i want to clarify how this score getting calculated.
    In the record pane the three extra coloumn tell about the result about matching strategy
    Count : this represent the no of record matches with the selected record based on the matching strategy executed
    Class : This defines
    Score : this contains the sum of score of all rules that contain in strategy i.e. You know in rules tab we define the value for
    SUCCESS
    FALIURE
    UNDEFINED
    So in  the score section it calcilates the score of each rules that you included in executed strategy.
    For Example
    Your 1st rules contain values like
    SUCCESS :2
    FALIURE  :1
    UNDEFINED:0
    Your 2nd rules contain values like
    SUCCESS :3
    FALIURE  :1
    UNDEFINED:0 (this score if contain NULL values and data manger unable to execute the matching)
    Now ypu included these two rules in strategy and define
    High threshhold : 5
    Low threshhold :4
    Now you execute the strategy
    I will consider yr case that no one record matches .In this case  score section will contain value 2 because it fails in matching
    any rules so it get  1 for rule1  and 1 from Rule2.
    Hope it clarifies yr doubt.
    Also we are facing an issue - whenever the matching strategy is executed, some score is calculated which does not match with any one of the individual score in the match pane.
    After Whatever i understand from yr statement,this will be the case when you have multiple rules  ans some record  succeed in all rules while some are succeed in one and fail in second rule.
    For example :
    we have 3 record in table in which first one matches with both record for all rules where as second  record matches with some record for first rule and some for second rule  so their total score  calaculate accordingly
    and third record matches with some reord  for second rule  and some record with first rule so their score will calculate automatical;ly.
    so in this case when u select  first record  in record pane and  open match pane you will see other two record with different score as this score shows there personal score after executing matching strategies.
    Hope this will help you to clarify yr doubt .
    For further reading please check the data manager reference guide  on page 500.
    Thanks,
    Sudhanshu

  • Receiving the error message while executing the Real Time DTP

    Hi,
    I am receiving the error message while executing the Real time DTP for Billing data.
    Error Message - Record filtered in advance as error records with the same key exist     RSM2     722
    When I check the logs below is the message I am able to see. Can someone suggest as how to proceed further.
    Diagnosis
    The existing DTP requires a serialized update because fields are updated
    non-commutatively during the processing run (for example, MOVE).
    Therefore all new data records that have the same semantic key as
    incorrect records that have not yet been corrected in earlier requests
    or earlier data packages of the same request, are filtered out after the
    extraction in a special step. In this way the system ensures that
    incorrect data records are not repeated for your changes, which may not
    contain errors themselves.
    System Response
    The data record is not updated but is written to an error stack.
    Procedure
    Procedure
    Correct all incorrect data records and update them using an error DTP.
    Procedure for System Administration
    I checked the error stack and corrected the entries and let me know as how to proceed further. I am unable to execute the Error DTP as its not allowing me to edit and has only display options.
    Regards,
    Ram

    Hi Arvindh,
    Its  write optimized DSO.. there is no option to generate SIDs.
    Hi Kiran,
    I checked the link u sent me. Here the main issue is..The function module is standard  and its not allowing me  to do enhancement  point..
    Any idea in using Badi's??
    Thanks all...

Maybe you are looking for

  • New feature phones?????

    I am a 15+ year customer of Verizon. I have 5 phones on a family plan and we havw all been waiting for months for new feature phones. We were told several times that there would be new ones soon, but we are tired of waiting. Has anyone else used othe

  • HA SKU N+1 Configuration

    I have a 5508 configured as HA SKU to support a failover up to 500AP's.  My question is around configuring the primary controllers to failover to the HA controller as a backup.  I had planned on configuring this under the AP configuration pointing to

  • How to make full screen upload to youtube

    I shoot in 16:9 on the canon t3i, however when I upload my videos to YouTube there is a black bar on the left and right. The canon team said there should be a setting in premiere to make my videos full screen. please help! than

  • How do you get logo to appear in  address bar?

    I've noticed a lot of sites have customized logos or glyphs in their address bars when you bring their sites up. How do you do that? I'm tired of looking at the Explorer "e." followed by " http://www.etc..etc. -T

  • Best Format for Additional Storage

    I've read a few threads on this issue, but none seem to provide the answers I need, so I'm starting a new one. I'm trying to make the best decision for additional storage for editing with FCP 4.5. I have a new project for a new customer that will req