How to run commands like "ipconfig" and get the output in adobe AIR in windows?

import flash.desktop.NativeProcess; 
import flash.desktop.NativeProcessStartupInfo;   
if (NativeProcess.isSupported) {     
     var npsi:NativeProcessStartupInfo = new NativeProcessStartupInfo();     
     var processpath:File = File.applicationDirectory.resolvePath("MyApplication.whatever");     
     var process:NativeProcess = new NativeProcess();       
     npsi.executable = processpath;     
     process.start(npsi); 
The above can only run a sub-application, but how to run an independent  application(command) like ipconfig and get the result?

Hi,
here is an example of running a net Use command line from AIR, unig the new NativeProcess. Hope it will help !
function launchProcess()
  var file = air.File.applicationDirectory;
  // set command path
  file = file.resolvePath("C:/Windows/system32/net.exe");
  var nativeProcessStartupInfo = new air.NativeProcessStartupInfo();
  nativeProcessStartupInfo.executable = file;
  // prepare command parameters
  var args = new runtime.Vector["<String>"]();
  args.push('USE');
  args.push('W:');
  args.push('/delete');
  args.push('/y');
  // set arguments
  nativeProcessStartupInfo.arguments = args;
  // add listeners to catch command outputs
  process.addEventListener(air.ProgressEvent.STANDARD_OUTPUT_DATA, onOutputData);
  process.addEventListener(air.ProgressEvent.STANDARD_ERROR_DATA, onErrorData);
  process.addEventListener(air.NativeProcessExitEvent.EXIT, onExit);
  // create and run Native process
  process = new air.NativeProcess();
  process.start(nativeProcessStartupInfo);
function onOutputData(ProgressEvent)
  var processResults = process.standardOutput.readUTFBytes(process.standardOutput.bytesAvailable);
  air.trace("Results: \n" + processResults);
function onErrorData(ProgressEvent)
  var processResults = process.standardError.readUTFBytes(process.standardError.bytesAvailable);
  if(processResults.search('password') > -1){
    window.alert('Bad password');
  air.trace("Errors: \n" + processResults);
function onExit(NativeProcessExitEvent)
  air.trace("Process ended with code: " + NativeProcessExitEvent.exitCode);

Similar Messages

  • When I invoke Itunes I get an "error 7 (Windows 193)" message. I have reinstalled twice and get the same message. I have Windows 7 64 bit machine. Can someone help?

    When I invoke Itunes I get an "error 7 (Windows 193)" message. I have reinstalled twice and get the same message. I have Windows 7 64 bit machine. Can someone help?

    Uninstall your existing copy of iTunes. Delete any copies of the iTunesSetup.exe (or iTunes64Setup.exe) installer files from your downloads areas for your web browsers and download a fresh copy of the iTunes installer from the Apple website:
    http://www.apple.com/itunes/download/
    (The current build of the 11.1.4.62 installer was changed a few days ago, which fixed the bulk of the reports of MSVCR80.dll/R6034/APSDaemon.exe/Error-7/AMDS-could-not-start trouble ... but the build number on the installer was not changed. So we're trying to make sure you do the reinstall using a "new good" 11.1.4.62 installer instead of an "old bad".)
    Does the install with the new copy of the installer go through properly? If so, does that clear up the error message?
    If you still have the same error messages cropping up, then try the procedures from the following user tip:
    Troubleshooting issues with iTunes for Windows updates

  • How to write code to print and save the output in my GUI?

    I had been searching on code to program print and save commands to print and save the output from the GUI but to no avail. Can someone help me?

    The output will be link from the previous GUI page. Hence the output is a page with Jtable and a button for print to print the information in the JTable.

  • Having trouble in running a unix command and getting the output

    Hi,
    I am trying to run a unix command from within the java code. I am not able to make it work. I am enclosing the code and the error message that I am getting. Any help is highly appreciated.
    import java.io.*;
    public class RunCommand {
        public static void main(String args[]) {
            String s = null;
            try {
                Process p = Runtime.getRuntime().exec("cat UNIX_ASCII_TEXT_FILE | A_UNIX_PROGRAM -d");
                BufferedReader stdInput = new BufferedReader(new InputStreamReader(p.getInputStream()));
                BufferedReader stdError = new BufferedReader(new InputStreamReader(p.getErrorStream()));
                // read the output from the command
                System.out.println("Here is the standard output of the command:\n");
                while ((s = stdInput.readLine()) != null) {
                    System.out.println(s);
                // read any errors from the attempted command
                System.out.println("Here is the standard error of the command (if any):\n");
                while ((s = stdError.readLine()) != null) {
                    System.out.println(s);
                System.exit(0);
            catch (IOException e) {
                System.out.println("exception happened - here's what I know: ");
                e.printStackTrace();
                System.exit(-1);
    }The error message that I am getting is
    Here is the standard output of the command:
    SLu|%%$$=
    Here is the standard error of the command (if any):
    cat: cannot open |
    cat: cannot open A_UNIX_PROGRAM
    cat: cannot open -dLooks like the cat command is working and not the pipe command and the command after the pipe. But when I run the UNIX command from the command prompt I get the expected result.

    You might read this article and see if its approach works.
    http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html

  • Should i return my macbook pro 13 inch and get the baseline 13 inch air?

    i recently bought the 13 inch baseline mbp non retina. I am majoring in mechanical engineering and thsi will be my junior year so my main programs i will be using will be matlab, c++, and maple. I was wondering if i should return this and get the new macbook air 13inch with the 128 gb ssd.  my main concerns are that the processor is not powerful enough and the ram is too low and the hard drive is too small. let me know what you think. some things that i really like are the battery life and the new wifi? Please give me any information that could help my decision. I do plan on upgrading my ram from 4gb to 8gb in a few weeks.

    If you buy an AIR, you will be locked into whatever it has. For life. The regular model can be upgraded in both the RAM and the drive, be it an HDD or an SSD.
    If you determine you need better graphics performance, get a 15" regular instead. Has twin GPUs and vastly better graphics results.

  • Running Interactive commands in java and displaying the output.

    Hi All,
    I'm running a sample code to execute a user defined command (cmd1) and display the results. The output of the command when executed in command prompt is
    (1) Executing the command cmd1
    (2) Do you want to continue(Y/N)_ <waits for user input>
    (3) Based on user input
    (Y) Displays the results
    (N) Interrupted
    But i'm facing problem when i execute the below code. When the results are being displayed instead of displaying line(1) and (2) and then waiting for the input- the code waits for the input and then only displays the results.
    O/p
    inside output
    inside input
    y (------ gets the input and then only displays the results).
    Executing the command cmd1
    Do you want to continue(Y/N)
    results
    Please help out how to resolve this issue.
    Thanks.
    Sample Code for reference.
    import java.util.*;
    import java.io.*;
    public class SampleCheck {
         public static void main(String[] args) throws Exception {
              (new SampleCheck()).test();
         void test() throws Exception {
              Process proc = Runtime.getRuntime().exec("cmd1");
              // any error from the process?
              StreamHandlerErr errorStream = new StreamHandlerErr(proc
                        .getErrorStream(), System.err);
              // any output from the process?
              StreamHandlerOutput outputStream = new StreamHandlerOutput(proc
                        .getInputStream(), null);
              // any input to the process?
              // FileInputStream fin = new FileInputStream(new File("textfile1.txt"));
              StreamHandlerInput inputStream = new StreamHandlerInput(System.in, proc
                        .getOutputStream());
              // start the stream threads
              // errorStream.start();
              outputStream.start();
              inputStream.start();
              // wait till it returns
              int exitVal = proc.waitFor();
              System.exit(exitVal);
         class StreamHandlerInput extends Thread {
              InputStream is;
              OutputStream os;
              StreamHandlerInput(InputStream is, OutputStream os) {
                   this.is = is;
                   this.os = os;
              public void run() {
                   System.out.println("inside input");
                   try {
                        int c;
                        while ((c = is.read()) != -1) {
                             os.write(c);
                             System.out.println("c= " + c);
                             os.flush();
                   } catch (IOException e) {
                   System.out.println("End of Run Method..Input");
         class StreamHandlerOutput extends Thread {
              InputStream is;
              OutputStream os;
              File f=new File("jbsrt_output.txt");
              StreamHandlerOutput(InputStream is, OutputStream os) {
                   this.is = is;
                   this.os = os;
              public void run() {
                   System.out.println("inside output");
                   try {
                        int c;
                        FileOutputStream fs=new FileOutputStream(f);
                        /*PrintStream ps =new PrintStream(;
                        ps.print(arg0)
                        ps.close();*/
                        InputStreamReader ir = new InputStreamReader(is);
                        //System.out.println(ir.read());
                        BufferedReader br = new BufferedReader(ir);
                        String line = null;
                        while((line=br.readLine())!=null)
                             System.out.println(line);
                   } catch (Exception e) {
                   System.out.println("End of Run Method..Output");
         class StreamHandlerErr extends Thread {
              InputStream is;
              OutputStream os;
              StreamHandlerErr(InputStream is, OutputStream os) {
                   this.is = is;
                   this.os = os;
              public void run() {
                   System.out.println("inside Err");
                   try {
                        int c;
                        while ((c = is.read()) != -1) {
                             os.write(c);
                             os.flush();
                   } catch (IOException e) {
                   System.out.println("End of Run Method..Err");
    }

    Console input is line buffered. This means you only get the first character a line after the newline has been inputed.
    The same thing happen if you just type on the console.
    I am not aware of any simple way around this.
    IDEs get around this by changing the application run so that the input/output is captured as it happens and sent over a socket connection.

  • Run the Report as a Background job and Get the Output in Excel in Local PC

    Hello Gurus,
    I have one following requirement.
    One should be able to run the report as a background job and it should be possible to get the report in Excel format, also when running the report in background. The excel report should have the same information and look as the current SAPreport.
    Please provide some solution.
    Any helpful answer get surely awarded.
    Thanks a lot,
    Varlanir

    GUI_* WS_* Function In Background, CSV Upload
    GUI_* and WS_* function modules do not work in background
    When scheduling a job in the background the appropriate statement to read in your file is OPEN DATASET, and the file must be on the file system that the SAP server can see.
    At anytime, a user can switch of the Personal Computers even though the job is still running in the background.  Therefore GUI_* and WS_* function modules are not designed to work in that way, as they need to access your personal computer  file.
    To choose the correct download method to used, you can check the value of SY-BATCH in your code,
    if it is 'X' use OPEN DATASET and if it is ' ' use WS_UPLOAD.
    *-- Open dataset for reading
    DATA:
      dsn(20) VALUE '/usr/test.dat',
      rec(80).
    OPEN DATASET dsn FOR INPUT IN TEXT MODE.
    IF sy-subrc = 0.
      DO.
        READ DATASET dsn INTO rec.
        IF sy-subrc <> 0.
          EXIT.
        ELSE.
          WRITE / rec.
        ENDIF.
      ENDDO.
    ENDIF.
    CLOSE DATASET dsn.
    *-- Open dataset for writing
    DATA rec(80).
    OPEN DATASET dsn FOR OUTPUT IN TEXT MODE.
      TRANSFER rec TO '/usr/test.dat'.
    CLOSE DATASET dsn.
    What is the difference when we use upload, ws_upload, gui_upload function modules?
    UPLOAD, WS_UPLOAD, GUI_UPLOAD, are used in BDC concepts.  ie., Batch Data Communication.
    Batch Data Conversion is a concept where user can transfer the Data from non SAP to SAP R/3.  So , in these various Function Modules are used.
    UPLOAD---  upload a file to the presentation server (PC)
    WS_UPLOAD----    Load Files from the Presentation Server to Internal ABAP Tables.
    WS means Work Station.
    This is used upto SAP 4.6 version.
    GUI_UPLOAD-------    Replaces WS_UPLOAD. Upoad file from presentation server to the app server.  From 4.7 SAP version it is replaced.
    How to Upload csv file to SAP?
    Common File Download Upload Questions:
    How  you upload the data from text file to sap internal table?  From my knowledge its by upload or gui_upload. 
    How you download the data from sap internal table to text file?
    How  you upload the data from xls (excel) file to sap internal table how you download the data from sap internal table to xls(excel) file.
    You can upload data from presentation server to an internal table using gui_upload. Use gui_download to download from internal table to flat file.
    Use fm ALSM_EXCEL_TO_INTERNAL_TABLE to upload data frm excel.
    Use function module GUI_UPLOAD
    The FILETYPE refer to the type of file format you need: For e.g 'WK1' - Excel format , 'ASC' - Text Format etc.
    CALL FUNCTION 'GUI_UPLOAD'
      EXPORTING
        FILENAME                      = 'C:\test.csv'
       FILETYPE                      = 'ASC'
      TABLES
        DATA_TAB                      = itab
    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.

  • Execute command on UNIX and get the result

    I want to write a Java program, which can execute a shell script in UNIX and get back the result. Any idea?

    Check these two tips:
    How to execute a command from code
    http://www.java-tips.org/java-se-tips/java.lang/how-to-execute-a-command-from-code.html
    How to read output from a Command execution
    http://www.java-tips.org/java-se-tips/java.lang/how-to-read-output-from-a-command-execution.html

  • How can I parse GPO settings and get the GPOApplyOrder?

    I have created a script that will search all GPO's in the domain and parse only those which have Drive Map settings and writes the information to a .csv file.  I have tried to figure out a way to get the GPOApplyOrder to no avail.  The closest
    I have come to any sort of reasonable output is
    "@{GPOSettingOrder=}", which is better than the nothing I had been getting.  I think it would be really helpful if I could sort on the appy order so I could see the flow of the applied settings.  Here is what I have.
    # ==============================================================================================
    # NAME: GetGPO_DriveMappings.ps1
    # AUTHOR: Mike
    # DATE: 6/17/2014
    # Updated: 7/29/2014
    # COMMENT: This script will get all the GPO's in the domain. It will parse only the GPO's that have drive map settings.
    # The results are written to GetGPO_DriveMappings.csv
    # This script is written to be run from the domain that the GPO(s) is in.
    # NOTE: The script will not perform any group provisioning.
    # ==============================================================================================
    # set Variables and load assemblies
    ImportSystemModules
    Import-Module GroupPolicy
    [void][System.Reflection.Assembly]::LoadWithPartialName('Microsoft.VisualBasic')
    $ScriptPath = "R:\Procedural Instructions\Scripts\Get AD Object Info"
    # Get drive map settings from all GPOs.
    Function Get-DriveMappings
    # File listing the drive mappings via GPO.
    $ExportFile = "GetGPO_DriveMappings.csv"
    # Creates .csv file for logging.
    $Header = "GPO Name,Drive Letter,Action,Apply Order,Drive Path,Group,OU,User"
    Set-Content -Path $ScriptPath\$ExportFile -Value $Header
    $GPO = Get-GPO -All
    ForEach ($Policy in $GPO)
    $GPOID = $Policy.Id
    $GPODom = $Policy.DomainName
    $GPODisp = $Policy.DisplayName
    If (Test-Path "\\$($GPODom)\SYSVOL\$($GPODom)\Policies\{$($GPOID)}\User\Preferences\Drives\Drives.xml")
    [xml]$DriveXML = Get-Content "\\$($GPODom)\SYSVOL\$($GPODom)\Policies\{$($GPOID)}\User\Preferences\Drives\Drives.xml"
    ForEach ( $MapDrive in $DriveXML.Drives.Drive )
    $GPOName = $GPODisp
    $DriveLetter = $MapDrive.Properties.Letter + ":"
    $DrivePath = $MapDrive.Properties.Path
    $DriveAction = $MapDrive.Properties.action.Replace("U","Update").Replace("C","Create").Replace("D","Delete").Replace("R","Replace")
    $GPOApplyOrder = $MapDrive | Select GPOSettingOrder
    $Filters = $MapDrive.Filters
    $FilterOrgUnit = $null
    $FilterGroup = $null
    $FilterUser = $null
    ForEach ($FilterGroup in $Filters.FilterGroup)
    $FilterGroupName = $FilterGroup.Name
    ForEach ($FilterOrgUnit in $Filters.FilterOrgUnit)
    $FilterOrgUnitName = $FilterOrgUnit.Name
    $FilterOrgUnitName = $FilterOrgUnitName -Replace (",",";")
    ForEach ($FilterUser in $Filters.FilterUser)
    $FilterUserName = $FilterUser.Name
    $ExportText = "$GPOName,$DriveLetter,$DriveAction,$GPOApplyOrder,$DrivePath,$FilterGroupName,$FilterOrgUnitName,$FilterUserName"
    Add-Content -Path $ScriptPath\$ExportFile -value $ExportText
    # --End of Function: Get-DriveMappings--------------------------
    # Notifying that the scripted finished.
    Function Script-Finished
    [System.Reflection.Assembly]::LoadWithPartialName(“System.Windows.Forms”)
    [Windows.Forms.MessageBox]::Show(“Script completed successfully”,"GetGPO_DriveMappings.ps", [Windows.Forms.MessageBoxButtons]::OK, [Windows.Forms.MessageBoxIcon]::Information)
    # --End of Function: Script-Finished--------------------------
    # Main Code:
    # Execute the functions
    $ErrorActionPreference="SilentlyContinue"
    Get-DriveMappings
    Script-Finished
    $ErrorActionPreference="Stop"
    Thanks to all in advance.

    I am looking for the order in which the drive map settings are applied. Truly the GPOSettingOrder value. I guess was thinking that it was the order that the drives were mapped so that is what
    I named the variable. In the middle of it all it made sense, now with your question, from the outside looking in, it doesn't. My apologies.
    -<ExtensionData>
    -<Extension xsi:type="q3:DriveMapSettings" xmlns:q3="http://www.microsoft.com/GroupPolicy/Settings/DriveMaps">
    -<q3:DriveMapSettings clsid="{8FDDCC1A-0C3C-43cd-A6B4-71A6DF20DA8C}">
    -<q3:Drive clsid="{935D1B74-9CB8-4e3c-9914-7DD559B7A417}" bypassErrors="1" uid="{B7F4229B-9A38-4A52-A987-7FB0CA53BF26}" changed="2013-11-19 18:03:50" image="3" status="P:" name="P:">
    <q3:GPOSettingOrder>1</q3:GPOSettingOrder>
    <q3:Properties letter="P" useLetter="1" persistent="1" label="" path="\\---------------------\APPS" userName="" allDrives="NOCHANGE" thisDrive="NOCHANGE" action="D"/>
    -<q3:Filters>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="AND"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    <q3:FilterOrgUnit name="OU=---------------,DC=com" directMember="0" userContext="1" not="0" bool="OR"/>
    </q3:Filters>
    </q3:Drive>

  • How  to link between these tables and get the bom explosion

    tables : mast,stpo,makt
      SELECT AMATNR BMAKTX CIDNRK CMENGE C~MEINS  INTO CORRESPONDING FIELDS OF TABLE IT_COMP_IDEL FROM
                       MAST AS A INNER JOIN MAKT AS B ON AMATNR = BMATNR
                                 INNER JOIN STPO AS C ON ASTLNR = CSTLNR
                       WHERE AMATNR IN S_MATNR AND AWERKS IN S_WERKS.
    using cs13 to get the bom summary
    using these table to but i got only few materials only,
    but cs13 got more materials
    how can i solve that one
    Regards
    ds

    Hi,
    Just go through this program i think it will help u out.
    TABLES: MARA, MARC.
    TYPE-POOLS : fibs,stree.
    TYPES: BEGIN OF STRUCT_BOM,
            MATNR TYPE MATNR,          " Material Number
            WERKS TYPE WERKS_D,        " Plant
            IDNRK TYPE IDNRK,          " BOM Item
            STLAL TYPE STLAL,          " Alternative BOM
            STUFE TYPE HISTU,          " BOM Level
            OJTXB TYPE OJTXB,          " Object description (assembly)
           END OF STRUCT_BOM.
    *- table types
    types: t_bom type table of struct_bom.
    *Internal Tables to hold the BOM data.
    DATA: ITAB_BOM type table of STRUCT_BOM.
    DATA: WA_BOM TYPE STRUCT_BOM,
          wa_stb type stpox,
          wa_matcat type stpox.
    DATA: IT_STB       type standard table of STPOX,
          IT_STBC      type standard table of STPOX,
          IT_MATCAT    type standard table of CSCMAT.
    *-- to enter BOM DATA
    *Selection Options
    select-options: s_matnr for V_matnr,       "BOM Material
                    s_plant for V_werks.       "BOM Plant
    *Input Parameters
    parameters:     p_alter type stko-stlal,      "Alternate BOM
                    p_usage type stzu-stlan,      "BOM usage
                    p_appli type tc04-capid,      "BOM Application
                    P_CATE  TYPE STKO-STLTY DEFAULT 'M'.      "BOM Category
    INITIALIZATION.
    REFRESH ITAB_BOM.
    CLEAR WA_BOM.
    REFRESH IT_STB.
    REFRESH IT_MATCAT.
    START-OF-SELECTION.
    SELECT matnr
           werks
           stlal
           INTO CORRESPONDING FIELDS OF TABLE itab_bom
           FROM mast
           WHERE matnr IN s_matnr
           AND werks IN s_plant
           AND stlan = p_usage
           AND stlal = p_alter.
    CLEAR V_MATNR.
    CLEAR V_WERKS.
    DATA: WA_STB TYPE STPOX,
          WA_MATCAT TYPE CSCMAT.
        v_matnr = wa_bom-matnr.
        v_werks = wa_bom-werks.
        CALL FUNCTION 'CS_BOM_EXPL_MAT_V2'
          EXPORTING
            capid                 = p_appli
            datuv                 = sy-datum
            mktls                 = 'X'
            mehrs                 = 'X'
            mtnrv                 = v_matnr
            stlal                 = p_alter
            stlan                 = p_usage
            werks                 = v_werks
          TABLES
            stb                   = it_stb
            matcat                = it_matcat
          EXCEPTIONS
            alt_not_found         = 1
            call_invalid          = 2
            material_not_found    = 3
            missing_authorization = 4
            no_bom_found          = 5
            no_plant_data         = 6
            no_suitable_bom_found = 7
            conversion_error      = 8
            OTHERS                = 9.
        IF sy-subrc <> 0.
          MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
                  WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
        ENDIF.
    Then just print whatever data u want it_stb, it_matcat tables.
    reward points if u find my answer helpfull.

  • How to execute this Procedure and get the output?

    I have created a Procedure the source code of the same is furnished below.
    create or replace procedure vin_test( p_deptno IN number
    , p_cursor OUT SYS_REFCURSOR)
    as
    v_res Emp%rowtype;
    begin
    open p_cursor FOR
    select *
    from emp
    where deptno = p_deptno;
    end vin_test;
    Now, if i want to see the out put of this Proc
    i will first set the Serveroutput on and then..
    Exec vin_test(10);
    I am getting an error saying wrong number of arguments,so can anybody tell me what parameter value should i pass on so that i can get desired output.
    Thanks in Advance
    OraCrazy

    In sqlplus you can do like this.
    SQL> create or replace procedure vin_test( p_deptno IN number, p_cursor OUT SYS_REFCURSOR)
      2  as
      3     v_res Emp%rowtype;
      4  begin
      5     open p_cursor for
      6     select *
      7       from emp
      8      where deptno = p_deptno;
      9  end;
    10  /
    Procedure created.
    SQL> var lcur refcursor
    SQL> exec vin_test(30,:lcur)
    PL/SQL procedure successfully completed.
    SQL> print lcur
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO        DIV
          7499 ALLEN      SALESMAN        7698 20-FEB-81       1600        300         30         10
          7521 WARD       SALESMAN        7698 22-FEB-81       1250        500         30         10
          7654 MARTIN     SALESMAN        7698 28-SEP-81       1250       1400         30         10
          7698 BLAKE      MANAGER         7839 01-MAY-81       2850                    30         10
          7844 TURNER     SALESMAN        7698 08-SEP-81       1500          0         30         10
          7900 JAMES      CLERK           7698 03-DEC-81        950                    30         10
    6 rows selected.Thanks,
    Karthick.

  • Run VL06  in Background and getting the report in AL11

    Hello ,
    My requirement is as follows.
    I need to develop a program which should VL06 tcode for Listing the Outbound deliveries in BACKGROUND with a specific variant and Layout and then the report data should be dumped to the given AL11 file path .No need to display the report.
    I tried with Submit statement but here I can use the variant but not Layout option as Layout field is not the part of selection screen of VL06 tcode for lsitingthe  outbound deliveries.
    Can anybody please advice about how to proceed with this.
    Thanks in Advance.....

    Hello ,
    Thanks for the reply ....
    I tried with that ..i could see the list ...but i wanted to capture the same with predefined layout  inthe result ofthe report .
    There is no layout selction option in the selectionscreen of the report.
    Please advice.

  • In ActionScript 2.0 , How can I send HTTP request and get the response in JSON format.

    I am using ActionScript 2.0 for my app development. I have checked XML and LoadVars class. These classes by default send/receive data either in XML or name/value pair format. I want to send data in JSON format and receive the response in JSON format. How can I achieve this behavior using AS2.0. I have noticed that AS3.0 has the capabilities to do so. My client platform doesn't support AS3.0. Can anybody suggest a way to achieve this?
    Thanks in Advance.

    Atlast I am able to find the solution for this problem. In the end solutioin is very simple.
    Following steps will help in sending request in JSON format.
    1. extend LoadVars class
    2. override toString method. (It should return JSON format )
    3. Use subclass to send the request.

  • Help!  : How do I ask for help and get a reply from Adobe?

    Hello:
    I asked a question a week ago on here (Merge to HDR pro is producing very "bleached" and overexposed images.) and there have been zero replies.
    What does it take to get a reply? Am I asking in the wrong area? Is there a support forum somewhere where I should ask questions instead of here?
    Any assistance greatly appreciated.
    Rob, the noob.

    First this site for Adobe Product user there are forum and sub topic forum for Adobe suite of applications. Members here are not Adobe employees though some help Adobe employee do drop by.  If you think you have a bug  you can follow the an other Links in Photoshop menu Help>Photoshop Support Center... web page. It will take you to the right place Photoshop Family Customer Community

  • My old acer laptop will not re install I tunes.  How can I sync my iPad and get the tunes in my iTunes library?

    My old acer laptop will not re install I tunes.  I want to sync my iPad and get my tunes on it from iTunes.  Any ideas?

    See Troubleshooting issues with iTunes for Windows updates.
    tt2

Maybe you are looking for