How to access the Result of an fileReference request ?

Hello,
I have adjusted this example ( http://cookbooks.adobe.com/post_Uploading_files_from_Flex_using_PHP-5241.html ) of uploading an Image to an Server.
But the Problem i have is that i wanted to return from the php file some informations for example if the image is really uploaded.
Does someone know how to read the result that comes in an xml format in actionscript ?
PHP file:
$tempFile = $_FILES['file']['tmp_name'];
$fileName = $_FILES['file']['name'];
$fileSize = $_FILES['file']['size'];
$upload = move_uploaded_file($tempFile, "./" . $fileName);
if(!$upload) {
echo "<failure>"."upload failed"."</failure>";
Thank you,
Zombiecook

Hi,
  if you schedule the job then you can create the spool..
  But if you want to create a spool while executing in foreground...
  Then use this code..before calling the ALV FM..
  DATA: DAYS(1)  TYPE N VALUE 2,
      COUNT(3) TYPE N VALUE 1,
      VALID    TYPE C.
DATA: PARAMS LIKE PRI_PARAMS.
CALL FUNCTION 'GET_PRINT_PARAMETERS'
  EXPORTING DESTINATION           = 'LOCL'
            COPIES                = COUNT
            LIST_NAME             = 'TEST'
            LIST_TEXT             = 'First NEW-PAGE PRINT ON'
            RELEASE               = 'X'
            IMMEDIATELY           = ' '
            NEW_LIST_ID           = 'X'
            EXPIRATION            = DAYS
            LINE_SIZE             = 79
            LINE_COUNT            = 23
            LAYOUT                = 'X_PAPER'
            SAP_COVER_PAGE        = 'X'
            RECEIVER              = 'SAP*'
            DEPARTMENT            = 'System'
            NO_DIALOG             = ' '
  IMPORTING OUT_PARAMETERS        = PARAMS
            VALID                 = VALID.
IF VALID <> SPACE.
  NEW-PAGE PRINT ON PARAMETERS PARAMS NO DIALOG.
  WRITE / 'First Spool'.
ENDIF.
Thanks,
Naren

Similar Messages

  • How to access the result list in teststand after execution using labwindows​/cvi

    I am developing a user interface in labwindows/cvi that runs multiple teststand sequence files and would like to combine their reports (generated in teststand) into a single file at the end of a UUT. What is the best way to do this? At the moment, I'm trying to access the result list local variable after the execution has ended using API calls from labwindows/cvi and an end-of-execution callback event but those run-time variables do not exist anymore. How do I get a hold of the result list array at the end of an execution? I would like to grab this variable and pass it along from sequence to sequence using labwindows/cvi and not teststand itself. Is this possible? Any help would be great.
    Thanks in advance,
    Luis

    Hey Luis,
    Check out the response to this thread at the NI TestStand board here!

  • In VB Programming code -- How to access the formula for suppressing a field

    In VB Programming code -- How to access the formula for suppressing a field
    I am using Crystal Reports 2008 v1
    Using VB code, I am attempting to modify a Crystal Report before exporting it into a PDF format and then displaying it on the Web.
    My problem is that I am unable to access the formula used to dynamically suppress a field.
    The following code is working:
    mySections = rd.ReportDefinition.Sections
    For Each mySection As CrystalDecisions.CrystalReports.Engine.Section In mySections
       ' myFieldToChange is a String set to the text of the field I need to adjust the Suppression
       iloop = 0
       For Each RecObj As CrystalDecisions.CrystalReports.Engine.ReportObject In mySection.ReportObjects
               If mySection.ReportObjects.Item(iloop).Name.ToLower = myFieldToChange Then
                   myTextObject = CType(mySection.ReportObjects.Item(iloop), CrystalDecisions.CrystalReports.Engine.TextObject)
                   myTextObject.Text = "new field text goes here"
                   mySection.SectionFormat.EnableSuppress = True
                   '  Here is where I want to change the formula for the Suppression
                End if
                iloop = iloop + 1
        Next
    Next
    I can not find any reference to the actual suppression formula in the SDK help file.
    Note, the EnableSuppress can be set to True for False, but if there is a formula for dynamic suppression, the True or False value is overwritten.  The results of the formula determine the suppression.
    Is there a way to reference this formula.  I know that I can put on in using the Crystal Report Designer software, I need to modify this formula using VB code and the SDK.

    Hello, Mark;
    If you are using the ReportDocument object you do not have access to the Conditional Suppression formula. You can get around it by using a formula field in the report for the supression and then using the FormulaField code to change it at runtime.
    If you want to change the supression condition directly at runtime you need to use RAS and the ReportClientDocument.
    Elaine

  • Access the results of the following query in Java? SELECT sum(COL_X) FROM TABLE_A

    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery(
    "SELECT sum(COL_X) FROM TABLE_A");
    int = rset.getInt("sum(NUM_CUSTOMER)");This is obviously wrong. Could someone please help me a little on the syntax? I just want to be able to get the sum of the numeric values in a column without having to loop through a ResultSet and manually adding up the total. My question is how can I access the results of this query by assigning the sum to a java variable?

    Hi,
    Probably the easiest way is to use an alias for the sum column, i.e.:
    Statement stmt = conn.createStatement();
    ResultSet rset = stmt.executeQuery(
    "SELECT SUM(COL_X) MY_SUM FROM TABLE_A"
    int i = rset.getInt("MY_SUM");null

  • How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    How to get the extension Info from firefox? Do we have any firefox API to communicate with the browser? I couldnt see the HTML of the widget displayed in the toolbar how to access the widget using JS or any way

    Hi,
    Thanks for the suggestion. I've been playing around with some of the classes of the java.net package and java.io
    Using the URL class i can get the content of the data from a STATIC page and output that response to file so that is does not display to the client broswer.
    But this only works if the URL i give points to a static html page.
    So the problem i'm getting is if i'm righting in arguments in the URL, this means that server needs to process the arguments i give and its sends back a dynamic result. Because its dynamic the URL class can not handle this and throws me an exception everytime :(
    Have u ever tried to do some things like this?
    Rahul

  • How to access the photos on icloud

    hi
    how to access the photos which i saved in i cloud, from my iPhone 5,
    Note: i do not use any PC. and i only have purchased 20 GB of space on an annual sub. so as to save my photos, and create space in my phone and now i am unable to access it,
    please advise
    thanks
    xxv

    There isn't really a way to "save" photos to iCloud currently with non-beta software.
    iCloud is involved with photos in 2 ways -- backup and Photo Stream.
    Backup of an iOS device includes Camera Roll photos but they cannot be viewed at iCloud.com -- the backup can only be used when doing a restore of an iOS device.
    Photo Stream photos also cannot be viewed at iCloud.com; Photo Stream is designed as a method of transferring photos from one device to another and is not designed to store the photos. More info http://support.apple.com/kb/HT4486
    There is a new feature -- "iCloud Photo Library" -- coming sometime after the iOS 8 release next week: http://www.macrumors.com/2014/09/12/apple-demotes-icloud-photo-library-beta/

  • I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files?

    I used a partitioned HDD for time machine, using a partition already containing other data files. I am now no longer able to view that partition in Finder. Disk Utility shows it in grey and "not mounted". Any suggestions of how to access the files? Does using time machine mean that that partition is no longer able to be used as it used to be?
    HDD is a Toshiba 1TB, partitioned into two 500GB partitions.
    OS X version 10.9.2

    Yes, sharing a TM disk is a bad idea, and disks are cheap enough so that you don't need to.
    Now
    Have you tried to repair the disk yet

  • How to access the global data in user exit.

    Hi All,
    How to access the global data in user exit.
    the question is that when we were writing a code in the FM. i need to read data from the standard program like newly created documen and this document number need to be accessed in my program.
    this document number is not imported to the FM i needed to access for frther proceed.
    Thanks in advance.

    Hi,
    See the below PDF file by Jeff Goldstein. There you can find all the details about accessing data outside of the exit.
    [SAP User Exits and the People Who Love Them|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/208811b0-00b2-2910-c5ac-dd2c7c50c8e8]
    This will help you to solve your problem.
    Regards
    Karthik D
    Edited by: Karthik D on Dec 2, 2008 4:18 PM

  • I have 2 game centers on 1 Apple ID and it willl only access 1 of them may someone tell me how to access the other one

    I have 2 game centers on 1 Apple ID and it will only access 1 of them may someone tell me how to access the other one

    You don't have to use the same ID for iCloud as you do for purchasing.  You can just set up iCloud using your other ID. 
    If your have already have another account, you have to go to Settings>iCloud, tap Delete Account, choose Keep on My iDevice when prompted, set up your new account with the other ID, turn on your iCloud data syncing and when prompted, choose Merge to upload your data to the new account.

  • How to display the results in order by based on search value

    Hi All,
    how to display the results in the below order.
    CREATE TABLE TEST( SONGID  NUMBER, TITLE   VARCHAR2(200))
    INSERT INTO TEST(SONGID,TITLE) VALUES (10,'AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (11,'CICCONE, MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (12,'DALLIN, MADONNA LOUISE/STOCK');
    INSERT INTO TEST(SONGID,TITLE) VALUES (13,'MADONNA');
    INSERT INTO TEST(SONGID,TITLE) VALUES (14,'MADONNA (A)/ AHMADZAI, MIRWAIS (C)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (15,'MADONNA (CA)');
    INSERT INTO TEST(SONGID,TITLE) VALUES (16,'MIRWAIS AHMADZAI, MADONNA');     
    INSERT INTO TEST(SONGID,TITLE) VALUES (17,'MIRWAIS (CA)/ MADONNA (CA),AHMADZAI');
    INSERT INTO TEST(SONGID,TITLE) VALUES (18,'MADONNA (CA),CICCONE');
    SELECT *FROM  TEST WHERE INSTR (TITLE, 'MADONNA') > 0
    output:
    SONGID     TITLE
    10     AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)
    11     CICCONE, MADONNA (CA)
    12     DALLIN, MADONNA LOUISE/STOCK
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    16     MIRWAIS AHMADZAI, MADONNA
    17     MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
    18     MADONNA (CA),CICCONE
    Expected output :
    13     MADONNA
    14     MADONNA (A)/ AHMADZAI, MIRWAIS (C)
    15     MADONNA (CA)
    18     MADONNA (CA),CICCONE
    ...if user searches with 'MADONNA' , I have to display the results like title starts with 'MADONNA' first then rest of the records.
    Please let me know is it possible to display the results in that order.
    Regards,
    Rajasekhar

    This may be a bit more accurate:
    SQL> SELECT *
      2  FROM   TEST
      3  WHERE  INSTR (TITLE, 'MADONNA') > 0
      4  ORDER  BY INSTR (TITLE, 'MADONNA')
      5           ,TITLE
      6  ;
                  SONGID TITLE
                      13 MADONNA
                      14 MADONNA (A)/ AHMADZAI, MIRWAIS (C)
                      15 MADONNA (CA)
                      18 MADONNA (CA),CICCONE
                      12 DALLIN, MADONNA LOUISE/STOCK
                      11 CICCONE, MADONNA (CA)
                      17 MIRWAIS (CA)/ MADONNA (CA),AHMADZAI
                      16 MIRWAIS AHMADZAI, MADONNA
                      10 AHMADZAI, MIRWAIS (CA)/ MADONNA (CA)

  • Nokia Lumia 928 apparently died after an attempted Windows 8.1 update.  Replacement phone arrived the next day.  How can I restore my contacts, photos, etc.?  Backup assistant is no help and I don't know how to access the Cloud.

    Nokia Lumia 928 apparently died after an attempted Windows 8.1 update.  Replacement phone arrived the next day.  How can I restore my contacts, photos, etc.?  Backup assistant is no help and I don't know how to access the Cloud.

    Did you have the phone set to backup things to the One Drive on Microsoft servers?

  • Mac book running slow I tried etresoft but not sure how to inturpret the resultsmac book running slow I tried etresoft but not sure how to inturpret the result

    mac book running slow I tried etresoft but not sure how to inturpret the results any help would be so awesome, thank you
    Problem description:
    Computer started running very slowly, when I type there is a delay and internet connection is very slow although it is not the wifi connection because it is running well on all other computers, phones, ect.
    EtreCheck version: 2.1.8 (121)
    Report generated March 28, 2015 12:02:27 PM HST
    Download EtreCheck from http://etresoft.com/etrecheck
    Click the [Click for support] links for help with non-Apple products.
    Click the [Click for details] links for more information about that line.
    Hardware Information: ℹ️
        MacBook Pro (13-inch, Late 2011) (Technical Specifications)
        MacBook Pro - model: MacBookPro8,1
        1 2.4 GHz Intel Core i5 CPU: 2-core
        4 GB RAM
            BANK 0/DIMM0
                2 GB DDR3 1333 MHz ok
            BANK 1/DIMM0
                2 GB DDR3 1333 MHz ok
        Bluetooth: Old - Handoff/Airdrop2 not supported
        Wireless:  en1: 802.11 a/b/g/n
        Battery Health: Normal - Cycle count 640
    Video Information: ℹ️
        Intel HD Graphics 3000 - VRAM: 384 MB
            Color LCD 1280 x 800
    System Software: ℹ️
        Mac OS X 10.7.5 (11G63) - Time since boot: 24 days 0:56:6
    Disk Information: ℹ️
        ST9500325ASG disk0 : (500.11 GB)
            disk0s1 (disk0s1) <not mounted> : 210 MB
            Macintosh HD (disk0s2) / : 499.25 GB (422.45 GB free)
            Recovery HD (disk0s3) <not mounted>  [Recovery]: 650 MB
        MATSHITADVD-R   UJ-8A8 
    USB Information: ℹ️
        Apple Inc. Apple Internal Keyboard / Trackpad
        Apple Inc. BRCM2070 Hub
            Apple Inc. Bluetooth USB Host Controller
        Apple Inc. FaceTime HD Camera (Built-in)
        Apple Computer, Inc. IR Receiver
    Thunderbolt Information: ℹ️
        Apple, Inc. MacBook Pro
    Launch Agents: ℹ️
        [running]    com.Affinegy.InstaLANa.plist [Click for support]
        [loaded]    com.google.keystone.agent.plist [Click for support]
    Launch Daemons: ℹ️
        [loaded]    com.adobe.fpsaud.plist [Click for support]
        [unknown]    com.Affinegy.InstaLANd.plist [Click for support]
        [loaded]    com.google.keystone.daemon.plist [Click for support]
        [loaded]    com.microsoft.office.licensing.helper.plist [Click for support]
    User Launch Agents: ℹ️
        [loaded]    com.adobe.ARM.[...].plist [Click for support]
        [failed]    com.apple.CSConfigDotMacCert-[...]@me.com-SharedServices.Agent.plist [Click for details]
        [running]    com.spotify.webhelper.plist [Click for support]
    User Login Items: ℹ️
        iTunesHelper    Application Hidden (/Applications/iTunes.app/Contents/MacOS/iTunesHelper.app)
        GrowlHelperApp    Application  (/Library/PreferencePanes/Growl.prefPane/Contents/Resources/GrowlHelperApp.app)
        Belkin Router Monitor    Application  (/Applications/Belkin/Belkin Router Monitor.app)
        AdobeResourceSynchronizer    Application Hidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
        Dropbox    Application  (/Applications/Dropbox.app)
        Spotify    Application  (/Applications/Spotify.app)
    Internet Plug-ins: ℹ️
        FlashPlayer-10.6: Version: 16.0.0.305 - SDK 10.6 [Click for support]
        QuickTime Plugin: Version: 7.7.1
        AdobePDFViewerNPAPI: Version: 10.1.3 [Click for support]
        AdobePDFViewer: Version: 10.1.3 [Click for support]
        Flash Player: Version: 16.0.0.305 - SDK 10.6 Outdated! Update
        OfficeLiveBrowserPlugin: Version: 12.3.5 [Click for support]
        SharePointBrowserPlugin: Version: 14.4.7 - SDK 10.6 [Click for support]
        Silverlight: Version: 5.1.30514.0 - SDK 10.6 [Click for support]
        DirectorShockwave: Version: 12.1.3r153 - SDK 10.6 [Click for support]
        JavaAppletPlugin: Version: 14.9.0 - SDK 10.7 Check version
    3rd Party Preference Panes: ℹ️
        Flash Player  [Click for support]
        Growl  [Click for support]
    Time Machine: ℹ️
        Time Machine not configured!
    Top Processes by CPU: ℹ️
            22%    iTunes
             5%    ReportCrash
             2%    WindowServer
             1%    Microsoft PowerPoint
             1%    Google Chrome
    Top Processes by Memory: ℹ️
        241 MB    Google Chrome
        137 MB    Google Chrome Helper
        107 MB    Microsoft PowerPoint
        103 MB    Dropbox
        94 MB    mds
    Virtual Memory Information: ℹ️
        440 MB    Free RAM
        2.27 GB    Active RAM
        536 MB    Inactive RAM
        1.05 GB    Wired RAM
        8.03 GB    Page-ins
        908 MB    Page-outs
    Diagnostics Information: ℹ️
        Mar 28, 2015, 12:01:57 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120157_[redacted].crash
        Mar 28, 2015, 12:01:36 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120136_[redacted].crash
        Mar 28, 2015, 12:01:36 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120136_[redacted].crash
        Mar 28, 2015, 12:01:25 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120125_[redacted].crash
        Mar 28, 2015, 12:01:14 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120114_[redacted].crash
        Mar 28, 2015, 12:01:14 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120114_[redacted].crash
        Mar 28, 2015, 12:00:31 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120031_[redacted].crash
        Mar 28, 2015, 12:00:20 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120020_[redacted].crash
        Mar 28, 2015, 12:00:20 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120020_[redacted].crash
        Mar 28, 2015, 12:00:10 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120010_[redacted].crash
        Mar 28, 2015, 12:00:10 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120010_[redacted].crash
        Mar 28, 2015, 11:59:59 AM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115959_[redacted].crash
        Mar 28, 2015, 11:59:47 AM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115947_[redacted].crash
        Mar 28, 2015, 11:59:38 AM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115938_[redacted].crash
        Mar 28, 2015, 11:59:29 AM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115929_[redacted].crash
        Mar 28, 2015, 11:59:20 AM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115920_[redacted].crash
        Mar 28, 2015, 11:59:09 AM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115909_[redacted].crash
        Mar 28, 2015, 11:59:09 AM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115909_[redacted].crash
        Mar 28, 2015, 11:58:57 AM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115857_[redacted].crash
        Mar 28, 2015, 11:58:57 AM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115857_[redacted].crash
        Mar 28, 2015, 11:58:45 AM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115845_[redacted].crash
        Mar 28, 2015, 12:01:45 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120145_[redacted].crash
        Mar 28, 2015, 12:01:45 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120145_[redacted].crash
        Mar 28, 2015, 12:01:03 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120103_[redacted].crash
        Mar 28, 2015, 12:00:54 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120054_[redacted].crash
        Mar 28, 2015, 12:00:54 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120054_[redacted].crash
        Mar 28, 2015, 12:00:42 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120042_[redacted].crash
        Mar 28, 2015, 12:00:42 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120042_[redacted].crash
        Mar 28, 2015, 11:59:47 AM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115947_[redacted].crash
        Mar 28, 2015, 11:59:29 AM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115929_[redacted].crash
        Mar 28, 2015, 11:59:20 AM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115920_[redacted].crash
        Mar 28, 2015, 12:02:18 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120218_[redacted].crash
        Mar 28, 2015, 12:02:06 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120206_[redacted].crash
        Mar 28, 2015, 12:02:06 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120206_[redacted].crash
        Mar 28, 2015, 12:01:57 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120157_[redacted].crash
        Mar 28, 2015, 12:01:25 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120125_[redacted].crash
        Mar 28, 2015, 12:01:03 PM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-120103_[redacted].crash
        Mar 28, 2015, 12:00:31 PM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-120031_[redacted].crash
        Mar 28, 2015, 11:59:59 AM    /Library/Logs/CrashReporter/Belkin Router Monitor & Setup_2015-03-28-115959_[redacted].crash
        Mar 28, 2015, 11:59:38 AM    /Library/Logs/DiagnosticReports/Belkin Router Monitor & Setup_2015-03-28-115938_[redacted].crash

    Update your Belkin router software along with Affinegy software.

  • How to see the result

    hi every body...
    i want to get the result of any table..
    for ex: select * from dept;
    the o/p should be like(10~Accounts~new york)
    for this i wrote this code.... it run sucessfully;
    my prob is how to see the Result..
    declare
    tn varchar2(35);
    sqlstmt varchar2(2000);
    rc sys_refcursor;
    begin
    tn := '&tn';
    sqlstmt := 'select * from '||tn;
    open rc for sqlstmt;
    end;
    post u r comments,Hints and suggestion...

    post u r comments,Hints and suggestion...
    SQL> var rc refcursor
    SQL> begin
      2     open :rc for  'select * from &tn';
      3  end;
      4  /
    Enter value for tn: emp
    old   2:    open :rc for  'select * from &tn';
    new   2:    open :rc for  'select * from emp';
    PL/SQL procedure successfully completed.
    SQL> print rc
         EMPNO ENAME      JOB              MGR HIREDATE         SAL       COMM     DEPTNO
          7369 SPENCER    CLERK           7902 17-DEC-80        800                    20
          7499 VERREYNNE  SALESMAN        7698 20-FEB-81       1600        300         30
          7521 VAN WIJK   SALESMAN        7698 22-FEB-81       1250        500         30
          7566 MAINGUY    MANAGER         7839 02-APR-81       2975                    20
          7654 KISHORE    SALESMAN        7698 28-SEP-81       1250       1400         30
          7698 BARRY      MANAGER         7839 01-MAY-81       2850                    30
          7782 BOEHMER    MANAGER         7839 09-JUN-81       2695                    10
          7788 PADFIELD   ANALYST         7566 09-DEC-82       3000                    20
          7839 SCHNEIDER  PRESIDENT            17-NOV-81       5500                    10
          7844 GASPAROTTO SALESMAN        7698 08-SEP-81       1500          0         30
          7876 CAVE       CLERK           7788 12-JAN-83       1100                    20
          7900 CLARKE     CLERK           7698 03-DEC-81        950                    30
          7902 JAFFAR     ANALYST         7566 03-DEC-81       3000                    20
          7934 ROBERTSON  CLERK           7782 23-JAN-82       1430                    10
           109 JOMAR                                                                   30
          8800 VISWARAYAR INTERN          7934 03-OCT-82          0                    10
    16 rows selected.
    SQL> Cheers, APC
    Blog : http://radiofreetooting.blogspot.com/

  • How to access the webservice in portal component

    hai
         how to access the webservice in portal component.
         anyone knows give the solution
    Rds
    Shanthakumar

    Hai
    Please check this link.
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/connectivity&
    Regards

  • Custom Search portlet : how to sort the result in sequence (Portal 10.1.4)

    With a Custom Search portlet how to Sort the Result By Sequence. i.e. by respecting arrangements of the items in the page of contents?
    Actually the Results Options "Order By" are : Create Date, Author, Creator, Date Updated, Display Name, Last Update by, Publish Date, Score.
    Is there an action to add the "Sequence" Order By result Option?
    Great thanks for your kind help.
    Best regards

    No, I agree that it is functionality that should be added to the product, but it
    is not a bug because it was not written to do this.
    It is a short coming of the product.
    Cheers,
    Ersan

Maybe you are looking for

  • "Port In Use" error message when trying to sync Palm m500 to Windows Vista machine

    An error message on my Palm displays "Error: Serial Port in Use (Serial 0307)" when I try to sync my Palm m500 to my Windows Vista (32 bit) Home Basic machine. It worked until about 3 months ago and I don't have a restore point that far back to try S

  • Oracle Stored Procedure call in a Derived Table?

    Can a statement that defines derived table in the Designer contain a call to an Oracle Stored Proc? The proc takes one varchar2 parameter and returns a result set that consists of one field of several records and is currently implemented via sys_refc

  • F4 field is called first in ALV Grid

    Hello All, I have a strange issue where in I have 4 fields in alv grid. Last field is having the F4 help facility. When clicking on creating new row in the grid, automatically the control is going on to the last field (f4 field) and is getting called

  • How to have excelsius ignore a 0 value in excel IF formula

    I have some line graphs that run off of a combination of SQL data retrieved by an excel xml query and formulas in excel based on that sql data.  The SQL data is basically totals for each month.  I have a combo box set up to filter the data for a part

  • About time for Control surface support

    I wonder with agony, why Adobe still is being hesitant to support external control units, such as the Tangent Wave and Euphonix MC Color. I don't know whether its lazyness, inability to make the hardware makers develop a Premiere interface, or ignora