Error while extracting Employee details in Webdynpro application

Hi,
I am using below codes to extract details from Employess in Method tab
wd_this->fire_to_alv_table_plg(  ).
  DATA lo_nd_employee TYPE REF TO if_wd_context_node.
  DATA lo_el_employee TYPE REF TO if_wd_context_element.
  DATA lt_employee TYPE wd_this->elements_employee.
  DATA ls_employee TYPE wd_this->element_employee.
navigate from <CONTEXT> to <EMPLOYEE> via lead selection
  lo_nd_employee = wd_context->get_child_node( name = wd_this->wdctx_employee ).
  DATA lo_el_context TYPE REF TO if_wd_context_element.
  DATA ls_context TYPE wd_this->element_context.
  DATA lv_emp_no LIKE ls_context-emp_no.
  DATA lv_num TYPE I.
get element via lead selection
  lo_el_context = wd_context->get_element(  ).
get single attribute
  lo_el_context->get_attribute(
    EXPORTING
      name =  `EMP_NO`
    IMPORTING
      value = lv_emp_no ).
  SELECT ZZORGEH ZZ_PER_ASSG BEGDA ENDDA INTO CORRESPONDING FIELDS OF TABLE
      lt_employee  FROM PA9027 WHERE PERNR EQ lv_emp_no AND ENDDA EQ '99991231'.        
  DESCRIBE TABLE lt_employee LINES lv_num.       
  lo_nd_employee->BIND_TABLE( lt_employee ).
  data lo_cmp_usage type ref to if_wd_component_usage.
  lo_cmp_usage =   wd_this->wd_cpuse_alv( ).
  if lo_cmp_usage->has_active_component( ) is initial.
    lo_cmp_usage->create_component( ).
  endif.
  DATA lo_INTERFACECONTROLLER TYPE REF TO IWCI_SALV_WD_TABLE .
  lo_INTERFACECONTROLLER =   wd_this->wd_cpifc_alv( ).
  DATA lo_value TYPE ref to cl_salv_wd_config_table.
  lo_value = lo_interfacecontroller->get_model( ).
Set Visible Row Count as 5
  lo_value->if_salv_wd_table_settings~set_visible_row_count( lv_num ).
The Config Table Setting to Display Table & Business Graphics
  DATA: l_ref_config_table TYPE REF TO if_salv_wd_table_settings,
        l_display_as TYPE salv_wd_constant VALUE '02'.
  l_ref_config_table ?= lo_value.
  l_ref_config_table->set_display_as( value = l_display_as ). 
endmethod.
It is giving me error saying Field "WDCTX_EMPLOYEE" is unknown. It is neither in one of the          
specified tables nor defined by a "DATA" statement . . . . . . . . . .          
Can u tell me where i am going wrong..
Thanks
Shan

Well wd_this->wdctx_employee is the generated constant to hold the name of your context node.  I would say that one of three things caused this error.
1.  You type the code (or cut and pasted it) and this context node name is spelled different or doesn't exist in the local context (maybe not copied from a component controller yet?).
2.  You haven't activated the component/view yet so the attribute hasn't been generated in the dynamic class.  Comment out the code, activate, then remove the comments.
3.  You had the context named employee and entered the code (or used the wizard to generate it).  Everything was fine.  Then you renamed the context - this would lead to breaking the code because the name changed and the constant no longer exists in the generated class.
Any way around this - check you context node name and make sure it matches what is referenced in the code.

