Please help : Pipline function, error passing parameter

Hello,
Please help a DBA who's trying to make it with PL/SQL (on Oracle 10.2.0.4).
I'm just building a script to find the space used by all the segments (lob, index, partitions) related to a table.
Here is my problem, when I call a table function (DBMS_SPACE.OBJECT_DEPENDENT_SEGMENTS) from within a pipeline function i get an error,
if I turn that function into procedure it is running fine, if I hard code parameters it works...
When running as a function I get the error :
SQL> Select * from table(yke_size_info('SAPRD', 'REPOSRC'));
Select * from table(yke_size_info('SAPRD', 'REPOSRC'))
*+
ERROR at line 1:
ORA-20000: Object does not exist
ORA-06512: at "SYS.DBMS_SPACE", line 2673
ORA-06512: at "SYS.YKE_SIZE_INFO", line 40
=> line 40 is the call to DBMS_SPACE.OBJECT_DEPENDENT_SEGMENTS
Thank for your help, I'm getting crazy with this, I've been browsing Google & docs for hoors but no answer yet !
create or replace type r_size_info as object (
nb_par_tbl   number ,
nb_idx       number ,
nb_par_idx   number ,
nb_lob       number ,
used_par_tbl number ,
used_idx     number ,
used_par_idx number ,
used_lob     number ,
free_par_tbl number ,
free_idx     number ,
free_par_idx number ,
free_lob     number
+)+
+/+
create or replace type t_size_info as table of r_size_info;
+/+
CREATE OR REPLACE FUNCTION yke_size_info(o_wner varchar2, o_bject varchar2 ) RETURN t_size_info PIPELINED AS
r_size r_size_info := r_size_info(0,0,0,0,0,0,0,0,0,0,0,0);
obj_segment_owner   VARCHAR2(100);
obj_segment_name    VARCHAR2(100);
obj_segment_type    VARCHAR2(100);
obj_tablespace_name VARCHAR2(100);
BEGIN
FOR obj IN (SELECT segment_owner, segment_name, segment_type, tablespace_name FROM TABLE(dbms_space.object_dependent_segments(o_wner, o_bject, NULL, 1)))*
LOOP
If I change that line to hard code the parameter It's working :
FOR obj IN (SELECT segment_owner, segment_name, segment_type, tablespace_name FROM TABLE(dbms_space.object_dependent_segments('SAPSR3', 'REPOSRC', NULL, 1)))
If I turn the function into a procedure it is working :
CREATE OR REPLACE PROCEDURE yke_size_inf(o_wner varchar2, o_bject varchar2 ) AS
obj_segment_owner   VARCHAR2(100);
obj_segment_name    VARCHAR2(100);
obj_segment_type    VARCHAR2(100);
obj_tablespace_name VARCHAR2(100);
BEGIN
FOR obj IN (SELECT segment_owner, segment_name, segment_type, tablespace_name  FROM (TABLE(dbms_space.object_dependent_segments (o_wner, o_bject, NULL, 1))))*
LOOP

Not really sure what you are trying to achieve... and putting a pipeline function on top of another pipeline function seems unnecessary to me.
But using the basic code you've shown, the following works fine:
SQL> create or replace type TStrings is table of varchar2(4000);
  2  /
Type created.
SQL>
SQL> create or replace function FooPipe( objectName varchar2 ) return TStrings pipelined is
  2  begin
  3          for r in (
  4                  select
  5                          segment_owner, segment_name, segment_type, tablespace_name
  6                  from    table( dbms_space.object_dependent_segments(USER, objectName , NULL, 1))
  7          )
  8          loop
  9                  pipe row( r.segment_name||' is object('||r.segment_type||') in space('||r.tablespace_name||')' );
10          end loop;
11
12          return;
13  end;
14  /
Function created.
SQL>
SQL> select * from TABLE(FooPipe('TESTTAB'));
COLUMN_VALUE
TESTTAB is object(TABLE) in space(USERS)
SQL>

