Dynamically Declared Properties in PS CS3's plug-in

Now Im developing a plug-in for Photoshop CS3, and I want to dynamically change its properties rather than statically define them in PiPL.
But Photoshop never send message "SP Properties" to my plug-in, so I have no chance to handle SPPropertiesMessage. Id like to appreciate if anyone could let me know how to let PS send message acquiring properties or whether PS really support this kind of approach, thanks!

PS does not support that kind of approach. PS does not support all of the SP API's. The static PiPL property is all you have for defining a plug-in. (Helps our launch time for warm launch)

Similar Messages

  • Dynamically Decaling Properties in PS CS3's plug in

    Now Im developing a plug-in for Photoshop CS3, and I want to dynamically change its properties other than statically define them in PiPL.
    But Photoshop never send message "SP Properties" to my plug-in, so I have no chance to handle SPPropertiesMessage. Id like to appreciate if anyone could let me know how to let PS send message acquiring properties or whether PS really support this kind of approach, thanks!

    This is a user forum, you want the developer forum
    http://www.adobeforums.com/webx/.3bbc5053/

  • Dynamically creating properties

    Hi,
    I'm migrating my application from NW 7.0 to NW 7.11 CE.
    Previously I dynamically created properties from my application and they were automatically created as onlinemodifiable = true.
    When I migrated my project the properties were no longer created as modifiable.
    Can anybody point me to documentation or suggest a way to solve this issue?
    Here's my code creating the dynamic property:
              Configuration cfg = null;
              try {
                   cfg =
                        _cfgHandler.openSubConfiguration(
                             "application.global.properties",
                             ConfigurationHandler.WRITE_ACCESS);
              } catch (NameNotFoundException e) {
                   e.printStackTrace();
              } catch (ConfigurationLockedException e) {
                   e.printStackTrace();
              } catch (ConfigurationException e) {
                   e.printStackTrace();
              // get the property sheet
              PropertySheet ps = cfg.getPropertySheetInterface();
              // Create the property
              ps.createSecurePropertyEntry(propertyName, "", "");
              // commit the changes
              _cfgHandler.commit();
              cfg.close();
    Best Regards,
    Ran

    Hi,
    Probably this configuration can be done through NWA [check this|http://help.sap.com/saphelp_nwesrce/helpdata/en/18/5157425e060d53e10000000a155106/content.htm]
    Best Regards
    Satish Kumar

  • "Dynamic Declaration/Variable"

    Hi,
    first sorry for my bad english :)
    I have a Problem with Forms Builder 6
    I want to know if it possible to set dynamic declarations inside a loop
    loop_i := 1;
    WHILE loop_i < 10 LOOP
    go_item('GERAET' || to_char(loop_i) || '.Beginn'); --Geraet1.Beginn to Geraet10.Beginn... this works without problems
    if (':GERAET'||to_char(loop_i)||'.Beginn') is null then
    :GERAET || to_char(loop_i) || .Beginn := ('01-JAN-1234'); -- here is my problem
    END LOOP;
    My Problem is in this Line :GERAET || to_char(loop_i) || .Beginn :=
    I cant fill fields dynamic like this. Is there any way to fill Geraet1.Beginn to Geraet10.Beginn with this Loop? I dont know the syntax for declarations with " : " and a dynamic variable
    i hope you understand what i mean :)

    Use the Name_In() and Copy() built-ins (see the online doc)
    Francois

  • Dynamic Declarative Component managed bean returned null

    Hi,
    In a project from an application a DDC component is defined. This component uses a managed/backing bean with view scope.
    Using this component inside this project is working fine. This component should be used in other view controller projects, and here where the problems are.
    This project(let's call it Common) is deployed as ADF Library jar, and used in the other V-C projects.
    The big problem is that the managed bean defined for the logic of this component is not 'reacheable'.
    (Another problem is that the attribute value is not seen as its EL expression but as string, for this i found a workaround.)
    In project Common the adfc-config.xml file:
    <adfc-config xmlns="http://xmlns.oracle.com/adf/controller" version="1.2">
      <managed-bean id="__4">
        <managed-bean-name id="__2">ExtendedShuttle</managed-bean-name>
        <managed-bean-class id="__1">com.xyz.portal.taskflow.common.extendedshuttle.ExtendedShuttle</managed-bean-class>
        <managed-bean-scope id="__3">view</managed-bean-scope>
      </managed-bean>
    </adfc-config>A part from component declaration:
          <af:table var="row" rowBandingInterval="0" id="ta"
                                  rowSelection="multiple" columnStretching="last"
                                  disableColumnReordering="true" fetchSize="-1"
                                  binding="#{viewScope.ExtendedShuttle.allItemsTable}"
                                  value="#{viewScope.ExtendedShuttle.allModel}"
                                  partialTriggers="::dc_cb5 ::dc_cb3"
                                  filterVisible="true"/>The root exception is :
    javax.el.PropertyNotFoundException: Target Unreachable, 'ExtendedShuttle' returned null
    This exception is throw on com.sun.faces.application.ApplicationImpl.createComponent when *#{viewScope.ExtendedShuttle.allItemsTable}* is evaluated.
    Caused By: javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'ExtendedShuttle' returned null
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:262)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
         at javax.faces.webapp.UIComponentClassicTagBase.createFacet(UIComponentClassicTagBase.java:510)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:661)
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142)
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:70)
         at oracle.adfinternal.view.faces.taglib.UIXTableTag.doStartTag(UIXTableTag.java:41)
         at oracle.adfinternal.view.faces.unified.taglib.data.UnifiedTableTag.doStartTag(UnifiedTableTag.java:50)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
    Caused By: javax.faces.FacesException: javax.el.PropertyNotFoundException: Target Unreachable, 'ExtendedShuttle' returned null
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:262)
         at javax.faces.webapp.UIComponentELTag.createComponent(UIComponentELTag.java:222)
         at javax.faces.webapp.UIComponentClassicTagBase.createFacet(UIComponentClassicTagBase.java:510)
         at javax.faces.webapp.UIComponentClassicTagBase.findComponent(UIComponentClassicTagBase.java:661)
         at javax.faces.webapp.UIComponentClassicTagBase.doStartTag(UIComponentClassicTagBase.java:1142)
         at org.apache.myfaces.trinidad.webapp.UIXComponentELTag.doStartTag(UIXComponentELTag.java:70)
         at oracle.adfinternal.view.faces.taglib.UIXTableTag.doStartTag(UIXTableTag.java:41)
         at oracle.adfinternal.view.faces.unified.taglib.data.UnifiedTableTag.doStartTag(UnifiedTableTag.java:50)
         at oracle.jsp.runtime.tree.OracleJspBodyTagNode.executeHandler(OracleJspBodyTagNode.java:50)
    Caused by: javax.el.PropertyNotFoundException: Target Unreachable, 'ExtendedShuttle' returned null
         at com.sun.el.parser.AstValue.getTarget(AstValue.java:88)
         at com.sun.el.parser.AstValue.setValue(AstValue.java:133)
         at com.sun.el.ValueExpressionImpl.setValue(ValueExpressionImpl.java:255)
         at com.sun.faces.application.ApplicationImpl.createComponent(ApplicationImpl.java:259)
    Can you help figure it out, why is not working or why the managed bean is not visible in other projects but only in the one where the component is defined?
    Thank you for your time,
    Bogdan
    ps: how can i format the source code, on this fourm?

    Hi Frank,
    Thank you for the answer.
    I must say i'm quite new with ADF technology and maybe my questions are silly.
    Here is a Quote from "Oracle Fusion Developer Guide - Building Rich Internet Application with Oracle ADF" by Frank Nimphius and Lynn Munsinger Chapter 15 page 498:
    "You build dynamic declarative components *instead* of tag library based declarative components, if component resuse is required *only within the application* that has the component defined."
    Maybe i misunderstand the meaning of application from this sentence, but i need this component in several ViewController projects from only one application (ADF application).
    Tag lib declarative component I would not like to have, since the (automtically) build process is not my responsability and it will take some time till is pinpointed, but still is a last resort.
    Anyway two things are strange:
    1. Why the component is still available in other projects(and the beans not)?
    2. Why when a binding variable (for example: of type FaceCtrlHierBinding) has the correct type in the declarative project and in the order projects is of type String and its value is the variable name?
    Example:
    <af:declarativeComponent ...
    AllItems="#{bindings.Action}"
    In project where the component is declared its value is an instance of FacesCtrlHierBinding and in the rest of the projects is of type String with value "Action".
    Once again thank you a lot,
    Bogdan

  • Dynamic declarative component won't work properly within table row

    Hi guys,
    I built a dynamic declarative component which basically consists of an af:inputText surrounded by a af:panelLabelAndMessage tag.
    The component works fine until I put it inside a table column, then none of the attribute values get set.
    The problem seems to be related to the table row binding #{row.binding.Name.inputValue} , if I use a regular binding #{binding.Name.inputValue} it works ok.
    The declarative components attribute is defined as
    <attribute>
        <attribute-name>kbez</attribute-name>
        <attribute-class>java.lang.Object</attribute-class>
    </attribute>and is used as the inputText's value attribute
    <af:componentDef var="attrs" componentVar="component">
        <af:panelLabelAndMessage label="#{attrs.label}" id="dc_plam1"
                                 for="dc_it1" labelStyle="white-space:nowrap;"
                                 showRequired="#{attrs.showRequired}"
                                 rendered="#{attrs.rendered}">
            <af:inputText id="dc_it1" value="#{attrs.kbez}"
                          autoSubmit="true" immediate="false" ...>The component inside a table column is set like this
    <af:declarativeComponent viewId="/WEB-INF/ikb.adf.kreda.basis/mitarbeitersuche/ddc/mitarbeiterLOV.jsff"
                             id="ddc1" label="Mitarbeiter"
                             kbez="#{row.bindings.Kbez.inputValue}"/>My JDeveloper version is 11.1.1.5.
    Am I doing it wrong or is this a bug?
    Any help is appreciated.
    Thank you,
    Achim
    Edited by: Achim Rosenfeld on Mar 8, 2013 8:41 AM

    Hi,
    +#{row.binding.Name.inputValue} , if I use a regular binding #{binding.Name.inputValue} it works ok.+
    Don't think that #{binding.Name.inputValue} works okay in a table because it doesn't stamp the component per row. Actually I don't know if we support dynamic declarative components in a stamped environment (table). I know though that we don't for taglib declarative components in this context.
    Reason why it doesn't work: Tables are stamped at runtime, which means that for better performance, only the generated HTML is reused for each row with different data - not the component. Your component requires itself to be re-created for each row so it can re-read the attribute again. This is not the case in a stameped environment
    Solution: For your particular use case I don't think that a dynamic declarative component is needed as you can add the construct (af:inputText surrounded by a af:panelLabelAndMessage) directly into an af:column tag. The declarative component makes more sense for reuse of layout areas (e.g. custom tabs) that are iterated within an af:forEach (in which case instances of the decalarative components would be created).
    Bottom line: tables stamp their components and as such the attribute property exposed on a DDC doesn't seem to be called for each row, which is by design. This can be considered a bug if there is a use case demanding for a DDC in a table. If this is a requirement for you (and you can't directly add the components to the af:column tag) feel free to file this as a service request with customer support (required a support contract) so development can have a look if the requirement is feasible to implement.
    Frank

  • Dynamic Declare Component cannot find property

    We currently have one main page calls a DDC(Dynamic declarative component) page fragment to create/update a record in database. The main page pass in a key to DDC when it loads DDC. The DDC binds to a view object with bind variable (get value from the passed key and load data from table) and several LOV attributes. Once user clicks submit button in main page, we wish that all the fields displayed in DDC could be committed to a database table to save.
    I use 11.1.1.5.
    In order to assign the bind variable of VO, we wrote a method in Application Module and make it invoked as the first executable when the main page is loaded. The deployment is fine. However, the runtime always thrown some exception to complain it cannot find property definition like this:
    ####<Aug 15, 2011 6:32:24 PM CDT> <Warning> <oracle.adfinternal.view.faces.lifecycle.LifecycleImpl> <curmailts1-corp> <AdminServer> <[ACTIVE] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)'> <<anonymous>> <> <6b1af60b3a40d50a:-6c52e935:131cfc2d522:-8000-000000000000024c> <1313451144494> <BEA-000000> <ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
    javax.el.PropertyNotFoundException: Target Unreachable, 'WorkDescription' returned null
         at com.sun.el.parser.AstValue.getTarget(Unknown Source)
         at com.sun.el.parser.AstValue.isReadOnly(Unknown Source)
         at com.sun.el.ValueExpressionImpl.isReadOnly(Unknown Source)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer._getUncachedReadOnly(EditableValueRenderer.java:486)
         at oracle.adfinternal.view.faces.renderkit.rich.EditableValueRenderer.cacheReadOnly(EditableValueRenderer.java:416)
         at oracle.adfinternal.view.faces.renderkit.rich.LabeledInputRenderer.beforeEncode(LabeledInputRenderer.java:128)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeEnd(CoreRenderer.java:334)
         at org.apache.myfaces.trinidad.component.UIXComponentBase.encodeEnd(UIXComponentBase.java:767)
         at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937)
         at org.apache.myfaces.trinidad.render.CoreRenderer.encodeChild(CoreRenderer.java:399)
         at oracle.adf.view.rich.render.RichRenderer.encodeChild(RichRenderer.java:2633)
    Questions: 1) Why my method in Application Module not called?
    2) Whether DDC is a right solution for our use case? Any suggestion or sample are welcomed!
    Thanks,

    Hi,
    I appreciate if you can show your code, but before that, make sure if you're following this tip below:
    "Declarative Components are regular JSF components except that they are built as a composite out of existing ADF Faces components. Declarative components cannot have a PageDef file associated with it and instead use value or method attribute to communicate with the consuming page. When creating a declarative component, the attrs implicit object is defined that allow you to reference the component's exposed value attribute from ADF Faces components within.
    An input text field contained in an declarative component may reference a value attribute "compValue" defined on the declarative component by using the following EL
    #{attrs.compValue}
    The declarative component compValue attribute then would us an EL reference like shown next to read/write values from or to the ADF binding layer:
    #{bindings.attribute_name.inputValue}"
    (Oracle ADF Code Corner)
    Regards,

  • Dynamic Declaration

    Hi
    I was looking into a poosibility of making a dynamic declaration refercing a formal parameter. is it possible. below is my code:
    FORM WRITE_DATA  USING P_TYPE   P_SNAME.
      CREATE DATA p_type TYPE (P_SNAME).
    ENDFORM
    Can you pls let me know on how to acheive it

    Hi Prabhu,
    if i understood you correctly, it's not possible what you like to do, because
    create data just gives you a pointer like for the above example, then you can assign the pointer to
    a field symbol that takes over the type of s_name then.
    I'm not sure, but i think what you need is the class
    CL_APAP_TYPEDESCR and it's subclasses like
    CL_ABAP_TYPEDESCR
    --CL_ABAP_DATADESCR
    --CL_ABAP_ELEMDESCR
    --CL_ABAP_REFDESCR
    --CL_ABAP_COMPLEXDESCR
    --CL_ABAP_STRUCTDESCR
    --CL_ABAP_TABLEDESCR
    --CL_ABAP_OBJECTDESCR
           |--CL_ABAP_CLASSDESCR
           |--CL_ABAP_INTFDESCR
    I think it's able to make dynamic declarations like you need then, but i never
    needed it and never used it.
    Kind Regards
    Henner

  • What happens to dynamically declared variables when I'm not using them?

    Hello, I'm making a game using Flash Pro cc. But I wonder what happens to aTile, which is dynamically declared MovieClip variable through a loop. And each aTile gets the 2 EventListener's.
    for(var i:Number=0; i<pVector.length;i++){
        var aTile:ATile=new ATile();
        aTile.x=pVector[i].x;
        aTile.y=pVector[i].y;
        aTile.gotoAndStop(Math.ceil(Math.random()*Color));
        nVector.push(aTile);
        Spr.addChild(aTile);
        aTile.addEventListener(MouseEvent.CLICK,Clicked,false,0,true);
        aTile.addEventListener(Event.COMPLETE, stop,false,0,true);
         // the current function ends here. what happens to aTile now ?? Is it going to be garbage collected? By the way, this piece of code runs whenever a player starts a new level of my game. And I don't make use of the aTile variable in other functions. I use only the nVector variable. And does declaring a dynamic variable in a loop mean a multiple of them are created? For example, if I loop the piece of code above 5 times, does it mean 5 aTile variables are created? Or each time you declare
    var aTile:ATile=new ATile(); again, does it replace the 'old' aTile with the 'new' aTile and therefore only 1 aTile exists after the loop????

    I feel there is a gap in understanding of using variables by reference vs. by value. You should look it up.
    1. new instructs Flash to create a distinct instance that per se has absolutely nothing to do with aTile variable.
    2. REFERENCE to this new instance is assigned to variable aTile. aTile var is a temporary pointer to instance.
    3. It does not replace old tile - it replaces reference.
    4. If reference to the instance is not stored elsewhere - upon exiting of function this instance will be gced.
    5. By creating another reference to the instance you prevent it from GC. One of the ways you preserve instance is by adding it to display list when using addChild.
    You can look at this this way (it is a lame example but still it illustrates parts of the concept)
    Say you have
    1. basket;
    2. basket is small and can hold only one apple;
    3. table;
    4. an apple;
    5. apple can be placed into the basket or table;
    6. dog who love apples.
    7. Dog is trained not to take apples from baskets but table but is free to eat apples that are on the ground.
    So, once apple is in the basket or on the table - it is safe.
    If you move these entities into the realm of AS3, basket and table become declared variables, apple an instance and dog garbage collector.
    What this example demonstrates is that apple exists independently of basket or table. You can put apple to the basket OR on the table OR you can put apple into basket and place basket onto the table.
    1. Find apple instance (if you know whether apple is in the basket, on the table or in the basket on the table)
    2. Prevent dog from eating apple.
    3. Allow dog to eat it (destroy it when garbage collector kicks in) by assuring that apple is in neither basket or on the table.

  • Problem displaying dynamically loaded text in Flash CS3

    I created a Flash CS3 application that does not display
    dynamically loaded text (from internal AS3 scripts) on 3/6 of my
    client's computers. All computers run IE 6 and Flash Player 9. I
    cannot replicate the problem on any computer in my department. The
    problem seems to be related to Flash Player 9 or a browser
    setting/IT restriction. Has anyone encountered this? If so, have
    you found a solution?
    If I cannot find a solution, then I will need to almost
    completely redo the application.
    One slightly insane idea I have considered is to, if
    possible, convert dynamically loaded text to an image real-time. Is
    that possible?
    Btw, I have created a font in my library. Should I try
    manually embedding the font from the Properties menu and selecting
    all characters?
    Thanks in advance.

    yes, even though you may be using a font from the library,
    you still have to specify that each text field that uses that font
    embeds the font, and you'll need to select all characters(well not
    all, unless you require all the different scripts of the world -
    upper-case, lower-case, numerals and punctuation usual suffices).
    I bet if you checked, the computers where the font did not
    appear did not have the font on their system.
    Good luck
    Craig

  • FTP Adapter - Dynamic JCA properties.

    Hi All,
    I have a requirement to dynamically assign few jca properties in FTP Adapter as listed below,
    FileName
    JNDI name
    PhysicalDirectory
    AchiveDirectory
    DeleteFile
    UseRemoteArchive
    Out of these, i am able to dynamically set the values for Source/Target fileName, JNDIName and Source/Target directory.
    <bpelx:inputProperty name="jca.ftp.FileName" variable="SOURCE_FILENAME"/>
    <bpelx:inputProperty name="jca.jndi" variable="SOURCE_JNDI"/>
    <bpelx:inputProperty name="jca.ftp.Directory" variable="SOURCE_DIRECTORY"/>
    Can anyone let me know what values can be used for other properties as well? I tried using the below values, but the values are not changed dynamically.
    <bpelx:inputProperty name="jca.ftp.FileArchiveDirectory" variable="SOURCE_ARCHIVE_DIRECTORY"/>
    <bpelx:inputProperty name="jca.DeleteFile" variable="DELETE_SOURCE_FILE"/> and <bpelx:inputProperty name="jca.ftp.DeleteFile" variable="DELETE_SOURCE_FILE"/>
    <bpelx:inputProperty name="jca.ftp.UseRemoteArchive" variable="ARCHIVE_REQD"/>
    Thanks,
    Mukesh

    Check if this blog is of help to you -
    SOA and Oracle Fusion Middleware Blog: Dynamically Set Archive Drectory Location for FTP Transfer

  • AS: setting table properties in ID CS3 invokes odd error message

    I'm converting an InDesign CS2 script to CS3 and am having the strangest error. This code used to work in ID CS2 for the selected text frame:
    >tell parent story of insertion point 1 of selection
    >set theTable to make table with properties {width:gridColumnWidth, body row count:totalGridRows, header row count:0, footer row count:0, column count:totalGridColumns, height:gridRowHeight, left border stroke weight:gridBorderWeight, right border stroke weight:gridBorderWeight, top border stroke weight:gridBorderWeight, bottom border stroke weight:gridBorderWeight, left border stroke type:"Solid", right border stroke type:"Solid", top border stroke type:"Solid", bottom border stroke type:"Solid", space after:0, space before:0}
    >end tell
    But now it chokes and gives me this strange error:
    >Adobe InDesign CS3 got an error: Invalid value for set property 'height'. Expected number or string, but received 21.80909090909093.
    Huh? That obviously has to be a number or string, so what's going on? What's even weirder is if I delete all the table properties except for weight and height, the script doesn't give the error. I know I can do this with a table style, but I'd like to understand what the problem is before I take that step.

    Shane:
    I was completely distracted by another project and am just getting back to addressing this problem. Sorry about that.
    Anyway, your suggestion was a sound one: I set the width and height in the first statement, added everything else in a second statement, and it worked perfectly. Thanks! Any idea why I needed to do so?

  • Cs3/indd plug-in problem! Please help!

    I am trying to open an indd doc in cs3, and the doc was also created by a different author using cs3, however i can't open the doc due to missing or outdated plugins. There are 2 screens that appear, one with a shorter list, then a second screen with a much longer list of about 25+ that are missing. Where and how do I locate these missing plug-ins? Thanks for your help!

    Ok, thanks! That's what I thought but was told otherwise. Any solutions other than using a later version?

  • Setting dynamic variable properties

    I asked this down in the Actionscript 3.0 forum, but maybe it
    was the wrong place... I really need some help on this to finish
    off an application we are creating.
    Thanks!
    If I create the textareas dynamically how do I loop through
    them later on to set their properties?
    so basically I have some textareas with ids of
    myText_0
    myText_1
    myText_2
    myText_3
    (etc)
    and I have a loop of
    for (var x:int=0; x<4; x++)
    // insert AS3 code here
    inside the loop I need to be able to say something like:
    myText_x.height = 50;
    myText_x.text = "Hello " + x.toString();

    Thanks ntsiii the bracket notation didn't work the way you
    put it, but if it is written as:
    this["myText_" + x].height = 50;
    this["myText_" + x].text = "Hello " + x.toString();
    And to think three days ago I put had it with parens instead
    of brackets (argh).

  • Dynamic declaration for variable.

    Can we declare a variable dynamic with varing data type.
    My req is i have to define a variable to store output from a dynamic select statement. Now since SELECT is dynamic, its output type changes each time and for the same I need a variable defined dynamically.
    Regards,
    Arpit

    Hi Arpit Gattani,
        To store output of an dynamic Select statement you can use dynamic data objects and field symbols.
        To create a data object dynamically during a program, you need a data reference variable and the following statement:
    CREATE DATA <dref> TYPE <type>|LIKE <obj>.
    This statement creates a data object in the internal session of the current ABAP program. After the statement, the data reference in the data reference variable <dref> points to the object. The data object that you create does not have its own name. You can only address it using a data reference variable. To access the contents of the data object, you must dereference the data reference.
    You must specify the data type of the object using the TYPE or LIKE addition. In the TYPE addition, you can specify the data type dynamically as the contents of a field (this is not possible with other uses of TYPE).
    CREATE DATA <dref> TYPE (<name>).
    Here, <name> is the name of a field that contains the name of the required data type.
    <b>Example:</b>
    A specific field is read from database table X031L. Neither the field name nor the table name is known until runtime:
    Read a field from the table X031L
    PARAMETERS:
      TAB_NAME    LIKE SY-TNAME,           "Table name
      TAB_COMP    LIKE X031L-FIELDNAME,   "Field name
      ANZAHL      TYPE I DEFAULT 10.       Number of lines
    FIELD-SYMBOLS: <WA>   TYPE ANY,
                   <COMP> TYPE ANY.
      DATA: WA_REF TYPE REF TO DATA.
      CREATE DATA WA_REF TYPE (TAB_NAME). "Suitable work area
      ASSIGN WA_REF->* TO <WA>.
    SELECT * FROM (TAB_NAME) INTO <WA>
      UP TO anzahl ROWS.
      WRITE: / TAB_COMP, <COMP>.
      ENDSELECT.
    Dont Forget to give points if it helps ;>)
    Regards
    Rakesh.

