Transport and ListCube problem

Hi Guru's,
My client has a cube ZIP_RC_01 in BWD that is all activated. It is a virtual cube that requires reconciles data in Integrated Planning against source R/3 tables.
Unfortunately, when a contractor had transported this cube to BWT, the cube had failed in BWT. Then someone had subsequently tried to transport and have resolved some of the issues but now they saythat they still get an error when they perform a listcube in BWT - not in BWD.
Now, they asked me to diagnose why BWT is not working and potentially create a transport from BWD to BWT if necessary.
How to go about doing this and what are all the required things I need to know initially to start off with and please guide me step by step as I haven't dealth with such kind of scenarios in my experience. Thanks in advance.
Thanks & Regards,
Praveen Battula

Hi Arun,
Thanks for your quick response.
When I go to List Cube Transaction Code and execute in BWD system, there is no problem.
But when I go to BWT system and go to Listcube Transaction code and execute then the following error is being displayed:
Error reading the data of InfoProvider ZIP_RC_01
Message no. DBMAN305
Diagnosis
Errors occurred while reading a VirtualProvider outside the BI system. Check whether the previous error messages contain any information about the possible cause of this error.
It is possible that the error message cannot be displayed because the error message class does not exist in the BI system. If this is the case, only the name of the error class and the message number are displayed. View the error message text in the specified error class in the source system of the VirtualProvider.
Procedure
Since the error is not necessarily in the BI system, there is no specific procedure for resolving it. With VirtualProviders, problems often occur with the connection to the remote system; these can lead to system termination. If the code for the VirtualProvider is not from SAP, contact the relevant contact person to help resolve the issue.
If an SQL error is listed in the previous message, see the procedure for SQL errors.
And also the following warning message is being displayed:
There is still no data source assigned to VirtualProvider ZIP_RC_01
Message no. RSOA306
Diagnosis
There is no data source assigned to VirtualProvider 'ZIP_RC_01'.
System Response
No data is selected.
Procedure
In the Data Warehousing Workbench, call the modeling view and search in the InfoProvider hierarchy of the affected VirtualProvider 'ZIP_RC_01'. In the context menu of the VirtualProvider, choose the Activate Direct Access... function and select at least one data source.
If no data sources are displayed for you to choose from, this may mean that there are still no data transfer processes defined that have the VirtualProvider as a target, or that for the source assigned to the VirtualProvider, no active transformation rules exist for remote-enabled DataSources from the SAP source systems.