Similar Messages

  • Error while extracting XML file from the application server

    Hi ,
    I am writing a XML file into the application server, after which when i try to extract the file to the local server using the report - RFASLDPC ,
    the file is extracted, but with a '#' symbol at the first position.
    Because of which the XML File does not open. But after i open the file in notepad and manually delete the '#' symbol and then reopen the file, it works fine.
    Is there any way to remove the '#' symbol while extracting itself ??
    Thanks in advance,
    Vikas.

    Select the option "No Character Set Conversion" in stead of Code page 1100.
    However, I still have troubles -> the downloaded xml file misses a space on several places. This causes errors too.

  • Application Manager gives back error (EX11) while installing InDesign CS6 (error while extracting in

    Hello, I need help regarding the Application Manager
    Application Manager gives back the error (EX11) while installing InDesign CS6 (error while extracting in temporary folders).
    I don´t have problems installing PS, Acrobat etc.
    Any idea?
    Thanks

    I would have never figured that out myself. Thank you so much! On behalf on my dad a big thanks as well, because he is going to use Adobe InDesign CC (2014).
    Here, a local, standard user account worked for me. However, the password of an Administrator account was required once.
    Here, any username longer than 13 created that error code, for example I tried "AInDesignCC14" unsuccessfully. Usernames with 12 or less characters worked, for example "InDesignCC14" worked.
    Just renaming an existing account did not work, because the personal folders did not change in name. Therefore, I was forced to create a new account.
    Windows 7 Ultimate (32bit, German), Apple Boot Camp; a vanilla installation

  • Error while processing library references. Unresolved application library

    Hi All,
    I created one ADF task-flow,in which I used content from share point, and then I converted portlets and deployed into integrated WLS server.and then I consumed thoese portlets into web-center spaces its working file.
    but i want to deploy those portlets into standalone server while deploying those I am getting following Errors. I am using 11.1.1.1.6 version for all my development.(Jdeveloper,webcenter and all).
    [07:48:08 PM] [Deployer:149193]Operation 'deploy' on application 'SP2010_application1' has failed on 'AdminServer'
    [07:48:08 PM] [Deployer:149034]An exception occurred for task [Deployer:149026]deploy application SP2010_application1 on AdminServer.: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.content.jcr.sharepoint, Specification-Version: 11.1.1, exact-match: false]..
    [07:48:08 PM] Weblogic Server Exception: weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.content.jcr.sharepoint, Specification-Version: 11.1.1, exact-match: false].
    [07:48:08 PM] See server logs or server console for more details.
    [07:48:08 PM] weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: oracle.webcenter.content.jcr.sharepoint, Specification-Version: 11.1.1, exact-match: false].
    [07:48:08 PM] #### Deployment incomplete. ####
    [07:48:08 PM] Remote deployment failed (oracle.jdevimpl.deploy.common.Jsr88RemoteDeployer)
    please take a look into this. resolve me.
    regards
    Siva

    George,
    To solve my problemn I uninstall my JDev, remove all folders (Oracle_home, and JDeveloper folder in users - app data - roaming). Install again, and get Webcenter Bundle from Help - Updates. Before a uninstall I was using a bundle that a have here in my machine.
    Thks

  • Error while extracting data from data source 0RT_PA_TRAN_CONTROL, in RSA7

    Hi Gurs,
    I'm getting the below error while extracting data from data source 0RT_PA_TRAN_CONTROL, in RSA7. (Actullly this is IS Retail datasource used to push POSDM data into BI cubes)
    The error is:
    Update mode "Full Upload" is not supported by the extraction API
    Message no. R3011
    Diagnosis
    The application program for the extraction of the data was called using update mode "Full Upload". However, this is not supported by the InfoSource.
    System Response
    The data extraction is terminated.
    Procedure
    Check for relevant OSS Notes, or send a problem message of your own.
    Your help in this regd. would be highly appreciated.
    Thanks,
    David.

    Hi David,
    I have no experience with IS Retail data sources. But as message clearly say this DS is not suppose to be ran in Full mode.
    Try to switch you DTPs/Infopackages to Delta mode.
    While to checking extraction in source system, within TA RSA3 = Extractor checker, kindly switch Update mode field to Delta.
    BR
    m./

  • Time Stamp Error while extracting data from R/3

    Hi,
        We are getting time stamp error while extracting data from R/3.
    To solve this problem we did replication and run RS_TRANSTRU_ACTIVATE_ALL program. still we are facing same problem.
    Please suggest me to solve.
    Thanks
    Subba Rao

    Hi,
    Time stamp error arises when the time stamp of the data source in source  system and target system are different.
    For we have again activate data source in R/3 system using transaction RSA5 or RSA6 and in BI system goto transaction RSDS and replicate the data source.
    You can also find time stamp details for a data source in tables ROOSGEN and ROOSOURCE tables in BI and R/3 system respectively.
    Here are some useful links.
    [R3 016 Time stamp error where is it in BI?;
    [time stamp error in bi7;
    [Timestamp error in BI7;
    Thanks,
    Venu

  • Tried to install OS X Yosemite on my MacBook. Got message that it could not be installed on my computer due to error while extracting files from package "Essentials.pkg". When i quit the installer as recommended it goes in a loop and gets stuck.

    Tried to install OS X Yosemite on my MacBook. Got message that it could not be installed on my computer due to error while extracting files from package "Essentials.pkg". When i quit the installer as recommended it goes in a loop and gets stuck.

    Hey corrafromlondon,
    Thanks for the question. After reviewing your post, it sounds like the installer file isn't working. Have you tried deleting the installer and redownloading the installer? I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
    How to install OS X Yosemite on your Mac - Apple Support
    you can find the Yosemite installer app in your Applications folder or Launchpad. 
    Thanks for using Apple Support Communities.
    Have a nice day,
    Mario

  • Error while extracting the data in R/3 production system,

    Hi Team,
    We got the following error while extracting the data in R/3 production system,
    Error 7 When Sending an IDoc R3 3
    No Storage space available for extending the inter 44 R3 299
    No storage space available for extending the inter R3 299
    Error in Source System RSM 340
    Please guide us to fix the issue

    It´s very difficult to help you without knowing
    - what is going to be transferred
    - where you get this error
    - system configuration
    - actual memory usage
    - operating system
    - database and configuration etc. etc.etc. etc.
    I suggest you open an OSS call and let the support have a look on your system. It´s much easier if one has system access to find out the cause for that problem.
    Markus

  • Error while processing library references. Unresolved application library r

    Hi Experts,
    When i try to deploy .ear file in weblogic 11g server (linux 64-bit redhat OEL 5.46), I am facing following error.
    Please help me out to resolve it.
    Eror Message
    <May 6, 2011 7:32:40 PM IST> <Error> <Deployer> <BEA-149265> <Failure occurred in the execution of deployment request with ID '1304690560384' for task '8'. Error is: 'weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: org.apache.commons.httpclient, exact-match: false].'
    weblogic.management.DeploymentException: [J2EE:160149]Error while processing library references. Unresolved application library references, defined in weblogic-application.xml: [Extension-Name: org.apache.commons.httpclient, exact-match: false].
    at weblogic.application.internal.flow.CheckLibraryReferenceFlow.prepare(CheckLibraryReferenceFlow.java:26)
    at weblogic.application.internal.BaseDeployment$1.next(BaseDeployment.java:613)
    at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
    at weblogic.application.internal.BaseDeployment.prepare(BaseDeployment.java:184)
    at weblogic.application.internal.EarDeployment.prepare(EarDeployment.java:58)
    Truncated. see log file for complete stacktrace
    >
    <May 6, 2011 7:44:58 PM IST> <Alert> <WebLogicServer> <BEA-000396> <Server shutdown has been requested by weblogic>
    <May 6, 2011 7:44:58 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SUSPENDING>
    [JCABindingManager] : This operation is not supported for JCA based MDB
    <May 6, 2011 7:45:00 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to ADMIN>
    <May 6, 2011 7:45:00 PM IST> <Notice> <WebLogicServer> <BEA-000365> <Server state changed to FORCE_SHUTTING_DOWN>
    <May 6, 2011 7:45:00 PM IST> <Notice> <Server> <BEA-002607> <Channel "Default[3]" listening on fe80:0:0:0:be30:5bff:fed3:5db0:8001 was shutdown.>
    <May 6, 2011 7:45:00 PM IST> <Notice> <Server> <BEA-002607> <Channel "Default[1]" listening on 10.108.26.246:8001 was shutdown.>
    <May 6, 2011 7:45:00 PM IST> <Notice> <Server> <BEA-002607> <Channel "Default[7]" listening on 0:0:0:0:0:0:0:1:8001 was shutdown.>
    <May 6, 2011 7:45:00 PM IST> <Notice> <Server> <BEA-002607> <Channel "Default[6]" listening on 127.0.0.1:8001 was shutdown.>
    <May 6, 2011 7:45:00 PM IST> <Notice> <Server> <BEA-002607> <Channel "Default[2]" listening on fe80:0:0:0:200:ff:fe00:0:8001 was shutdown.>
    <May 6, 2011 7:45:00 PM IST> <Notice> <Server> <BEA-002607> <Channel "Default" listening on 192.168.122.1:8001 was shutdown.>
    <May 6, 2011 7:45:00 PM IST> <Notice> <Server> <BEA-002607> <Channel "Default[4]" listening on fe80:0:0:0:fcff:ffff:feff:ffff:8001 was shutdown.>
    <May 6, 2011 7:45:01 PM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    <May 6, 2011 7:45:01 PM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    <May 6, 2011 7:45:01 PM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    <May 6, 2011 7:45:01 PM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    <May 6, 2011 7:45:01 PM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    <May 6, 2011 7:45:05 PM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    [TopLink Info]: 2011.05.06 19:45:06.235--ServerSession(255740887)--deferred_session logout successful
    [TopLink Info]: 2011.05.06 19:45:06.236--ServerSession(256131953)--tracking_session logout successful
    <May 6, 2011 7:45:06 PM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    <May 6, 2011 7:45:06 PM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    <May 6, 2011 7:45:06 PM IST> <Warning> <oracle.adf.share.ADFContext> <BEA-000000> <Automatically initializing a DefaultContext for getCurrent.
    Caller should ensure that a DefaultContext is proper for this use.
    Memory leaks and/or unexpected behaviour may occur if the automatic initialization is performed improperly.
    This message may be avoided by performing initADFContext before using getCurrent().
    To see the stack trace for thread that is initializing this, set the logging level of oracle.adf.share.ADFContext to FINEST>
    <May 6, 2011 7:45:09 PM> <FINEST> <NodeManager> <Waiting for the process to die: 20074>
    <May 6, 2011 7:45:09 PM> <INFO> <NodeManager> <Server was shut down normally>
    <May 6, 2011 7:45:09 PM> <FINEST> <NodeManager> <runMonitor returned, setting finished=true and notifying waiters>
    Thanks
    Phani

    George,
    To solve my problemn I uninstall my JDev, remove all folders (Oracle_home, and JDeveloper folder in users - app data - roaming). Install again, and get Webcenter Bundle from Help - Updates. Before a uninstall I was using a bundle that a have here in my machine.
    Thks

  • Error while saving Employee Billrates through OAF page

    Dear All,
    I am facing the below mentioned error while saving Employee Bill rates for any project through OAF interface. I have tried saving the same through FORMS interface and its getting saved. The Unique constraint on the error log is on the table PA_EMP_BILL_RATE_OVERRIDES and the column is EMP_BILL_RATE_OVERRIDE_ID and we have a sequence for generating Unique id. The sequence used is PA_EMP_BILL_RATE_OVERRIDES_S.
    Please note that the error only fires on insertion of new record in the table PA_EMP_BILL_RATE_OVERRIDES, on updation error doesn't fire.
    The Constraint definition on the table is :
    create unique index PA.PA_EMP_BILL_RATE_OVERRIDES_U2 on PA.PA_EMP_BILL_RATE_OVERRIDES (EMP_BILL_RATE_OVERRIDE_ID)
    ERROR : java.sql.SQLException: ORA-00001: unique constraint (PA.PA_EMP_BILL_RATE_OVERRIDES_U2) violated

    Dear All,
    I am facing the below mentioned error while saving Employee Bill rates for any project through OAF interface. I have tried saving the same through FORMS interface and its getting saved. The Unique constraint on the error log is on the table PA_EMP_BILL_RATE_OVERRIDES and the column is EMP_BILL_RATE_OVERRIDE_ID and we have a sequence for generating Unique id. The sequence used is PA_EMP_BILL_RATE_OVERRIDES_S.
    Please note that the error only fires on insertion of new record in the table PA_EMP_BILL_RATE_OVERRIDES, on updation error doesn't fire.
    The Constraint definition on the table is :
    create unique index PA.PA_EMP_BILL_RATE_OVERRIDES_U2 on PA.PA_EMP_BILL_RATE_OVERRIDES (EMP_BILL_RATE_OVERRIDE_ID)
    ERROR : java.sql.SQLException: ORA-00001: unique constraint (PA.PA_EMP_BILL_RATE_OVERRIDES_U2) violated

  • Error while extracting huge volumes of data from BW

    Hi,
    we see this error while extracting huge volumes of data (apprx 3.4 million and with more no.of columns) and we see this error.
    R3C-151001: |Dataflow DF_SAPSI_SAPSI3131_SAPBW_To_Teradata
    Error calling R/3 to get table data: <RFC Error:
    Key: TSV_TNEW_PAGE_ALLOC_FAILED
    Status: EXCEPTION SYSTEM_FAILURE RAISED
    No more storage space available for extending an internal table.
    >.
    We are not sure if DoP works with source as SAP BW, but when tried with DoP also, we got the same error.
    Will this issue be resolved with an R/3 or ABAP dataflow? Can anyone suggest some possible solutions for this scenario?
    Sri

    The problem is that you've reached the maximum memory configure for your system.
    If this is batch job reconfigure the profile parameter
    abap/heap_area_nondia
    Markus

  • Error While extracting data from FIAA and FIAP

    Hi Gurus,
    I am facing error while extracting data from R/3 Source. 0FIAA, 0FIAP datasources. I am getting the same error repeatedly. No data will come BW. When I checked in RSA3 I can extract records.
    Ther Error is as follows:
    Request still running
    Diagnosis
    No errors could be found. The current process has probably not finished yet.
    System response
    The ALE inbox of the SAP BW is identical to the ALE outbox of the source system
    and/or
    the maximum wait time for this request has not yet run out
    and/or
    the batch job in the source system has not yet ended.
    Current status
    No Idocs arrived from the source system.
    Kindly help. Your points are assured.
    Thanks and Regards
    Prasad

    Hello Prasad,
    Have you already checked what happened in the source system ?
    You should verify if a job is running in sm37, or if there is no dump runtime errors due to the extraction in st22.
    It could be a clue of what happened in R/3.
    Let us know,
    Regards,
    Mickael

  • Error while extract DME file

    Hello Experts,
    One user is getting an error while extract DME (Payment File) from customized transaction. Other users are able to save the file on desired location.
    Error: C:\AB\filename.TXT not allowed in subscreens (Screen: )
    Please let me how to solve this issue.
    Thanks in advance.
    Regards,
    JA

    Closed Not Answered

  • Error while extracting from BI source

    Hi,
    We are facing a wierd problem:
    Scenario:
    Loading data from one DSO to another DSO with the help of transformation
    The DTP fails at second data package each time. First data package goes successfully but it fails at the second data package) We have tried to vary the data package for e.g. 100 records, 5 records etc.....no matter what we do the load fails at the second data package with the following error message.
    Error:
    Data package processing terminated
    Error while extracting from source EPUD0002 (type InfoProvider)
    System error in program SAPLRS_EXCEPTION and form RS_EXCEPTION_TO_MESSAGE (see long text)
    Unknown error in SQL interface
    Error reading the data of InfoProvider EPUD0002
    Exception CX_RS_STEP_FAILED logged
    Workaround:
    We tried to increase the number of data package size so that all the records can be processed in only one data package and the load has never to request for 2nd data package . BUT as the data package size is big it takes long time to process and never completes....
    FYI...Our transformation has lots of abap coding ...
    Addn Info:
    SAP_BW   700   0010
    BI_CONT   703   0005
    SAP_BASIS  700  0010
    Any help will be highly appreciated...
    - Amit

    There must be some bug in the code which is causing this issue.
    try to debug it,
    refer: /people/community.user/blog/2007/03/29/sap-netweaver-70-bi-extended-capabilities-to-debug-a-data-transfer-process-dtp-request
    /people/dirk.herzog/blog/2005/02/11/abap-development-in-sap-bw

  • Error while setting up enviroment for the application

    Hi,
    Im getting a popup box displaying the error message
    C:\WINDOWS\system32\ntvdm.exe
    Error while setting up enviroment for the application. Choose 'Close' to terminate the application.
    When I try to excute an external exe, why am I getting this error? and is there a way of getting this exe to execute properly without the error?
    Here my code for excuting the external exe
    String[] cmd = {"C:/gen.exe", "C:/a.zip"};
    Process p = Runtime.getRuntime().exec(cmd);
    p.waitFor(); "gen.exe" is the program i wish to execute and "a.zip" is the parameter i wish to excute it with.

    class ExecRuntime {
    public static void main(String args[]) throws Exception {
    String[] cmd = {"C:\\gen.exe", "C:\\a.zip"};
    Process p = Runtime.getRuntime().exec(cmd);
    p.waitFor();
    } Here we need to use backslashes, because the command is passed to the OS as is.
    If you need to be in C:\ to execute from command line, you will also need to use the
    exec() version that allows you to specify the 'current directory'
    Edited by: baftos on Mar 7, 2008 12:13 PM

Maybe you are looking for

  • Returning a row of data in a stored procedure

    Please help me remember how to return a row or rows from a pl/sql query in a stored procedure. I am having a major brain fart.

  • Finder Not Responding After PB Wakens

    I have a brand new (day old) Aluminum PB with the following configuration: 1. 1.67Ghz G4 2. 1.5G RAM (DDR2 SDRAM) 3. Mac OSX 10.4.3 It replaces a 3 year old Titanium running 10.4.3 which has never exhibited the problems below. -- THE PROBLEM -- When

  • Release date for n82

    is there a release date yet? or is it available now?

  • Creating templates

    how do you create templates in pages on the iphone? has anyone tried to create these.

  • I have doubt to find table name?

    I know the description of table.But i dont know the table? How can i find the table just by knowing the description of that table. Regards, lokesh