String in object name

hi, wondering if someone can help me,
i have some script in which the object name will be created
from a string and now i need to call another object within the
object and not sure how to do it.. here is some code:
u will see on the first line of the code an object is
duplicated with a new name
and on the last line i need to change the value of an object
within that new object i duplicated.. no i am not show how to do it
with it's new object name, at the moment i just tried pic+i
u see on the 2nd line i am able to do it because i am able to
put the object path within " ".
hope it not to confusing.

Accessing pic+i+.button will act as variable. You need to
Evaluate this using either a Square Bracket or evaluate function,
See the below Code using the " [ ] " for evaluation

Similar Messages

  • Create object name using a String variable

    Hi,
    I�m making a jsp page and I need to add several objects to a vector. The vector's name is arrayGrupo, and the object is Grupo. The problem is that when I create the instance of the object, I cant �give him different names, so the add in the Vector will always be of the same object instance. Is there anyway to create an object name using a variable?
    Something like this:
    <% if (request.getParameter("grupoNome") != null ) {
                                       nomeG=request.getParameter("grupoNome");
                                       descG=request.getParameter("grupoDesc");
                                       int nG=arrayGrupo.getTamanho(); //size of the array
                                       String xpto=String.valueOf(nG);
                                       Grupo "xpto"= new Grupo(); //here is the problem
                                       xpto.setNomeGrupo(nomeG);
                                       xpto.setDescricao(descG);
                                       xpto.setIdgrupo(arrayGrupo.getTamanho()+1);
                                       arrayGrupo.addGrupo(xpto);
    }%>
    Thanks
    Rui Gon�alves

    I want to show a list of objects that are stored in a vector. But I also want to add objects to that vector. If I just want to add one object, I can use this code:
    <% if (request.getParameter("grupoNome") != null ) {
                                       nomeG=request.getParameter("grupoNome");
                                       descG=request.getParameter("grupoDesc");
                                       Grupo newGrupo = new Grupo(nomeG,descG,arrayGrupo.getTamanho()+1);
                                       arrayGrupo.addGrupo(newGrupo);
    %>
    What should I do if I want to add more than one object to the vector?
    I don�t know if I made myself clear but is quite hard to explain my problem.
    Thanks

  • Passing a string as an object name...how?

    I've searched all over the place for a solution to this to no avail.
    I have a program that reads input from a text file. The text file holds information on student IDs, so it look something like this:
    "ID_1234"
    "ID_1235"
    "ID_1236"
    So, every line of the text file has a student ID.
    I have a class called Student, that takes the student ID as a parameter, so I can create a Student object pretty easily by going, for example:
    Student newStudent = new Student("ID_1234");
    Now, my problem is that I want to read the contents of the text file that is given to me and create an object for each student, and use as a name for that object the student's ID. I have the program reading the data from the text file no problem, it's just the object name assignment I'm having trouble with.
    //Start code
    private void readInStudents(String fileName){
    BufferedReader reader = new BufferedReader (new FileReader (studentIDFile.txt));
    String line = reader.readLine();
    while(line != null)
    Student line = new Student(line);
    //End code
    Ideally I would like this to crate three Student objects, with the names "ID_1234", "ID_1235", and "ID_1236" respectively.
    However, this is not the case as I get an error when assigning "line" as the object name in the line within the while loop.
    Any help would be much appreciated!!!!!!
    Many thanks.

    elsombreron wrote:
    Thanks to all for your quick replies. I ended up using an ArraList to store the objects without needing to give them all a dynamic name.
    I come from a purely procedural programming background where the sort of assignment I was trying to do would work, so still have to get used to OO style.
    Thanks again.Huh? I don't see what procedural vs object oriented has to do with it.
    FORTRAN, COBOL, C and Ada (pre 95) are all procedural languages and as far as I can remember, you could not do that in any of them.
    Perhaps many scripting languages allow this. The various *nix shells come to mind.
    What languages are you referring to that have tis feature?

  • Using contents of a String as the name for a variable

    I'm trying to write code that will evaluate the contents of a String variable and then use the contents as the name for an object. For example, my program will create an unknown number of Student objects. I would like to name the Student objects student1, student2,... . In the code below, how do I get the last line of the method to create a new Student called something like "student3" instead of "varName"? Thanks, Julie
    int numberOfStudents= 0;
    public void createStudent()
       numberOfStudents++;
       String varName = "student" + numberOfStudents;
       Student varName = new Student();
    }

    The name of the reference variable is irrelevant to the functional aspect of the application. The 'Name' should be a property of the student class. EG
    class Student {
    private String name;
    public String getName() { return name; }
    public void setName() { this.name = name; }
    public Student() { this(null); }
    public Student(String name) { setName(name); }
    now your code becomes
    public void createStudent() {
    numberOfStudents++;
    Student newStudent =
    new Student("student"+numberOfStudents);
    // now do something with the new student...
    If you're expecting to use the 'Student' instance outside of this method you need to store a reference to it somewhere more accessible (like a field, in a list or an array) or return the reference from this method...

  • Using variable names for object names

    Is there any way you can use a String variable to name an object? I.e., something like:
    String name = "objectName";
    \\ create an Image object named objectName
    Image (name.valueOf()) = new Image();
    This code obviously does not work, but I'm working on a map applet which uses a map composed of thousands of tiles, and then shows only a portion of the map by drawing the appropriate tiles into the window using the x/y coordinates and a nested for loop to determine which tiles to draw. However, unless I want to manually declare and then call each of these Image objects, I need to have a way to have the actual name of each image object be a reference to a variable, which I will then initalize according to the name of the tile I'm using. Does that make sense at all? Anyway, I was just wondering if anyone knows of any way to do this. Thanks.
    -Ari

    Typically this is done using a Collection, for example:
    Image[] img = new Image[100];
    for (int i=0; i<img.length;i++)
      img[i] = new Image();... Sort of thing.

  • Invalid object name 'dbo.uf_GetRateSrcMember'

    Hello Friends,
    We recently applied the  SP3 (CPMBPC03P_1-20002499) for BPC 5.1. We are in Single Server environment. Our BPC 5.1 build was 5.0.486 which was required to install the SP3. After the installation it is 5.0.502
    We are getting the error below when we are trying to change the appliction sets from from the main page.
    Any help to resolve the issue is appreciated
    Server Error in '/OSoft' Application.  Invalid object name 'dbo.uf_GetRateSrcMember'.
    Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
    Exception Details: System.Exception: Invalid object name 'dbo.uf_GetRateSrcMember'.
    Source Error:
    The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL:
    Add a "Debug=true" directive at the top of the file that generated the error. Example:
      <%@ Page Language="C#" Debug="true" %>
    or:
    Add the following section to the configuration file of your application:
    <configuration>
       <system.web>
           <compilation debug="true"/>
       </system.web>
    </configuration>
    Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode.
    Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario.
    Stack Trace:
    [Exception: Invalid object name 'dbo.uf_GetRateSrcMember'.]
       Microsoft.VisualBasic.CompilerServices.LateBinding.LateGet(Object o, Type objType, String name, Object[] args, String[] paramnames, Boolean[] CopyBack) +905
       OSoft.Consumers.ZFP.WebBase.PageBase.GetCurrentView() +518
       OSoft.Consumers.ZFP.WebBase.PageBase.get_CurrentView(String strDimension) +43
       ASP.Landing_aspx.__Render__control1(HtmlTextWriter __output, Control parameterContainer) +95
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +27
       System.Web.UI.Control.Render(HtmlTextWriter writer) +7
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +243
       System.Web.UI.Page.ProcessRequestMain() +1926
    Really looking forward for answers.
    I would really really really appreciate any help
    Thanks

    Kaji,
    I had the same problem. Here is the solution:
    Dear customer,
    This issue looks similar to a previously reported bug.
    In general there is the possibility that some service/process
    remained in a bad status and this can be fixed by restarting the server
    But could you please also check, whether this description fits
    to your scenario:
    This issue occurred because when there are no secured dimensions
    in an appset,
    The modified application process remove the user function
    which is used for checking secured dimension.
    In case there is no secured dimension in the appset the
    problem occurres.
    This issue looks similar to a previously reported bug.
    In general there is the possibility that some service/process
    remained in a bad status and this can be fixed by restarting the server
    But could you please also check, whether this description fits
    to your scenario:
    This issue occurred because when there are no secured dimensions
    in an appset,
    The modified application process remove the user function
    which is used for checking secured dimension.
    In case there is no secured dimension in the appset the
    problem occurres.
    When modify application is run , the user function has been removed.
    A workaround is this:
    if you make Entity and RateSrc as secured dimension,
    the user function will be made in the appset again.
    Then you can change the user function as other name in database
    by renaming. After finished the rename,
    you can change the dimension as unsecured dimension like current.
    Then, you have to replace the user function name
    as original function name.
    Because the user function name is dependent on dimension name.
    If you can#t connect BPC Admin due to web page error,
    you have to execute the EverestAdmin.exe file
    in "C:\Program Files\BPC"
    Hope it solves the prob...
    Nic

  • Object Name

    How to pass object name to j.clsprint("j") ? rather than type "j"
    import java.lang.*;
    class clsone
    int j;
    int k;
    // Constructor Methods
    clsone(int x)
    j = x;
    // Overloading Constructors
    clsone(int x, int y)
    j = x;
    k = y;
    void clsprint(String x)
    System.out.println(x + " value is " + this.j);
    public class clstest {
    public static void main(String[] args) {
    int i;
    clsone j = new clsone(7);
    clsone k = new clsone(9,9);
    System.out.println("j value is " + j.j);
    System.out.println("k value is " + k.j);
    j.clsprint("j");
    // eof

    Alright, I've solved it. It uses Class.getField( String ) to return the neccessary Field, which represents the data member you want. It then uses Field.setInt( Object, int ) to change the value of the field indirectly without referring to the data type.
    import java.awt.*;
    import java.lang.reflect.* ;
    class test
         public int i, j ;
         test()
              i = j = 1 ;
    public class app {
         public static void main()
              test mytest = new test() ;
              System.out.println( mytest.i ) ;
              try
                   Field f = mytest.getClass().getField( "i" ) ;    // get the field
                   f.setInt( mytest, 2 ) ;    // change the value
              } catch( Exception e ) {}
              System.out.println( mytest.i ) ;
    }

  • MBAM 2.5 Reports Fail with "Invalid object name 'v_GS_MBAM_POLICY'."

    Utilizing the SSRS Reports for MBAM 2.5 Integrated into Configuration Manager 2012 R2 Cu3, when I run the reports it states that the view
    'v_GS_MBAM_POLICY'  does not exist.
    The complexing thing though is that there are computers that are reporting the HINV Class called 'Win32Reg_MBAMPolicy'  So I would think this view would have been created.
    Does anyone know the process by which the view gets generated since my HINV is reporting back the information, yet the view has not been created in the DB yet... It makes no sense.
    The error is:
    Microsoft.Reporting.WinForms.ReportServerException
    An error has occurred during report processing. (rsProcessingAborted)
    Stack Trace:
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)
       at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()
       at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    Microsoft.Reporting.WinForms.ReportServerException
    Query execution failed for dataset 'ComplianceDetails'. (rsErrorExecutingCommand)
    Stack Trace:
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)
       at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()
       at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    Microsoft.Reporting.WinForms.ReportServerException
    Invalid object name 'v_GS_MBAM_POLICY'.
    Stack Trace:
       at Microsoft.Reporting.WinForms.ServerReport.ServerUrlRequest(Boolean isAbortable, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
       at Microsoft.Reporting.WinForms.AsyncMainStreamRenderingOperation.RenderServerReport(ServerReport report)
       at Microsoft.Reporting.WinForms.AsyncRenderingOperation.PerformOperation()
       at Microsoft.Reporting.WinForms.ReportViewer.AsyncReportOperationWrapper.PerformOperation()
       at Microsoft.Reporting.WinForms.ProcessingThread.ProcessThreadMain(Object arg)
    David Baur

    We ran into this error as well. Turns out that MBAM-provided reports to SCCM 2012 fail with an error unless the Win32Reg_MBAMPolicy class is added to SCCM, which also updates the SCCM SQL with required Views, including "v_GS_MBAM_POLICY".
    The solution that we finally came up with was to import an updated MOF file to include the BitLocker Policy (Win32Reg_MBAMPolicy) class into the "Hardware Inventory" section of the Default Client Policy. Once the import is complete SQL also gets
    the appropriate view created.
    The instructions on how to create and import the MOF file can be found in the link below.
    http://technet.microsoft.com/en-US/library/dn237295.aspx
    Chris Keene
    Product Specialist at Wave.

  • Making an object name

    Hi All,
    I have to do what I thought was a simple thing:
    A cue point comes into my function and is read. I find the name of that cue point (which is the name of the MC it will act upon) and convert it from a string to an object name so I can work on it. Here's how I do that:
    function onCuePoint(event:CuePointEvent):void
      trace (event.name);                                                       // output: "childMovieClipA" <==this is a string.
      newChildObjectName = this[event.name];
      trace ( newChildObjectName.name );                          // output: "childMovieClipA" <==this is an object..
    That works. How do I make the name of another related MC by adding a string to the event.name and then convert that string to an object name?
    I'm trying to create the name of this MC: "childMovieClipA_grandChild"
    For example, I'm trying to do this below but get an error:
      newGrandChildObjectName = this [event.name + "__grandChild"];
      trace ( newGrandChildObjectName.name );                //TypeError: Error #1010: A term is undefined and has no properties.
    Any help is appreciated.

    In your example it appears you use two underscore characters whereas what you say you want to create appears to only have one.
    The way you say you want it places it at the same child level as the event.name object.  Just in case, if the _grandchild is a child of the event.name object, you need to use a separate pair of brackets for it.

  • String to Object, then get the Class

    hi I'm new in Java!
    what I want to do is to convert a String and convert it to a Object then get the classname of the Object.
    for example:
    ExampleClass classObject = new ExampleClass();
    String exampleString = "classObject";
    I want to convert the string "classObject" into an Object, then get the Class name of the Object. (Let's just say I don't know what the Class name is)

    static Class forName(String className)Please correct me if I'm wrong...
    but what I have is an Object name (in string format),
    not a Class Name.
    So I'm kinda looking for something like...
    static Object forName(String objectName)
    Class.forName() returns a Class object. From this you can create an instance.
         String s = "java.awt.Frame";
         java.awt.Frame frame = (java.awt.Frame) (Class.forName(s)).newInstance();

  • Failure Description: ORA-44002: invalid object name

    Hi,
    I'm trying to use O-cluster to find clusters in my data programmatically. When I try to bin the data (using a modified version of the dmocdemo.java), I get the following error
    Failure Description: ORA-44002: invalid object name
    Details -
    I'm trying to cluster data in my table (see desc below) based on values of evt_hostname, evt_key and evt_username;
    SQL> desc sc.sc_event_store;
    Name Null? Type
    EVT_SEQNO NOT NULL VARCHAR2(64)
    EVT_HOSTNAME NOT NULL VARCHAR2(64)
    EVT_TIMESTAMP NOT NULL TIMESTAMP(6)
    EVT_ID NOT NULL NUMBER(8,2)
    EVT_CAT_ID NUMBER(8,2)
    EVT_SERVERSTATE NUMBER(8,2)
    EVT_USERNAME VARCHAR2(64)
    EVT_KEY VARCHAR2(2048)
    EVT_VALUE VARCHAR2(64)
    EVT_RECUR_TAG NUMBER(15,2)
    EVT_CLUSTER_ID VARCHAR2(64)
    I've modified prepareData() in dmocdemo.java like this
    isOutputAsView = false;
    inputDataURI = "SC.SC_EVENT_STORE";
    outputDataURI = "OC_BINNED_DATA_BUILD_JDM";
    // Create boundaries for all numeric attributes
    OraBinningTransformImpl buildDataXform =
    (OraBinningTransformImpl)m_binningXformFactory.create(
    inputDataURI, outputDataURI, isOutputAsView );
    //buildDataXform.setLiteralFlag(true);
    String[] excludeColumnList = {"EVT_SEQNO","EVT_TIMESTAMP","EVT_ID","EVT_CAT_ID","EVT_SERVERSTATE","EVT_VALUE","EVT_RECUR_TAG","EVT_CLUSTER_ID"};
    buildDataXform.setExcludeColumnList(excludeColumnList);
    buildDataXform.setNumberOfBinsForCategorical(125);
    //buildDataXform.setNumericalBinningType(OraNumericalBinningType.auto_equi_width);
    buildDataXform.setCategoricalBinningType(OraCategoricalBinningType.systemDefault);
    xformTask = m_xformTaskFactory.create(buildDataXform);
    executeTask(xformTask, "ocPrepareBuildTask_jdm");
    The executeTask() function tries executing the task, but returns with
    Failure Description: ORA-44002: invalid object name
    Any insight/help will be greatly appreciated.

    Arthur suggestion works but you shouldnt even be doing this on a SQL Task.
    Use a data flow task. You'll have better control over the data that is being transfered and get better performance because no staging table will be used.
    Just because there are clouds in the sky it doesn't mean it isn't blue. But someone will come and argue that in addition to clouds, birds, airplanes, pollution, sunsets, daltonism and nuclear bombs, all adding different colours to the sky, this
    is an undocumented behavior and should not be relied upon.

  • Values of Variables as Object names

    Hi!
    Can a value of a variable be an object name, and how?
    For example:
    String test = "myname";
    JLabel myname = new JLabel();
    Is it possible to set the object name for the Label from the value of the String test (here: myname) without explicit typing the name of the Label in the code??
    thanks
    P.S. excuse my bad english - I hope you understand my question.

    how can you dynamically create for example Labels? "new Label(text)" will dynamically create a new Label for you.
    I have a database connection and I want to put let's say every value of a column into a new Label.Okay, so you put "new Label(text)" inside the loop that's reading the database. I expect you want to display these labels, so you'd want to add them to some GUI container. Like this: "container.add(new Label(text))".
    how do I declare dynamically names for Labels?In the scenario where you just want to display the labels, you don't need to have "names" for them. But if you have some other scenario, like you need to get at the labels and change the text based on something else happening, then you use a Hashtable to store the Labels. You'd use a String as the key (that's your "name") and use the Label as the value. Then you can retrieve the Label from the Hashtable by using its get(key) method.

  • Assigning object name dynamically !!!

    Dear Friends,
    Is it possible to assign the object name dynamically. Something like this ...
    class DynamicObject
    public static void main(String ggg[])
    int runtime= ....getNumber(); // ... some method which returns int and val returned is dynamic
    for (int i=0; i<runtime;i++)
    String obj+i = new String("sasfdf"); // this line is giving error !! is there any other way ???
    I want to generate n object. So I need to do this way.
    Can anyone share how to achieve this.
    Thanx

    Using Arra??
    Can you give me the clue ??
    Thanx

  • [solved] JBO-25005: Object name 1 for type Variable is invalid

    Hi All
    When Deploying our Application to Oracle Application server we got this Exception on the Application log after while
    JBO-30003: The application pool (model.setup.SetupAppModuleLocal) failed to checkout an application module due to the following exception:
    oracle.jbo.JboException: JBO-29000: Unexpected exception caught: oracle.jbo.InvalidObjNameException, msg=JBO-25005: Object name 1 for type Variable is invalid
    at oracle.jbo.common.ampool.ApplicationPoolImpl.doCheckout(ApplicationPoolImpl.java:2002)
    at oracle.jbo.common.ampool.ApplicationPoolImpl.useApplicationModule(ApplicationPoolImpl.java:2793)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:453)
    at oracle.jbo.http.HttpSessionCookieImpl.useApplicationModule(HttpSessionCookieImpl.java:233)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:424)
    at oracle.jbo.common.ampool.SessionCookieImpl.useApplicationModule(SessionCookieImpl.java:419)
    at oracle.adf.model.bc4j.DCJboDataControl.rebuildApplicationModule(DCJboDataControl.java:1543)
    at oracle.adf.model.bc4j.DCJboDataControl.beginRequest(DCJboDataControl.java:1404)
    at oracle.adf.model.BindingContext.beginRequest(BindingContext.java:683)
    at oracle.adf.model.BindingRequestHandler.invokeBeginRequest(BindingRequestHandler.java:346)
    at oracle.adf.model.BindingRequestHandler.beginRequest(BindingRequestHandler.java:166)
    at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:161)
    ## Detail 0 ##
    oracle.jbo.InvalidObjNameException: JBO-25005: Object name 1 for type Variable is invalid
    at oracle.jbo.common.VariableImpl.validateName(VariableImpl.java:234)
    at oracle.jbo.common.VariableImpl.setVariableKind(VariableImpl.java:301)
    at oracle.jbo.server.ViewObjectImpl.activateParams(ViewObjectImpl.java:13306)
    at oracle.jbo.server.ViewObjectImpl.doActivateSettings(ViewObjectImpl.java:13368)
    at oracle.jbo.server.ViewObjectImpl.doActivateSettings(ViewObjectImpl.java:13217)
    at oracle.jbo.server.ApplicationModuleImpl.activateVOs(ApplicationModuleImpl.java:7173)
    at oracle.jbo.server.ApplicationModuleImpl.doActivateState(ApplicationModuleImpl.java:6996)
    at oracle.jbo.server.ApplicationModuleImpl.doActivateAMState(ApplicationModuleImpl.java:6961)
    What does this mean ??

    Hi Mahmoud,
    from the stack trace, it appears the error occurs at AM activation.
    Check your application is activation-safe by setting the parameter jbo.ampool.doampooling=false in your development environment.
    See "Set jbo.ampool.doampooling=false to Reproduce Problems Related to AM Passivation / Activation"
    URL: http://blogs.oracle.com/Didier/2006/11/12
    Does the error reproduces there ?
    You will then be able to diagnose the issue further, f.ex. by switching on the BC4J diagnostics, with the java option -Djbo.debugoutput=console:
    in your Project properties , in the Run/Debug panel, select a run configuration and click Edit to edit it.
    Then add the string -Djbo.debugoutput=console to the Java Options field.
    Then run your application and reproduce the error.
    You'll then probably know the VO that has the problem.
    At activation, ADF BC has to reset the bind variables, and it seems there is a problem at that time.
    What kind of bind variables do you use ?
    Positional bind variables or named bind variables ?
    Regards,
    Didier.

  • Object Name TXBLWT

    Hello Folks!
    Looking at payroll function USTAX through PE04 I have seen under Output Parameters the object name TXBLWT. There's no documentation to this. Can anyone tell me what is this object purpose?
    Thanks for the contributions!
    Kind regards,
    Felipe Grandi

    Alright, I've solved it. It uses Class.getField( String ) to return the neccessary Field, which represents the data member you want. It then uses Field.setInt( Object, int ) to change the value of the field indirectly without referring to the data type.
    import java.awt.*;
    import java.lang.reflect.* ;
    class test
         public int i, j ;
         test()
              i = j = 1 ;
    public class app {
         public static void main()
              test mytest = new test() ;
              System.out.println( mytest.i ) ;
              try
                   Field f = mytest.getClass().getField( "i" ) ;    // get the field
                   f.setInt( mytest, 2 ) ;    // change the value
              } catch( Exception e ) {}
              System.out.println( mytest.i ) ;
    }

Maybe you are looking for

  • Design advice for vertical list calculations

    I'm extending a product management life cycle sharpoint 365 site, With purchase orders, magazine store, production targets (date based) and sold dates. So that in our production environment we can see how much is stored, how much can be sold, and wha

  • Using the Mail content and Mail Attachment in the mapping

    Hi, I have a requirement in which I need to read a file from the mail server and I am using the sender mail adapter for this. I have to convert the attachment of the mail in to the payload. To do this I am using the payload swap bean and mail transfo

  • How to make GB respond to a program change

    I'm using m-audio keystation 49e and I can get all the different instruments but I can't get Garagebend to recognize the instrument I'm playing, the musical typing function and the playback play it as #0 acoustic piano. I was messing around with it a

  • Help convert date

    hi help convert date April 26, 1904....August 12, 1979 to dd/mm/yyyy

  • Portal - bursting via attribut "e-mail" in InfoObject 0PROJECT

    Hello We are facing a problem in SAP Portal. Via Infoobject 0PROJECT (with customer display attribut zemail) we intend to burst a workbook to the appropriate user entries in the project. After executing we get the error message  in  a separate window