Similar Messages

  • R/3 Transport and tp Problem

    Hello,
    I downloaded the necessary support packages of SAP_APPL ( Lojistik ve
    Mali isler ) and P3A ( P3VA:500 Add-on Installation) on AFS Test system
    and updated them on their patch level. There was no problem with P3A,
    but I installed the patch level on SAP_APPL component to 009. Then I
    take the message "text" while installing 0010 patch and we
    cannot request the release in test system. I had a search for some
    documents about this on OSS but failed. Patch levels,after updating,
    are like the folloving:
    P3A-V500-0005-SAPKIAF505-P3A V500 : Add-On Installation-Comp.Supp. Pkg.
    SAP_APPL-500-0009-SAPKH50009-Lojistik ve mali işler- R/3 Support Pkg.
    I also add our R3trans and TP version info.It is old, but we couldn't find the new version at SAP Service Marketplace for KErnel 6.40, how can we upgrade R3trans / TP ? (Do we have to upgrade Kernel patch? Our kernel level is (release 640, patch level 87).
    <b>Error Message</b>,
    The import was stopped, since an error occurred during the phase      
    IMPORT_OBJECT_LIST, which the Support Package Manager is unable to    
    resolve without your input.                                                                               
    After you have corrected the cause of the error, continue with the    
    import by choosing Support Package -> Import queue from the initial   
    screen of the Support Package Manager.                                                                               
    The following details help you to analyze the problem:                                                                               
    -   Error in phase: IMPORT_OBJECT_LIST                            
         -   Reason for error: TP_FAILURE                                  
         -   Return code: 0016                                             
    -     Error message: A tool used by tp broke down                   
    Notes on phase IMPORT_OBJECT_LIST                                                                               
    In this phase the object lists for the Support Packages in the queue are
    imported into the system. This phase can terminate due to the following 
    reasons:                                                                               
    o   TP_INTERFACE_FAILURE: The tp interface could not be called.                                                                               
    o   TP_FAILURE: The program tp could not be executed. For more          
         information on this, see the SLOG or ALOG log file.                                                                               
    o   COMMAND_FILE_IMPORT_FAILURE: The object list of one or more Support 
         Packages could not be imported. For the cause of the error, see the 
         log of the command file import.                                                                               
    A prerequisite of the Support Package Manager is that the Change and    
    Transport System (CTS) is configured correctly. For more detailed       
    information, read the online documentation available from Help -> SAP 
    Library -> mySAP Technology Components -> SAP Web Application Server ->
    Change and Transport System .                                                                               
    A list of the most important SAP Notes for Online Correction Support  
    (OCS) is available in SAP Note 97620, which is updated regularly.     
    <b>Support Package Error Logfile:</b>
    1 ETP176 IMPORT OF COMMANDFILE ONLY
    1 ETP101 transport order     : "SAPKIAF506"
    1 ETP102 system              : "AFT"
    1 ETP108 tp path             : "tp"
    1 ETP109 version and release : "340.07" "640"
    1 ETP198
    4 ETW000 R3trans.exe version 6.09 (release 640 - 28.04.04 - 16:14:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 14.03.2007 - 10:08:21
    4 ETW000 control file: D:\usr\sap\trans\tmp\SAPKKIAF506.AFT
    4 ETW000 > #pid 1352 on AFTHOST (APServiceAFT)
    4 ETW000 > import
    4 ETW000 > buffersync=yes
    4 ETW000 > file='D:\usr\sap\trans\data\RIAF506.SAP'
    4 ETW000 > continuation='D:\usr\sap\trans\data\RIAF506_#.SAP'
    4 ETW000 > client cascade yes
    4 ETW000 > repeatimport=yes
    4 ETW000 >
    4 ETW000 > including 'NOTHING'
    4 ETW000 R3trans was called as follows: R3trans.exe -w D:\usr\sap\trans\tmp\SAPLIAF506.AFT D:\usr\sap\trans\tmp\SAPKKIAF506.AFT
    4 ETW000 Connected to DBMS = MSSQL ---  SERVER = 'afthost' DBNAME = 'AFT' --- SYSTEM = 'AFT'.
    4 ETW690 "0" "0"
    4 ETW000 COMMIT (0).
    4 ETW000  trace at level 1 opened for a given file pointer
    4 ETW000
    4 ETW000 ================== STEP 1 =====================
    4 ETW000 date&time   : 14.03.2007 - 10:08:21
    4 ETW000 function    : IMPORT
    4 ETW000 data file   : D:\usr\sap\trans\data\RIAF506.SAP
    4 ETW000 Continuation: D:\usr\sap\trans\data\RIAF506_#.SAP
    4 ETW000 buffersync  : YES
    4 ETW000 clients     : cascade
    4 ETW000 repeatimport: YES (corresponds to unconditional mode 1)
    4 ETW000 repeatclimp.: NO
    4 ETW000 c.s.i.      : NO
    4 ETW000 l.s.m.      : VECTOR
    4 ETW000 charsetadapt: YES
    4 ETW000 def. charset: WEUROPEAN
    4 ETW000 commit      : 100000
    4 ETW000 table cache : dynamic
    4 ETW000 INCLUDING   : 'NOTHING'
    4 ETW000
    4 ETW000 rejected clients : 066
    4 ETW000
    4 ETW000 client cascade to: 000, 001, 100, 111, 300, 333
    4 ETW000 Character set on this machine : ASCII (ISO 8859-1).
    4 ETW000 Character set on the data file: 2 byte unicode big endian.
    4 ETW000 Data file is compressed with algorithm 'L'.
    4 ETW000 Export was executed on 27.06.2006 at 10:22:59 by hm3adm     
    3 ETW709 "640 "
    4 ETW000   with R3trans version: 13.02.06 - 15:46:42
    4 ETW000 Source System = SUN on SPARC CPU with Solaris 2.2 on DBMS = DB6 --- DB2DBDFT = 'HM3' --- SYSTEM = 'HM3'.
    4 ETW000
    4 ETW000 language vector during export: DESFIJ3TM1PN
    4 ETW000 lsm during export: ALL
    4 ETW000 trfunction = D (patch transport)
    4 ETW000 .--============--
    4 ETW000 |                              RSCP - Error                            |
    4 ETW000 | Error from:             Codepage handling (RSCP)                     |
    4 ETW000 | code:    8  RSCPEIO      Some I/O error.                             |
    4 ETW000 | dbrtab error 16 in rscpddio__direct_db_io                            |
    4 ETW000 | module: rscpgdio no:   14 line:  1515                    T100: TS004 |
    4 ETW000 | TSL01: F6H  p3: XRTAB&0&16&UMGSETTING                    &           |
    4 ETW000 |----
    |
    4 ETW000 | Error propagation from: Primary key table access (RTAB)              |
    4 ETW000 | RTAB error      16                                                   |
    4 ETW000 | table       UMGSETTING                                              |
    4 ETW000 | db key      UNICONV                                                  |
    4 ETW000 |----
    |
    4 ETW000 | Some OS information, which may or may not belong to this error:      |
    4 ETW000 | errno     2  No such file or directory                               |
    4 ETW000 `----
    1AETW000 ===> HALT: GetDBMigrateCodePagesLangs fails with rc=8 (twconv.c:888) Please contact the SAP support.
    4 ETW000  [dev trc     ,00000]  Rollback Work (0)                                  90088  0.090088
    4 ETW000 ROLLBACK (1470).
    4 ETW000 End of Transport (0016).
    4 ETW000 date&time: 14.03.2007 - 10:08:21
    1 ETP176 IMPORT OF COMMANDFILE ONLY
    1 ETP110 end date and time   : "20070314100821"
    1 ETP111 exit code           : "16"
    1 ETP199 ######################################
    1 ETP199X######################################
    1 ETP176 IMPORT OF COMMANDFILE ONLY
    1 ETP101 transport order     : "SAPKIAF506"
    1 ETP102 system              : "AFT"
    1 ETP108 tp path             : "tp"
    1 ETP109 version and release : "340.07" "640"
    1 ETP198
    4 ETW000 R3trans.exe version 6.09 (release 640 - 28.04.04 - 16:14:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 14.03.2007 - 10:09:37
    4 ETW000 control file: D:\usr\sap\trans\tmp\SAPKKIAF506.AFT
    4 ETW000 > #pid 3148 on AFTHOST (APServiceAFT)
    4 ETW000 > import
    4 ETW000 > buffersync=yes
    4 ETW000 > file='D:\usr\sap\trans\data\RIAF506.SAP'
    4 ETW000 > continuation='D:\usr\sap\trans\data\RIAF506_#.SAP'
    4 ETW000 > client cascade yes
    4 ETW000 > repeatimport=yes
    4 ETW000 >
    4 ETW000 > including 'NOTHING'
    4 ETW000 R3trans was called as follows: R3trans.exe -w D:\usr\sap\trans\tmp\SAPLIAF506.AFT D:\usr\sap\trans\tmp\SAPKKIAF506.AFT
    4 ETW000 Connected to DBMS = MSSQL ---  SERVER = 'afthost' DBNAME = 'AFT' --- SYSTEM = 'AFT'.
    4 ETW690 "0" "0"
    4 ETW000 COMMIT (0).
    4 ETW000  trace at level 1 opened for a given file pointer
    4 ETW000
    4 ETW000 ================== STEP 1 =====================
    4 ETW000 date&time   : 14.03.2007 - 10:09:38
    4 ETW000 function    : IMPORT
    4 ETW000 data file   : D:\usr\sap\trans\data\RIAF506.SAP
    4 ETW000 Continuation: D:\usr\sap\trans\data\RIAF506_#.SAP
    4 ETW000 buffersync  : YES
    4 ETW000 clients     : cascade
    4 ETW000 repeatimport: YES (corresponds to unconditional mode 1)
    4 ETW000 repeatclimp.: NO
    4 ETW000 c.s.i.      : NO
    4 ETW000 l.s.m.      : VECTOR
    4 ETW000 charsetadapt: YES
    4 ETW000 def. charset: WEUROPEAN
    4 ETW000 commit      : 100000
    4 ETW000 table cache : dynamic
    4 ETW000 INCLUDING   : 'NOTHING'
    4 ETW000
    4 ETW000 rejected clients : 066
    4 ETW000
    4 ETW000 client cascade to: 000, 001, 100, 111, 300, 333
    4 ETW000 Character set on this machine : ASCII (ISO 8859-1).
    4 ETW000 Character set on the data file: 2 byte unicode big endian.
    4 ETW000 Data file is compressed with algorithm 'L'.
    4 ETW000 Export was executed on 27.06.2006 at 10:22:59 by hm3adm     
    3 ETW709 "640 "
    4 ETW000   with R3trans version: 13.02.06 - 15:46:42
    4 ETW000 Source System = SUN on SPARC CPU with Solaris 2.2 on DBMS = DB6 --- DB2DBDFT = 'HM3' --- SYSTEM = 'HM3'.
    4 ETW000
    4 ETW000 language vector during export: DESFIJ3TM1PN
    4 ETW000 lsm during export: ALL
    4 ETW000 trfunction = D (patch transport)
    4 ETW000 .--============--
    4 ETW000 |                              RSCP - Error                            |
    4 ETW000 | Error from:             Codepage handling (RSCP)                     |
    4 ETW000 | code:    8  RSCPEIO      Some I/O error.                             |
    4 ETW000 | dbrtab error 16 in rscpddio__direct_db_io                            |
    4 ETW000 | module: rscpgdio no:   14 line:  1515                    T100: TS004 |
    4 ETW000 | TSL01: F6H  p3: XRTAB&0&16&UMGSETTING                    &           |
    4 ETW000 |----
    |
    4 ETW000 | Error propagation from: Primary key table access (RTAB)              |
    4 ETW000 | RTAB error      16                                                   |
    4 ETW000 | table       UMGSETTING                                              |
    4 ETW000 | db key      UNICONV                                                  |
    4 ETW000 |----
    |
    4 ETW000 | Some OS information, which may or may not belong to this error:      |
    4 ETW000 | errno     2  No such file or directory                               |
    4 ETW000 `----
    1AETW000 ===> HALT: GetDBMigrateCodePagesLangs fails with rc=8 (twconv.c:888) Please contact the SAP support.
    4 ETW000  [dev trc     ,00000]  Rollback Work (0)                                  88800  0.088800
    4 ETW000 ROLLBACK (1470).
    4 ETW000 End of Transport (0016).
    4 ETW000 date&time: 14.03.2007 - 10:09:38
    1 ETP176 IMPORT OF COMMANDFILE ONLY
    1 ETP110 end date and time   : "20070314100938"
    1 ETP111 exit code           : "16"
    1 ETP199 ######################################
    1 ETP199X######################################
    1 ETP179 CREATE COFILE FROM DATAFILE
    1 ETP101 transport order     : "SAPKIAF506"
    1 ETP102 system              : "AFT"
    1 ETP108 tp path             : "tp"
    1 ETP109 version and release : "340.07" "640"
    1 ETP198
    4 ETW000 R3trans.exe version 6.09 (release 640 - 28.04.04 - 16:14:00).
    4 ETW000 ===============================================
    4 ETW000
    4 ETW000 date&time   : 14.03.2007 - 12:08:33
    4 ETW000 control file: D:\usr\sap\trans\tmp\SAPKKIAF506.AFT
    4 ETW000 > #pid 4020 on AFTHOST (APServiceAFT)
    4 ETW000 > createcofile
    4 ETW000 > file='D:\usr\sap\trans\data\RIAF506.SAP'
    4 ETW000 >
    4 ETW000 R3trans was called as follows: R3trans.exe -w D:\usr\sap\trans\tmp\SAPLIAF506.AFT D:\usr\sap\trans\tmp\SAPKKIAF506.AFT
    4 ETW000  trace at level 1 opened for a given file pointer
    4 ETW000
    4 ETW000 ================== STEP 1 =====================
    4 ETW000 date&time   : 14.03.2007 - 12:08:34
    4 ETW000 function    : CREATECOFILE
    4 ETW000 data file   : D:\usr\sap\trans\data\RIAF506.SAP
    4 ETW000 buffersync  : NO
    4 ETW000 clients     : default
    4 ETW000 l.s.m.      : VECTOR
    4 ETW000 commit      : -1
    4 ETW000 table cache : dynamic
    4 ETW000
    4 ETW000 Character set on this machine : ASCII (ISO 8859-1).
    4 ETW000 Character set on the data file: 2 byte unicode big endian.
    4 ETW000 Data file is compressed with algorithm 'L'.
    4 ETW000 Export was executed on 27.06.2006 at 10:22:59 by hm3adm     
    3 ETW709 "640 "
    4 ETW000   with R3trans version: 13.02.06 - 15:46:42
    4 ETW000 Source System = SUN on SPARC CPU with Solaris 2.2 on DBMS = DB6 --- DB2DBDFT = 'HM3' --- SYSTEM = 'HM3'.
    4 ETW000
    4 ETW000 language vector during export: DESFIJ3TM1PN
    4 ETW000 lsm during export: ALL
    4 ETW000 trfunction = D (patch transport)
    3 ETW692 "SAPKIAF506          "
    3 ETW708 "000"
    3 ETW695 "D"
    3 ETW694 "SAP       "
    3 ETW693 "PAUSER      "
    3 ETW696 "20060627"
    3 ETW713 "P3A V500: patch 0006, CRT for SAPKH50010 - 12               "
    3 ETW691 "CORRMERGMERGEINFO  HM3 20060627 102016          "
    3 ETW707 "CORRMERGMERGEINFO  HM3 20060627 102016          "
    3 ETW691 "LIMUCUAD/AFS/ARUN_SELSET_REORG                  "
    3 ETW707 "R3TRPROG/AFS/ARUN_SELSET_REORG"
    3 ETW691 "LIMUCUADPP_ORDER_PROGRESS                       "
    3 ETW707 "R3TRPROGPP_ORDER_PROGRESS"
    R3 Trans and tp Version
    C:\Documents and Settings\aftadm>tp -v
    sapparam: sapargv( argc, argv) has not been called.
    sapparam(1c): No Profile used.
    sapparam: SAPSYSTEMNAME neither in Profile nor in Commandline
    This is tp version 340.07 (release 640)
    tp information
    kernel release                640
    kernel make variant           640_REL
    DBMS client library           SQL_Server_8.00
    DBSL shared library version   640.00
    compiled on                   NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10
    compilation mode              Non-Unicode
    compile time                  Jul 14 2004 19:38:55
    update level                  0
    patch number                  3
    source id                     0.026
    supported environment
    database (SAP, table SVERS)   610
                                  620
                                  630
                                  640
    operating system
    Windows NT 5.0
    Windows NT 5.1
    Windows NT 5.2
    tp patch information
    ( 0.003) Restart after error in transport request independent step (note 686580)
    ( 0.003) Dd activation ends with returncode 8 although there's no error (note 69
    4062)
    dbsl patch information
    ( 0.001) MSSQL: TOP n for dynamic statements (note 699014)
    ( 0.003) MSSQL: R3load exports too few records (note 705088)
    ( 0.003) MSSQL: error handling on DBCON-connect (note 705674)
    ( 0.007) MSSQL: Row handles must all be released (note 719273)
    ( 0.016) MSSQL: BindInputParams: The parameter is invalid (note 731265)
    ( 0.017) MSSQL: SQL 2005 SNAC Support (note 734034)
    ( 0.022) MSSQL: Security issue (note 744948)
    ( 0.025) MSSQL: $DBCMD command (note 751269)
    ( 0.026) MSSQL: GetNextMsst1 error (note 754819)
    C:\Documents and Settings\aftadm>r3trans -v
    This is r3trans version 6.09 (release 640 - 28.04.04 - 16:14:00).
    R3trans information
    kernel release                640
    kernel make variant           640_REL
    DBMS client library           SQL_Server_8.00
    DBSL shared library version   640.00
    compiled on                   NT 5.0 2195 Service Pack 4 x86 MS VC++ 13.10
    compilation mode              Non-Unicode
    compile time                  Jul 14 2004 19:38:55
    update level                  0
    patch number                  19
    source id                     0.026
    supported environment
    database (SAP, table SVERS)   610
                                  620
                                  630
                                  640
    operating system
    Windows NT 5.0
    Windows NT 5.1
    Windows NT 5.2
    R3trans patch information
    ( 0.001) Code pages patch packet 313233 (note 447519)
    ( 0.001) Code pages patch packet 34 (note 695907)
    ( 0.003) Deletion in language dependent table (note 337224)
    ( 0.009) Unicode: Core Dump in build_initrec, Modul dbntab (note 717717)
    ( 0.009) Avoid duplicate key errors due to scrap characters (note 718511)
    ( 0.009) Protect customer's table entries (note 530335)
    ( 0.011) Wrong error message: Value of key specification field (note 720329)
    ( 0.013) Code pages, languages and locales, packet 37 + 38 (note 447519)
    ( 0.013) Code pages, languages and locales, packet 37 + 38 (note 722638)
    ( 0.019) Code pages patch packet 40 (NT) (note 447519)
    ( 0.019) Code pages patch packet 40 (NT) (note 447519)
    dbsl patch information
    ( 0.001) MSSQL: TOP n for dynamic statements (note 699014)
    ( 0.003) MSSQL: R3load exports too few records (note 705088)
    ( 0.003) MSSQL: error handling on DBCON-connect (note 705674)
    ( 0.007) MSSQL: Row handles must all be released (note 719273)
    ( 0.016) MSSQL: BindInputParams: The parameter is invalid (note 731265)
    ( 0.017) MSSQL: SQL 2005 SNAC Support (note 734034)
    ( 0.022) MSSQL: Security issue (note 744948)
    ( 0.025) MSSQL: $DBCMD command (note 751269)
    ( 0.026) MSSQL: GetNextMsst1 error (note 754819)
    Thanks in advance…

    Hello Ismail
    Update your versions of TP and R3trans and the SAP Kernal and retry the import.
    The versions you have are from 2004.
    Thanks
    Kenny

  • I am not able to launch FF everytime i tr to open it, it says FF has to submit a crash report, i even tried doing that and the report was submitted too, but stiil FF did not start, and the problem still persists, please help me solve this issue in English

    Question
    I am not able to launch FF everytime i try to open it, it says FF has to submit a crash report,and restore yr tabs. I even tried doing that and the report was submitted too, but still FF did not start, and the problem still persists, please help me solve this issue
    '''(in English)'''

    Hi Danny,
    Per my understanding that you can't get the expect result by using the expression "=Count(Fields!TICKET_STATUS.Value=4) " to count the the TICKET_STATUS which value is 4, the result will returns the count of all the TICKET_STATUS values(206)
    but not 180, right?
    I have tested on my local environment and can reproduce the issue, the issue caused by you are using the count() function in the incorrect way, please modify the expression as below and have a test:
    =COUNT(IIF(Fields!TICKET_STATUS.Value=4 ,1,Nothing))
    or
    =SUM(IIF(Fields!TICKET_STATUS=4,1,0))
    If you still have any problem, please feel free to ask.
    Regards,
    Vicky Liu
    Vicky Liu
    TechNet Community Support

  • BOSD, Battery issues and Heating problem after iOS 8 upgrade

    i have upgraded my iPad mini to iOS 8. Ever since I upgraded to iOS 8 am facing blue screen issues and heating problem as well. This is really frustrating even the patch iOS 8.0.2 dint solve the problem. Are you guys listening our complaints. When will you fixing it.

    The same thing happened to me on my 2012 Subaru Outback.  I'm not sure this will help you since you have a Honda, but I'm posting this just in case.
    I paired the audio on my car with my iPhone 6.  However, when I turned the car off and back on again, the iPhone would not pair automatically.  I had to manually connect the iPhone with the car.  Turns out there are two separate bluetooth pairings on my car: one for phone which allows up to 5 devices and one for audio which allows only one device.  So I did the second bluetooth pairing for the phone (had already done the audio), and that fixed it.  YMMV

  • I am making code to try to make a game and my problem is that my code......

    I am making code to try to make a game and my problem is that my code
    will not let it change the hit everytime so im getting the first guy to hit 1 then next hits 8 and so on and always repeats.
    Another problem is that I would like it to attack with out me telling it how much times to attack. I am using Object oriented programming.
    Here is the code for my objects:
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.Random;
    import static java.lang.Math.*;
    import java.awt.*;
    import java.awt.color.*;
    class rockCrab {
         //Wounding formula
         double sL = 70;                                   // my Strength Level
         double bP = 1;                                   // bonus for prayer (is 1 times prayer bonus)
         double aB = 0;                                 // equipment stats
         double eS = (sL * bP) + 3;                         // effective strength
         double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640));     // my base damage
         //Attack formula
         double aL = 50;                                   // my Attack Level
         double eD = 1;                                   // enemy's Defence
         double eA = aL / eD;                              // effective Attack
         double eB = 0;                                   // equipment bonus'
         double bA = ((eA/10) * (eB/10));                    // base attack
         //The hit formula
         double fA = random() * bA;
         double fH = random() * bD;
         double done = rint(fH - fA);
         //health formula
         double health = floor(10 + sL/10 * aL/10);
         rockCrab() {
         void attack() {
              health = floor(10 + sL/10 * aL/10);
              double done = rint(fH - fA);
              fA = random() * bA;
              fH = random() * bD;
              done = rint(fH - fA);
              System.out.println("Rockcrab hit" +done);
    import java.lang.*;
    import java.io.*;
    import java.net.*;
    import java.util.*;
    import java.util.Random;
    import static java.lang.Math.*;
    import java.awt.*;
    import java.awt.color.*;
    class self {
         //Wounding formula
         double sL = 1;                                   // my Strength Level
         double bP = 1;                                   // bonus for prayer (is 1 times prayer bonus)
         double aB = 0;                                 // equipment stats
         double eS = (sL * bP) + 3;                         // effective strength
         double bD = floor(1.3 + (eS/10) + (aB/80) + ((eS*aB)/640));     // my base damage
         //Attack formula
         double aL = 1;                                   // my Attack Level
         double eD = 1;                                   // enemy's Defence
         double eA = aL / eD;                              // effective Attack
         double eB = 0;                                   // equipment bonus'
         double bA = ((eA/10) * (eB/10));                    // base attack
         //The hit formula
         double fA = random() * bA;
         double fH = random() * bD;
         double done = rint(fH - fA);
         //health formula
         double health = floor(10 + sL/10 * aL/10);
         self() {
         void attack() {
              health = floor(10 + sL/10 * aL/10);
              fA = random() * bA;
              fH = random() * bD;
              done = rint(fH - fA);
              System.out.println("You hit" +done);
    }Here is the main code that writes what the objects do:
    class fight {
         public static void main(String[] args) {
              self instance1 = new self();
              rockCrab instance2 = new rockCrab();
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
              instance2.health = instance2.health - instance1.done;
              System.out.println("You hit: " +instance1.done);
              System.out.println("rockCrabs health: " + instance2.health);
              instance1.health = instance1.health - instance2.done;
              System.out.println("RockCrab hit: " +instance2.done);
              System.out.println("rockCrabs health: " + instance1.health);
    }when the code is run it says something like this:
    you hit 1
    RockCrabs health is 9
    RockCrab hit 7
    your health is 38
    you hit 1
    RockCrabs health is 8
    RockCrab hit 7
    your health is 31
    you hit 1
    RockCrabs health is 7
    RockCrab hit 7
    your health is 24
    you hit 1
    RockCrabs health is 6
    RockCrab hit 7
    your health is 17
    my point is whatever some one hits it always repeats that
    my expected output would have to be something like
    you hit 1
    RockCrabs health is 9
    RockCrab hit 9
    your health is 37
    you hit 3
    RockCrabs health is 6
    RockCrab hit 4
    your health is 33
    you hit 2
    RockCrabs health is 4
    RockCrab hit 7
    your health is 26
    you hit 3
    RockCrabs health is 1
    RockCrab hit 6
    your health is 20
    Edited by: rade134 on Jun 4, 2009 10:58 AM

    [_Crosspost_|http://forums.sun.com/thread.jspa?threadID=5390217] I'm locking.

  • Remote and IR Problem

    A rather odd and annoying problem has recently been occuring on my MBP. A couple days ago my remote (after working without fail for over a year now) suddenly stopped working. Yesterday night and this morning it started working again but after a while it stopped again. I've read dozens of support articles which haven't really helped because there seems to be another problem.
    Most articles have stated that there is an option to disable the IR receiver in the "security" window under system preferences. When the IR and remote are not working this option disappears but when they are working the option is present. I have also tried replacing the battery without any result.
    I am now thinking that it might have something to do with heat buildup because it is mainly occuring after the laptop has been on for about a half hour, so I am going to try to borrow someone's fan.
    If anyone has any suggestions to solve this I would appreciate it if you could help. Thanks!
    MacBook Pro 1.83 GHz   Mac OS X (10.4.9)  

    check out this thread. Seems to be the same problem.
    http://discussions.apple.com/thread.jspa?messageID=4701905&#4701905

  • LG Ally text message and gps problems

    hello. ive been with verizon for about 10 years maybe. ive been overall happy with the service and customer service. but the prices should be alot lower.lol. i started out with the motorolas then switched to the lg phones. only problem with the motorola was the speakers. not loud enough. could never hear the phone ring. the lgs usually suffer from the same problem.
    i had a few phone problems but nothing like this lg ally. im on my second one and about to be my 3rd one in about 3 months. 1st phone i had every problem under the sun. this phone i am suffering from text message problems and gps problems. i suffer from what everyone else has problems with. the messages wont send. they will eventually lock up. it will show the envelope with the red explanation point ( i think thats the graphic). then usually everytime when i sent a text the texts will close. it will send then bounce back and show up as a draft and i have to resend it and wait for it to go thru. finally the last problem with the texts. when i send a text a phone number from my contacts shows up and freezes on the screen. its in white text with a black background. its the same number every time. it stays on the screen until i restart or pull my battery out.
    gps. when i open up google gps that comes with the phone i make sure the gps is on... when the directions are found and the map pops up 9 out of 10 times it just keeps saying searching for gps. the turn by turn never is found. the 1 time it does it takes a good 10 minutes to be found. atleast on my first one ally the gps did work 8 out of 10 times. it just took a good 5-10 minutes for gps to be found and show turn by turn.
    anyone else have these problems? where you able to fix them or did you need to get a new phone? the 2.1 update was supposed to fix problems. i think they just made it worse. the ally is supposed to have 2.2 froyo. where is it. is it ever going to get it. i got this phone because i like the lgs and the keyboard. also the sales representative on the phone was giving the lg ally rave reviews. why couldnt he say dont buy this go with a motorola droid. this phone is the biggest junk ever made

    I do apologize you are having trouble with your device I looked in our information system on the LG Ally in reguards to issues you are having it states if you have the Free Droid Security anti virus protection application down loaded it will cause the phone to lock up or freeze. Check and make sure you do not have the application on your device. Check you GPS settings and make sure correct. Go to Settings; Location & Security; make sure GPS is on wireless network. If this does not fix issue you can try doing a Master Reset on your device. Make sure your contacts are saved in your G-mail account or through Back Up Assistance.
    Master Reset/Soft Reset:
    Factory Reset option 1
    From the main screen, touch menu tab
    Touch Settings
    Touch Privacy
    Touch Factory Data reset
    Touch Reset Phone
    Warning: This will erase all data from your phone, including:
    Your Google account
    System and application data and settings
    Downloaded Applications
    It will not erase: Current System software and bundled applications; SD Card files, such as music or Photos
    Factory Reset option 2  - Warning this will reset device back to original factory settings.
    Turn off the phone
    Press and hold "home" + "end" + "volume up or down" keys together for a few seconds when the device is power off
    Once device displays boot information, release keys.
    Soft Reset
    Press the Power key.
    Touch Power off.
    Touch OK.
    Press the Power key to power on the device.
    or
    Remove battery cover, remove battery and reinstall.Also there is a new update for LG Ally it will be the Froyo 2.2 but there is not release date available at this time it will post on your device when available. Hope this Helps. Leslie

  • I am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!

    i am deleting files through my trash in my macbook pro (2010) and then emptying the trash can, but my hard disk space is not increasing! i recently upgraded to lion and the problem is new, wasn't the same with snow leopard! HELP!!!!!
    When i press command+I (Get Info) i see that there is 140 GB "Available Space" on my hard disk but when i click on my hard disk icon on the desktop, and then press "space" i only see 102 GB free!! What the f*???
    Please HELP!!!!!! Getting second thoughts on Lion!!!!

    Hi b,
    Have you restarted yet?

  • How do I fix my ipod classic that says very low batter after I have charged it and the problem persists?

    I have an Ipod video 30g that says Please wait very low battery. I charged it for about a day and the problem persists. I've tried using some solutions on the internet and none of them worked including: holding the menu and select, holding select and play to put it in disk mode with no avail. Is there anyone who can help me!!!

    Have you read this post written by another forum member?
    The Sad iPod icon.
    However, as your iPod was purchased on Boxing Day, why not get it serviced under the warranty?
    You can arrange online service here.
    Service request.
    Or if an Apple store is near you, take it there and have them check your iPod.
    You can make an appointment by using this link.
    Genius Bar Appointments.

  • It's so annoying!! I have created a new Apple ID but after I click verify it just goes back to the previous page!!! It''s really frustrating I have tried for more than 4H, and the problem is not about the apple ID. I can download apps with the apple ID, w

    It's so annoying!! I have created a new Apple ID but after I click verify it just goes back to the previous page!!! It''s really frustrating I have tried for more than 4H, and the problem is not about the apple ID. I can download apps with the apple ID, which means IMessage is the problem! I restarted my iPad, I logged in and out of the apple ID in the store, AND YET IT STILL WON'T WORK, PLEASE HELP!

    Hi Vmanfromusa!
    It sounds like you are having an issue with activating your iMessage app on your iPad. An article outlining some troubleshooting steps for this issue can be found here:
    iOS: Troubleshooting FaceTime and iMessage activation
    http://support.apple.com/kb/ts4268
    Thanks for using the Apple Support Communities. Have a good one!
    -Braden

  • I bought a song on ITUNES and had problems downloading it. I got in touch with support and and they downloaded the song to my account but now when I try to play it, it tells me my computer isn't authorized to . Reauthorizing computer doesn't work. HELP

    I bought a song in ITUNES and had problem downloading it. I contacted support and they downloaded the song for me. Now when I try to play the song, I get a message saying my computer isn't authorized to play it. I try reauthorizing but that doesn't work, just keep getting the same message. Can anyone help?

    Hello
    Thanks for using Apple Support Communities.
    For more information on this, take a look at:
    iTunes repeatedly prompts to authorize computer to play iTunes Store purchases
    http://support.apple.com/kb/ts1389
    Best of luck,
    Mario

  • Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,change remotes, no change.Help please.

    Purchased a new Apple TV and the remote double clicks each time I press the button. It worked fine during set up and for the first two days.  I have since moved it and this problem started. Restarted,reset,unplugged,changed remotes, no change. Latest software update. This is really annoying.  iPhone remote app works just fine.  Any suggestions?

    That's one of the weird things.. it recognizes it maybe 10% of the time. And usually, only after I do the two-button reset. Problem is.. since it won't charge above 2%, anytime I try to do a restore or anything like that using iTunes, my device shuts off and I lose whatever progress I'd made.
    So, an update... after reading through a bunch of similar complaints (there are literally 1000's of them so there's NO WAY this isn't somehow ios7 related, thanks a lot APPLE ) I decided to try a restore in recovery mode. After 3 hours and several disconnections... I ended up having to just set it up as a new iPad, as the restore did nothing. Weirdly though... as I was doing the restore in recovery mode.. I noticed I'd gotten up to a 10% charge.. higher than it's been since September, so after setting it up as a new device, I turned it off and plugged it in using the wall charger. 2 hours later and I was up to 38%. Still not great, as my iPad, before ios7 could've fully charged twice in the amount of time it took for me to now get 28% more of a charge. And that's with a fully cleaned out device.. so that really ***** and I'm now more confused than ever.
    But I'm gonna leave it overnight charging and see what I come up with tomorrow. Sadly, when I paid $600 for it in February, I never expected to have to play "wait and see" with it...

  • I mean that i phone take time to open apps ,contact ,etc why? i close all apps and the problem still?

    i mean that i phone take time to open apps ,contact ,etc why? i close all apps and the problem still?

    Try a reset by pressing and holding the home and power buttons for 15-20 seconds until the white Apple logo appears.

  • HT204053 i want to change my icloud id on my iPhone, but it won't let me now that i have upgraded.  I no longer have the password and the problem is It is using an old id which the email isn't valid and the security question does not think my birthday is

    I want to change my icloud id on my iPhone, but it won't let me now that i have upgraded.  I no longer have the password and the problem is It is using an old id which the email isn't valid and the security question does not think my birthday is valid.  I cannnot delete the account because "find my iphone" wants the password linked to this old account.  But when i go into the find my iphone app it is using my corect Apple ID.  How do i fix this?

    If you still have access to your old email address, go to https//appleid.apple.com, click Manage my Apple ID and sign in with your iCloud ID.  Tap edit next to the primary email account, tap Edit, change it back to your old email account and verify it.  Then edit the name of the account to change it back to your old email address.  You can now use your current password to turn off Find My iPhone on your device. Then go to Settings>iCloud, tap Delete Account and choose Delete from My iDevice when prompted (your iCloud data will still be in iCloud).  Next, go back to https//appleid.apple.com and change your primary email address and iCloud ID name back to the way it was.  You can now go to Settings>iCloud and sign in with your correct iCloud ID and password.
    If you don't have access to your old email address, you will have to contact Apple to have them reset the password so you can disable Find My iPhone and sign into your iCloud account.  You can either go to https://expresslane.apple.com, select "More Products and Services", then "Apple ID", then  on the next page select "Other Apple ID Topics", then "Lost or forgotten Apple ID password" and click "Continue"; or you can contact Apple Support (http://www.apple.com/support/icloud/contact/).

  • How to use the Variants in SAP Transportation and what is its use ?

    Hi experts,
    How to use the Variants in SAP Transportation and what is its use & How to create a variant in SAP ?
    Can anybody answer this ?
    Regards,
    Shakti

    Hi,
    If you are asking about "slection vairants" in SPRO settings of "shipment cost document" then
    When it is activated,
    each user can have his own slecetion  and list criteria for
    1. List shippment costs:calculation
    2. List shippment costs: settlement
    This can be directly saved from VI01 screen by the user.
    from environment> lists
    This is user specific only.
    Hope this helps.
    Regards,
    Sharan

Maybe you are looking for

  • XP home or Professional

    Need to purchase XP, is Pro worth the extra coin or should I get Home!

  • How to get component item list assembly Item

    Hi, I am trying to get component list with assembly item. I have assembly item number and serial number and i want to see all components with serial number for this assembly. Can any one tell me query for this? Thanks Ravi

  • Printing multiple pages at onece

    Hi, I need to print out a page for sevleral rows in a table without the user needing to click file print each time. Ideally i would have a button and when pressed it prints 20 + pages with the data having been changed on each one. The user should sel

  • Cannot load ABC iVIEW site

    I cannot load the specified website with 5.01 Firefox at all. I have uninstalled and reinstalled this version of the program, and other web browsers on my system have no problem with this website. I have Windows 7 64 bit. ?

  • How can I reset File Sharing?

    After spending many hours on the phone with Enterprise Support this weekend I have a lot of the glitches out of Lion Server 10.7.3. However I have a real important feature not working right now. I can't get my Share Points to work. I have created a G