WSDL Compile: element naming convention problems

Hi,
I have a web service defined in WSDL in which elements contain underscores "_" or begin with numbers. The service name definition itself also contains an underscore. Although JSC can parse the WSDL file when I try to add the service, I get compile errors from wscompile. The same WSDL can be compiled by the WSDL2Java compiler used in Eclipse. Does anybody know of any options on wscompile or some other means to get around this problem? I cannot change the WSDL file itself.
Martin

wscompiler options in Creator are not configurable currently.

Similar Messages

  • Client Proxy Naming convention problem

    Hi
    I have created client proxy for the outbound interface for the scenario sap-xi-file...due to some naming convention problem i have to delete and create new all repository objects except message interfaces... so when i try to re-create the client proxy ..i am getting the "Naming conflicts" says the interface objects already exists.. can any one tell me how to remove my previous objects and create the new
    guru

    Hi,
    check out this link on how to regenerate proxy objects:
    (after the interface was changed)
    http://help.sap.com/saphelp_nw04/helpdata/en/d4/255c3cf311070ae10000000a114084/frameset.htm
    Regards,
    michal

  • Compiled Class naming conventions?

    I have come across this situation on several large projects I have been involved in (several thousand class files) and can not explain it.
    Given a class with subclasses within like so
    class rob {
    class steve {
    } // end class steve
    } // end class rob
    the expected compiled files are
    rob.class
    rob$steve.class
    I have come across the situation where a class with sub classes actually names itself
    rob$1.class
    rob$steve.class
    Can anyone explain this? (typically the class extends some abstract class). Is there a way to avoid this?

    "steve" is an inner class of "rob", so it compiles to "rob$steve.class". And "rob$1.class" will be the compiled form of an anonymous inner class. That's the naming convention.
    What do you mean by "avoid this"? What's your problem with it?

  • No compilation error but have problems when running.

    Hello all,
    After implementing the examples given from the TextComponentJavaDemo in Java Tutorials I tried to get the fonts to change text in the JEditorPane but to no avail.
    The problem I am having now is some java.lang.Null.PointerException .
    The errors are shown as follows:
    Exception in thread "main" java.lang.NullPointerException
    at guiClient.createActionTable<guiClient.java :191>
    at guiClient.<init> <guiClient.java:52>
    at guiClient.main <guiClient.java:308>
    Here is the whole code for the syntax but it cannot be compiled:
    /* * My GUI Client */
    import javax.swing.*;
    import javax.swing.text.*;
    import java.awt.*;
    //for HTML Headers
    import javax.swing.text.StyledEditorKit.*;
    import javax.swing.text.html.HTMLEditorKit.*;
    import javax.swing.text.html.*;
    import javax.swing.event.HyperlinkListener;
    import javax.swing.event.HyperlinkEvent;
    import javax.swing.event.HyperlinkEvent.EventType;
    import javax.swing.text.html.HTMLFrameHyperlinkEvent;
    import javax.swing.text.*;
    //for layout managers
    import java.awt.event.*;
    //for action and window events
    import java.io.*;
    import java.net.*;
    import java.awt.GraphicsEnvironment;
    import java.util.HashMap;
    public class guiClient extends JFrame implements ActionListener {
    protected static final String textFieldString = "JTextField";
    protected static final String loadgraphicString = "LoadGraphic";
    protected static final String connectString = "Connect";
    static JEditorPane editorPane;
    static JPanel layoutPanel = new JPanel(new BorderLayout());
    static JPanel controlPanel = new JPanel(new BorderLayout());
    static PrintStream out;
    static DrawPanel dPanel;
    static DrawControls dControls;
    static AnimationButtons aControls;
    static String userString;
    static JTextField userName = new JTextField();
    public static JMenuBar menuBar;
    private static JButton connectbutton = new JButton("Connect");
    static boolean CONNECTFLAG = false;
    AbstractDocument doc;
    HashMap actions;
    //create the gui interface
    public guiClient() {
         super("My Client");
    //Create a regular text field.
         JTextField textField = new JTextField(10);
         textField.setActionCommand(textFieldString);
         textField.addActionListener(this);
    //Create an editor pane.
        createActionTable(editorPane); //From TextComponentDemo
        editorPane = new JEditorPane();
         editorPane.setContentType("text");
         editorPane.setEditable(true);
    //set up HTML editor kit
         HTMLDocument m_doc = new HTMLDocument();
         editorPane.setDocument(m_doc);
         HTMLEditorKit hkit = new HTMLEditorKit();
         editorPane.setEditorKit( hkit );
         editorPane.addHyperlinkListener(new HyperListener());
    //Create whiteboard
            dPanel = new DrawPanel();
            dControls = new DrawControls(dPanel);
            aControls = new AnimationButtons (dPanel);
            JPanel whiteboard = new JPanel();
            whiteboard.setLayout(new BorderLayout());
            whiteboard.setPreferredSize(new Dimension(300,300));
            whiteboard.add("Center",dPanel);
            whiteboard.add("South",dControls);
           // whiteboard.add("North",aControls);
         JScrollPane editorScrollPane = new JScrollPane(editorPane);
         editorScrollPane.setVerticalScrollBarPolicy( JScrollPane.VERTICAL_SCROLLBAR_ALWAYS);
         editorScrollPane.setPreferredSize(new Dimension(250, 145));
         editorScrollPane.setMinimumSize(new Dimension(50, 50));
    //     StyledDocument styledDoc = editorPane.getStyledDocument();
    //put everything in a panel
         JPanel contentPane = new JPanel();
         contentPane.setLayout(new BoxLayout(contentPane, BoxLayout.Y_AXIS));
    //add whiteboard
         contentPane.add(whiteboard);
    //add editor box
         contentPane.add(editorScrollPane);
    //add spacer
         contentPane.add(Box.createRigidArea(new Dimension(0,5)));
    //add textfield
         contentPane.add(textField);
    //set up layout pane
         layoutPanel.add(BorderLayout.WEST,new Label("Name: ")); //add a label
         layoutPanel.add(BorderLayout.CENTER, userName ); //add textfield for user names
         layoutPanel.add(BorderLayout.SOUTH, connectbutton);//add dropdown box for fonts
         contentPane.add(layoutPanel);
         contentPane.add(controlPanel);
         contentPane.add(aControls);
    //Create the menu bar.
            menuBar = new JMenuBar();
            setJMenuBar(menuBar);
    //Build the first menu.
         JMenu menu = new JMenu("File");
         JMenu styleMenu = createStyleMenu();
         menu.setMnemonic(KeyEvent.VK_F);
         menuBar.add(menu);
         menuBar.add(styleMenu);
    //a group of JMenuItems
         JMenuItem menuItem = new JMenuItem("Load Graphic", KeyEvent.VK_L);
         menu.add(menuItem);
            menuItem.setActionCommand(loadgraphicString);
         menuItem.addActionListener(this);
            connectbutton.setActionCommand(connectString);
            connectbutton.addActionListener(this);
         setContentPane(contentPane);
    protected JMenu createStyleMenu() {
            JMenu menu = new JMenu("Style");
            Action action = new StyledEditorKit.BoldAction();
            action.putValue(Action.NAME, "Bold");
            menu.add(action);
            action = new StyledEditorKit.ItalicAction();
            action.putValue(Action.NAME, "Italic");
            menu.add(action);
            action = new StyledEditorKit.UnderlineAction();
            action.putValue(Action.NAME, "Underline");
            menu.add(action);
            menu.addSeparator();
            menu.add(new StyledEditorKit.FontSizeAction("12", 12));
            menu.add(new StyledEditorKit.FontSizeAction("14", 14));
            menu.add(new StyledEditorKit.FontSizeAction("18", 18));
            menu.addSeparator();
            menu.add(new StyledEditorKit.FontFamilyAction("Serif",
                                                          "Serif"));
            menu.add(new StyledEditorKit.FontFamilyAction("SansSerif",
                                                          "SansSerif"));
            menu.addSeparator();
            menu.add(new StyledEditorKit.ForegroundAction("Red",
                                                          Color.red));
            menu.add(new StyledEditorKit.ForegroundAction("Green",
                                                          Color.green));
            menu.add(new StyledEditorKit.ForegroundAction("Blue",
                                                          Color.blue));
            menu.add(new StyledEditorKit.ForegroundAction("Black",
                                                          Color.black));
            return menu;
         protected SimpleAttributeSet[] initAttributes(int length) {
            //Hard-code some attributes.
            SimpleAttributeSet[] attrs = new SimpleAttributeSet[length];
            attrs[0] = new SimpleAttributeSet();
            StyleConstants.setFontFamily(attrs[0], "SansSerif");
            StyleConstants.setFontSize(attrs[0], 16);
            attrs[1] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setBold(attrs[1], true);
            attrs[2] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setItalic(attrs[2], true);
            attrs[3] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setFontSize(attrs[3], 20);
            attrs[4] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setFontSize(attrs[4], 12);
            attrs[5] = new SimpleAttributeSet(attrs[0]);
            StyleConstants.setForeground(attrs[5], Color.red);
            return attrs;
        private void createActionTable(JTextComponent textComponent) {
            actions = new HashMap();
            Action[] actionsArray = textComponent.getActions();
            for (int i = 0; i < actionsArray.length; i++) {
                Action a = actionsArray;
    actions.put(a.getValue(Action.NAME), a);
    private Action getActionByName(String name) {
    return (Action)(actions.get(name));
    static private void insertTheHTML(JEditorPane editor, String html, int location) throws IOException {
         HTMLEditorKit kit = (HTMLEditorKit) editor.getEditorKit();
         Document doc = editor.getDocument();
         StringReader reader = new StringReader(html);
         try {
              kit.read(reader, doc, location);
         } catch (BadLocationException e) {}
    //listen for actions being performed and process them
    public void actionPerformed(ActionEvent e) {
    //if the action is from the textfield (e.g. user hits enter)
         if (e.getActionCommand().equals(textFieldString)) {
              JTextField fromUser = (JTextField)e.getSource();
         if (fromUser != null){
    //place user text in editor pane
    //send message to server
                   if (userName.getText() != null) {
                        userString = userName.getText().trim();
                   out.println(userString + ": " + fromUser.getText());
              fromUser.setText("");
         } else if(e.getActionCommand().equals(connectString)) {
              CONNECTFLAG = true;
    } else if (e.getActionCommand().equals(loadgraphicString) ) {
              final JFileChooser fc = new JFileChooser();
              int returnVal = fc.showOpenDialog(this);
              if (returnVal == JFileChooser.APPROVE_OPTION) {
                   File file = fc.getSelectedFile();
                   dPanel.loadImage(file.getAbsolutePath());
                   sendImage(file);
    //append text to the editor pane and put it at the bottom
    public static void appendText(String text) {
         if (text.startsWith("ID ") ) {
              userString = text.substring(3);
         } else if (text.startsWith("DRAW ") ) {
              if (text.regionMatches(5,"LINE",0,4)) {
    dPanel.processLine(text);
         }else if (text.regionMatches(5,"POINTS",0,5)) {
         dPanel.processPoint(text);
         } else if (text.startsWith("IMAGE ") ) {
    int len = (new Integer( text.substring(6, text.indexOf(",")))).intValue();
    //get x and y coordinates
         byte[] data = new byte[ (int)len ];
         int read = 0;
    try {
         while (read < len) {
         data = text.getBytes( text.substring(0, len) );
    } catch (Exception e) {}
         Image theImage = null;
         theImage = dPanel.getToolkit().createImage(data);
         dPanel.getToolkit().prepareImage(theImage, -1, -1, dPanel);
         while ((dPanel.getToolkit().checkImage(theImage, -1, -1, dPanel) & dPanel.ALLBITS) == 0) {}
              dPanel.drawPicture(0, 0, theImage);
    } else {
    //set current position in editorPane to the end
              editorPane.setCaretPosition(editorPane.getDocument().getLength());
    //put text into the editorPane
              try {
                   insertTheHTML(editorPane, text, editorPane.getDocument().getLength());
              } catch (IOException e) {}
    } //end of appendText(String)
    public void sendImage(File file) {
    //find length of file
         long len = file.length();
    //read file into byte array
         byte[] byteArray = new byte[(int)len];
         try {
              FileInputStream fstream = new FileInputStream(file);
              if (fstream.read(byteArray) < len) {
    //error could not load file
              } else {
              out.println("IMAGE " + len + ",");
                   out.write(byteArray, 0, (int)len); //write file to stream
         } catch(Exception e){}
    //run the client
    private static void createAndShowGUI() {
    //Make sure we have nice window decorations.
    JFrame.setDefaultLookAndFeelDecorated(true);
    //Create and set up the window.
    final guiClient frame = new guiClient();
    //Display the window.
    frame.pack();
    frame.setVisible(true);
    public static void main(String[] args) {
         String ipAddr=null, portNr=null;
              if (args.length != 2) {
                   System.out.println("USAGE: java guiClient IP_Address port_number");
                   System.exit(0);
              } else {
         ipAddr = args[0];
              portNr = args[1];
              JFrame frame = new guiClient();
              frame.addWindowListener(new WindowAdapter() {
                   public void windowClosing(WindowEvent e) { System.exit(0); }
              frame.pack();
              frame.setVisible(true);
              while(CONNECTFLAG == false){}
    //sames as previous client,
    //set up connection and then listen for messages from the Server
              String socketIP = ipAddr;
              int port = Integer.parseInt(portNr);
    //the IP address of the machine where the server is running
              Socket theSocket = null;
    //communication line to the server
              out = null;
    //for message sending
              BufferedReader in = null;
    //for message receiving
              try {
              theSocket = new Socket(socketIP, port );
    //try to connect
              out = new PrintStream(theSocket.getOutputStream());
                   dPanel.out = out;
    //for client to send messages
              in = new BufferedReader(new InputStreamReader(theSocket.getInputStream()));
                   BufferedReader userIn = new BufferedReader(new InputStreamReader(System.in));
                   String fromServer;
                   while ((fromServer = in.readLine()) != null) {
                   appendText(fromServer);
                   if (fromServer.equals("BYE")) {
                        appendText("Connection Closed");
                        break;
              out.close();
    //close all streams
              in.close();
              theSocket.close();
    //close the socket
         } catch (UnknownHostException e) {
    //if the socket cannot be openned
              System.err.println("Cannot find " + socketIP);
              System.exit(1);
              } catch (IOException e) { //if the socket cannot be read or written
              System.err.println("Could not make I/O connection with " + socketIP);
              System.exit(1);
              javax.swing.SwingUtilities.invokeLater(new Runnable() {
    public void run() {
    createAndShowGUI();
    Can someone tell me what's the problem with the syntax?

    For your nullPointerException, you have to create your textPane before calling createActionTable          editorPane = new JEditorPane();
              createActionTable(editorPane); //From TextComponentDemoAlso, I would like to point out the following :
    - you're creating your guiClient twice in the main method : at the beginning and at the end through the createAndShowGUI.
    - for no apparent reason, all your member fields are declared static.
    - naming conventions : class names must start with a capital letter.

  • Naming convention in template css file

    Is there a specific reason for having the theme "name" hardcoded in many css definitions ?
    For example consider the css for the rows in a report:
    In the css files for each theme it is defined in a different way:
    Theme1: td.t1data
    Theme2: td.t2data
    Theme3: td.t3data
    ...Overriding these values and manipulating the styles using Javascript gets a bit cumbersome if it should work across themes.
    Are there any naming conflicts or is it just for historic reasons that don't apply anymore in the 2.0 release?
    In other words, would it be safe to use just td.data in new templates or will I run into problems doing this?
    Thanks,
    ~Dietmar.

    Hi Carl,
    thanks for the clarification. I had figured that you had a good reason to do so.
    It's a tradeoff, either approach has pros and cons.
    Most likely we will stick with that type of naming convention, but we'll look into it again.I would like to throw in an idea. You can add multiple css classes to an html tag, e.g.
    &lt;td class=&quot;t12data data&quot;&gt;The css for the class data would be empty.
    This way we could have both, different class names for different themes, but also having the elements "tagged" the same way so that the javascript should work.
    Haven't thought it out, it just came to my mind. You might consider it.
    And yes using td.data should be just fineI guess I will go down that route.
    I will create only a single theme and then use multiple css style sheets to modify the look and feel.
    This way I can switch the theme on the fly by switching style sheets only.
    Javascript modifications will work since the css class names are the same.
    All customized region templates will only have to be created once (and not for all themes).
    Thanks and a Happy New Year,
    ~Dietmar.

  • Private vs. protected, naming conventions etc.

    I've been grappling with a couple of frustrations with Forte, and I'm
    interested in feedback from others on this list regarding approaches
    they may have adopted to address these.
    One is that in the Forte workshops there is no way to view only the
    public methods and attributes of a class (we're still using V2 here; I'm
    assuming that V3 has not changed this). While referring to appropriate
    technical documentation for a class is obviously important, I still find
    myself opening up classes in the workshops to inspect the methods and
    attributes available. (What I really want to see is an integrated class
    browser. I sure hope Forte is working on something like this, or will
    open up their development environment to support third-party extensions.
    But that's an aside.)
    A convention I just recently adopted in my work is to name private
    methods and attributes with a beginning underscore ("_"). That way the
    private elements are sorted to the top of the list and can be easily
    differentiated from public elements. I'm curious, though, whether others
    have adopted similar or different approaches.
    I've also felt a bit frustrated over the lack of support for protected
    attributes/methods for TOOL classes. This strikes me as a rather
    bothersome shortcoming. The only approach I can think of is to make such
    elements public, but adopt the same or similar naming conventions as a
    strong hint to developers to avoid using these in clients of these
    classes. Again, I'd be very interested in hearing how others have dealt
    with this issue.
    Thanks.
    Michael Brennan
    Programmer/Analyst
    Amgen Inc.

    I sent this once before, but the list seemed to be having trouble late last
    week. If you get two copies of it... my apologies.
    OK, I couldn't resist joining the fray...
    At 10:56 AM 11/6/97 -0800, Michael Brennan wrote:
    >
    A convention I just recently adopted in my work is to name private
    methods and attributes with a beginning underscore ("_"). That way the
    private elements are sorted to the top of the list and can be easily
    differentiated from public elements. I'm curious, though, whether others
    have adopted similar or different approaches.You might even designate a single character before the underscore to denote
    that, just in case some environment (CORBA) doesn't like the "_". You could
    make it something like "Q" or "Z" or something that wouldn't normally be
    used alone at the start of a name.
    >
    I've also felt a bit frustrated over the lack of support for protected
    attributes/methods for TOOL classes. This strikes me as a rather
    bothersome shortcoming. The only approach I can think of is to make such
    elements public, but adopt the same or similar naming conventions as a
    strong hint to developers to avoid using these in clients of these
    classes. I share your desire for protected methods, but I have to disagree about
    protected attributes. Philosophically speaking, protected and public
    attributes are EVIL!! (I say "philosophically speaking" because, in the
    Forte environment, there are some valid reasons for using them based upon
    the visibility constraints of the language. In other languages, C++ and
    Java, for example, it's not even philosophically speaking - they're just
    evil!!)
    One of the principal reasons for adopting the object paradigm is to
    tightly control the impact of change - to provide good boundaries of
    encapsulation that change does not ripple beyond. If you think about it,
    one of the measures of the success of a superclass is the number of
    subclasses that it has (especially for a good dabstract interface). This
    says you have very nicely captured the semantics of the application domain
    in the interface of the superclass. So, let's imagine a superclass with
    protected attributes that are used by each of its 100 subclasses (probably
    more than you would have, but I'm illustrating my point - incidentally, I'm
    not talking about a hierarchy 100 deep; I'm talking about 100 subclasses
    that are all direct decendants of the superclass). Now you go and change
    one of the attributes. You must go look at all 100 subclasses to determine
    the impact of change. This is exactly the kind of thing the object paradigm
    was designed to eliminate.
    Protected methods, on the other hand, would be nice.
    And At 12:06 PM 11/6/97 -0800, Mark S. Potts wrote:
    >
    Forte inherits in a strange way when attributes are private. A
    superclass attribute that is made private is not accessible from any of
    its subclasses - this means that many of what you would consider private
    attributes in fact have to be public. Well, the definition of private means "not visible outside of the class
    where it is defined". I find it useful to think of the level of visibility
    the same as secrets. There are things that are not really secrets at all -
    it's ok if anyone knows them ("My name is Stephen"). These are public.
    Then, there are things that it's ok if my family knows, but I don't want
    the world to know - familial secrets, if you will ("I belch at the dinner
    table when I'm at home"). These are visible to descendant classes and we
    call them protected. Finally, there are things we don't want anyone else
    to know, no matter who they are ("I poisoned my mother-in-law"). These are
    private. We don't want anyone outside of ourselves to know these things.
    These are the classic definitions of public, protected and private (perhaps
    classic only because C++ defined them that way and everyone else just
    copied what it meant).
    Private attributes are not meant to be inherited by their subclasses.
    That's why they're private. And, yes, I would argue that that is completely
    correct. What you want, if you want them to be visible to subclasses, is
    "protected". Now, Forte doesn't support protected, but that's a different
    arguement - perhaps even an enhancement request.
    We also should not confuse what we need to do in a language/environment
    with what good OO principles are. For example, good OO design principles
    state that you do not have public or protected attributes. Period! You
    access them via accessors and mutators defined on the appropriate class.
    Now, in some environments, this will not give you the performance you need,
    so you open things up a bit. But, you shouldn't convince yourself that
    doing this is the ideal design, just that it was necessary for performance.
    The real problem here is that the performance of accessor and mutator
    functions is not fast enough. That's why we open it up. Not because it is
    good design. The proper way to fix the problem is to make accessors and
    mutators fast enough so that they can be used (C++, for example, does this
    with "inline" - not that C++ is my favorite language, it's not. But they
    have fixed this one area nicely.)
    Some would argue that this is correct and that inheritance does break thepure rules
    of encapsulation I don't think inheritance, properly handled (and Forte does properly
    handle it) breaks any rules of encapsulation. I would argure that the way
    they treat private attributes is quite correct.
    - but these people dont build applications!Hmmm... let's see... started building OO applications in 1985 (and building
    them ever since) in complex application domains like CAD/CAM/CAE, Air
    Traffic Control, Graphics/Imaging, Telecommunications, e-commerce,
    entertainment,... ...wrote (and teach) the Forte OO Analysis and Design
    course.
    I guess you're right. I don't build applications. I build robust,
    maintainable, extendable applications. ( ;-) ...nudge, nudge!)
    Stephen

  • Storage Location Naming Convention without WM!

    Dear all
    We are facing serious problem in our Storage Location for Raw Material.
    We have 4 types of Raw Material Seating (S), Panel (P), Metal (M), Wood (W). And they are all stored under Storage Location: RWSL.
    Requirement:
    Although we have visual guideline as to which industrial rack will store the type of Material, it is insufficient. We need a more refined storage location down to which BIN of the rack we will put the Raw Material.
    Due to limited time and resource, we cannot have WM implemented right now. Thus, we have come out with 2 alternative to overcome this problem:
    Alternative 01:
    We will use the Fixed Bin field in Storage Data 02 by putting the Bin number assigned to each Rack.
    E.g. For Seating material code:SEAT01, we will maintain the Fixed Bin as R12A01/A02, it means this Seating material SEAT01 will be stored at Rack 12, fixed bin A01 or A02.
    Question to Alternative 01: Will it cause problem in GR, GR, Transfer Posting and Stock Count?
    Alternative 02:
    Instead of going into details to put Fixed Bin field in Storage Data 2, we will abandan the existing Storage Location RMSL by introducing new format for Storage Location
    Here is the example of Alternative 02:
    For raw materials, we will use 4 digits location numbers, consistent with other Storage locations, the 4 digits storage location will start with u201CR _ _ _u201D to represent each location
    And,
    R _ _ _ is:
    R = Raw materials
    2nd digit = Division (S= Seating, P =Panel, W=Wood, M=Metal and W=Wood)
    3rd digit = Rack Number (A, B, C, Du2026 and etc.)
    4th digit = Rack Zone - each rack will broken down into zone, each rack can possibility have 2 to 3 zone. 1 Zone can be 1 colume of the Rack
    An example of a possible location and its meaning will be
    RSA1 = Raw materials warehouse, Seating division, Rack A, Zone 1
    RPB3 = Raw materials warehouse, Panel Division, Rack B, Zone 3
    The challenge of this is that instead of having 1 Raw Material Storage Location like RMSL, we will have a lot more storage locations each for division of Raw material due to the Rack Number we have as well as the Rack Zone.
    Question to Alternative 02:
    If we use this alternative, will it impact our future implementation of WM? From design wise, is it feasible?
    Please advise what is the best approach and the feasible design on it.
    Many thanks in advance.
    Edited by: Daimos on May 13, 2009 10:15 AM

    Hi, here is the Pro and Co of both approaches:
    Method 01: Use existing SLOC and add the Storage Bin info
    e.g. SLOC: STM1
             Storage Bin: RSC3, where RS = Rack Seating, C3 = column 3
    Pro 01:
    It will cause less effort as we only need to use LSMW for material master to add in the Storage Bin data for all material of SCM.
    Pro 02:
    I have tested out that in TCode MIGO, apart from SLOC, the pertaining Storage Bin data also appear.  Based on my discuss with Xian Chen, sometimes they use MB1C(GR), MB1A(GI) rather than MIGO due to speed issue, I will need to check the field status if can have Storage Bin field APPEAR, if can, it will solve the problem
    Con 01:
    The Storage Bin information will only appear in MMBE (Stock Overview) but will not appear in the standard SAP Inventory Report (e.g. MB52 Warehouse Stock). To view it from SAP Inventory Report, we may need to customize the standard report to show the new field Storage Bin. It needs Abap effort.
    Con 02:
    We must have a very good naming convention for Storage Bin. And again, in the above example, if a material is put in SLOC STM1 at Storage Bin RA A1 or C4, it will set a very rigid rule in the future if we need to change it, as I fear that one the Storage Bin has been used up. It will not allow us to change (need to do testing to find out)
    Con 03:
    Do we have the time to define all the Storage Bin for each SLOC? Operation wise, the store personnel needs to design it
    Method 02: Use the new SLOC
    Pro 01:
    RSA1 = Raw materials warehouse, Seating division, Rack A, Zone 1. More organized. Easy to tell the material is at which  Rack and which Zone of the Rack.
    Assumption:
    01. we must not have too many rack for one Seating division and also not too many Zone for each
          Division, else it will cause confusion
    02. 1 material should stick to 1 Rack 1 zone as much as possible, else later the PP consultant will 
         have hard to to perform GI due to too many SLOC assigned to a material.
    Pro 02:
    In report wise, we are able to show the SLOC in inventory report. No need to enhance the existing inventory report as we do not use Storage Bin.
    Con 01:
    If there are too many SLOC creation due to it. It may cause problem for PP perform GI as too many selection available for a material. This can be avoided if stick to the General Rule that one material is tied with one SLOC.
    Edited by: Daimos on May 16, 2009 5:07 AM

  • Looking for best practice on naming conventions

    Does anyone out there have a best practice on naming conventions that they could share.
    I'm starting to find the need to create objects and associated variables and actions.
    I can see this getting very messy, very quickly and would love to learn if someone has come up with a good set of guidelines that are both easy to follow and make perfect sense. (I know....what a balance to ask for!)
    Thanks
    Alan

    Hi Alan,
    Welcome to Adobe Community.
    There are couple of things that you can keep in mind while naming objects.
    When creating custom text caption styles, be sure to follow the correct naming conventions. Each caption style has a unique name, and you must
    use this name at the beginning of each associated bitmap filename. For example, if you create a text caption style named “Brightblue,” the five
    bitmap images that constitute the new style should be named as follows:
    Brightblue1.bmp, an image with no callouts
    Brightblue2.bmp, an image with a callout to the right or upper-right
    Brightblue3.bmp, an image with a callout to the left or upper-left
    Brightblue4.bmp, an image with a callout to the lower right
    Brightblue5.bmp, an image with a callout to the lower left
    Flash button-naming conventions
    Each SWF button contains three layers: a button, an icon, and an action layer.
    The SWF filename consists of the following elements:
    Acronym for playback control (“pbc”)
    Playback element identifier (“Btn” for button, “Bar” for bar, and so on)
    Name of the button (“play”).
    Hope this helps!
    Thanks!

  • Inconsistent naming conventions for Adobe Reader in software scan

    I just want to see if anyone knows why Adobe's free pdf Reader appears both as "Adobe Reader" AND "Adobe Acrobat Reader". I manage software licenses for an organization of 400+, and it's difficult to know if, for instance Adobe Acrobat - Reader 6.0.2 Update - 6.0.2, should or should not be counted as a purchased license without actually visiting each workstation to verify. I've spoken with our network operations personnel and they confirmed that it is not manually entered by our personnel, but that it is something in the software. ??
    Furthermore, why are the naming conventions not consistent even among those that can be identified easily? The list below is what I see when I run a report for all Adobe software on our network.
    Adobe Acrobat - Reader 6.0.2 Update - 6.0.2
    Adobe Acrobat 4.0 - 4.0
    Adobe Acrobat 5 -- SC Install
    Adobe Acrobat 5.0
    Adobe Acrobat 5.0 - 5.0
    Adobe Acrobat 5.0 - 5.1
    Adobe Acrobat 5.0 SC Support
    Adobe Acrobat 6.0 Professional - 006.000.000
    Adobe Acrobat 6.0 Standard - 006.000.000
    Adobe Acrobat 6.0.1 Professional - 006.000.001
    Adobe Acrobat 6.0.1 Standard - 006.000.001
    Adobe Acrobat 7.0 Professional - 7.0.0
    Adobe Acrobat 7.0.1 and Reader 7.0.1 Update - 7.0.2
    Adobe Acrobat 7.0.2 and Reader 7.0.2 Update - 7.0.3
    Adobe Acrobat 7.0.3 and Reader 7.0.3 Update - 7.0.4
    Adobe Acrobat 7.0.5 Professional - 7.0.5
    Adobe Acrobat 7.0.7 Professional - 7.0.7
    Adobe Acrobat 7.0.8 Professional - 7.0.8
    Adobe Acrobat and Reader 6.0.3 Update - 6.0.3
    Adobe Acrobat and Reader 6.0.4 Update - 6.0.4
    Adobe Acrobat and Reader 6.0.5 Update - 6.0.5
    Adobe Acrobat Reader 3.01
    Adobe Acrobat Reader for Pocket PC 1.0
    Adobe Reader 6.0 - 6.0
    Adobe Reader 6.0.1 - 006.000.001
    Adobe Reader 7.0 - 7.0.0
    Adobe Reader 7.0.5 - 7.0.5
    Adobe Reader 7.0.5 Language Support - 7.0.5
    Adobe Reader 7.0.7 - 7.0.7
    Adobe Reader 7.0.8 - 7.0.8
    Adobe Reader Chinese Simplified Fonts - 1.0
    Adobe Reader Japanese Fonts - 1.0
    Adobe Reader Korean Fonts - 1.0
    If anyone can answer this, I'd appreciate it. Thanks.

    Junlie et al,
    Starting with Acrobat 9 (announced on 6/2/08), Adobe will support the new ISO/IEC 19770-2 standard for universal software tagging. The new standard will allow customers to correctly identify the name, version, type and licensing status of Adobe software (starting with the Acrobat 9 family and later on as new versions of the products are introduced later this and next year).
    I DO understand your frustration with the in consistencies in the naming of our software, but the problem of software discovery goes well beyond our lack of discipline. This is one of the many reasons why Adobe invested time and effort with the industry group defining the new open standard, and in software asset management in general.
    More information about tagging standard can be found here: http://www.agnitioadvisors.com/info/content/view/44/1/
    - Juan-Carlos

  • ABAP Proxy generation terminated (WSDl choice element not supported)

    Hello
    Im trying to generate ABAP proxy from WSDL file (A valid XSD file has imported as External definitions in to XI Integration Repository and created Out bound Interface which gives WSDL file for Proxy generation in SPROXY).
    Unfortunately one of the WSDL file element "<choice>" not supported by ABAP Proxy Generation. it gives the following error.
    Proxy generation terminated: WSDL error (<choice> not supported)
    Message no. SPRX038
    Syntax of <choice> element code in WSDL file:
    <xsd:choice minOccurs='1' maxOccurs='1'>
    <xsd:element name='Employees' minOccurs='1' maxOccurs='1'>
    </xsd:element>
    </xsd:choice>
    Can some one please help if already come across this kind of problem.
    Please suggest me if there any alternate element for WSDL <choice>.
    Regards
    Rajesh

    Hi Aamir
    Thanks for your help...
    I have gone through attached thread.
    Does It means should i change <choice> element with any alternate element. If it is the case can u suggest me any alternate to <choice> element.
    Can u pls tell what are all changes i need to do in WSDL file to support ABAP proxy generation. 
    Regards
    Rajesh

  • Output CSV File Naming Convention - Receiver File Adapter

    Dear SAP experts,
    I need help regarding my scenario.
    My scenario is this, Customer will send EDI message to XI. XI will then translate the message and convert it into XML.. After, a Receiver File Adapter will receive the XML then convert it into .csv file.
    I've already configured the Receiver File Adapter to convert the XML into .csv file.
    But, my problem now is how will I configure to have my output .csv file has a File Naming Convention.
    The output .csv file must be "CustomerName_YearMonthDate".
    From the EDI message, there is indicated Sender GLN in which, each customer has its own Sender GLN.
    E.g., Globus --> 200, Karstadt --> 300,  Metro --> 400.
    How will I configure so that I can have an output .csv file of,
    If Globus sends the EDI message, the output .csv file is Globus_20080304.csv.
    If Karstadt, Karstadt_20080304.csv.
    If Metro, Metro_20080304.csv.
    Kindly advise for a clear and complete solution.
    Thank you very much for your usual support.
    Fred

    Hi Nisar,
    My target message (XML) in the mapping is this,
    - <ns0:CSV>
        -  <SLI>
               <PERIO> </PERIO>
               <ILN> </ILN?
               <EAN> </EAN>
    perio, iln, and ean was rooted on SLI field. and the CSV is the rootnode of the target message.
    I have created a UDF on the message mapping to accomodate the output customer name, here is the codes:
    String fname="";
    if(GLN.equals("23456"))
    fname ="Globus" +dat;
    else if(GLN.equals("5678"))
    fname ="Karstadt"+dat;
    else if(GLN.equals("6789"))
    fname ="Metro"+dat;
    DynamicConfiguration conf = (DynamicConfiguration) container
        .getTransformationParameters()
        .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);
    DynamicConfigurationKey key = DynamicConfigurationKey.create(
        "http://sap.com/xi/XI/System/File",
        "FileName");
        conf.put(key,fname );
    E.g.,
    Globus --> 23456 (Sender GLN)
    Karstadt --> 5678 (Sender GLN)
    Metro --> 6789 (Sender GLN)
    This UDF i've made in the Message Mapping was mapped in the root node CSV.
    Is this UDF correct?
    Then on the File Receiver Configurations, here are the configs,
    Transport Protocol: File System (NFS)
    Message Protocol: File Content Conversion
    Adapter Engine: Integration Server
    File Access Parameters
    Target Directory: /var/opt/gsss/sample/csv
    File Name Scheme: .csv
    Processing Parameters
    File Construction Mode: Create
    - Overwrite Existing File
    Write Mode: Directly
    File Type: Text
    Variable Substitution --> ???
    Adapter Specific Message Attributes
    - Use Adapter-Specific Message Attributes
    - Fail if Adapter-Specific Message Attributes Missing
    - File Name
    Run Operating System Command After Message Processing
    Command Line: chmod 664%F
    Content Conversion Parameters
    Recordset Structure: SLI
    SLI.addHeaderLine: 3
    SLI.headerLine: PERIO;ILN;EAN
    SLI.fieldSeparator: ;
    SLI.endSeparator: 'nl'
    Adapter Status:
    Status: Active
    Kindly advise if my configs are correct.
    Thank you very much!
    Fred

  • Class naming convention

    many a times i face difficulty with the Action/Class naming convention.
    Say, today ..i wrote a class.....tomorrow i have to rename the name of the class so that it becomes a more meaningful name and becomes unique and understandable with the newcomer classes.
    ...just to do this, i had to change the name of the class very frequently.
    Though i follow few conventions like :
    1) First letter of the class is Captial letter.
    2) use names which is relevant with the classs's functionality.
    but still i fall in problem....
    say, i want to populate a DataBase with my class.....whats the name i should keep ? tommorrow i am going to write another class which also populate the database . what do i do ?
    i first rename the old class with some meaningful name and then i write the new class with some other meaningful name.....but this kills time.....demands lots of changes....and so on...
    you know, i get trouble when my number of classes increases.
    do u feel the same ?
    what are the rules (NOT JAVA RULES but meaningful rules) i should remember to keep a class name ?

    You can name a class based on what it supposed to
    do...
    while naming it follow conventions like the ones
    which are mentioned in the code
    conventions/guidelines of your project.
    You will not be writing the same functionality in two
    different classes... would you??
    In case you may need to refractor(rename the class
    name) you may use java editor with refractoring
    capability to do it..
    With most of the java editors, you get this
    functionality.. e.g. doing a Alt+Shift+R would
    refractor your selected method, class, field etc...
    This applies to Eclipse
    >
    Hope that helps..
    Vaibhav

  • -cvs, -git, -snv... is really a good naming convention?

    The unstable packages have the name of their relative stable one with added in suffix the concurrent version system installed.
    I think it is a bad convention since it mixes implementer choices with the the concept of lastest unstable version.
    I think it is better decide a single suffix (e.g., -unstable or -dev) and always use it without difference between the implementer choices of programming.
    Moreover it avoids renaming headaches if someone changes program for keeping versions.
    No flame wars. I decide nothing. It is only a thought.

    Profjim wrote:
    I've seen this discussed before on the forums...
    Edit: http://bbs.archlinux.org/viewtopic.php?id=25938
    I found this in the forum search: http://bbs.archlinux.org/viewtopic.php?id=25938
    It doesn't seem like anything came out of that discussion. I haven't really found the naming convention confusing; it is the large variety of SCMs that is confusing, and that is not going to change anytime soon. The current package naming conventions are unproblematic for me so you'd have to point out exactly where a real problem has cropped up.

  • ArrayOfClass naming convention in webservice

    When I generate array of any class through autotype, the name of the serialiser, deserialise and type name in wsdl generated as ArrayOfClassName.
    But according to WSI basic profile 1.0 naming convention (R2112), bea should not use ArrayOfClassName.
    Here is the sample code snippet..
    <autotype                    javatypes="[LPackage.Interest;"
    targetNamespace="${namespace}"
         packageName="XX.YY"                    encoding="literal"                    destDir="${build}/NonBuiltType" />
    Can someone please tell me if autotype has any flag or facility to change the naming convention?
    Thanks in advance. A reply would be very much appreciated.
    cheers
    Biswa

    Hi Deepti,
    we have the following naming convention:
    Aggregation Level similar to Cube:
    e.g. Cube = ZPP_RC01 --> PP for Production Planning; RC for Real-time Cube and 01 just a sequential number
    than the Aggregation Level will become ZPP_AL01 --> AL for Aggregation Level
    Filter:
    starting with AL name and just a sequential number: e.g. ZPP_AL01_F1
    Planning function:
    e.g. ZPF_01 ... PF for Planning Function and sequential number
    Planning Sequence
    e.g. ZPS_01 ... PS for Planning Sequence and sequential number
    Best greetings,
    Peggy

  • How to create new check for SELECT* , Naming conventions etc..

    Hi all,
       I would like have a solution for the below checks are possible or not in ABAP - CODE INSPECTOR. If possible can you please give me the solution..
    a). Performance checks i.e, SELECT* , LOOP without field strings, FOR ALL ENTRIES IN SELECT STATEMENT.
    b). Custom naming conventions.
    c). to check if further modularization can be done in the program,
    d). also the coding standards.
    PLEASE help me , i am struck with it for long time in getting the solution...

    > a). Performance checks i.e, SELECT* , LOOP without field strings, FOR ALL ENTRIES IN SELECT STATEMENT.
    > b). Custom naming conventions.
    > c). to check if further modularization can be done in the program,
    > d). also the coding standards.
    the code inspector allows the creation of new checks, you should consult the documentation how to do it.
    The main problem of the code inspector are hits, which are actually no problem. And I think this is a problem with your checks:
    + SELECT*  this is no performance problem, only in cases when the table is really wide then a field list makes sense, i.e your check
       will find a lot of false hits
    + LOOP without field strings  ... you mean fs =field symbols, same as with SELECT *
    + FOR ALL ENTRIES IN SELECT STATEMENT   ???? FOR ALL ENTRIES is fine
    + Custom naming conventions  ... hmmm be more precise, I think it can be hard
    + to check if further modularization can be done in the program,
        before you want to program can you please explain how you check manually .... I would be interested
    +  also the coding standards.   .... what is that?

Maybe you are looking for