Is there a standard name/value class?

I search for a existing Sun class which just contains a name/value attribute (with getters, setters and consructors).
Is there any?

quereinsteiger wrote:
There must be such a common class which simply contains a key - value pair and is not something exotic like Map.Entry.Well, see this confuses me...
1) If you need to store key/value pairs, then Map (HashMap, TreeMap, Hashtable) would suffice to store an arbitrary number of key/value pairs very easily, all within 1 map.
2) If you don't want to use a map, then where are you going to store these? Because if you have individual Map.Entry objects (or another simple class of your own creation), you have to put them somewhere.
2a) Either you put them in a list or set, and then accessing them by name is going to require iteration thru the list/set to find the "pair" and getting the value. A map would be much simpler/faster to use.
2b) Or you would have to basically have to store each "pair" as a separate field in a class. In which case, the name/key is redundant, the field name would be the "name" part and it's value is the value.
So what are you trying to do in the first place?

Similar Messages

  • Is there a way around the mod_plsql name value pair limit of 2000?

    Hello,
    I was just surprised by the mod_plsql limit on POST of 2000 name-value pairs. I have a pretty complex page with several associative arrays picking up multiple pairs for the same medium sized set of named parameters. Is the 2000 a hard limit or can it be reset?
    Thanks for any help on this.
    Regards,
    --Jack                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    However, after some more searching, thanks for heading me over to Metalink. I found the answer there
    I have to go into the file plsql.conf and add or adjust a parameter named PlsqlMaxParameters
    --Jack                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Copy characteristic value(class 023 ) from the material master to the batch

    Dear All,
    Is there a way to copy the characteristic value (class 123) from material master to the batch master automatically once we create a batch of that material
    I tried to create a dependency, but didnu2019t know what to write in the dependency editor
    Please advise

    I dont know if its possible in standard,  you can try and create a reference batch, and use the below user exit I found in SAP library :
    Set Up Customer Exit for Determining Source Batch
    You can use function module exit EXIT_SAPLV01Z_011 in SAP enhancement SAPLV1ZN when assigning characteristic values to batches. You use this to specify a reference batch when creating a new batch with the central function module VB_CREATE_BATCH.
    Further notes
    The reference batch must always be specified completely. This means the reference material, source batch and reference plant details must have been entered if the batch is determined at plant level.
    All batch master data is copied. If the batch is classified in this enhancement, the values assigned to the corresponding characteristics are copied.
    In the exit, you can use a communication structure with the application data for the respective business transaction (for example, plant or material type). If you require further information, you must obtain it yourself in one of the user exits (such as time, user name, or date, for example).

  • How to parse a string in CVP 7.0(1). Is there a built-in java class, other?

    Hi,
    I need to parse,in CVP 7.0(1), the BAAccountNumber variable passed by the ICM dialer.  Is there a built-in java class or other function that would help me do this?
    Our BAAccountNumber variable looks something like this: 321|XXX12345678|1901|M. In IP IVR I use the "Get ICM Data" object to read the BAAccountNumber variable from ICM and then I use the "token index" feature to parse the variable (picture below).
    Alternately, IP IVR also has a Java class that allows me to do this; the class is "java.lang.String" and the method is "public int indexOf(String,int)"
    Is there something equivalent in CVP 7.0(1)?
    thanks

    Thanks again for your help.  This is what I ended up doing:
    This configurable action element takes a string seperated by two "|" (123|123456789|12)
    and returns 3 string variables.
    you can add more output variables by adding to the Setting array below.
    // These classes are used by custom configurable elements.
    import com.audium.server.session.ActionElementData;
    import com.audium.server.voiceElement.ActionElementBase;
    import com.audium.server.voiceElement.ElementData;
    import com.audium.server.voiceElement.ElementException;
    import com.audium.server.voiceElement.ElementInterface;
    import com.audium.server.voiceElement.Setting;
    import com.audium.server.xml.ActionElementConfig;
    public class SOMENAMEHERE extends ActionElementBase implements ElementInterface
         * This method is run when the action is visited. From the ActionElementData
         * object, the configuration can be obtained.
        public void doAction(String name, ActionElementData actionData) throws ElementException
            try {
                // Get the configuration
                ActionElementConfig config = actionData.getActionElementConfig();
                //now retrieve each setting value using its 'real' name as defined in the getSettings method above
                //each setting is returned as a String type, but can be converted.
                String input = config.getSettingValue("input",actionData);
                String resultType = config.getSettingValue("resultType",actionData);
                String resultEntityID = config.getSettingValue("resultEntityID",actionData);
                String resultMemberID = config.getSettingValue("resultMemberID",actionData);
                String resultTFNType = config.getSettingValue("resultTFNType",actionData);
                //get the substring
                //String sub = input.substring(startPos,startPos+numChars);
                String[] BAAcctresults = input.split("\\|");
                //Now store the substring into either Element or Session data as requested
                //and store it into the variable name requested by the Studio developer
                if(resultType.equals("Element")){
                    actionData.setElementData(resultEntityID,BAAcctresults[0]);
                    actionData.setElementData(resultMemberID,BAAcctresults[1]);
                    actionData.setElementData(resultTFNType,BAAcctresults[2]);
                } else {
                    actionData.setSessionData(resultEntityID,BAAcctresults[0]);
                    actionData.setSessionData(resultMemberID,BAAcctresults[1]);
                    actionData.setSessionData(resultTFNType,BAAcctresults[2]);
                actionData.setElementData("status","success");
            } catch (Exception e) {
                //If anything goes wrong, create Element data 'status' with the value 'failure'
                //and return an empty string into the variable requested by the caller
                e.printStackTrace();
                actionData.setElementData("status","failure");
        public String getElementName()
            return "MEDDOC PARSER";
        public String getDisplayFolderName()
            return "SSC Custom";
        public String getDescription()
            return "This class breaks down the BAAccountNumber";
        public Setting[] getSettings() throws ElementException
             //You must define the number of settings here
             Setting[] settingArray = new Setting[5];
              //each setting must specify: real name, display name, description,
              //is it required?, can it only appear once?, does it allow substitution?,
              //and the type of entry allowed
            settingArray[0] = new Setting("input", "Original String",
                       "This is the string from which to grab a substring.",
                       true,   // It is required
                       true,   // It appears only once
                       true,   // It allows substitution
                       Setting.STRING);
            settingArray[1] = new Setting("resultType", "Result Type",
                    "Choose where to store result \n" +
                    "into Element or Session data",
                    true,   // It is required
                    true,   // It appears only once
                    false,  // It does NOT allow substitution
                    new String[]{"Element","Session"});//pull-down menu
            settingArray[1].setDefaultValue("Session");
            settingArray[2] = new Setting("resultEntityID", "EntityID",
              "Name of variable to hold the result.",
              true,   // It is required
              true,   // It appears only once
              true,   // It allows substitution
              Setting.STRING);  
            settingArray[2].setDefaultValue("EntityID");
            settingArray[3] = new Setting("resultMemberID", "MemberID",
                    "Name of variable to hold the result.",
                    true,   // It is required
                    true,   // It appears only once
                    true,   // It allows substitution
                    Setting.STRING);  
            settingArray[3].setDefaultValue("MemberID");
            settingArray[4] = new Setting("resultTFNType", "TFNType",
                      "Name of variable to hold the result.",
                      true,   // It is required
                      true,   // It appears only once
                      true,   // It allows substitution
                      Setting.STRING);  
            settingArray[4].setDefaultValue("TFNType");    
    return settingArray;
        public ElementData[] getElementData() throws ElementException
            return null;

  • ReferenceError: Error #1069: Property DSPriority not found on String and there is no default value.

    Hi All
                      This is the Error where i got from my sample chatting application...
    ReferenceError: Error #1069: Property DSPriority not found on String and there is no default value.
    at mx.messaging::Producer/handlePriority()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messagi ng\Producer.as:190]
    at mx.messaging::Producer/internalSend()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messaging \Producer.as:169]
    at mx.messaging::AbstractProducer/send()[E:\dev\4.x\frameworks\projects\rpc\src\mx\messaging \AbstractProducer.as:561]
    at SampleMessagin/sendMessage()[D:\FlexJavaPrograms\SampleMessagin\src\SampleMessagin.mxml:2 9]
    at SampleMessagin/___SampleMessagin_Button2_click()[D:\FlexJavaPrograms\SampleMessagin\src\S ampleMessagin.mxml:74]
                        this is the code
    <?xml version="1.0" encoding="utf-8"?>
    <s:Application xmlns:fx="http://ns.adobe.com/mxml/2009"
          xmlns:s="library://ns.adobe.com/flex/spark"
          xmlns:mx="library://ns.adobe.com/flex/mx" minWidth="955" minHeight="600"
          currentState="{st}"
          creationComplete="consumer.subscribe()">
    <fx:Script>
      <![CDATA[
       import mx.messaging.events.MessageEvent;
       import mx.messaging.messages.AsyncMessage;
       import mx.messaging.messages.IMessage;
       import mx.modules.IModule;
       import mx.states.State;
       [Bindable]
       public var st:String="";
       public function changeStateHandler(event:Event):void
        st = "Login"
       //send message throug this method
       protected function sendMessage():void
        var msg:IMessage = new AsyncMessage();
        msg.headers = uname.text;
        msg.body = sendText.text;
        producer.send(msg);
        sendText.text = " ";
      //message  Handler  
       protected function consumer_messageHandler(event:MessageEvent):void
        // TODO Auto-generated method stub
        var resp:IMessage = event as IMessage;
        dispText.text = resp.headers.toString()+" :: "+resp.body.toString()+"\n";
      ]]>
    </fx:Script>
    <fx:Declarations>
      <s:Producer id="producer"
         destination="chat"/>
      <s:Consumer id="consumer"
         destination="chat"
         message="consumer_messageHandler(event)"/>
      </fx:Declarations>
    <s:states>
      <s:State name="State1"/>
      <s:State name="Login"/>
    </s:states>
    <s:Panel x="246" y="137" width="366" height="200" title="Login Here" includeIn="State1">
      <mx:HBox horizontalCenter="2" verticalCenter="-30">
       <s:Label text="Enter UR Name"/>
       <s:TextInput id="uname"/>
       <s:Button id="login" label="Login" click="changeStateHandler(event)"/>
      </mx:HBox>
    </s:Panel>
    <s:Panel includeIn="Login" x="327" y="78" width="353" height="369"  title="Welcome:{uname.text}">
      <s:TextArea x="6" y="11" height="222" width="335" id="dispText"/>
      <s:TextArea x="10" y="241" height="85" width="258" id="sendText"/>
      <s:Button x="276" y="241" label="Send" height="76" click="sendMessage()"/>
    </s:Panel>
    </s:Application>
    and my messaging-config.xml is as follows
                 <?xml version="1.0" encoding="UTF-8"?>
    <service id="message-service"
        class="flex.messaging.services.MessageService">
        <adapters>
            <adapter-definition id="actionscript" class="flex.messaging.services.messaging.adapters.ActionScriptAdapter" default="true" />
            <!-- <adapter-definition id="jms" class="flex.messaging.services.messaging.adapters.JMSAdapter"/> -->
        </adapters>
        <default-channels>
            <channel ref="my-polling-amf"/>
        </default-channels>
        <destination id="chat"/>
    </service>
                      can any one help me what is the error present here.............
                         why it is showing error .. am i wrote anything wrong in this code .. please help me....

    I'm not the expert on this topic, but I think this line:
    msg.headers = uname.text;
    ...is throwing the error. Look into how to properly construct the headers for the message. They should be in name/value pairs.

  • User Name/Password class for MySQL -- it almost works ... almost

    I'm working on creating a user name/password class called Login that will get the information that is required to log into a MySQL database (This program is not an applet, by the way).
    In brief this class does following:
    * It creates a JFrame with JTextFields and a JPasswordField and a login button. All compents have ActionListener.
    * I am able to read the info from the fields (I tested this using System.out.println)
    * Another program calls this Login class (see code at end of post)
    I want the program to close the frame (I figured that out) and return the values to the calling program. I can't figure out how to have it return a cat string ( of "host|port|username|password" ). If this was one large piece of java source code, it'd be a piece of cake, but the code is broken into several java source components and I'm trying to figure out how to get the ActionListener to return the string.
    One web page mentioned using an ejector but haven't been able to find any information about that. Another thought was maybe putting some kind of code in the windowClosing event for the Login class.
    Ex:
      public void windowClosing(WindowEvent e)
         setVisible(false);
         dispose();
         // return value to calling function somehow
      }Any help would be greatly appreciated. I'm teaching myself this so I'm sure there are better ways to do the JFrame formatting, but here's the code anyway. I'll post the additional changes (in context) when I get a working version of this.
    //Login.java
    import java.awt.*;
    import java.awt.event.*;
    import java.lang.Object;
    import java.sql.Connection;
    import java.sql.DriverManager;
    import javax.swing.*;
    import javax.swing.border.TitledBorder;
    public class Login extends JFrame implements ActionListener
       JTextField serverHost;
       IntTextField port;
       JTextField userName;
       JPasswordField password;
       JButton login;
       Canvas canvas;
       String ServerHost_String;
       String Port_String;
       String UserName_String;
       String Password_String;
       String Login_String;
       Font ssb10 = new Font("Sans Serif", Font.BOLD,10);
       Font hb30 = new Font("Helvetica", Font.BOLD,30);
       Integer rc;
       //public void init()
       public Login()
          // Set up buttons
          login = new JButton("Login");
          serverHost = new JTextField("localhost",10);
          port = new IntTextField(3306, 4);
          userName = new JTextField("root",10);
          password = new JPasswordField(10);
          // Draw Screen
          Canvas horizontal_spacer1 = new Horizontal_Spacer(420,15);
          Canvas horizontal_spacer2 = new Horizontal_Spacer(420,15);
          Canvas horizontal_spacer3 = new Horizontal_Spacer(420,15);
          Canvas horizontal_spacerA = new Horizontal_Spacer(100,45);
          Canvas horizontal_spacerB = new Horizontal_Spacer(100,45);
          Canvas vertical_spacer1 = new Vertical_Spacer();
          Canvas vertical_spacer2 = new Vertical_Spacer();
          Canvas vertical_spacerA = new Vertical_Spacer();
          Canvas vertical_spacerB = new Vertical_Spacer();
           * Top
          canvas = new Top_Logo();
          JPanel top = new JPanel();
          top.add(canvas);
          //top.add(horizontal_spacer1);
          add(BorderLayout.NORTH,top);
           * Middle
          Box p1 = Box.createHorizontalBox();
          Box p2 = Box.createHorizontalBox();
          Box p3 = Box.createHorizontalBox();
          JPanel bp = new JPanel();
          JLabel rbp = new JLabel();
          p1.setFont(ssb10);
          p2.setFont(ssb10);
          p3.setFont(ssb10);
          p1.setAlignmentX(Component.LEFT_ALIGNMENT);
          bp.setAlignmentX(Component.LEFT_ALIGNMENT);
          p3.setAlignmentX(Component.LEFT_ALIGNMENT);
          rbp.setLayout(new BoxLayout(rbp,BoxLayout.X_AXIS));
          rbp.setBorder(new TitledBorder("Connection to MySQL Server Instance"));
          JLabel lString = new JLabel("Server Host: ");
          lString.setFont(ssb10);
          // Setup server Host and Port JPanel
          p1.add(lString);
          p1.add(serverHost);
          lString = new JLabel("  Port: ");
          lString.setFont(ssb10);
          p1.add(lString);
          p1.add(port);
          // Setup username JPanel
          lString = new JLabel("Username:    ");
          lString.setFont(ssb10);
          p2.add(lString);
          p2.add(userName);
          // Setup password JPanel
          lString = new JLabel("Password:    ");
          lString.setFont(ssb10);
          p3.add(lString);
          p3.add(password);
          // Draw the big Jpanel
          //bp.add(horizontal_spacerA);
          bp.add(p1);
          bp.add(p2);
          bp.add(p3);
          //bp.add(horizontal_spacerB);
          rbp.add(vertical_spacerA);
          rbp.add(bp);
          rbp.add(vertical_spacerB);
          add(BorderLayout.WEST,vertical_spacer1);
          add(BorderLayout.CENTER,rbp);
          add(BorderLayout.EAST,vertical_spacer2);
          // Bottom
          JPanel bot = new JPanel();
          bot.setLayout(new BoxLayout(bot,BoxLayout.Y_AXIS));
          bot.add(horizontal_spacer2);
          bot.add(login);
          bot.add(horizontal_spacer3);
          add(BorderLayout.SOUTH,bot);
          // Draw JFrame
          setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
          setSize(420,280);
          setResizable(false);
          setVisible(true);
          // Listen for buttons being clicked
          login.addActionListener(this);
          serverHost.addActionListener(this);
          userName.addActionListener(this);
          port.addActionListener(this);
          password.addActionListener(this);
       class Horizontal_Spacer extends Canvas
          Horizontal_Spacer(int X, int Y)
             setSize(X,Y);
             setVisible(true);
       class Vertical_Spacer extends Canvas
          Vertical_Spacer()
             setSize(25,10);
             setVisible(true);
       class Top_Logo extends Canvas
          Top_Logo()
             setBackground(Color.white);
             setSize(420,65);
             setVisible(true);
          public void paint(Graphics g)
               g.setFont(hb30);
               g.drawString("MySQL Login",20,45);
       public void actionPerformed(ActionEvent event)
          Object source = event.getSource();
          ServerHost_String=serverHost.getText();
          Port_String=port.getText();
          UserName_String=userName.getText();
          Password_String=new String(password.getPassword());
          if ((ServerHost_String.compareTo("")!=0) &&
              (Port_String.compareTo("")!=0) &&
              (UserName_String.compareTo("")!=0) &&
              (Password_String.compareTo("")!=0))
               Login_String=ServerHost_String + "|" +
                            Port_String + "|" +
                            UserName_String + "|" +
                            Password_String;
               setVisible(false);
               dispose();
          public void windowClosing(WindowEvent e)
            setVisible(false);
            dispose();
    //Login_Test.java
    import javax.swing.*;
    public class Login_Test extends JFrame
       //public void run()
       public static void main(String [] args)
          Login f = new Login();
    }Doc

    Let me get this clear.
    You want a login dialog.
    Some program calls the dialog and waits untile user respond
    once the user press ok or cancel it reutrn the users input to the caller.
    You can do this directly using JFrame
    but you can do it wil JDialog if you use it as aModal dialog.
    it will look like this
    class LogInDialog  extends JDialog implements ActionListener{
       String value;
       public LogInDialog(){
          setModel(true);
        // This is what you invoke
        public String loadDialog(){
            setVisible(true);
            return value;
        public void actionListener(..... e){
            if (e.getSource() == bCancel)
               value = null;
            else if (e.getSource() == bOk)
               value = //generate the string
            dispose();
    }

  • Is there any standard SAP table which stores the license number assigned to a delivery item

    Hi Experts,
    This is in relation to license number assigned to a delivery item under ‘Export License Log’. Our scenario is for delivery of type NLCC created for an inter-company stock transport order. (i.e.not a sales order case where the license may get copied from sales order to delivery through copy control)
    As we understand, for legal control – relevant scenarios, export license for each item shall be determined afresh every time the delivery is accessed. (Depending on legal regulation, grouping, destination country, export control class, delivery partners vis-à-vis license master customer assignments etc.)
    To print the license text on one of the delivery output types, we want to access the license number for each item. (determined under export license log)
    Our question is:  is there any standard SAP table which stores the license number assigned to a delivery item?
    We have checked some of the license tables (T606*, VAEX, EMXX etc.) but couldn’t get any specific table storing delivery-item-specific license data.
    Helpful answers Text Removed
    Regards,
    Jagan
    Message was edited by: G Lakshmipathi
    Dont add such text in your post

    Hi Lakshmipathi,
    The export control log can be accessed by going to delivery Extras-> Export license log
    We need a table that stores the determined license for each item in a delivery document ( as shown in the below screenshot)
    Regards,
    Jagan

  • Using a List as the value class of a Map - How?

    Hello,
    I have a managed-property of the following type
    Map<String, List<String>> myMap;How can I set the values for the List in the faces-config.xml?
    I tried sth like this, but this is no valid XML according to the schema.
    Any ideas?
    Regards,
    Jan
    <managed-property>
    <property-name>myMap</property-name>
      <property-class>java.util.TreeMap</property-class>
      <map-entries>
      <key-class>java.lang.String</key-class>
      <value-class>java.lang.ArrayList</value-class>
        <map-entry>
          <key>key1</key>
          <value>
          <list-entries>
            <value>value1</value>
            <value>value2</value>
          </list-entries>
          </value>
        </map-entry>
      </map-entries>
    </managed-property>

    You don't need a cfloop. Try an IN(...) clause instead.
    Obviously you have to validate that the #riderlist# is not empty
    first or the query will error.
    SELECT riderId,
    SUM(IIf(month(rideDate)=1, rideDistance, 0)) AS janSum,
    SUM(IIf(month(rideDate)=2, rideDistance, 0)) AS febSum,
    SUM(IIf(month(rideDate)=3, rideDistance, 0)) AS marSum,
    SUM(IIf(month(rideDate)=4, rideDistance, 0)) AS aprSum,
    SUM(IIf(month(rideDate)=5, rideDistance, 0)) AS maySum,
    SUM(IIf(month(rideDate)=6, rideDistance, 0)) AS junSum,
    SUM(IIf(month(rideDate)=7, rideDistance, 0)) AS julSum,
    SUM(IIf(month(rideDate)=8, rideDistance, 0)) AS augSum,
    SUM(IIf(month(rideDate)=9, rideDistance, 0)) AS sepSum,
    SUM(IIf(month(rideDate)=10, rideDistance, 0)) AS octSum,
    SUM(IIf(month(rideDate)=11, rideDistance, 0)) AS novSum,
    SUM(IIf(month(rideDate)=12, rideDistance, 0)) AS decSum
    FROM mileageLog
    WHERE riderId IN (<cfqueryparam value="#riderList#"
    cfsqltype="the column type here" list="true"> )
    AND Year(rideDate)=#useYear#
    GROUP BY riderId
    ORDER BY riderId

  • Why java file name and class name are equal

    could u explain why java file name and class name are equal in java

    The relevant section of the JLS (?7.6):
    When packages are stored in a file system (?7.2.1), the host system may choose to enforce the restriction that it is a compile-time error if a type is not found in a file under a name composed of the type name plus an extension (such as .java or .jav) if either of the following is true:
    * The type is referred to by code in other compilation units of the package in which the type is declared.
    * The type is declared public (and therefore is potentially accessible from code in other packages).
    This restriction implies that there must be at most one such type per compilation unit. This restriction makes it easy for a compiler for the Java programming language or an implementation of the Java virtual machine to find a named class within a package; for example, the source code for a public type wet.sprocket.Toad would be found in a file Toad.java in the directory wet/sprocket, and the corresponding object code would be found in the file Toad.class in the same directory.
    When packages are stored in a database (?7.2.2), the host system must not impose such restrictions. In practice, many programmers choose to put each class or interface type in its own compilation unit, whether or not it is public or is referred to by code in other compilation units.

  • HTTP adapter as receiver to POST name-value pairs - How to?

    Hi,
    Scenario: HTTP Sender <> XI <> HTTP receiver (Sync throughout; no BPM)
    In this scenario, a HTTP channel is configured to the target URL to post data.
    The message mapping results in a XML. HTTP posts the same XML to the target URL.
    However,the target URL expects data Posted as name-value pairs.
    eg. eid=45678&zip=11011&ename=Tom%20Lee
    How can we configure HTTP adapter channel to post XML data as
    name-value pairs (as in standard HTTP Form Post)?
    Any pointers?
    thanx,
    Pops

    Hi Udo,
    I currently have a solution (simpler than having a BP), but do not expect it to be the right way of doing.
    I am using Java Mapping to convert the XML structure into Name-Value pair. So the output of Mapping is a string like how HTTP post is expected. So the interface mapping having multiple mappings - firstly, the original Message mapping, and then the Java mapping to do the conversion. So, with a small extension, the solution is still kept simple.
    However, I thought the POST requirement to HTTP URLs would be a common requirement, and expected the HTTP adapter doing this conversion. So, I am still looking for a straight solution (without any custom extensions).
    Any one else faced this situation?
    Can't this be handled by HTTP Adapter?
    -- Pops V

  • What are "Name$1.class" files and how do I generate them in Eclipse

    I have the source code of a rather large java application and I want to set up an Eclipse project for it.
    After diffing the WEB-INF directory generated by Eclipse with the one generated by the original maven build script I noticed that there are several files of the form "Name$1.class" which do not exist in the Eclipse output.
    My questions are, what is the purpose of this $1 string in the class file name and how do I generate those in Eclipse?

    ok, but why are they generated in the Maven environment but not in the Eclipse environment?
    To be exact, Eclipse does create inner class files, however when diffing both output directories I have some extra inner class files generated by Maven that are not there in the Eclipse output.
    Maybe there are some java compiler settings for this?

  • Parameter name / value length issue

    hello,
    i do know that there is a length limit of the url (255 chars), so i can't use GET, because i have to pass a high number of parameters, which names are 9 chars long and values are 21 chars long.
    i'm wondering if there are any limits on the parameter name/value length, or a total length/size of parameters that can be passed without being truncated by server, or something like this....
    i can't find in api that there is any limit, but still, if my app designed the way it needs to pass a lot of parameters with long names (9 chars) and long values (21 chars).
    can this cause problems?
    if not, is it a good taste to build app that can use POST request only?
    thanks

    >
    i'm wondering if there are any limits on the parameter
    name/value length, or a total length/size of
    parameters that can be passed without being truncated
    by server, or something like this....Not that I recall. As far as I know there are none.

  • Export Error - Parameter name:value

    When trying to create a new Export in DRM (11.1.2.1.103), I am getting the following error dialog:
    ERROR+
    There was an error processing your request+
    The Server returned an error : The added or subtracted value results in an un-representable DateTime. Paramter name: value+
    My colleague also gets this creating a basic export with just one column.
    I am able to open an existing Export and do a Save As and this works.
    However I am not able to create a New Export.
    Any suggestions ?
    Edited by: 927480 on 11-May-2012 03:10

    Hi,
    I encountered this bug in patch 102. But when I upgraded to patch 103. It was fixed.
    But you are getting this even on patch 103. Try upgrading to the latest patch. I think even Oracle will suggest you the same.
    Edited by: Likith Lanka on May 11, 2012 7:59 AM

  • Module pool / Screen Prog is there any standard SAP functionality ?

    Hi I am creating a Module pool / Screen Prog. On this screen I have nearly 100 fileds , now I want to take print out of all the information shown on the screen for the same is there any standard SAP functionality ?
    Does SAP provides any standarar ready made functionality for the same. ?

    No, there is no standard functionality for this.  dynpros are not designed to "print out".  This is what list displays are for.  That said, you will need to write your logic to kick off  a list display with all of your field values there,  then the user can print.
    Regards,
    Rich Heilman

  • Change Prg name in classes using abap code

    Hello Experts,
    I'm having following req:-
    I need to change program name using abap code .
    I have prepared report which changing prg name & also it is replecting target name into T-code & Programes where source prg name is being used.
    My next req is i want to replace sorce prg name in Classes usinf abap coding.
    <Priority normalized by moderator>
    Thanxs in Advance.
    Moderator message : Requirements dumping not allowed, thread locked.
    Edited by: Vinod Kumar on Feb 7, 2012 12:32 PM

    The application name is not necessarily uniqueue! Customers may create two applications with same name in different systems/clients and transport them into the same target system/client!
    You do the mapping with the query:
    CL_FDT_FACTORY=>GET_INSTANCE( )->GET_QUERY()->...
    There are two methods. One for mapping ID to name and one for name to ID.
    There is also a sample report in package SFDT_DEMO_OBJECTS.

Maybe you are looking for