NW_getDBInfo - dbtype has to be != ind

Hi ,
Am getting below error in my DEv box while doing DB export .
Please help me out
INFO       2009-01-25 07:51:05 [iaxxgenimp.cpp:774]
           showDialog()
An error occured and the user decided to retry the current step: "|NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getDBInfo|ind|ind|ind|ind|4|0|fillContext".
ERROR      2009-01-25 07:51:05 [iaxxinscbk.cpp:282]
           abortInstallation
CJS-00030  Assertion failed: in component: NW_getDBInfo
step:fillContext
at this point the dbtype has to be != ind
ERROR      2009-01-25 07:51:05
           CJSlibModule::writeError_impl()
MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
ERROR      2009-01-25 07:51:05 [iaxxgenimp.cpp:731]
           showDialog()
FCO-00011  The step fillContext with step key |NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getDBInfo|ind|ind|ind|ind|4|0|fillContext was executed with status ERROR .

I have resovled this error. I set the following paramteres for root user id.
export DB_SID=<SID>
export DIR_LIBRARY=/usr/sap/<SID>/SYS/exe/run
export SAPDATA_HOME=/oracle/<SID>
export HOME=/oracle/<SID>
export ORACLE_HOME=/oracle/<SID>/102_64
export dbms_type=ORA
export SAPSYSTEMNAME=<SID>
export LIBPATH=/usr/lib:/lib:/usr/sap/<SID>/SYS/exe/run:/oracle/<SID>/102_64/lib
Thanks & Regards,
Nilkanth.
Edited by: Nilkanth Patil on Nov 8, 2009 2:08 AM