Maybe you are looking for

  • Is "diverging interaction" possible?

    I have started creating a presentation in Motion with the intention of taking into Flash for the interactive part, but it's taking a long time. Most of the presentation could be set out in Keynote, but there's a point where I want to offer 4 options,

  • Live in China, need to send to the U.S to fix

    Hi, I currently live in Beijing, my friend bought me an iPhone 4 from the states (AT&T) but the sim card tray is stuck and the apple here, refuse to fix it. I talked to the Apple people in the U.S and they said I need to send it to the states and the

  • Clicking Finder Icon in Dock Doesn't Open New Finder Window

    On my MBP with Lion, the left clicking the finder icon does nothing.  It doesn't even change the menu bar focus to finder.    I can right click and then open a new window.    This works like I am accustomed to on my MBP with Lion.  Any ideas to fix t

  • TS3999 ihave done all of this and still my events put on my outlook calendar do not synch to icloud or iphone or vice versa. contacts synch fine.

    i have worked through all  of the support suggested items and i cannot get evnets that are put on my Outlook calendar to go to my icloud calendar and therefore my ipad and iphone or vice versa with events put on my iOS devices. i want my staff to ent

  • Worst execution plan ever?

    World record estimation fail.  We expect 1 row back, Sql Server expects over 23 trillion!  The estimated memory is 111 Petabytes (yes, I said Peta). We're using a pretty ugly view.  Ugly because it has nested views, a correlated subquery and about 20