Similar Messages

  • I have been using GRAB to capture screen displays.  It has just stopped working since the last OSX Upgrade.  Can anyone, please help restore functionality?

    I have been using GRAB to capture screen displays.  It has just stopped working since the last OSX Upgrade.  Can anyone, please help restore functionality?

    Thanks for that.  I did as suggested but when I tried again, it still did not work.  Another  com.apple.Grab.plist appeared in the Library.
    I now have the following files in Library
    file://localhost/Users/peterpatel/Library/Preferences/com.apple.Grab.LSSharedFil eList.plist
    file://localhost/Users/peterpatel/Library/Preferences/com.apple.Grab.LSSharedFil eList.plist.lockfile
    file://localhost/Users/peterpatel/Library/Preferences/
    file://localhost/Users/peterpatel/Library/Preferences/com.apple.Grab.plist.lockf ile
    What do you suggest I do now?

  • Please help..Issue on getting parameter from a backend fm

    Dear Expert,
    I have a requirement which is to edit the ess~cod for the employee communication. I have copy out the function group ZHRXSS_COD_INTERFACE. I created my own function module ZCOD_VALIDATE and attached to the function group. My funtion module are just returning an export parameter and a table without getting any import parameter.
    I have create a ZCodModel (pointing to the ECC function group) and the model class is ZCod_Validate_Output. I have done all the reimporting of the model and context binding. My question is why i still not getting any value from the function module. I tested the fm in ecc and it works well.
    I have added the following code in do init.
    ZCod_Validate_Input Input = new ZCod_Validate_Input();
    wdContext.nodeZCod_Validate_Input().bind(Input);
    try {
    wdContext.currentZCod_Validate_InputElement().modelObject().execute();
    wdContext.nodeCod_Validate_Output().invalidate();
    } catch (Exception ex) {
    fpm.getMessageManager().raiseException(wdThis.wdGetAPI ().getComponent(), ex);
    Anyone can tell me why i am not getting the parameter? Please help me.
    Thanks.
    Regards,
    Bryan

    Hi Siva,
    Thanks for your reply.
    I got this error when i execute it? Anyway my function module does also return a table but i have yet to define a context to store it. I am just trying to get the value of the export parameter. If it success, then i can proceed to bind the table. However now, it seem getting an export parameter also giving me problems.
    java.lang.ArrayIndexOutOfBoundsException: -1
        at com.sap.mw.jco.JCO$Record.getString(JCO.java:12798)
        at com.sap.aii.proxy.framework.core.JcoBaseTypeData.getElementValueAsString(JcoBaseTypeData.java:669)
        at com.sap.tc.webdynpro.modelimpl.dynamicrfc.DynamicRFCModelClass.getAttributeValueAsString(DynamicRFCModelClass.java:427)
        at com.sap.xss.hr.cod.model1.Zhrxss_Cod_Validate_Output.getNameofposition(Zhrxss_Cod_Validate_Output.java:164)
        at com.sap.xss.hr.cod.wdp.IPublicFcCodBusinessLogicComp$IZhrxss_Cod_Validate_OutputElement.wdGetObject(IPublicFcCodBusinessLogicComp.java:6601)
    Thanks.
    Regards,
    Bryan

  • PLEASE HELP! Installation errors with creative suite 5.5 design premium?

    I recently tried to install creative suite 5.5 design premium on to my home computer with windows vista home premium and it was all going fine then right at the end of the installation this message popped up please help??
    Exit Code: 7
    -------------------------------------- Summary --------------------------------------
    - 1 fatal error(s), 14 error(s), 4 warning(s)
    WARNING: DW024: The payload: Adobe Photoshop CS5.1 Core  {08EF22BC-43B2-4B4E-BA12-52B18F418F38} requires a UI parent with following specification:
                    Family: Photoshop
                    ProductName: Adobe Photoshop CS5.1 Core_x64
                    This parent relationship is not satisfied, because this payload is not present in this session.
    ERROR: DW025: The payload with AdobeCode:  {857CC5F0-040E-1016-A173-D55ADD80C260} has required dependency on:
                    Family: InDesign
                    ProductName: Adobe InDesign CS5.5 Icon Handler x64
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this dependency from list. Product may function improperly.
    WARNING: DW025: The payload with AdobeCode:  {857CC5F0-040E-1016-A173-D55ADD80C260} has recommended dependency on:
                    Family: Adobe Web Suite CS5.5
                    ProductName: Adobe Media Encoder CS5.5 X64
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this payload from the dependency list.
    WARNING: DW025: The payload with AdobeCode:  {D8CCCF4C-C227-427C-B4BE-736657D2AB7E} has recommended dependency on:
                    Family: Adobe Web Suite CS5.5
                    ProductName: Adobe Media Encoder CS5.5 X64
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this payload from the dependency list.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
                    Family: CoreTech
                    ProductName: Adobe Player for Embedding x64 3.1
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
                    Family: Shared Technology
                    ProductName: Photoshop Camera Raw (64 bit)
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
                    Family: CoreTech
                    ProductName: AdobeCMaps x64 CS5
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
                    Family: CoreTech
                    ProductName: Adobe Linguistics CS5 x64
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
                    Family: CoreTech
                    ProductName: AdobePDFL x64 CS5
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
                    Family: CoreTech
                    ProductName: AdobeTypeSupport x64 CS5
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
                    Family: CoreTech
                    ProductName: Adobe WinSoft Linguistics Plugin CS5 x64
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this dependency from list. Product may function improperly.
    WARNING: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has recommended dependency on:
                    Family: Adobe Web Suite CS5.5
                    ProductName: Adobe Media Encoder CS5.5 X64
                    MinVersion: 0.0.0.0
                    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
                    Removing this payload from the dependency list.
    ERROR: DW020: Found payload conflicts and errors:
    ERROR: DW020:  - Adobe Dreamweaver CS5.5 depends on Adobe CSXS Extensions CS5.5 to be installed.
    ERROR: DW020:  - Adobe Photoshop CS5.1 Core depends on Adobe CSXS Extensions CS5.5 to be installed.
    ERROR: DW020:  - Adobe Illustrator CS5.1 depends on Adobe CSXS Extensions CS5.5 to be installed.
    ERROR: DW020:  - Adobe InDesign CS5.5 Application Base Files depends on Adobe CSXS Extensions CS5.5 to be installed.
    ERROR: DW020:  - Adobe Flash CS5.5 depends on Adobe CSXS Extensions CS5.5 to be installed.
    FATAL: DW020: Conflicts were found in the selected payloads. Halting installation.

    i tried all the thinks listed and uninstalled then reinstalled creative suite 5.5 design premium and yet again this showed up at the end please help it mean nothing to me help!
    Exit Code: 6
    -------------------------------------- Summary --------------------------------------
    - 0 fatal error(s), 17 error(s), 8 warning(s)
    WARNING: DW024: The payload: Adobe Photoshop CS5.1 Core  {08EF22BC-43B2-4B4E-BA12-52B18F418F38} requires a UI parent with following specification:
    Family: Photoshop
    ProductName: Adobe Photoshop CS5.1 Core_x64
    This parent relationship is not satisfied, because this payload is not present in this session.
    ERROR: DW025: The payload with AdobeCode:  {857CC5F0-040E-1016-A173-D55ADD80C260} has required dependency on:
    Family: InDesign
    ProductName: Adobe InDesign CS5.5 Icon Handler x64
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this dependency from list. Product may function improperly.
    WARNING: DW025: The payload with AdobeCode:  {857CC5F0-040E-1016-A173-D55ADD80C260} has recommended dependency on:
    Family: Adobe Web Suite CS5.5
    ProductName: Adobe Media Encoder CS5.5 X64
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this payload from the dependency list.
    WARNING: DW025: The payload with AdobeCode:  {D8CCCF4C-C227-427C-B4BE-736657D2AB7E} has recommended dependency on:
    Family: Adobe Web Suite CS5.5
    ProductName: Adobe Media Encoder CS5.5 X64
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this payload from the dependency list.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
    Family: CoreTech
    ProductName: Adobe Player for Embedding x64 3.1
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
    Family: Shared Technology
    ProductName: Photoshop Camera Raw (64 bit)
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
    Family: CoreTech
    ProductName: AdobeCMaps x64 CS5
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
    Family: CoreTech
    ProductName: Adobe Linguistics CS5 x64
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
    Family: CoreTech
    ProductName: AdobePDFL x64 CS5
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
    Family: CoreTech
    ProductName: AdobeTypeSupport x64 CS5
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this dependency from list. Product may function improperly.
    ERROR: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has required dependency on:
    Family: CoreTech
    ProductName: Adobe WinSoft Linguistics Plugin CS5 x64
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this dependency from list. Product may function improperly.
    WARNING: DW025: The payload with AdobeCode:  {D97AF04B-B70A-4862-BC25-31E6D9C4A529} has recommended dependency on:
    Family: Adobe Web Suite CS5.5
    ProductName: Adobe Media Encoder CS5.5 X64
    MinVersion: 0.0.0.0
    This dependency is not satisfied, because this payload is x64 and is not supported on this machine.
    Removing this payload from the dependency list.
    ----------- Payload: {CFA46C39-C539-4BE9-9364-495003C714AD} Adobe SwitchBoard 2.0 2.0.0.0 -----------
    WARNING: DF029: ARKServiceControl::StartService: Service not started/stopped SwitchBoard. Current State: 0 Exit Code: 0 Service Specific Exit Code: 0(Seq 1)
    ----------- Payload: {2EE4F060-CEE6-4002-AA8B-91B791541767} Pixel Bender Toolkit 2.6.0.0 -----------
    WARNING: DF035: CreateAlias:Icon file does not exist at C:\Program Files\Adobe\Adobe Utilities - CS5.5\Pixel Bender Toolkit 2.6\windows\pb_app.icofile:\\\C:\PIXELB~1\source\winwood\Staging    0X1.9E3C8AP-1022rea\windows\pb_app.ico42178f80493091e8e552c84a2897e9da68fce32_32_f8049309 1e8e552c84a2897e9da68fce for icon C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Adobe Design Premium CS5.5\Adobe Pixel Bender Toolkit 2.6.lnk with target C:\Program Files\Adobe\Adobe Utilities - CS5.5\Pixel Bender Toolkit 2.6\Pixel Bender Toolkit.exe(Seq 89)
    ----------- Payload: {BD85DFD4-005F-4219-8E27-C922CC4D8A61} Adobe CSXS Extensions CS5.5 2.5.0.0 -----------
    ERROR: DF024: Unable to preserve original file at "C:\Program Files\Common Files\Adobe\CS5.5ServiceManager\lib\CSXS-Installer-Hook.dll" Error 32 The process cannot access the file because it is being used by another process.(Seq 130)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 130)
    ----------- Payload: {4C08199E-0D93-4227-8325-F024E71CA7A1} Adobe SING CS5 3.0.0.0 -----------
    ERROR: DF024: Unable to preserve original file at "C:\Program Files\Common Files\Adobe\SING\Mark II\SING.dll" Error 32 The process cannot access the file because it is being used by another process.(Seq 2)
    ERROR: DW063: Command ARKDeleteFileCommand failed.(Seq 2)
    ----------- Payload: {8DADF070-FE60-4899-8EF0-4242E7702F7D} Adobe Fireworks CS5.1 11.1.0.0 -----------
    WARNING: DF012: File/Folder does not exist at C:\Users\Isabel\Desktop\Creative Suite 5.5 Design Premium\adobe 5.5 code\Creative Suite 5.5 Design Premium\Adobe CS5_5\payloads\AdobeFireworks11.1.0All\OEM(Seq 1215)
    ----------- Payload: {5BDE0A1B-35BF-4224-A54F-73786EECDFC1} Adobe Fireworks CS5.1_AdobeFireworks11.1.0en_GBLanguagePack 11.1.0.0 -----------
    WARNING: DF012: File/Folder does not exist at C:\Users\Isabel\Desktop\Creative Suite 5.5 Design Premium\adobe 5.5 code\Creative Suite 5.5 Design Premium\Adobe CS5_5\payloads\AdobeFireworks11.1.0en_GBLanguagePack\OEM(Seq 74)
    ----------- Payload: {7202D4A7-F7E6-4e7a-B77D-7B1C4E8B5CA6} Adobe Flash Player 10 ActiveX 10.0.0.0 -----------
    ERROR: Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action NewCustomAction1, location: C:\Users\Terry\AppData\Local\Temp\InstallAX.exe, command: -install activex -msi
    ERROR: Install MSI payload failed with error: 1603 - Fatal error during installation.
    MSI Error message: Error 1722.There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor. Action NewCustomAction1, location: C:\Users\Terry\AppData\Local\Temp\InstallAX.exe, command: -install activex -msi
    ERROR: DW050: The following payload errors were found during install:
    ERROR: DW050:  - Adobe SING CS5: Install failed
    ERROR: DW050:  - Adobe CSXS Extensions CS5.5: Install failed

  • Please Help!! Error in document : BKPFF $ DEVCLNT

    Hi All Gurus,
    I am trying to use BAPI - BAPI_ACC_DOCUMENT_POST to post to FB50.
    I am using the below paramaters -
    DOCUMENTHEADER         
    TABLES
           ACCOUNTGL              
           CURRENCYAMOUNT
    RETURN.
    But I am getting the error -   Error in document : BKPFF $ DEVCLNT. Can someone please help me with this. I have been breaking my head over this. Dont know what is going wrong!                     .
    Thanks, Nina.

    Thanks for all your help, Aaron.
    *T Y P E S *
    TYPES: BEGIN OF t_indata,
                   t_ddate(8) TYPE c,
                   t_ref(17) TYPE c,
                   t_dbank(8) TYPE c,
                   t_disno(4) TYPE c,
                   t_glacnt(10) TYPE c,
                   t_descrip(50) TYPE c,
                   t_damt(13) TYPE c,
                   t_jobid(8) TYPE c,
                   t_rexpen(8) TYPE c,
                   t_tperiod(8) TYPE c,
                   t_tnumb(8) TYPE c,
                   t_ctrans(8) TYPE c,
                   t_ccenter(10) TYPE c,
           END OF t_indata.
    TYPES: BEGIN OF t_error,
                   t_ddate(8) TYPE c,
                   t_ref(17) TYPE c,
                   t_dbank(8) TYPE c,
                   t_disno(4) TYPE c,
                   t_glacnt(10) TYPE c,
                   t_descrip(50) TYPE c,
                   t_damt(13) TYPE c,
                   t_jobid(8) TYPE c,
                   t_rexpen(8) TYPE c,
                   t_tperiod(8) TYPE c,
                   t_tnumb(8) TYPE c,
                   t_ctrans(8) TYPE c,
                   t_ccenter(10) TYPE c,
                   message(100)     type c,  " Error message
          END OF t_error.
    *W O R K A R E A S *
    DATA: w_indata TYPE t_indata,
          w_error TYPE t_error.
    *I N T E R N A L T A B L E S *
    DATA: i_indata TYPE STANDARD TABLE OF t_indata WITH HEADER LINE,
          i_error TYPE STANDARD TABLE OF t_error WITH HEADER LINE.
    DATA: i_acgl LIKE BAPIACGL09 OCCURS 0 WITH HEADER LINE,
          i_currency LIKE BAPIACCR09 OCCURS 0 WITH HEADER LINE,
          i_return LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE.
    *V A R I A B L E S *
    DATA: v_file       TYPE string,
          v_string(1022),                " To read data from file
          v_ddate(10)  TYPE c,
          v_pdate(10)  TYPE c,
          v_dcre       type wrbtr,            " Dollar Amount credit conv
          v_ddeb       TYPE wrbtr,           " Dollar Amount debit conv
          v_lines TYPE i,                   " used for format message
          v_msg(100),                        " used for Error message
          v_ind   TYPE i,
          v_index type i.
    DATA: V_DOCHEADER LIKE BAPIACHE09.
         V_OBJ_TYPE LIKE BAPIACHE09-OBJ_TYPE,
         V_OBJ_KEY LIKE BAPIACHE09-OBJ_KEY,
         V_OBJ_SYS LIKE BAPIACHE09-OBJ_SYS.
    *C O N S T A N T S *
    CONSTANTS: c_creacnt TYPE string VALUE '111444',  " Liability account
               c_del type x value '09',               " for hash delimited file
               c_fslash VALUE '\',                    " Used for Forward slash
               c_bslash VALUE '/'.                    " Used for backward slash
    *S E L E C T I O N S C R E E N
    SELECTION-SCREEN SKIP.
    SELECTION-SCREEN BEGIN OF BLOCK first WITH FRAME TITLE text-001.
    PARAMETERS: p_fname LIKE rlgrap-filename OBLIGATORY DEFAULT 'C:\CorpCard.txt',  " File name
                rd_pserv RADIOBUTTON GROUP radi DEFAULT 'X',                    " Pres. Server
                rd_aserv RADIOBUTTON GROUP radi.                                " App.  Server
    Error file
    parameters: p_efile type rlgrap-filename default
    '/tmp/CorpCard_error'.
    SELECTION-SCREEN END OF BLOCK first.
    At selection-screen
    Check which file is selected
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_fname.
    Perform to get the current value of the selection screen
      PERFORM get_current_value.
      IF rd_aserv = 'X'.
        MESSAGE i398 WITH 'Can not browse unix directories'(030).
      ELSE.
      F4 help for presentation server file name
        PERFORM get_local_file_name USING 'P_FNAME' CHANGING p_fname.
      ENDIF.
    AT SELECTION-SCREEN.
    perform to validate input file
      PERFORM validate_filename USING p_fname.
    S T A R T O F S E L E C T I O N *
    START-OF-SELECTION.
    Presentation File upload
      if rd_pserv = 'X'.
        perform upload_pre_file.
      endif.
    Unix File Upload
      if rd_aserv = 'X'.
        perform upload_unix_file.
      endif.
    Perform to populate the internal table to the bapi.
    PERFORM populate_debit.
    Perform to populate the internal table to the bapi.
    PERFORM populate_credit.
    Perform to process the input data and post to FB50
      PERFORM post_data.
    E N D O F S E L E C T I O N *
    END-OF-SELECTION.
    *if not i_error[] is initial.
    perform to generate error file and send to application server
    perform generate_error_report.
    endif.
    *&      Form  get_current_value
    FORM get_current_value .
    Local internal table for screen fields
      DATA: BEGIN OF i_dynpfields OCCURS 0.
              INCLUDE STRUCTURE dynpread.
      DATA: END OF i_dynpfields.
      CLEAR   i_dynpfields.
      REFRESH i_dynpfields.
      i_dynpfields-fieldname = 'RD_ASERV'.
      APPEND i_dynpfields.
      CALL FUNCTION 'DYNP_VALUES_READ'
        EXPORTING
          dyname               = sy-cprog
          dynumb               = sy-dynnr
        TABLES
          dynpfields           = i_dynpfields
        EXCEPTIONS
          invalid_abapworkarea = 1
          invalid_dynprofield  = 2
          invalid_dynproname   = 3
          invalid_dynpronummer = 4
          invalid_request      = 5
          no_fielddescription  = 6
          invalid_parameter    = 7
          undefind_error       = 8
          double_conversion    = 9
          OTHERS               = 10.
      IF sy-subrc <> 0.
        MESSAGE i398  WITH 'Unbale to read the selection screen values'(031)
      ELSE.
        READ TABLE i_dynpfields INDEX 1.
        IF sy-subrc = 0.
          MOVE i_dynpfields-fieldvalue TO rd_aserv.
        ENDIF.
      ENDIF.
    ENDFORM.                    " get_current_value
    *&      Form  get_local_file_name
    FORM get_local_file_name USING p_file
                          CHANGING p_cfile.
    Local variable
      DATA: l_fname LIKE ibipparms-path,   " File name
            v_repid LIKE sy-repid.
      l_fname = p_file.
      v_repid = sy-repid.
      CALL FUNCTION 'F4_FILENAME'
        EXPORTING
          program_name  = v_repid
          dynpro_number = sy-dynnr
          field_name    = p_file
        IMPORTING
          file_name     = l_fname
        EXCEPTIONS
          OTHERS        = 1.
      IF sy-subrc = 0.
        p_cfile = l_fname.
      ENDIF.
    ENDFORM.                    " get_local_file_name
    *&      Form  validate_filename
    FORM validate_filename  USING p_fname TYPE any.
      IF rd_aserv = 'X'.
    Local variable for file length
        DATA : l_len TYPE i.
        l_len = STRLEN( p_fname ).
        IF p_fname CA space.
          IF sy-fdpos < l_len.
            MESSAGE e398 WITH 'File name should not contain spaces'(032).
          ENDIF.
        ENDIF.
        IF p_fname CA c_fslash.
          MESSAGE e398 WITH 'File name should not contain \'(033).
        ENDIF.
        IF p_fname NA c_bslash. " No directory path given
          MESSAGE w398 WITH 'File will be created in home directory'(034).
        ENDIF.
      ENDIF.
      IF p_fname0(1) = c_fslash AND p_fname1 = space.
        MESSAGE e398 WITH 'File name should not contain only /'(035).
      ENDIF.
    ENDFORM.                    " validate_filename
    *&      Form  upload_pre_file
    FORM upload_pre_file.
    v_file = p_fname.
      CALL FUNCTION 'GUI_UPLOAD'
        EXPORTING
          filename                = v_file
          filetype                = 'ASC'
          has_field_separator     = 'X'
          dat_mode                = ' '
        TABLES
          data_tab                = i_indata
        EXCEPTIONS
          file_open_error         = 1
          file_read_error         = 2
          no_batch                = 3
          gui_refuse_filetransfer = 4
          invalid_type            = 5
          no_authority            = 6
          unknown_error           = 7
          bad_data_format         = 8
          header_not_allowed      = 9
          separator_not_allowed   = 10
          header_too_long         = 11
          unknown_dp_error        = 12
          access_denied           = 13
          dp_out_of_memory        = 14
          disk_full               = 15
          dp_timeout              = 16
          OTHERS                  = 17.
      IF sy-subrc <> 0.
        MESSAGE e398 WITH 'Unable to upload the file'(002).
      ENDIF.
    ENDFORM.                    " upload_pre_file
    *&      Form  upload_unix_file
    FORM upload_unix_file .
      open dataset p_fname for input in text mode encoding default.
      if sy-subrc <> 0.
        message i398 with 'File open error(012)'(012) p_fname.
        stop.
      else.
        do.
          clear: v_string.
          read dataset p_fname into v_string.
          case sy-subrc.
            when 0.
              split v_string at c_del
                   into  i_indata-t_glacnt
                         i_indata-t_descrip
                         i_indata-t_damt
                         i_indata-t_ccenter.
                append i_indata.
              clear i_indata.
            when 4.
              exit.
            when 8.
              message i398 with 'Unable to Read the File'(008) p_fname.
              stop.
          endcase.
        enddo.
        close dataset p_fname.
      endif.
    ENDFORM.                    " upload_unix_file
    *&      Form  post_data
    FORM post_data .
    V_DOCHEADER-BUS_ACT = 'RFBU'.
    *V_DOCHEADER-OBJ_TYPE = 'BKPF'.
    *V_DOCHEADER-OBJ_KEY = '$'.
    V_DOCHEADER-USERNAME = 'VSAWANT'.
    V_DOCHEADER-COMP_CODE = 'BP01'.
    V_DOCHEADER-DOC_DATE = SY-DATUM.
    V_DOCHEADER-PSTNG_DATE = SY-DATUM.
    *V_DOCHEADER-FIC_PERIOD = '00'.
    V_DOCHEADER-HEADER_TXT = 'Amex Card Upload'.
    V_DOCHEADER-DOC_TYPE = 'SA'.
       CALL FUNCTION 'BAPI_ACC_DOCUMENT_POST'
         EXPORTING
           DOCUMENTHEADER          = V_DOCHEADER
         CUSTOMERCPD             =
         CONTRACTHEADER          =
       IMPORTING
          OBJ_TYPE                = V_DOCHEADER-OBJ_TYPE
          OBJ_KEY                 = V_DOCHEADER-OBJ_KEY
          OBJ_SYS                 = V_DOCHEADER-OBJ_SYS
         TABLES
           ACCOUNTGL               = i_acgl
         ACCOUNTRECEIVABLE       =
         ACCOUNTPAYABLE          =
         ACCOUNTTAX              =
           CURRENCYAMOUNT          = i_currency
         CRITERIA                =
         VALUEFIELD              =
         EXTENSION1              =
           RETURN                  = i_return.
         PAYMENTCARD             =
         CONTRACTITEM            =
         EXTENSION2              =
         REALESTATE              =          .
    refresh i_acgl.
    refresh i_currency.
    clear i_acgl.
    clear i_currency.
    if V_DOCHEADER is initial.
      i_error[] =  i_indata[] .
        read table i_return index 1.
        i_error-message = i_return-message.
        append i_error.
        clear  i_error.
    else.
        CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
        wait up to 3 seconds.
    endif.
    ENDFORM.                    " post_data
    *&      Form  populate_debit
    FORM populate_debit .
    DATA: l_debamt(16) type c.
    clear: v_index,
           l_debamt.
    loop at i_indata from 2.
    v_ddeb = i_indata-t_damt.
      v_dcre = v_dcre + i_indata-t_damt.
      v_index = v_index + 1.
        i_acgl-ITEMNO_ACC = v_index.
        i_acgl-GL_ACCOUNT = i_indata-t_glacnt.
        i_acgl-ITEM_TEXT = i_indata-t_descrip.
        i_acgl-DOC_TYPE = 'SA'.
        i_acgl-COMP_CODE = 'BP01'.
        i_acgl-COSTCENTER = i_indata-t_ccenter.
        i_acgl-DE_CRE_IND = 'S'.
        append i_acgl.
        clear i_acgl.
       write v_ddeb to l_debamt currency 'USD'.
        i_currency-ITEMNO_ACC = v_index.
        i_currency-CURRENCY = 'USD'.
        i_currency-AMT_DOCCUR = i_indata-t_damt.
        append i_currency.
        clear i_currency.
       clear: v_ddeb.
    endloop.
    ENDFORM.                    " populate_debit
    *&      Form  populate_credit
    FORM populate_credit .
    DATA: l_creamt(16) type c.
    clear: l_creamt.
      v_index = v_index + 1.
        i_acgl-ITEMNO_ACC = v_index.
        i_acgl-GL_ACCOUNT = c_creacnt.
       i_acgl-ITEM_TEXT = .
        i_acgl-DOC_TYPE = 'SA'.
        i_acgl-COMP_CODE = 'BP01'.
        i_acgl-DE_CRE_IND = 'H'.
        append i_acgl.
        clear: i_acgl.
       write v_dcre to l_creamt currency 'USD'.
        i_currency-ITEMNO_ACC = v_index.
        i_currency-CURRENCY = 'USD'.
        i_currency-AMT_DOCCUR = v_dcre.
        append i_currency.
        clear: i_currency.
        clear: v_index.
    ENDFORM.                    " populate_credit
    *&      Form  generate_error_report
    FORM generate_error_report .
    data: credit(16) type c.
    WRITE :/1 'Title: Corporate Card Upload'(006),
             / 'Program:'(007), sy-repid,
             /  'Date:'(008), SY-DATUM.
      skip 1.
      uline:/(200).
      format color col_heading on.
      write:/(1) sy-vline,
             (8) 'Posting Date'(020),
             (1) sy-vline,
             (12) 'GL Account'(021),
             (1) sy-vline,
             (17) 'Description'(022),
             (1) sy-vline,
             (17) 'Dollar Amount'(023),
             (1) sy-vline,
             (17) 'Cost Center'(024),
             (1) sy-vline,
             (100) 'Error/Success Message'(028),
             (1) sy-vline.
      uline:/(200).
      format color off.
      write:/(1) sy-vline,
              (8) sy-datum,
              (1) sy-vline,
              (12) '113000',
              (1) sy-vline,
              (17) 'Clearing Account',
              (1) sy-vline,
              (17) v_dcre,
              (1) sy-vline,
              (100) i_error-message,
              (1) sy-vline.
      uline:/(200).
      loop at i_error from 2.
        write:/(1) sy-vline,
               (8) sy-datum,
               (1) sy-vline,
               (12) i_error-t_glacnt,
               (1) sy-vline,
               (17) i_error-t_descrip,
               (1) sy-vline,
               (17) i_error-t_damt,
               (1) sy-vline,
               (17) i_error-t_ccenter,
               (1) sy-vline,
               (100) i_error-message,
               (1) sy-vline.
      endloop.
      uline:/(200).
    clear: v_dcre.

  • [Error] }Passing Parameter to Crystal Reports

    When I pass the parameter to .rpt from asp.net(vb).
    (e.g.: http://domain/report.aspx?p=123)
    That's fine for my local development pc(w2kpro).
    But, when I put the project to server(w2kserver),
    (e.g.: http://domain:8080/report.aspx?p=123)
    then, the web page always prompt the inquiry for the parameter.(just the attached file.)
    Please help!
    SM

    Please re-post if this is still an issue to the .NET Development - Crystal Reports Forum or purchase a case and have a dedicated support engineer work with you directly

  • URGENT ! Please Help ! Navigation error....

    Hi,
    I am getting the following error during navigation from summary report to detail report..
    View Display Error
    Odbc driver returned an error (SQLExecDirectW).
    Error Details
    Error Codes: OPR4ONWY:U9IM8TAC:OI2DL65P
    State: HY000. Code: 10058. [NQODBC] [SQL_STATE: HY000] [nQSError: 10058] A general error has occurred. [nQSError: 17001] Oracle Error code: 1858, message: ORA-01858: a non-numeric character was found where a numeric was expected at OCI call OCIStmtExecute:
    My summary report has a dummy column name 'All' and I have specified a navigation to another detail report. However it is throwing me this error when trying to navigate. This is happening even when I am not passing any filters to the detail report. Please help me to resolve this issue as I need to get this done right away.

    Couple of things you can check to isolate the prb
    Run the detail report individually w/o navigating from the summary report
    Also make sure if your summary report runs well as such.
    As long as they run indivdually and you not even passing filters ideally it shouldnt cause any issue... Does it generate a SQL?
    Thanks
    Prash

  • Please help with cfscript error!

    When I run my app, I got this error:
    sdfst_catcherror is recording this error: Context validation
    error for tag cfscript.; The start tag must have a matching end
    tag. An explicit end tag can be provided by adding
    </cfscript>. If the body of the tag is empty you can use the
    shortcut <cfscript .../>.
    The CFML compiler was processing:
    a cfscript tag beginning on line 45, column 4.
    a cfscript tag beginning on line 45, column 4.
    When I checked my codes, all the
    <cfscript></cfscript> have the pairs. There are only 2
    pairs of <cfscript</cfscript> in this template.
    See my code structure below:
    <!--- the first <cfscript pair> --->
    <cfscript>
    function getTRS(var5)
    some codes here...
    return TRS;
    </cfscript>
    <cffunction name="FrmTxt" returntype="Struct">
    <cfargument name="EmpCodes" required="true"
    type="array">
    <cfargument name="EmpID" required="true"
    type="numeric">
    <cfquery name="GetEmpInfo>
    Select * from......
    </cfquery>
    <cfset varFrms = GetEmpInfo.EmpCodes>
    <cfset A_Key = 1>
    <cfset structFrmTxt = StructNew()>
    <!--- The second pair --->
    <cfscript>
    Some codes here....
    Need to output #TRS# returned by getTRS(var5) set above
    </cfscript>
    <cfreturn structFrmTxt>
    </cffunction>
    From other CF forum I learned that I can't put getTRS(var5)
    within the second <cfscript></cfscript> within
    <CFFUNCTION> pair
    it says "You can't put UDF within UDF or method within
    method". When I did originally, I got this error:
    Unable to complete CFML to Java translation, Error
    information unsupported statement: class
    coldfusion.compiler.ASTfunctionDefinition
    I'm stuck and can't find any resources to solve this problem
    anymore, please help!....

    When I checked my codes, all the
    <cfscript></cfscript> have the pairs.
    This error can often mean that you did not properly end a
    previous code
    block or line. So the closing </cfscript> is being
    considered part of
    that unclosed code. For me, it is often a missing semi-colon
    [;] on the
    last line I wrote, missing a closing curly bracket [}] could
    do it as well.
    Check your code, this is seldom more then missing a bit of
    syntax.

  • Please help me on error -200284 for usb6008 data A/D

    Hi,
    I am working on the A/D using usb6008, I program in visual c++.  I create a dialog to test the function of sample program: contAcquireNChan.c               in  NI-DAQmx Base.  I just changed the mode to DAQmx_Val_FiniteSamps and each time I just want to get several data. I used a button to start the a/d. The following is the code. The problem is very strange that while I click the start button for the sixth time, this error -200284 will occur when calling this function:
     DAQmxErrChk (DAQmxBaseReadAnalogF64taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByScanNumber,data,2,&pointsRead,NULL));
    The discription of this error is:
    "Some or all of the samples requested have not yet been acquired.
    To wait for the samples to become available use a longer read timeout or read later in your program. To make the samples available sooner, increase the sample rate."
    I do not know what happened. And how to solve this problem. Please help me.
    The following is the code:
    void CBTTest001Dlg:nStart()
       // Task parameters
        int32       error = 0;
        TaskHandle  taskHandle = 0;
        char        errBuff[2048]={'\0'};
        time_t      startTime;
        bool32      done=0;
        // Channel parameters
        char        chan[] = "Dev1/ai0";
        float64     min = -10.0;
        float64     max = 10.0;
        // Timing parameters
        char        clockSource[] = "OnboardClock";
        uInt64      samplesPerChan = 2;
        float64     sampleRate = 2000.0;
        // Data read parameters
        #define     bufferSize (uInt32)1000
        float64     data[bufferSize * 5];
        int32       pointsToRead = bufferSize;
        int32       pointsRead;
        float64     timeout = 10.0;
        int32       totalRead = 0;
     index++;
     if(index==6)
        int a =0;
     m_bWorkFlag = true; 
      double a1= data[0];
      double a2= data[1];
      double a3= data[2];
      double a4= data[3];
      DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));
      DAQmxErrChk (DAQmxBaseCreateAIVoltageChan(taskHandle,chan,"",DAQmx_Val_RSE,min,max,DAQmx_Val_Volts,NULL));
      DAQmxErrChk (DAQmxBaseCfgSampClkTiming(taskHandle,clockSource,sampleRate,DAQmx_Val_Rising,DAQmx_Val_FiniteSamps,samplesPerChan));
      DAQmxErrChk (DAQmxBaseCfgInputBuffer(taskHandle,2000)); //use a 100,000 sample DMA buffer
      DAQmxErrChk (DAQmxBaseStartTask(taskHandle));
      DAQmxErrChk (DAQmxBaseReadAnalogF64(taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByScanNumber,data,2,&pointsRead,NULL));
     //    printf("\nAcquired %d total samples.\n",totalRead);
      m_fAnalog1 = data[0];
      m_fAnalog2 = data[1];
      m_fAnalog3 = data[2];
      m_fAnalog4 = data[3];
      m_fAnalog5 = data[4];
      UpdateData(false);
      if(taskHandle != 0) {
    //   DAQmxBaseStopTask (taskHandle);
       DAQmxBaseClearTask (taskHandle);
     return;
    Error:
        if( DAQmxFailed(error) )
            DAQmxBaseGetExtendedErrorInfo(errBuff,2048);
        if( DAQmxFailed(error) )
            printf("DAQmxBase Error: %s\n",errBuff);

    Dear Neal,
    Thank you so much !!
    "DAQmx Base was designed for use on operating systems other than Windows". Maybe that's the reason why I always met problems.  I am using windows now !! The only reason for me to use DAQmx Base is that it comes with the USB6008 device so that I think NI recommend to use it ! I also downloaded DAQmx from NI but I did not tried it (in fact it took me several hours to switch the firmware back to DAQmx Base ). I will try It now and tell you the result.
    "You say that you thought you solved the issue but did you not?"
    Yes.
    " Did you add the stop task function before and that is what you thought solved the issue? "
    Yes.
    I started from the example and do some modifications. First I met -200284 error and I found it is the caused by wrong number of data to be read. I changed to finite namber data read.
    Then I met sixth reading problem, at that time I use a button clicking to read the data.when I read for the sixth time, It will occur (I forgot the phenomena). I added a  stop task function and I thoought I solved the problem. I knew for a finite number data reading, stop function is not needed, but I do not have any other method so I tried it. "sixth reading problem" solved, but When I move the data reading function to ontimer function recently. The program will halt -- take 99% of CPU time after 30 second of reading (sometime several minutes, sometimes several seconds). If I move the start task back to OnInitialUpdate() function and cancel stop function, halt error will not occur but the data I read in not correct. That is the whole thing. The following is the code relative to the data read.
    Initialization;
    void Ctest2Dlg:nInitialUpdate()
       DAQmxErrChk (DAQmxBaseCreateTask("",&taskHandle));
      DAQmxErrChk (DAQmxBaseCreateAIVoltageChan(taskHandle,chan,"",DAQmx_Val_RSE,min,max,DAQmx_Val_Volts,NULL));
      DAQmxErrChk (DAQmxBaseCfgSampClkTiming(taskHandle,clockSource,sampleRate,DAQmx_Val_Rising,DAQmx_Val_ContSamps ,samplesPerChan));
    Data read
    void Ctest2Dlg:nTimer(UINT nIDEvent)
      if(taskHandle != 0)
         DAQmxErrChk (DAQmxBaseStartTask(taskHandle));
       DAQmxErrChk (DAQmxBaseReadAnalogF64(taskHandle,pointsToRead,timeout,DAQmx_Val_GroupByScanNumber,data,100,&pointsRead,NULL));
       DAQmxBaseStopTask (taskHandle);

  • PLEASE HELP!  Installation error :ORA-12154 - TNS

    Hi everyone,
    When I'm installing 9ilite and when it comes to the mobile server repository screen, it get an error message :"ORA-12154 - TNS: could not resolve service name".
    But my service name pass the test of TNSPING.
    Please help me and any suggestion is greatly apprieciated.
    Thank you very much!
    Tonie

    Check your tnsnames.ora and make sure that webtogo.world tns entry is correct. The entry should refer to the
    correct database service name.

  • Please Help regard function that will return values of each JComboBox items

    I'd like to create a function that will return values of each item on the JComboBox at a time when
    I click on each item of a comboBox. I had this following codes, but didn't work.
    Please help me !!!Please correct it... thanks a million
    String wp;
    String text;
    String A[] = {"WARNIGNS","CAUTIONS","NOTES"};
    JComboBox ABC = new JComboBox();
    for (int i=0;i<A.length;i++) {
    ABC.addItem (A);
    text = Get_It(); //assigns each value of JComboBox's item to variable text when clicks at each item
    //of a comboBOx
    private String Get_It(){
    ABC.addActionListener(new ActionListener (){
    public void actionPerformed(ActionEvent e){
    wp = (String)CBweapon.getSelectedItem() ;
    return wp;

    import javax.swing.*;
    import java.awt.event.*;
    import java.awt.*;
    public class AlertFrame extends JFrame {
    String s_alert[] ={"WARNIGNS","CAUTIONS","NOTES"};
    JComboBox CBweapon;
    String wpText;
    public AlertFrame() {
    super("Alerts");
    Container contentPane = getContentPane();
    contentPane.setLayout(null);
    setSize(600,600);
    CBweapon = new JComboBox();
    for (int i=0;i<s_weapon.length;i++) {
    CBweapon.addItem (s_weapon);
    contentPane.add(CBweapon);
    CBweapon.setActionCommand("");
    //set position for components
    CBweapon.setBounds(370 + insets.left,295+ insets.top, 150,30);
    System.out.println(getit()); //calling getit() function
    //this function will be return a String of JcomboBOx value if click on each item of combobox
    private String getit(){
    CBweapon.addActionListener( new ActionListener (){
    public void actionPerformed(ActionEvent e){
    wpText = (String)CBweapon.getSelectedItem() ;
    return wpText;
    public static void main(String args[]) {
    AlertFrame af = new AlertFrame();
    af.addWindowListener(new WindowAdapter() {
    public void windowClosing(WindowEvent e) {
    System.exit(0);
    **I have no errors on compile or run, but it didn't return a string value to System.out.println(getit());
    It maybe because of the "void" of public void actionPerformed(ActionEvent e){
    wpText = (String)CBweapon.getSelectedItem() ;
    Please help me

  • Please help with this error: "Your request could not be completed because of a disk error"

    So photoshop cs6 was working fine a few weeks ago. After not using it for about 2 weeks, I try opening a RAW file and I get this error every time. JPGs open and work fine. I have extensively searched on the internet for solutions and have tried everything such as: disk checking, deframgenting, playing around with photoshop preferences, deleting temp files, resetting preferences, clearing disk space. I have assigned two hard drives for photoshop, one with 16 GB free and the other with 8 GB free. I am getting very frustrated. Please help!

    mistahbo1 wrote:
    …I have assigned two hard drives for photoshop, one with 16 GB free and the other with 8 GB free. I am getting very frustrated. Please help!
    That's woefully inadequate for scratch file space.
    The rule of thumb I follow says to figure on 50 to 100 times the size of your largest file ever multiplied by the number of files you have open.  I have seen the scratch file exceed 300 GB once, an admittedly rare occurrence, but it often exceeds 200 GB when stitching large panoramas and the like.
    Additionally, if either one those two drives you mention with "16 GB free and the other with 8 GB free" happened to be your boot drive, you'd be in a heap of trouble because neither one of those drives has nearly enough space to accommodate the swap files of the OS and Photoshop's scratch.
    As an example—and stressing that I'm aware that others have even more scratch space than I do—I keep two dedicated, physically separate hard drives as my primary and secondary Photoshop scratch disks and a lot of GB free on my boot drive for the OS.  I have 16 GB of RAM installed:

  • Please help me regarding error in jcManager 1.1

    Hi Friends..
    perhaps this question especially for bebecanu, but perhaps i hope all of you could help me too.. :)
    i tried to learn how way jcManager works, so i downloaded the jcManager1.1 source..
    i created new application in Netbeans 6.9, and then i copied all of files in the jcmanager.source..
    i've set the libraries needed also in Netbeans, i've added the libraries of jpcsc.jar and looks-2.1.4.jar , so assume that there's no error while compile time..
    but while runtime, there's message error displayed in the TextArea..
    this is the message error :
    Exception in thread "Thread-3" java.lang.NoClassDefFoundError: Could not initialize class com.linuxnet.jpcsc.PCSC
         at com.braicu.jcm.card.CardWorker.disconnectCard(CardWorker.java:507)
         at com.braicu.jcm.JCManager$22.construct(JCManager.java:620)
         at com.braicu.jcm.layout.MySwingWorker$2.run(MySwingWorker.java:108)
         at java.lang.Thread.run(Thread.java:619)so, how to initialize class com.linuxnet.jpcsc.PCSC in Netbeans?..
    Please help me regarding this..
    Thanks in advance..

    Hi
    You need to have jpcsc.dll (you may find it in the res folder) in your java library path.
    So, all you need to do is to specify this VM argument on running:
    -Djava.library.path=res
    Hope it helps
    Stefan

  • Please Help: Playstation Banned Error Code WS-37338-4

    Hi I tried signing into the PSN and got the error code WS-37338-4 saying that "Access to PSN from this PS4 has been banned or temporarily suspended." Can someone please help? I don't play online and literally use my login to update my squads on fifa so I have no idea how I got banned.

    ReesFitz92 wrote:
    Check your emails. I know they've been banning a number of accounts due to buying coins.They are also clamping down on game sharing particularly the suckers buying cheap digital games off Ebay.

  • Please help! AN ERROR OCCERED INSIDE A PLUGIN CONTAINED ON THIS PAGE

    i use quicktime 7 and when i click links that would be a video that is quicktime when using aol it pops up with a message saying AN ERROR OCCERED INSIDE A PLUGIN CONTAINED ON THIS PAGE then you click ok then another one pops up saying THE PLUGIN DID NOT INITIALIZE PROPERLY. PLEASE HELP!

    The same thing happens to me when I am using Microsoft Internet Explorer 7 on my Gateway (Windows XP Home, SP2, 512 RAM). However, once I get the error message, and open another QuickTime file, the browser displays a "IE has encountered a problem and needs to close," and shuts down MSIE. Please help!
    Macbook 1.83 GHz   Mac OS X (10.4.7)  

Maybe you are looking for

  • Duplicate Invoices alert

    Hi All, I have a requirement for report development for Invoice processing purpose.Let say in one month i have total invoice processed in SAP 1000.out of it 25 invoices are duplicate.means it has already processed by unknowingly. I want to display in

  • Missing HP Solution Center

    Missing HP Solution Center for an HP Officejet j6480. Have uninstalled and reinstalled multiple times.  Can no longer uninstall program.  Was trying to install newest version of the software.  Any ideas?  HP support ideas were worthless. 

  • Large PDFs from Indesign CS5 under Lion

    Has anyone noctived the incredibly large PDFs exported from Indesign CS5 under OS X 10.7 Lion?... When OS X 10. Snow Leopard all was great, though now I have noticed HUGE differences!!?? crazy. example Indesign exported to pdf 106mb Print to file, th

  • Sand art effect - Xcode app for iPhone

    how can i make a "sand art" interactive section in the iphone app I'm creating on xcode? Do I need Cocos2d?

  • Better solution for Photoshop CC update error U44M1P34

    How can I fix Photoshop CC update error U44M1P34 without uninstalling ALL OF MY ADOBE PRODUCTS !?