Similar Messages

  • SAPInst Export Error during Unicode Conversion

    Hello,
    I started SAPInst, to export the source instance (for unicode conversion).
    During the export preparation phase, I get the following error (in SAPInst)
    ERROR
    CJS-00030: Assertion failed: in component: NW_getDBInfo step: fillContextat this point the dbtype has to be != ind
    ERROR
    MUT-03025 Caught ESAPinstException in Modulecall:
    ESAPinstException: error text undefined
    ERROR
    FCO-00011 The step fillContext with step key
    |NW_Prepare_Export| ind| ind | ind | ind |0 |0 |NW_GetSidromProfiles |ind |ind |ind |ind |2 |0 |NW-getDBInfo |ind |ind |ind |4 |0 | fillContext was executed with status ERROR
    Please help me how to rectify this error.
    Thanks,
    Haleem

    Hello,
    I recently experienced this problem, and it seems that when executing this step the <sid>adm account needs to be defined to use C shell.  If its already set up to use C shell, check the <sid>adm logon scripts to make sure all the environment variables are being set correctly.
    Regards,
    Brad

  • Error while system copy export

    Dear all,
    While system copy in export  part we are getting following error.  Sorry for not able to paste in proper format.
    OS :-HPUX 11.23
    Database :- oracle 10g
    Execution of the command "/opt/java1.4/bin/java -classpath /tmp/sapinst_exe.27996.1263558176/JAR/ins-j2ee.jar:/tmp/sapinst_exe.27996.1263558176/JAR/sapxmltoolkit.jar -d64 com.sap.ins.j2ee.TestClassLoader" finished with return code 0. Output: CORRECT
    INFO 2010-01-15 17:54:25
    Found a valid JAVA_HOME directory /opt/java1.4 with JDK version 1.4.2_15.
    INFO 2010-01-15 17:54:25
    Execute step fillContext of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0.
    INFO 2010-01-15 17:54:26
    Execute step collect of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_readProfileDir|ind|ind|ind|ind|0|0.
    INFO 2010-01-15 17:54:26
    Execute step getMounts of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_readProfileDir|ind|ind|ind|ind|0|0.
    INFO 2010-01-15 17:54:26
    Execute step updateMountInfo of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_readProfileDir|ind|ind|ind|ind|0|0.
    INFO 2010-01-15 17:54:26
    Execute step getProfileDir of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_readProfileDir|ind|ind|ind|ind|0|0.
    INFO 2010-01-15 17:54:52
    Account d02adm already exists.
    INFO 2010-01-15 17:54:52
    Account 0 already exists.
    INFO 2010-01-15 17:54:52
    Account 106 already exists.
    INFO 2010-01-15 17:54:56
    Account sapsys already exists.
    INFO 2010-01-15 17:54:56
    Account d02adm already exists.
    INFO 2010-01-15 17:55:00
    Execute step fillContext2 of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0.
    INFO 2010-01-15 17:55:03
    Execute step isUnicodeFromStack of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getUnicode|ind|ind|ind|ind|1|0.
    INFO 2010-01-15 17:55:03
    Execute step isUnicodeFromExecutables of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getUnicode|ind|ind|ind|ind|1|0.
    INFO 2010-01-15 17:55:05
    Account d02adm already exists.
    INFO 2010-01-15 17:55:05
    Account 0 already exists.
    INFO 2010-01-15 17:55:05
    Account 106 already exists.
    INFO 2010-01-15 17:55:06
    Creating file /tmp/sapinst_instdir/ERP/LM/COPY/ORA/EXP/CENTRAL/AS-ABAP/PREEXP/disp+work.log.
    INFO 2010-01-15 17:55:06
    Output of /usr/sap/D02/DVEBMGS00/exe/dispwork -v is written to the logfile dispwork.log.
    INFO 2010-01-15 17:55:10
    Execution of the command "/usr/sap/D02/DVEBMGS00/exe/disp+work -v" finished with return code 0. Output:
    INFO 2010-01-15 17:55:10
    Execute step isUnicodeFromMsgServer of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getUnicode|ind|ind|ind|ind|1|0.
    INFO 2010-01-15 17:55:10
    Execute step isUnicodeFromProfile of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getUnicode|ind|ind|ind|ind|1|0.
    INFO 2010-01-15 17:55:11
    Execute step askUnicode of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getUnicode|ind|ind|ind|ind|1|0.
    INFO 2010-01-15 17:55:11
    Execute step fillContext of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_GetUserParameter|ind|ind|ind|ind|3|0.
    INFO 2010-01-15 17:55:11
    Execute step setDefaults of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_GetUserParameter|ind|ind|ind|ind|3|0|NW_GetUserParameterUnix|ind|ind|ind|ind|2|0.
    INFO 2010-01-15 17:55:12
    Execute step askSidAdm of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_GetUserParameter|ind|ind|ind|ind|3|0|NW_GetUserParameterUnix|ind|ind|ind|ind|2|0.
    INFO 2010-01-15 17:55:12
    Execute step dbInfo of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0.
    INFO 2010-01-15 17:55:12
    Execute step fillContext of component |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getDBInfo|ind|ind|ind|ind|4|0.
    ERROR 2010-01-15 17:55:12
    CJS-00030  Assertion failed: in component: NW_getDBInfo step:fillContextat this point the dbtype has to be != ind
    ERROR 2010-01-15 17:55:12
    MUT-03025  Caught ESAPinstException in Modulecall: ESAPinstException: error text undefined.
    ERROR 2010-01-15 17:55:12
    FCO-00011  The step fillContext with step key |NW_Prepare_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|2|0|NW_getDBInfo|ind|ind|ind|ind|4|0|fillContext was executed with status ERROR .

    > We resolved issue by setting oracle_home  environment.Now we get screen asking export location.While exporting we get error  BR0804I BRCONNECT terminated with errors.
    Nice - but how should we now find out what you problem is? We have no magic ball to look into..
    > We are doing Hetrogenous system copy.
    Be aware that you need a certified migration consultant on-site for a heterogeneous copy. Otherwise you'll loose support for problems during the migration and for the target system (http://service.sap.com/osdbmigration --> FAQ).
    Markus

  • Mail import hanged

    I just got my os 10.4.3 this morning.. after install it.. and run Mail.. it said that it need to import mails from before.. then it stopped and the reading was at 5287.. I called Apple and was told that I should update it to 10.4.5 and I should not have any problem if I do it. So I did.. then same thing happened again.
    I thought I may just have a bad file somewhere.. I went to the Mail folder looked througth everything I have there.. as far as I can tell.. the last file there is 5286.. there is no more after that..
    Does anybody know what this is all mean.. and what Mail is doing and how to go about it?
    system: g4 powerbook 15
    all mails are pop accounts.. no .mac
    Thanks!

    Hi Markus,
    I am also facing same error while creating a system copy (export). Its a 4.7 upgrade to ECC6 ( non-unicode). OS is Solaris 10.
    I also set environment following env variable as root but still same error.
    LD_LIBRARY_PATH
    ORACLE_HOME
    ORACLE_SID
    SAPSYSTEMNAME
    dbms_type=ORA
    Please help!
    Thanks 
    Rajesh
    Error is:
    INFO       2008-06-21 01:01:21.779 [sixxcstepexecute.cpp:781]
    Execute step fillContext of component |NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|1|0|NW_getDBInfo|ind|ind|ind|ind|4|0
    ERROR      2008-06-21 01:01:21.984 [iaxxinscbk.cpp:260]
    CJS-00030  Assertion failed: in component: NW_getDBInfo step:fillContext at this point the dbtype has to be != ind
    ERROR      2008-06-21 01:01:22.004
               CJSlibModule::writeError_impl()
    MUT-03025  Caught ESAPinstException in Modulecall: in component: NW_getDBInfo
    step:fillContext at this point the dbtype has to be != ind.
    ERROR      2008-06-21 01:01:22.211 [sixxcstepexecute.cpp:951]
    FCO-00011  The step fillContext with step key |NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|1|0|NW_getDBInfo|ind|ind|ind|ind|4|0|fillContext was executed with status ERROR ( Last error reported by the step :Caught ESAPinstException in Modulecall: in component: NW_getDBInfo step:fillContext at this point the dbtype has to be != ind.).
    INFO       2008-06-21 01:02:13.110 [sixxcstepexecute.cpp:1004]
    An error occured and the user decide to stop.\n Current  tep "|NW_Export|ind|ind|ind|ind|0|0|NW_GetSidFromProfiles|ind|ind|ind|ind|1|0|NW_getDBInfo|ind|ind|ind|ind|4|0|fillContext".

  • Deinstall SMD Agent

    Hello
    I upgrade SolMAn 7.01 to 7.10.
    The SMD Agent is still version 7.01. I would to upgrade it to 7.30.
    My first step is to deinstall the old agent using the DVD "DIAGNOSTICS AGENT 7.3", Software Life-Cycle Options, Uninstall
    But I get the error:
    An error occurred while processing option Solution Manager Diagnostics Agent > Software Life-Cycle Options >
    Uninstall > Uninstall( Last error reported by the step: Assertion failed: in component: NW_getDBInfo step:fillContext at this
    point the dbtype has to be != ind).
    Which is the right way to upgrade the Diagnostics Agent?
    How could I avoid the error?
    Thank you and regards,
    Tommaso

    Hi,
    I also had a similar issue sometime back. Please use the SMD Agent 7.01 Installation DVD to uninstall the existing 7.01 SMD Agent.
    Regards,
    Srikishan

  • Regarding IF(IS NOT NULL) condition in Assignment

    Hello,  I am trying to write assignment with functions IF(IS NOT NULL(Product.record),xyz). In this condition, it seems IF condition is not working at all. Can some one confirm that in Assignment, IF condition do not work the way it works in Validation? I am using MDM 7.1 SP04.

    Hi Priya,
    1st thing as i can see COUNTRY Should be a field in your Main Table which is look-up to some Flat Table say  Countries which has some fields (e.g First Name etc). You want if COUNTRY Field of your main table has some value mean that COUNTRY field is populated in your Main table then First Name field value (Which is available in Countries)  should be populated using assignment. Suppose your Countries table has two records and two fields as shown below:
    COUNTRYCODE     FIRSTNAME
    IND ABC
    US XYZ     
    2nd thing if your Field COUNTRY of Main table is empty then First Name Value will not be populated as your field COUNTRY of main table is not linked with Countries table. Your Assignment Expression should be like this as given below:
    IF(IS NOT NULL(COUNTRY.RECORD), COUNTRY.First Name)
    Off-course, if country.record is null mean does not have any value assigned IND or US for main table record with Field COUNTRY, it removes the existing first name value since now this field COUNTRY of your main-table is empty and has not any value (US or IND) and therefore has not any linking of your Main table COUNTRY Field with Look-up Flat Table Countries and hence will remove the existing value.
    But if your main table field COUNTRY has a value IND for a main table record, then using assignment expression it will populate ABC. If  a main table record has value US then will populate FIRSTNAME XYZ using assignment Expression.
    Can you please update the status of thread?
    Regards,
    Mandeep Saini

  • Generate rows base on complex logic

    hi, i have a complex scenario that i am trying to solve. i will appreciate any help out there.
    consider the following data.
    WITH table1 AS
      SELECT 111 cid,  200 amt, 'P' ind FROM dual UNION all
      SELECT 111 cid,  200 amt, 'S' ind FROM dual UNION ALL
      SELECT 111 cid,  20  amt, 'AC' ind FROM dual UNION ALL
      SELECT 111 cid,  80 amt, 'S' ind FROM dual UNION ALL
      SELECT 222 cid,  100 amt, 'P' ind FROM dual UNION all
      SELECT 222 cid,  100 amt, 'S' ind FROM dual UNION ALL
      SELECT 222 cid,  20  amt, 'AC' ind FROM dual UNION ALL
      SELECT 333 cid,  300 amt, 'P' ind FROM dual UNION all
      SELECT 333 cid,  300 amt, 'S' ind FROM dual UNION ALL
      SELECT 333 cid,  30  amt, 'AC' ind FROM dual UNION ALL
      SELECT 333 cid,  90 amt, 'AC' ind FROM dual UNION all
      SELECT 333 cid,  20 amt, 'AC' ind FROM dual UNION all
    )i need to break this down from column to rows which is something i know how to do.
    however, the hard part is as follow. as you can see, for one particular cid, you could have
    two rows with the same ind value. ex. cid=111 has two rows of ind='s', 333 has two rows with inc='ac'
    what i need to do is as follow: lets take the simple scenario first
    1. for cid=222 we can see that every rows has a different ind value. in this case, all i want to do is to
    display columns to row. the output for 222 should be something like this
              cid       p_amt    s_amt   ac_amt
    ====      ====     =====   ======
    222       100      100      20
       the only thing here is converting columns to rows.
    2. the second step is the complex one. lets take cid=111. if you notice, there are two rows for ind=s
    in this case what i want to do is to display this in two rows but the amount will differ.
    the output should be something like this
             cid       p_amt    s_amt   ac_amt
    ====      ====     =====   ======
    111       142.8    200      20
    111       57.14    80       20
       what the output above shows is that columns got transform into rows but since there were two or more rows with same ind for a specific cid(ex 111)
    i created two rows instead of 1 . also if you notice, the p_amount is not 200 but a percentage amount
    i got the value of p_amt with the following formula: s_amount for each row/sum(ind='s') .
    ex. (200 / (200+80 - sum of s ind)) * p_amt(ind=P) for the second rows same logic (80/(200+80) )* p_amt (ind=P)
    same formula applay for ac amount (200 / (200+80 - sum of s ind)) * c_amt(ind=AC)
    3. for cid=333 same logic as per step 2 but 3 ROWS needs to be display since there are 3 rows with ind=ac
    in summary, when the ind for a specific cid is unique (no duplicate value, ex cid 222) then convert from columns to rows (1 row per specific cid)
    when a particular cid has rows with same ind such as cid 111 and 333, then i want to convert columns to rows but instead of 1 row i want to convert into multiple
    row and apply % to p_amt using formula above.
    final output should be
             cid       p_amt    s_amt   ac_amt
    ====      ====     =====   ======
    222       100      100      20
    111       142.8    200      14.28
    111       57.14    80       5.72
    333       64.26    64.26    30
    333       186.84   186.84   90
    333       42.85    42.85    20
       can some one help write a query for such logic that produce result as above?
    i am looking into having a query for this. but all solutions are welcome if it cannot be done in single query
    thanks

    Hi Frank, thanks for the query once again. i will run it later with the sample data. but first let me explain what i am trying to do here briefly.
    here are answer to your comments and explanation follow
    When there is only 1 row with ind='P' for a given cid, it looks like you want 1 row of output for each row where ind='AC', or for each row where ind='S', whichever is greater.
    ----yes when there is one P i want one row of output for each rows in AC or S only if S or AC has TWO or MORE rows whichever is greater
    When there is more than 1 row with ind='P' for a given cid, it looks like you want each of those rows with ind='P' joined to each of the rows you would get otherwise.
    --- for every P row same logic as point above applies for each P row. so if there are 1 P and two S we will see two rows. if there are two P and two S then we would see 4 rows
    since for every P we need to apply the logic in in first question above
    When all the rows for a cid have ind='P', you want them, so the query above has a outer-join between the "table" with the 'P' data and the other "tables". (Most of the "tables" are actually sub-query result sets.)
    --- when all rows are P just display the data columns to rows for the same number of P rows. if there are two P, then two rows, if 3 P then 3 rows in row format.
    also, if there is no P but you have S and AC. the number of rows display should be whichever is greater and of course the p_amt column will be null since there is no P. so in the case of cid=555, there should be one row for cid=555 with p amt null and s amount populated and c amount populated
    so cid = 555 should be
    cid     p_amt   s_amt    c_amt
    ===    =====    ======    =======
    555    null     142.86  200
    555    null     57.14    80
    555    null     142.86  200
    555    null     57.14    80In this case there is no P so take AC and apply formulat to S. also the same situation could happen where there is only S rows or only AC rows like cidi=666 and cid=777. these data should be diplay as same logic as cid=444
    Below is an explanation
    again consider the following data.
    WITH table1 AS
      SELECT 111 cid,  200 amt, 'P' ind FROM dual UNION ALL
      SELECT 111 cid,  200 amt, 'P' ind FROM dual UNION all      --added another P
      SELECT 111 cid,  200 amt, 'S' ind FROM dual UNION ALL
      SELECT 111 cid,  20  amt, 'AC' ind FROM dual UNION ALL
      SELECT 111 cid,  80 amt, 'S' ind FROM dual UNION ALL
      SELECT 222 cid,  100 amt, 'P' ind FROM dual UNION all
      SELECT 222 cid,   80 amt, 'P' ind FROM dual UNION all    --added another P
      SELECT 222 cid,  100 amt, 'S' ind FROM dual UNION ALL
      SELECT 222 cid,  20  amt, 'AC' ind FROM dual UNION ALL
      SELECT 333 cid,  300 amt, 'P' ind FROM dual UNION all
      SELECT 333 cid,  300 amt, 'S' ind FROM dual UNION ALL
      SELECT 333 cid,  30  amt, 'AC' ind FROM dual UNION ALL
      SELECT 333 cid,  90 amt, 'AC' ind FROM dual UNION all
      SELECT 333 cid,  20 amt, 'AC' ind FROM dual union all
      SELECT 444 cid,  900 amt, 'P' ind FROM dual UNION all    --added these two
      SELECT 444 cid,  1000 amt, 'P' ind FROM dual UNION all
       SELECT 555 cid,  200 amt, 'S' ind FROM dual UNION ALL
       SELECT 555 cid,  200 amt, 'S' ind FROM dual UNION ALL
       SELECT 555 cid,  200 amt, 'AC' ind FROM dual union all
       SELECT 555 cid,  80 amt, 'AC' ind FROM dual union all
      SELECT 666 cid,  100amt, 'S' ind FROM dual UNION ALL
       SELECT 666 cid,  100amt, 'S' ind FROM dual UNION ALL
    SELECT 777 cid,  50amt, 'AC' ind FROM dual UNION ALL
       SELECT 777 cid,  50amt, 'AC' ind FROM dual UNION ALL
    this dataset represents amount. think of P indicator as a loan of $200 for cid=111. think of S as some type of interest. AC is along the same line as S.
    one loan (P) could have multiple S and one or no AC.
    one loan(P) could have just one row or more rows with P such as cid=444 and no S or AC
    one loan P could have multiple AC and so on
    each row in the output represent the percentage amount of the Loan base on the interest S or AC.
    for example. lets take cid=111 in data above. we can see there are two Ps Two S and 1 AC.
    for a particular cid, i want to check if there are one or more S or one or more AC.
    in this case there are two S and i should display the data in row format in two rows. if there were 3 S then that would have been 3 rows display for cid=111.
    if you look at the output below, you will see first two rows and the value for S remain the same as the data above(200 and 80)
    if you look at the p_amt, the amt is NOT the same as the original data. the original data has 200. when you apply the formula mentioned in previous post, p amt gets split into different amount for the two rows and they add up to 200. if there were 3 S in the original data, then you will see 3 rows and the p amt as well as the c_amt will be less
    since all need to add up to the original amount in the dataset. this scenario happen when there are two or more S or two or more AC.
    the second set of data after the blank line, is the same as the first set. this is because there are two P with same amount, and the same logic should be apply for all the P present.
    cid     p_amt   s_amt    c_amt
    =====================
    111  142.86  200.00   14.29
    111   57.14   80.00    5.71
    111  142.86  200.00   14.29
    111   57.14   80.00    5.71lets take another example, cid=444 only has two P and no S or AC. in this case just display the data in row format. so there should be two rows only, s_amt and c_amt should be null since there is none.
    another example is cid=222, there are two P, one S and one AC. since there is not two or more S or AC, then we need to convert all rows from columns to rows and display one rows. however, we can see that there is two P, so for the second P same logic apply. this is why you see duplicate rows because we need to apply same logic for every P row even though data might look the same.
    222  100.00  100.00   20.00
    222  80.00  100.00   20.00if there was only one P for cid=200 then we would have seen this output
    222  100.00  100.00   20.00so in summary, we are converting from columns to rows for each set of cid and depending on the number of S rows or AC rows, that is how many rows should be display for a specific cid. then like in the case of cid=111, p_amt and c_amt in all rows should added up to the original amount. this is done by the RATION function that determine the percentage to apply base on the formula provided.
    same with cid=333. in this case there are 3 AC so 3 rows should show and the p_amt and s_amt should be derive base on the percentage and add up to original value.
    as i mentioned, there could be multiple P and they might have different amount, the same logic should apply for every P row therefore you could see duplication of rows such as output for cid=111
    i know this is long but i hope this helps. feel free to ask any other questions and thanks for your help. i will try the query. if you feel you need to add something else to the query base on explanation above, feel free and let me know.
    Edited by: elmasduro on Feb 16, 2011 7:07 AM
    Edited by: elmasduro on Feb 16, 2011 7:14 AM
    Edited by: elmasduro on Feb 16, 2011 7:42 AM
    Edited by: elmasduro on Feb 16, 2011 8:48 AM
    Edited by: elmasduro on Feb 16, 2011 10:37 AM

  • The system has attempted to use an undefined value, which usually indicates a programming error, either in your code or

    I have taken the cfdump for tmpqry and it shows all data for
    the range ( No error at this step ) . But when we exceute this
    dbquery we get below mentioned error .
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    senerio:
    I am using createobject to create a reference for component
    and call MDArraySort function in the cfc and getting this error .
    'The system has attempted to use an undefined value, which
    usually indicates a programming error, either in your code or some
    system code.
    Null pointer is undefined.... '
    i am using this code in a cfc file.
    <cffunction name="MDArraySort" Returntype="query"
    access="public" >
    <cfargument name="colArray" type="array"
    required="true">
    <cfargument name="colNames" type="string"
    required="true">
    <cfargument name="colSort" type="string"
    required="true">
    <cfargument name="sensorIDs" type="string"
    required="true">
    <cfscript>
    var tmpqry = Querynew(arguments.colNames);
    var qRow = QueryAddRow(tmpqry, Arraylen(arguments.colArray)
    </cfscript>
    <cfloop from="1" to="#Arraylen(arguments.colArray)#"
    index="qRowIndex">
    <cfscript>
    sIndexinSensorIDs = colArray[qRowIndex]["SENSOR"]&"##";
    Temp_readin_code =
    colArray[qRowIndex]["READING_CODE"]&"##";
    QuerySetCell(tmpqry, 'SENSOR', sIndexinSensorIDs,
    qRowIndex);
    QuerySetCell(tmpqry,
    'TYPE',javacast('String',colArray[qRowIndex]["TYPE"]), qRowIndex);
    QuerySetCell(tmpqry, 'TIMESTAMP2',
    LSParseDateTime(colArray[qRowIndex]["TIMESTAMP2"]), qRowIndex);
    QuerySetCell(tmpqry,
    'ORDER_BY_PARAM',javacast('String',colArray[qRowIndex]["ORDER_BY_PARAM"]),
    qRowIndex);
    QuerySetCell(tmpqry, 'READING_CODE',Temp_readin_code ,
    qRowIndex);
    QuerySetCell(tmpqry,
    'READING',javacast('String',colArray[qRowIndex]["READING"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'PK_READING',javacast('String',colArray[qRowIndex]["PK_READING"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'ALARM_STATUS',javacast('String',colArray[qRowIndex]["ALARM_STATUS"]),
    qRowIndex);
    QuerySetCell(tmpqry, 'DURATION',
    javacast('String',colArray[qRowIndex]["DURATION"]), qRowIndex);
    QuerySetCell(tmpqry,
    'DESCRIPTION',javacast('String',colArray[qRowIndex]["DESCRIPTION"]),
    qRowIndex);
    </cfscript>
    </cfloop>
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    <cfreturn qry >
    </cffunction>
    It is working fine for some date range and and getting above
    mentioned error in sone situation .

    Hi All ,
    Thank you for your support ,
    Finally i have fix the issue using some changes in my
    function in cfc .
    <cffunction name="MDArraySort" Returntype="query"
    access="public" >
    <cfargument name="colArray" type="array"
    required="true">
    <cfargument name="colNames" type="string"
    required="true">
    <cfargument name="colSort" type="string"
    required="true">
    <cfargument name="sensorIDs" type="string"
    required="true">
    <cfscript>
    //Declare variable collection used in function as local
    --->
    var tmpqry =
    Querynew(arguments.colNames,"CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_DATE,CF_SQL_VARCHAR,CF_ SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR,CF_SQL_VARCHAR");
    var qRow = QueryAddRow(tmpqry,
    Arraylen(arguments.colArray));
    </cfscript>
    <cfloop from="1" to="#Arraylen(arguments.colArray)#"
    index="qRowIndex">
    <cfscript>
    // Populate the query table
    QuerySetCell(tmpqry, 'SENSOR',
    colArray[qRowIndex]["SENSOR"], qRowIndex);
    QuerySetCell(tmpqry,
    'TYPE',arguments.colArray[qRowIndex]["TYPE"], qRowIndex);
    QuerySetCell(tmpqry, 'TIMESTAMP2',
    LSParseDateTime(arguments.colArray[qRowIndex]["TIMESTAMP2"]),
    qRowIndex);
    QuerySetCell(tmpqry,
    'ORDER_BY_PARAM',arguments.colArray[qRowIndex]["ORDER_BY_PARAM"],
    qRowIndex);
    QuerySetCell(tmpqry, 'READING_CODE',
    colArray[qRowIndex]["READING_CODE"] , qRowIndex);
    QuerySetCell(tmpqry,
    'READING',arguments.colArray[qRowIndex]["READING"], qRowIndex);
    QuerySetCell(tmpqry,
    'PK_READING',arguments.colArray[qRowIndex]["PK_READING"],
    qRowIndex);
    QuerySetCell(tmpqry,
    'ALARM_STATUS',arguments.colArray[qRowIndex]["ALARM_STATUS"],
    qRowIndex);
    QuerySetCell(tmpqry, 'DURATION',
    arguments.colArray[qRowIndex]["DURATION"], qRowIndex);
    QuerySetCell(tmpqry,
    'DESCRIPTION',arguments.colArray[qRowIndex]["DESCRIPTION"],
    qRowIndex);
    </cfscript>
    </cfloop>
    <cfquery name="qry" dbtype="query" >
    SELECT *
    FROM tmpqry
    ORDER BY #arguments.colSort# ASC
    </cfquery>
    <cfreturn qry >
    </cffunction>
    Rajesh
    SCMS
    India

  • EMail Link in SWF exported from InD CS5 does not work

    I'm trying to find a definitive answer on this. I have designed an interactive document in InD CS5 that has buttons and hyperlinks. When exported to SWF everything works except my e-mail hyperlink. It works fine in InDesign's preview pane. I've uploaded the file to my webserver for testing, the problem still occurs.
    I found one post in another forum that quoted an Adobe InD developer stating that as of CS4 email links were not exported. However, I've not been able to find any mention of whether this works in CS5 or not.
    Does anybody know for sure whether or not email links work in SWF files exported from CS5?

    Sorry, no offense was intended. I had found references to problems with CS4, but nothing about CS5, and said as much in my post -- was frustrated that I had spent a long time looking and hadn't found any responses yet.
    You mentioned using buttons rather than hyperlinks, and that worked for me -- but it might have just been a problem with my browser not properly reloading the flash file, too -- as I mentioned in my response.
    But in any case, THANK YOU FOR YOUR SUGGESTION!

  • PL/SQL Hierarchical Profiler: plshprof  output - meaning of Ind% column

    Hi,
    During analysis of an PL/SQL Performance issue I started using the DBMS_HPROF Profiler, but could not find a good source of information about interpreting the out html-files.
    I went through the Database advanced Application Developers Guide chapter: "Using the PL/SQL Hierarchical Profiler" which has a small section explaining the html output generated by this tool.
    I'm aware of the possibility of using the analyze function for populating the DBMSHP_* Tables, but I would like also to use the html output too.
    Unfortunately there is no explanation about the Ind% column in the various html pages in the documentation. Searching the internet didn't bring up much information either.
    for example:
    Function Elapsed Time (microsecs) Data sorted by Total Subtree Elapsed Time (microsecs)
    18824664856 microsecs (elapsed time) & 23390789 function calls
    Subtree      Ind%      Function      Ind%      Descendants      Ind%      Calls      Ind%      Function Name
    18598289260      98.8%      42540820      0.2%      18555748440      98.6%      697210      3.0%      __static_sql_exec_line34 (Line 34)
    18555748440      98.6%      1660109      0.0%      18554088331      98.6%      697210      3.0%      __plsql_vm
    .Has someone used this tool and knows the meaning ?
    best regards

    Can you give me a hint how "C u m %" Column is calculated
    Function Elapsed Time (microsecs) Data sorted by Total Function Elapsed Time (microsecs)
    20052584182 microsecs (elapsed time) & 26511278 function calls
    Subtree      Ind%      Function      Ind%      C u m %      Descendants      Ind%      Calls      Ind%      Function Name
    8920721699      44.5%      8745800186      43.6%      43.6%      174921513      0.9%      15990      0.1%      WM.LOG_INSTEAD_TRG.__dyn_sql_exec_line127 (Line 127)
    10133224678      50.5%      7440629835      37.1%      80.7%      2692594843      13.4%      790323      3.0%      WM.LOG_INSTEAD_TRG.__dyn_sql_exec_line96 (Line 96)
    607218527      3.0%      607218527      3.0%      83.7%      0      0.0%      60200      0.2%      OWNER.LOG_UMTAEUSCHE_U.__static_sql_exec_line763 (Line 763)Sorry but had to write c u m % because otherwise it gets starred out

  • An error has occurred while erasing your restore destination disk

    MacBook Pro, mid-2010 15-inch; OS X Mavericks (10.9.4); originally shipped with Snow Leopard.
    My MBP has crashed & won't start beyond the grey screen and spinning wheel. System restore from Time Machine backup won't work. I tried all these without success
    Safe mode (hold Shift during power-up)
    Verbose safe mode (hold Shift + Command + V during power-up) which reports
               ** /dev/rdisk0s2 (NO WRITE)
                   ** Root file system
                        Executing fsck_hfs (version hfs-226.1.1).
                   disk0s2: I/O error
              ...followed by some other stuff I haven't transcribed before it grinds to a halt
    Reset NVRAM (hold Option + Command + P + R during power-up)
    I can boot up ok into the Recovery partition (hold Command + R during power-up) to run Disk Utility and Time Machine.
    I can’t start from the OS X Install disk (hold C during power-up) cos my DVD drive spits out all CDs and DVDs after spinning them up. This despite cleaning with compressed air.  Tried to run AHT, the Apple Hardware Test (hold D during power-up): nada. Also running AHT from the internet - (hold Option + D during power-up), still nothing.
    I’ve verified my hard disk (all appears ok) and run Repair Disk Permissions.  This reports some problems, for example:
            Permissions differ on “System/Library/CoreServices/Feedback Assistant.app”; should be drwxr-xr-x ; they are lrwxr-xr-x .
              Unable to set owner and group ; error 22: Invalid argument
              Unable to set permissions ; error 22: Invalid argument
    Same problem (but with various different permissions) for
              “usr/lib/libruby.2.0.dylib”
              “usr/lib/libruby.dylib”
              “Applications/Safari.app/Contents/Resources/Safari.help/Contents/Resources/inde x.html”
    Also have lots where as well as unable to set owner, group and permissions the
              Group differs; should be 80; group is 0.
    Affected items are
              “Library/Printers”
              “Library/Printers/Icons”
              “Library/Printers/InstalledPrinters.plist”
    and a few dozen more for various items in subfolders of “Applications/iBooks.app/Contents”
    I don’t know if they’re linked with my problem or an irrelevant side-issue.  I don’t understand the ramifications of these wrong permissions that Disk Utility can’t repair.  And I don’t have the headspace or time to learn now either.
    I repeatedly tried system restore from Time Machine backup, but get the error:
              An error has occurred while erasing your restore destination disk.  Restart your computer and then try restoring again.
    I tried erasing the hard disk partition with Disk Utility but got the error
              Volume erase failed with error couldn't unmount disk.
    Now totally out of ideas.  Have I overlooked anything?  Is my hard drive a goner?  BTW my battery is also saying "Replace soon", but I don't know if that's relevant.  All help gratefully appreciated!

    There are several ways to back up a Mac that is not fully functional. You need an external hard drive or other storage device to hold the data.
    1. Start up from the Recovery partition, from Internet Recovery, or from a local Time Machine backup volume (option key at startup.) Launch Disk Utility and follow the instructions in this support article, under “Instructions for backing up to an external hard disk via Disk Utility.” The article refers to starting up from a DVD, but the procedure in Recovery mode is the same. You don't need a DVD if you're running OS X 10.7 or later.
    2. If Method 1 fails because of disk errors, then you may be able to salvage some of your files by copying them in the Finder. If you already have an external drive with OS X installed, start up from it. Otherwise, if you have Internet access, follow the instructions on this page to prepare the external drive and install OS X on it. You'll use the Recovery installer, rather than downloading it from the App Store.
    3. If you have access to a working Mac, and both it and the non-working Mac have FireWire or Thunderbolt ports, start the non-working Mac in target disk mode. Use the working Mac to copy the data to another drive. This technique won't work with USB, Ethernet, Wi-Fi, or Bluetooth.
    4. If the internal drive of the non-working Mac is user-replaceable, remove it and mount it in an external enclosure or drive dock. Use another Mac to copy the data.

  • Planned ind.requirement is not reduced during processing of the goods issue

    Hello to all,
    I am facing a problem.
    We are using make to stock production with strategy 10 (LSF).
    On 1.12.2006 the ind.requirement (LSF) is entered for week 4.2007 (I see that from schedule line history) for the material A.
    In the system at that time there were a sales order which needed that material A in exact quantity the LSF was. The GI of the delivery were on 13.01.2007.
    The LSF still exist in the system and it can be seen in MD04.
    Before running every MRP, a planning scenario is being created and run. From MS04 I can see that the LSF exists since then in all scenarios except from 3.
    The schedule line history of the LSF has only its creation (1.12.2006).
    Can you please explain to me the following:
    1. why in the first place the LSF did not reduce after the GI of delivery?
    2. the LSF does not exist in olny 3 scenarios. how it could disappear (delete) and appear (create) again without history displays that changes?
    3. If I delete the LSF I think I will not have a problem. Correct?
    Thank you in advance for your help.
    IX

    Hi Ismini,
    For the first question, there could be several reasons, like for example, 13.1 is not week 4. So if the consumption parameters did not allow forward for at least around 7-10 days (to get to the date of the first day in week 4), then consumtion didn't take place. Another reason could be that you defined planning strategy 10 for the material AFTER the sales order was already created.
    Point 2: I really don't know he details of these LTP scenarios that you mention.
    Point 3: if it really is from 2007 I think that you can delete the PIR without fear.
    Regards,
    Mario

  • Need a file converted from InD CS5 to InD CS4...

    Had someone do some work for me and their source file came as a CS5 InDesign version 7 file (I think)... which I cannot open in CS4 InD version 6.  Is there such as thing as file converter of some kind or do I need to have them or someone else open it in CS5 and save it in some compatible format?

    Yes (well, to the 2nd part of your question).
    Ask someone who has a CS5 to save it as IDML, or (always an option!) download the fully functional trial of CS5, and you have about 30 days to do it yourself.

  • An error has occurred during the execution of the JSPM_MAIN phase.

    Hi,
    When I run the go.bat for running SLD, I am getting the following exception.
    An error has occurred during the execution of the JSPM_MAIN phase.
    Cannot initialize application data. Could not determine profile parameters. Error while retrieving value j2ee/dbhost,j2ee/dbname,j2ee/dbtype, with retriever com.sap.sdt.tools.sysinfo.ProfileDataRetriever. Could not extract value with key j2ee/dbhost,j2ee/dbname,j2ee/dbtype, from file D:/usr/sap/CE1/SYS/profile/DEFAULT.PFL. A possible reason could be that the path to the directory containing the sappfpar executable is not included in the PATH environment variable. Could not start process sappfpar. Error while executing process sappfpar. java.io.IOException: CreateProcess: sappfpar all pf=D:/usr/sap/CE1/SYS/profile/DEFAULT.PFL error=2
    You can find more information in the log file D:\usr\sap\CE1\J01\j2ee\JSPM\log\log_2007_07_11_18_49_45\JSPM_MAIN_1_01.LOG.
    Use the information provided to troubleshoot the problem. An SAP Note may provide a solution to this problem. Search for SAP Notes with the following key words:
    com.sap.sdt.jspm.phases.PhaseTypeJSPM
    com.sap.sdt.jspm.gui.JspmUiException
    Cannot initialize application data.
    JSPM_MAIN
    JSPMPhases
    NetWeaver Upgrade
    SAPJup
    Java Upgrade
    Any inputs regarding this highly appreciated.
    Thanks
    Siva

    You can look at the following link, it may help
    https://www.sdn.sap.com/irj/sdn/directforumsearch?userid=3474257&rankby=10001&start=90

  • Asset is incomplete and has to be completed

    Dear experts
    while closing the asset year 2008 im getting the error "Asset is incomplete and has to be completed "
    I opened the transaction code AUVA
    I got incomplete assets list with depreciation start date for 15 depreciation area.Please find the below asset details which i got from AUVA transaction code.   
    Asetcomplete.ind ;States Of Completeness,    layout,   FG,   feild name,       Deparea,   View,     Views,
    600658,         1,     Red color,                       1000 ,       03,   ANLB-AFABG,      15,           1,           13,
    But im unable to enter the depreciation start date in the asset master data for 15 depreciation area as it is display mode
    Could you please any one tell me how can I change the  asset depreciation start date in display mode or complete the asset from incomplete asset status
    Now my year end  activites are pending due to this incomplete asset statues.
    I can not nopt delete the asset as already capitalaized the same.
    Thanks in advance
    Suneetha

    AS23 group asset already maintained depreciation area.
    depreciation start date is not maintained for main asset 15 depreciation area not for group asset
    for main asset we are maintaining 01 and 15 depreciation areas.for 01 depreciation start date has been given for 15 area deprecition start date has been given
    main asset linked group asset already maintained depreciation start date for 15 area.

Maybe you are looking for

  • Can't migrate from Leopard to Lion

    My target mac (lion) says that I need to update my Migration Assistant in  my source mac (leopard).  I did so, but it is already the latest version.  The source mac does not detect the target mac either.  Is this a bug in Lion that it cannot detect L

  • Writing to specific excel cells

    Hello, Is it possible to write to an EXISTING file to one specified cell? I have tried using write to xl.vi as an example, but this rewites the entire file and I lose my old data. I would greately appreciate any advice! Thank-you, Ivanka

  • SImple Flash question

    Ok , I know that i must be overlooking someting so simple that I can grasp it... I have a mc that has an on press function. What I want to happen is when the user clicks on the mc that is opens up and plays another swf in a new browser window... I am

  • Upgrade to lion causes frequent forced quits in adobe software

    After recent upgrade to Lion OS I have trouble running Lightroom 4 and Photoshop CS 6 Beta.  Lightroom 4 frequently crashes upon opening.  Photoshop CS 6 is unable to open an image file from Finder, Bridge or Lightroom and also freezes up.  iMac no l

  • YouTube app - Authentication Error

    I've been researching for over an hour and a half, thinking I've found the answer, only for it to fail.  I'm a bit aggravated, and this is my first post here, so forgive me if I've posted this in the wrong area. Okay... deep breath.  Here it goes. I'