Declaring functions in other functions and callbacks

Hi - I'm curious to know if the following situation is
possible (I haven't gotten it to work yet).
I'd like to load a series of images, and in the callback,
place them in different positions in my array. Instead of writing a
separate callback for each image, I'd like to do something like the
following:
But it looks like each version of the function gets the end
version of "i", not the version of i that existed when the function
was declared.
Is something like this at all possible?

Right. The whole point of the question is if is possible to
dynamically declare functions for use as callbacks.
For example, in the standard loading functions, you register
a callback like this:
var load:Loader = new Loader();
var req:URLRequest = new URLRequest(swf);
load.contentLoaderInfo.addEventListener(Event.COMPLETE,
swfloadcallback);
load.load(req);
function swfloadcallback(e:Event):void
The problem with the standard callback function is that I
can't add additional arguments to it. For example, I couldn't have
swfloadcallback take in an additional argument (for example the
index of the swf I'm trying to load). What I'm wondering is if in
actionscript 3 it's possible to dynamically declare callbacks such
that I only have to write the code once, but in essence I am adding
additional parameters to the callback.
Hence the example I listed above. What I was trying to
accomplish there was basically dynamically creating callbacks that
understood which index to insert the loaded image into. But clearly
that example doesn't work.

Similar Messages

  • Asynchronously writing and callback function

    hi everybody,
    i am working on an asynchronous write operation as described in
    'Asynchronously Reading and Writing with the NI-DAQmx Visual C++ Class Library'
    in the Visual Studio .NET documentation.
    I've worked with asynchronous read functions and callbacks (the OnEvent function in this example) before, and it worked
    well.
    Atm i am doing output to 16 digital outputs on my PCI6259 card. I want to output a waveform stored in a vector containing about 1000 samples.
    So i installed the event handler for my writer object, and started the output by calling
    'WriteMultiSamplePortAsync'.
    The problem is, that the callback function 'OnEvent' is called after the first sample of my vector is sent, and not after the complete vector.
    i need to know when my whole buffer is through, because i have to recalculate it and send it again...
    Anyone has an idea where the problem is?
    Thx in advance
    markus

    Well i've attached a somehow simplified code of my problem.
    First i start two tasks, one counter, which acts as sample clock for my digital output, and the digital output task itself.
    In this example i use a output frequency of 100kHz.
    Then an event handler for my digital write operation is installed.
    Next, i create a vector with size 1000, fill it with some data and write it out calling 'WriteMultiSamplePortAsync'
    What i would expect now, is that the OnEvent-function is called, as soon as all of the 1000 samples of my output vector have been sent.
    But what really happens is that OnEvent is called after the first of the 1000 samples has been written.
    As i said before, the same procedure works fine with analog input tasks.
    Regards
    Markus
    Attachments:
    AsyncDigitalOut.cpp ‏3 KB

  • Up/Down Arrow keys do not perform their function on SOME websites or at SOME times, on other websites and at other times these keys work fine, updated firefox, restarted computer. turned off cursor key option in Advanced tab, using autoscrolling option.

    Up/Down Arrow keys do not perform their function on SOME websites or at SOME times, on other websites and at other times these keys work fine, updated firefox, restarted computer. turned off cursor key option in Advanced tab, using autoscrolling option.

    You may have switched on [http://kb.mozillazine.org/accessibility.browsewithcaret caret browsing].
    You can press press F7 (on Mac: fn + F7) to toggle caret browsing on/off.
    See http://kb.mozillazine.org/Scrolling_with_arrow_keys_no_longer_works
    * Tools > Options > Advanced : General: Accessibility: [ ] "Always use the cursor keys to navigate within pages"

  • When I try to send a link to a page from Safari, I get a message saying that sending the message to the server failed.  It places a copy in the outbox.  All other email and safari functions work properly.  Ipad 2 IOS 7.1

    My Ipad2 works fine except when I try to email myself a link to a safari webpage.  I get an error message saying that the message failed to connect to the server.  It says that a copy of the message has been left in the outbox.  I cannot get the message from the outbox.  All other email and safari functions work as expected.
    I have cleared data and cookies, powered down, and done a reset.  Nothing seems to help.

    Typing in additional text seems to get the job done.  This seems to be a feature of the latest IOS update, I have never had the problem before the last update.
    I use the box with the arrow just to the left of the URL block at the top of the page to send myself links to pages of interest.  Adding the extra text seems like a pointless step, but it does work.
    Thanks.

  • I downloaded the new upgrade for Premier Elements 13 the other day, and now my program will hardly operate and will not do basic functions.  What can I do?

    I downloaded the new upgrade for Premier Elements 13 the other day, and every since then my program will hardly operate and cannot do most functions.  What can I do?

    Bill
    I went to the Premiere Elements 13 tryout page at the Adobe web site and downloaded the tryout. I used the Firefox browser (latest version).
    These are the details according to what was presented to me today
    1. In choice of download, I selected Multiple LanguagesIWindows 64 bitI 1.67 GB. I do not have a Windows 7 or 8 32 bit computer.
    In your case, you would expect that you used used Multiple LanguagesIWindows 1.50 GB (which would have been the 32 bit version
    in agreement with your Windows 7 or 8 32 bit computer.
    2. When I pressed the Download button, there appeared
    Akamai Download Manager
    Browse For Folder dialog - (where I designated Desktop as my save location for the saved file/folders from the download)
    3. The first file to download was the .7z which is named Premiereelements 13_LS26_win64.7z (in my case, in yours it should be ...._win32.7x)
    File 1 of 2.
    The second file to download was the .exe which is named PremiereElements 13_LS26_win64.exe (in my case, in yours it should be..._win32.exe)
    4. When "3" is finished, automatically the Install Now comes up with a dialog regarding the .exe with an Open button. Click on the Open button.
    5. Next there is a Folder Location dialog which I had set
    C:\Uses\Owner\Desktop\Adobe Premiere Elements 13
    I clicked next in this Folder Location dialog.
    6. Next there was an Adobe Premiee Elements 13 dialog "Preparing Files" with mention of "Extracting Files".
    When the extraction process was complete, there was the automatic appearance of the Files Are Ready with a check mark next to
    "Launch Adobe Premiere Elements 13. There I clicked the Finished button.
    7. Next up was the Adobe Installer dialog and the "Initializing Installer" message.
    8. Next came the Welcome dialog with choices of Install or Try. I selected Try.
    If you have a purchased serial number already, I assume that you can click install and use your purchased serial number.
    9. Next came the sign In Required dialog where I click the Sign In button.
    10. Next the Adobe Software License Agreement to which I clicked Accept.
    11. Next the Options dialog -
    Adobe Premiere Elements 13 4.1 GB
    Language English (North America)
    Location C:\Program Files\Adobe
    to all of 11 I clicked Install.
    and said Yes to User Account Control pop up.
    12. Automatic Install from there on.
    When I looked at my desktop I found saved there
    a. the .exe file
    b. the .7x file
    c. an Adobe Premiere Elements 13 Folder
    any of which I believe I could have installed from as I have described to you previously.
    If you cannot get the above to work, then you can try going through the process of getting the Adobe Premiere Elements 13 tryout
    from
    Adobe Photoshop Elements 13 Direct Download Links, Premiere too | ProDesignTools
    There you will end up with the .exe and .7z downloads. After you download and save these two to your desktop, then you begin the
    process by double clicking the exe and following the on screen instructions.
    Please review the above and determine how much of it you have been through before and the choices that you have made along the way.
    ATR

  • XQuery with recuesive function and instance of operation gives problem

    Hi,
    << Using Oracle 11g .06. release >>
    I have an Xquery that has recursive functions and "instance of" operation.
    I facing the following problem
    "error raised during evaluation: oracle.xquery.XQException: XPTY0004: It is a type error if, during the static analysis phase, an expression is found to have a static type that is not appropriate for the context in which the expression occurs, or during the dynamic evaluation phase, the dynamic type of a value does not match a required type as specified by the matching rules in 2.5.4 SequenceType Matching.
    Detail: empty sequence encountered where a sequence of length one is expected
    The same xQuery works on Berkely DB, Altova XML and Oxygen. I could able to figure out the problem in oracle, where i need an help from you people.
    The below is the XQuery Function
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    SELECT XMLQuery('xquery version "1.0";
    declare default element namespace "WiMax_CAPC_XML";(: :)
    declare namespace HHP="HHP";(: :)
    declare namespace AtomicXQuery="AtomicXQuery";(: :)
    declare function AtomicXQuery:filter-modifier($element as element(), $attribute-name as xs:string*) {
    element {node-name($element)}
    for $child in $element/node()
    return if ($child instance of element())
    then (("deepa instance"),$child,"45",name($child),$attribute-name,
    if($child/node() instance of element())
    then ("it is an instance of element")
    else($child),
    AtomicXQuery:filter-modifier($child, $attribute-name))
    else $child
    let $i:= ora:view("NECB")/node()/child::*[2]/HHP:HHP/HHP:hapNe/HHP:maxCageCount
    let $m:=element HHP:deepa {element HHP:deepa1 {"deepa1"}} return AtomicXQuery:filter-modifier($m,"modifier")'
    RETURNING CONTENT) AS RESULT
    FROM DUAL;
    ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    The XML data is available in XMLType table NECB.
    The XMLData is as follows
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    <?xml version="1.0" encoding="UTF-8"?>
    <ConfigDataFile xmlns="WiMax_CAPC_XML" xmlns:HHP="HHP" xmlns:SWM="SWM" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
    <fileHeader cfgMinorVersion="0" cfgSavedMinorVersion="0" cfgVersion="0" fileFormatVersion="CAPC_I1" fileName="NECB.xml" fileType="necb" senderName="CNEOMI" swVersion="D00.00.01.05" vendorName="Motorola"/>
    <configData dnPrefix="String">
    <HHP:HHP>
    <HHP:hapNe>
    <HHP:maxCageCount>3</HHP:maxCageCount>
    <HHP:minLogLevel>1</HHP:minLogLevel>
    </HHP:hapNe>
    <HHP:hapCageTable>
    <HHP:hapCageEntry cageId="1">
    <HHP:numOfModems>1</HHP:numOfModems>
    <HHP:numOfBackupModems>1</HHP:numOfBackupModems>
    <HHP:hapCagemaxModemCount>1</HHP:hapCagemaxModemCount>
    <HHP:minModemLogLevel>1</HHP:minModemLogLevel>
    <HHP:hapModemTable>
    <HHP:hapModemEntry cageId="1" modemId="1">
    <HHP:maxServiceTypeCount>1</HHP:maxServiceTypeCount>
    <HHP:hapModemLogLevel>1</HHP:hapModemLogLevel>
    <HHP:maxBlackboxCount>1</HHP:maxBlackboxCount>
    <HHP:minBlackboxLogLevel>1</HHP:minBlackboxLogLevel>
    <HHP:hapBlackboxTable>
    <HHP:hapBlackboxEntry cageId="1" modemId="1" blackboxId="1">
    <HHP:hapBlackboxLogLevel>1</HHP:hapBlackboxLogLevel>
    </HHP:hapBlackboxEntry>
    </HHP:hapBlackboxTable>
    </HHP:hapModemEntry>
    </HHP:hapModemTable>
    </HHP:hapCageEntry>
    </HHP:hapCageTable>
    <HHP:serviceTypeTable>
    <HHP:serviceTypeEntry serviceTypeId="1">
    <HHP:priority>1</HHP:priority>
    <HHP:serviceTypemaxModemCount>1</HHP:serviceTypemaxModemCount>
    </HHP:serviceTypeEntry>
    </HHP:serviceTypeTable>
    <HHP:serviceMappingTable>
    <HHP:serviceMappingEntry cageId="1" modemId="1" serviceTypeId="1">
    </HHP:serviceMappingEntry>
    </HHP:serviceMappingTable>
    </HHP:HHP>
         <SWM:SWM>
    <SWM:wmanIfBsPagingGroupTable>
    <SWM:wmanIfBsPagingGroupEntry ifIndex="1" wmanIfBsPagingGroupIndex="1">
    <SWM:wmanIfBsPagingGroupId>1</SWM:wmanIfBsPagingGroupId>
    <SWM:wmanIfBsPagingControllerId>9</SWM:wmanIfBsPagingControllerId>
    <SWM:wmanIfBsPagingCycle>100</SWM:wmanIfBsPagingCycle>
    <SWM:wmanIfBsPagingOffset>1</SWM:wmanIfBsPagingOffset>
    <SWM:wmanIfBsPagingRetryCount>3</SWM:wmanIfBsPagingRetryCount>
    <SWM:wmanIfBsPagingBcastRetryCount>3</SWM:wmanIfBsPagingBcastRetryCount>
    <SWM:wmanIfBsPagingControllerAddress>aabbccddeeffaabbccddeeffaabbccddeeffaabbccddeeffaabbccddeeffaabb</SWM:wmanIfBsPagingControllerAddress>
    <SWM:wmanIfBsPagingControllerAddressType>1</SWM:wmanIfBsPagingControllerAddressType>
    <SWM:wmanIfBsPagingControllerAsnMmId>aabbccddeeff</SWM:wmanIfBsPagingControllerAsnMmId>
    </SWM:wmanIfBsPagingGroupEntry>
    </SWM:wmanIfBsPagingGroupTable>
    <SWM:wmanIfAsnMmTable>
    <SWM:wmanIfAsnMmEntry ifIndex="1">
    <SWM:wmanIfAsnMmId>AAffFFAAAAFF</SWM:wmanIfAsnMmId>
    <SWM:wmanIfAsnMmId/>
    </SWM:wmanIfAsnMmEntry>
    </SWM:wmanIfAsnMmTable>
    <SWM:wmanIfNeighborAsnMmTable>
    <SWM:wmanIfNeighborAsnMmEntry ifIndex="1" wmanIfNbrAsnMmId="AAffFFAAAAFFFFFF">
    <SWM:wmanIfNbrAsnMmAddress>AAffFFAAAAFFFFFF</SWM:wmanIfNbrAsnMmAddress>
    <SWM:wmanIfNbrAsnMmAddressType>1</SWM:wmanIfNbrAsnMmAddressType>
    <SWM:wmanIfNbrAsnMmControlSecurityProtocol>1</SWM:wmanIfNbrAsnMmControlSecurityProtocol>
    </SWM:wmanIfNeighborAsnMmEntry>
    </SWM:wmanIfNeighborAsnMmTable>
    </SWM:SWM>
    </configData>
    <fileFooter dateTime="2007-11-07T09:30:47.0Z" update="2007-11-07T09:30:47.0Z"/>
    </ConfigDataFile>
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    The expected output XML is as follows
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    <HHP:deepa xmlns="WiMax_CAPC_XML" xmlns:HHP="HHP">deepa instance<HHP:deepa1>deepa1</HHP:deepa1>45 HHP:deepa1 modifier<HHP:deepa1>deepa1</HHP:deepa1>
         <HHP:deepa1>deepa1</HHP:deepa1>
    </HHP:deepa>
    +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
    Thanks in advance!

    Ashwin,
    Please try it with 11.1.0.7 instead and let us know if it works.
    Regards,
    Geoff

  • Oracle declare function in shell script

    Please tell me oracle declare function now able to run in shell script?
    I am calling in shell script like @/myscript.sql it is not working properly, reset update and other oracle command is working fine in shell script.

    I am running below code.
    #!/bin/sh
    sqlplus system/manager@prod_db <<ENDOFSQL
    update apps.fnd_concurrent_queues set node_name = 'host1', target_node ='host1' where node_name='host3';
    update apps.fnd_concurrent_queues set node_name = 'host2', target_node ='host2' where node_name='host4';
    commit;
    DECLARE
    VALUE BOOLEAN;
    l_node_id number;
    BEGIN
    select node_id into l_node_id from fnd_nodes where NODE_NAME = 'host5';
    VALUE := fnd_profile.save ('NODE_TRUST_LEVEL', 3, 'SERVER',l_node_id,null,null);
    END;
    ENDOFSQL
    Below ERROR i am getting after running above code via shell script with oracle user
    SQL>
    0 rows updated.
    SQL>
    0 rows updated.
    SQL>
    Commit complete.
    SQL> SQL> DECLARE
    ERROR at line 1:
    ORA-01403: no data found
    ORA-06512: at line 5

  • All differences between a function and a procedure.

    What are All differences between a function and a procedure.

    What are All differences between a function and a procedure.This is basic procedural programming fundamentals that you should learn at school.
    A function is a procedure that returns a value (of the type defined in the function declaration) using the RETURN statement at the terminal point of the processing code.
    That's the only difference.
    In terms of SQL, procedures cannot be used within SQL and functions can, but only if the function does not contain any OUT or IN OUT parameters and the return type is of a supported SQL type.

  • Member function and member procedure inside an object type in Oracle.

    Hi All,
    Please do have a look at these codes and help me understand. I have no idea about this member function and member procedure. How do they work? Please explain me about this.
    Regards,
    BS2012
    create type foo_type as object (
      foo number,
      member procedure proc(p in number),
      member function  func(p in number) return number
    create type body foo_type as
      member procedure proc(p in number) is begin
        foo := p*2;
      end proc;
      member function func(p in number) return number is begin
        return foo/p;
      end func;
    end;
    /

    Methods are just like functions or procedures in a package, except they're not in a package, their part of an object type.
    The object has attributes (which are the variables declared in it).
    To use such an object you would do things like this...
    SQL> set serverout on
    SQL>
    SQL> declare
      2    v_foo foo_type;
      3    v_val number;
      4  begin
      5    v_foo := foo_type(20); -- instantiate the object and initialize the object attributes
      6    v_foo.proc(20); -- call the object method (proc)
      7    v_val := v_foo.func(4); -- call the object method (func)
      8    dbms_output.put_line(v_val);
      9  end;
    10  /
    10
    PL/SQL procedure successfully completed.The Type definition you've declared creates the object class, but not actually an object itself.
    To actually have an object you need to declare a variable of that object class type, and then instantiate it. When you instantiate the object you need to initialize all the attributes (generally you can pass null if required for each of them to initialize them).
    Once you have your object instantiated, you can call the methods within that object as demonstrated above, a bit like calling functions and procedures in a package, except they are methods within the object type itself, and therefore called directly by referencing them from the variable.
    The documentation goes into a lot more detail of objects if you look it up.

  • Datatype of parameters defined in PLSQL function and procedures (packages)

    Hi,
    Require help with this one.
    We have written a unit test generator given a PLSQL package name (and several other unit test attributes). This it does by looking at metadata from user_arguments.
    We have hit upon a issue with %ROWTYPE parameters.
    It apparently splits such arguments into data_level = 0 (the actual ROWTYPE parameter) and data_level = 1 (the individual components of the ROWTYPE) in user_arguments table.
    From the data_level = 0 row, i am unable to retrieve the name of the table of which the ROWTYPE is hinged to.
    I am looking for this information to be able to declare a variable, initialize it and pass it over to the package.function / procedure being tested.
    Is there a way i can retrieve this information (what's the table name its %ROWTYPE of) ?
    Thanks,
    Krishnan

    We have written a unit test generator given a PLSQL package name (and several other unit test attributes)Nice.
    Is there a way i can retrieve this information (what's the table name its %ROWTYPE of) ?Unfortunately not that I know of, the underlying anchored datatype is not recorded in USER_ARGUMENTS or the underlying SYS.ARGUMENT$.
    Assuming such types were declared at package specification it would be theoretically possible to do this lookup by exploiting the DIANA interface (DIUTIL, DIANA and PIDL packages) but that would be a significant undertaking. Alternatively I suppose you could consider parsing the source code but this again would be a significant undertaking and would not support wrapped code.
    The good news is that the compiler does not require that an identically anchored record is passed to the function/procedure, rather the declaration of the attributes of the record must match. In which case you can (simplistically) just declare a local record type with the argument_name, data_type, data_precision, data_scale and/or data_length from USER_ARGUMENTS level 1 then declare a variable of that type and pass it to the function/procedure under test. I say simplistically because there is (albeit rather rarely used) support for nested record types in PL/SQL, hence levels > 1 may exist in USER_ARGUMENTS.
    Edited by: padderz on 30-Mar-2011 02:27

  • Running SQL Server Function and Procedures from Oracle

    I am trying to run SQL Server 2005 functions and/or procedures from a SQL statement in Oracle. I have gone throught the hetergeneous services and have connected to the SQL Server database successfully. I can also do a query to a table in SQL Server successfully; but I have not been able to execute a procedure or a function.

    Have you tried Oracle syntax? It seems to me that you have only tried T-SQL syntax, e.g. execute proc.
    Wrap it in a begin..end tag like you would a normal PL/SQL function or proc call. Assumption is that as Oracle makes the remote database (via the dblink) look like an Oracle database, you should also play along and pretend it is one and treat it as such.
    E.g.declare
      r integer;
    begin
      -- execute remote proc
      procFoo@dblink( 'ABC' );
      -- call a remote function
      r := funcFoo@dblink( 123 );
    end;

  • Calling Oracle Functions and Procedures in Java

    I've looked online for a blurb on using Oracle SQL functions and
    procedures in Java, but I haven't found anything. Can someone
    either give me a quick crash course on this, or point me to the
    best source of information for this?

    From the SQLJ FAQ.
    http://otn.oracle.com/tech/java/sqlj_jdbc/htdocs/faq.html#sqljplsql
    Within your SQLJ statements, you can use PL/SQL anonymous blocks
    and call PL/SQL stored procedures and stored functions, as in the
    following examples: Anonymous
    block:
    #sql {
    DECLARE
    n NUMBER;
    BEGIN
    n := 1;
    WHILE n <= 100 LOOP
    INSERT INTO emp (empno) VALUES(2000 +
    n);
    n := n + 1;
    END LOOP;
    END
    Stored procedure call (returns the maximum
    deadline as an output parameter into an output host expression):
    #sql { CALL MAX_DEADLINE(:out maxDeadline) };
    Stored function call (returns the maximum
    deadline as a function return into a result expression):
    #sql maxDeadline = { VALUES(GET_MAX_DEADLINE)
    Of course, you can also use JDBC code to achieve the same - the
    standard JDBC escape sequences for stored function and procedure
    calls are supported, using for example:
    "{? = CALL GET_MAX_DEADLINE}"
    or:
    "{call MAX_DEADLINE(?)}"
    and for the rest of the details, get that JDBC crash course...

  • Copy procedures, functions and packages to files

    Can anyone help me, how to put all procedures, functions and packages to files. It is important, that when procedure have name PROCEDURE_CREATE then file have PROCEDURE_CREATE.txt
    Is that possible?

    Hi,
    I guess you want following.
    Do:
      1  DECLARE
      2   CURSOR Cur_All IS SELECT DISTINCT NAME
      3                   FROM ALL_SOURCE
      4                              WHERE ROWNUM <= 10 ;
      5           --        WHERE OWNER LIKE 'KIN%' ;
      6   v_Name ALL_SOURCE.NAME%TYPE ;
      7  BEGIN
      8   OPEN Cur_All ;
      9   LOOP
    10    FETCH Cur_All INTO v_Name ;
    11    EXIT WHEN Cur_All%NOTFOUND;
    12    DBMS_OUTPUT.PUT_LINE('SPOOL '||v_Name||'.txt') ;
    13    DBMS_OUTPUT.PUT_LINE('SELECT TEXT FROM ALL_SOURCE WHERE NAME ='''||v_Name||''' ORDER BY LINE ;') ;
    14    DBMS_OUTPUT.PUT_LINE('SPOOL OFF') ;
    15   END LOOP;
    16   CLOSE Cur_All;
    17* END ;
    SQL> /
    SPOOL STANDARD.txt
    SELECT TEXT FROM ALL_SOURCE WHERE NAME ='STANDARD' ORDER BY LINE ;
    SPOOL OFF
    PL/SQL procedure successfully completed.
    SQL> Do spool of the above anonymous block. And run it as a SQL script. You will get required output.
    Regards,
    Arpit
    Message was edited by:
    arpit_shah4u

  • Overall equipment efficency ..functional and technical

    Hi
    friends
    doing a module pool for overall equipment effiency
    as iam new in p.m module i need some functional help.
    but have to create a z tables for it .
    my criteria is
    <b>header --</b>equipment
    cost center
    plant
    functional location
    <b>detail table</b>.
    equipment
    from date
    from time
    to dta
    to time
    operations--production,
                maintaince
                ideal
    batch
    material
    reasons
    Planned production quantity
    equipment
    month/hours
    god hrs
    planned production hrs
    reason no
    reason code
    std hrs/min.
    have to create table but iam stuck in normaliazation what should be
    keys on and indexes on as there is no functional guy avalab1e here
    i have to do it and this module pool should allow to modify delete
    and change that can be done but ..on one screen this 2 table control
    i have to display .
    so pls give the suggestion for  functional and technical
    regards
    answers will be awarded points

    Hi,
    See the Views  VIAUFKS and VIAUF_AFVC ,
    you will get all the fields related to PM module
    See the fields and the data elemetns and create the tables and use them in the Table controls and design your screens and the code.
    see the info on Table controls:
    syntax:
    CONTROLS .
    if you only want to determine the row of the table control. SY´-SUBRC allows you to check if the cursor is placed in a row of a table control.
    u need to comment the performs of table control fields and write ur own perform statements. And u have to declare the table control fields as separate internal tables.
    Go through this urls.
    www.****************
    www.sap-img.com
    Check the below links.
    http://www.planetsap.com/howdo_a.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/dbac5135c111d1829f0000e829fbfe/content.htm
    http://sap.niraj.tripod.com/id25.html
    reward if useful
    regards,
    ANJI

  • Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems n

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

    Since installing LTR 5.4, which I've now upgraded to 5.6, I've encountered repeated slowness and malfunctions in operations, especially when using the Compare View function and the Tab key to open and close the right and left side panels.  Such problems never arose during two years of using LTR-4 and nothing else has changed on my computer.  I have a pretty simple system with only a few plug-ins, which are usually not in operation.  I have 12GB of RAM in my Windows 7 PC.  I could illustrate these problems with screen shots if you would tell me how to submit screen shots.  Otherwise I will try to describe the problems in words.
    The problem is clearly cumulative, growing worse as usage time passes.  Compare View feature gradually slows down and eventually seems to choke as my work session proceeds. If I Exit LTR and re-enter and start all over, things will work normally for maybe 30 minutes, but then the Compare View feature begins to become very slow to respond.   In a recent example with my screen full of thumbnails in Library mode I highlighted two images to compare. LTR started to open the Compare View screen by first having the top row of thumbnails disappear to be replaced by the "SELECT" and "CANDIDATE" words in their spaces  (but no images), but Compare View never succeeded in gaining control of the screen. After some seconds the top row of thumbnails reasserted its position and the Compare View windows disappeared. But LTR kept trying to bring them back. Again the top row of thumbnails would go away, Select and candidate would reappear, try again, and give up. This went on for at least 2-3 minutes before I tried to choose File and Exit, but even that did not initially want to respond. It doesn't like to accept other commands when it's trying to open Compare View. Finally it allowed me to exit.
    To experiment I created a new catalog of 1100 images.  After 30-40 minutes, the Compare View function began to operate very slowly. With left and right side panels visible and two thumbnails highlighted, hitting Compare View can take half a minute before the two mid-size  images open in their respective SELECT and CANDIDATE windows. When the side panels are open and two images are in the Select/Candidate spaces, hitting the Tab button to close the side panels produces a very delayed response--25-30 seconds to close them, a few more seconds to enlarge the two images to full size. To reverse the process (i.e., to recall the two side panels), hitting Tab would make the two sides of the screen go black for up to a minute, with no words visible. Eventually the info fields in the panels would open up.
    I also created a new user account and imported a folder of 160 images. After half an hour Compare View began mis-placing data.  (I have a screen shot to show this.)  CANDIDATE appears on the left side of SELECT, whereas it should be on the right. The accompanying camera exposure data appears almost entirely to the left of the mid-screen dividing line. Although the Candidate and Select headings were transposed, the image exposure data was not, but the data for the image on the right was almost entirely to the left of the line dividing the screen in two.
    Gurus in The Lightroom Forum have examined Task Manager data showing Processes running and Performance indicators and they see nothing wrong.  I could also send screen shots of this data.
    At this point, the only way I can process my images is to work 30-40 minutes and then shut down everything, exit, and re-start LTR.  This is not normal.  I hope you can find the cause, and then the solution.  If you would like to see my screen shots, tell me how to submit them.
    Ollie
    [email protected]

Maybe you are looking for

  • How do I reinstall microsoft office 2011 on my computer?

    HI, I have bought Microsoft Office 2011 with my macbook. I factory reset it without backing up any application so I lost my office programs. I tried to reinstall two ways... One with the CD that came in the box, and online, but both had the same nega

  • Font in svg file

    I create a svg file with php which includes a dynamic text. Therefore I have embedded the used font with <font><font-face><glyph>.... This works fine with Chrome, but Firefox uses the standard font. How can I use an embedded font in the svg file? Tha

  • What is invoice list

    hi gurus what invoice list does.  Where do we use this invoice list how to configure means where do we set customizing settings.   How it will be use ful in a business. Thanks & Regards Poitns will be rewarded

  • I have 2 firefox desktop icons how do i remove 1

    i have just upgraged my firefox to the firefox 4 and i now have 2 icons on my desktop how do i remove 1. They are both the same so 1 not needed.

  • HP Pavilion 500-314: big problems adding external video card

    Looking for some help. I recently purchased an HP Pavilion 500-314.  Specs are as follows: http://h10025.www1.hp.com/ewfrf/wc/document?docname=c04293928&tmp_task=prodinfoCategory&cc=us&dlc=en... The unit includes integrated Radeon R7 graphics, and co