Generation of custom syncbo java classes does not work.

Hello
we created some new syncbo's for MAM 3.0 in the middleware and download it's correspond meRepMeta.xml.
Now i will generate in the NetWeaver Developer Studio the manager and syncbo classes for our new custom syncbo's. I had create a new SmartSync-Project and deliver the meRepMeta.xml file, edit the package and some other things and start the project creation process. But after this, i have only an simple MI project with web.xml, meRepMeta.xml and so on, but no generated, custom syncbo's. In the documentation i couldn't find a detailed description for the generation of syncbo java classes.
Can anybody help me, what i do wrong.
Tanks a lot.
Greetings
Andreas

Hi Kai,
Just note these points..
1)Smart Sync MI Applications (JSP Runtime) generated using SP 09v of Developer Studio is MCD specific.It is generating MCD specific files.This architecture makes the applications too complex during migration.
2)In SP 09v applications, the developers don't have to code in Smart Sync API level as most of the codes are generated by default.
3)Applications in SP 09v of Developer Studio is following the exact MVC Architecture(We can see the seperation of models, views and controllers here).
4)Corresponding to the mapped fields (in SyncBo level), in the BO Wrapper classes we can see implementations of corresponding getter() and setter(..) methods.The names of this methods are totally dependent upon the names of fields mapped.So if there is change in the names of fields , in the case of already generated projects , we have to explicitly rename the getter() and setter(..) methods appropriately inorder to make the changes to take effect.
5)For adding new JSP pages, we have to add references in many files(*.view). (we have to explicitly create the corresponding controller class file , map the relationship between the controller and the corresponding JSP file).
refer this blog also..
/people/kishor.gopinathan/blog/2006/05/29/smart-sync-application-development-using-sp-09v-of-developer-studio
<<
have to write the acces classes, mentioned in the MDK, manually for every new SyncBO I want to use?
>>
     For that , we can write a generic method in such a way that , we only have to pass the syncbo name as the parameter for that method, so that it would retrieve the records corresponding to the syncbo given.
   Since the getter nd setter method names are closely related to the names of the mapped fields, this would create problems when we change the names of fields used in the table parameter or import parameter of the BAPI Wrapper used for syncbo creation.
So using SP 11 , we can create generic applications, which can be migrated using the higher versions of NWD Studio. I think , SAP might not change this infrastructure anymore..
  Regards,
  Kishor Gopinathan

Similar Messages

  • My java programe does not work

    Hi
    I createda java programme with jdeveloper . I compiled my code in all of version (1.3, 1.4, 1.5, 1.6 and default).
    But when i try to run my programme in other computers that have j2SE Runtime Environment 5.0 update 11, or java Runtime 2 Environment SE 1.3 - 1.4,
    my programme doesnot work.
    how can i fix this problem.

    Which Jdev version?
    What exactly do you mean by 'does not work'?
    Timo

  • Castor:Marshalling java class does not yield field of same type as class

    Hi,
    I am using Castor for marshaling java classes into xml.
    It works fine except for a field which is in super class and of type as super class.
    I have used mapping files to provide field by field mapping to xml elements.
    <class name="com.xyz.GenericNode">
    <field name="parent" type="com.xyz.GenericNode">
    <bind-xml name="parent" node="element"/>
    </field>......
    </class>
    <class name="com.xyz.ResourceNode" extends="com.xyz.GenericNode">
    </class>Now when I see the marshaled xml it does not have the *<parent>* element for the ResourceNode.
    All other elements for all other fields are generated.
    I want to know whether my assumption that I will get the parent element in the binding xml for ResourceNode is valid or not.
    If not, then how else would I get the parent element. Because of this whenever I am un-marshaling these xmls for generating objects(ResourceNode Object) it gives null for parent field and I am not able to use it as per the logic.
    Please help me with this.
    Thanks

    Please send any suggestions / pointers.

  • APT and inner classes does not work.

    Hi
    Am I the only one who cannot make APT process local classes in methods, or anonymous classes. The are not declared in the APT definition of declared, but nor are they included!
    Also, has anyone had problems in that anonymous classes cannot be annotated using annotations, because there is no syntactic place to add metadata.
    But even so, I should like to process annotated methods in local or anonymous classes.
    -- Kasper

    By design anonymous and local classes are not visible in apt as the interiors of methods and constructors are not exposed.

  • Java class does not complie

    Hello experts:
    I am compiling a sample jdbc program using jdk1.1.8 in windows
    95. The sample programs that i am compiling are in Oracle_home\
    jdbc\samples directory. I have the jdbc/lib/classes111.zip in my
    C:\path. Any comments
    I get the following error
    class oracle.jdbc.driver.OracleDriver not found in type
    declarations:
    DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver
    selvan
    null

    you can specify your classpath at the commandline, but be sure
    to include your jdk1.1.x classes.zip file and your pwd (working
    dir).
    javac -classpath .;c:\jdk1.1.8
    \lib\classes.zip;c:\jdbc\lib\classes111.zip SampleApp.java
    I hope this helps
    best regards
    Michiel
    Yogesh (guest) wrote:
    : jdbc/lib/classes111.zip should be in CLASSPATH and not PATH.
    : Yogesh
    : selvan (guest) wrote:
    : : Hello experts:
    : : I am compiling a sample jdbc program using jdk1.1.8 in
    windows
    : : 95. The sample programs that i am compiling are in
    Oracle_home\
    : : jdbc\samples directory. I have the jdbc/lib/classes111.zip
    in
    : my
    : : C:\path. Any comments
    : : I get the following error
    : : class oracle.jdbc.driver.OracleDriver not found in type
    : : declarations:
    : : DriverManager.registerDriver (new
    : oracle.jdbc.driver.OracleDriver
    : : selvan
    null

  • Communication between SOAP and java proxy does not work

    Hi Group,
    i want to proceed following scenario:
    SOAP->XI->JavaProxy
    For that i have created of the message interface of a remote function module my java proxy.
    Calling the java proxy with following scenario works successfully:
    RFC->XI->JavaProxy
    Further, i have created in the integration engine(configuration) my wsdl file. In the SAP
    Netwaever Developer Studio, i have made a standalone proxy project, that is consuming the
    web service out of the wsdl file.
    Testing the web service client with following example works fine:
    SOAP->XI->RFC
    But when i try the scenario SOAP->XI->JavaProxy, i get following rmi exception on client side:
    java.rmi.RemoteException: Service call exception; nested exception is:
    java.lang.Exception:  Element 'Z_GPS_PING.Response' not found in response message.
    at com.demo.sap.MI_WEBSRV_GPS_PING_OUTBBindingStub.MI_WEBSRV_GPS_PING_OUTB(MI_WEBSRV_GPS_PING_OUTBBindingStub.java:86)
    at com.demo.test.TT_Pinger.main(TT_Pinger.java:36)
    Caused by: java.lang.Exception:  Element 'Z_GPS_PING.Response' not found in response message.
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.getResponseDocument(MimeHttpBinding.java:942)
    at com.sap.engine.services.webservices.jaxrpc.wsdl2java.soapbinding.MimeHttpBinding.call(MimeHttpBinding.java:1231)
    at com.demo.sap.MI_WEBSRV_GPS_PING_OUTBBindingStub.MI_WEBSRV_GPS_PING_OUTB(MI_WEBSRV_GPS_PING_OUTBBindingStub.java:79)
    ... 1 more
    In the monitoring, the execution of both directions is ok. In the response message, i can see the result of the java proxy.
    Here is the result:
    <ns:Z_GPS_PING.Response xmlns:ns="urn:sap-com:document:sap:rfc:functions">
         <E_RETURNCODE>PINGOK  </E_RETURNCODE>
    </ns:Z_GPS_PING.Response>
    My first thought, was, that i have a problem with the prefix, so i have changed it via xslt transformation into "rfc",
    but it got the same error message.
    Does anyone know, which problem we have here?
    For any hint or suggestion, i would be much obliged.
    Greetings,
    Sigi
    P.S. WAS and Sap Netweave Dev Studio is on patch level 12

    Hi Group,
    the SAP has solved the Problem now.
    The coresponding OSS note is: 862926
    (release date 18.07.05)
    The reason was, that the response payload name wasn't
    "maindocument". For that, the adapter didn't found the payload and returned an emty one.
    Greetings,
    Sigi

  • Java GUI does not work in Ubuntu

    Hello everybody,
    I made an GUI application using Swing and Eclipse. When I run it, the GUI shows up, and the program works until I place the pointer on top of the program's window. When I do so, the program freezes and after a couple of seconds I get a message telling me that the program is not responding.
    The code itself should not be the problem because I tried several well established Hello Worlds applications. Other users also report that this code works fine on theri computers.
    Probably it is important to notice that SWT based Hello World applications work fine on my Ubuntu (only Swing based applications freeze).
    It has been suggested that the problem can be in the default JDK used by Ubuntu. I tried to solve the problem in this direction. I typed "aptitude search jdk" in the command line and found out that "sun-java6-jdk" is the only JDK installed on my computer. So, it should be OK.
    Any ideas what can be wrong?
    The old dicussion about this subject was blocked (it is here: http://forums.sun.com/thread.jspa?threadID=5402905&tstart=0)

    // This code generate a text area.
    // Taken from http://www.javafaq.nu/java-article743.html
    import java.awt.*;
    import javax.swing.*;
    public class HelloWorldSwing extends JFrame {
             JTextArea m_resultArea = new JTextArea(6, 30);
             //====================================================== constructor
             public HelloWorldSwing() {
                 //... Set initial text, scrolling, and border.
                 m_resultArea.setText("Enter more text to see scrollbars");
                 JScrollPane scrollingArea = new JScrollPane(m_resultArea);
                 scrollingArea.setBorder(BorderFactory.createEmptyBorder(10,5,10,5));
                 // Get the content pane, set layout, add to center
                 Container content = this.getContentPane();
                 content.setLayout(new BorderLayout());
                content.add(scrollingArea, BorderLayout.CENTER);
                 this.pack();
             public static void createAndViewJFrame() {
                 JFrame win = new HelloWorldSwing();
                 win.setTitle("TextAreaDemo");
                 win.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
                 win.setVisible(true);
             //============================================================= main
             public static void main(String[] args) {
                  SwingUtilities.invokeLater(new Runnable(){
                       public void run(){
                            createAndViewJFrame();
    }

  • Glow filters and tween class does not work!!

    hi!!!! this is my problem...
    I have inserted on stage through attachmovie a mc and copied
    6 times through the cycle for. . now through the class filter I
    have assigned for everyone the effect always through the cilo for,
    but I do not succeed to assign transition that is to the effect
    movement of the filter glow to all the mc
    for all the rollOut and rollOver works (this is looked at
    from the small hand and trace) but the every time that step small
    hand on whichever only mc to a part the transition of the
    effect…
    now i show the code of my fla files that is in first frame...
    quote:
    import flash.filters.GlowFilter;
    /*import flash.filters.*;*/
    import mx.transitions.Tween;
    import mx.transitions.easing.*;
    //imposto le variabili posizione
    var posX:Number = 80;
    var posY:Number = 370;
    //creo l'array di testo delle icone e del numero delle icone
    var testoIco:Array = new Array ("VIDEO","MOTION
    GRAPHICS","WEB SITES","ILLUSTRATIONS","BRAND","PHOTO");
    setUpButtons();
    function setUpButtons()
    var gf:GlowFilter = new GlowFilter(0x000000, 100, 0, 0, 3,
    3, false, false);
    //dichiaro gli effetti e li imposto
    var blurXTween:Tween = new Tween(gf, "blurX",
    Elastic.easeOut, 5, 5, 1, true);
    var blurYTween:Tween = new Tween(gf, "blurY",
    Elastic.easeOut, 5, 5, 1, true);
    //imposto il valore btnCnt
    var btnCnt = testoIco.length;
    /*ciclo for per attaccare il simbolo item dalla libreria e
    per moltiplicarlo
    sullo stage e dargli l'effetto*/
    for(var i=0; i < btnCnt; i++)
    //attacco l'icona dalla libreria
    var icon:MovieClip = this.attachMovie("icon","icon" + i,
    i+1);
    var temp = this["icon"+i];
    temp.icona.testo.textButton = testoIco
    temp._x = (127*i) + posX;
    temp._y = posY;
    temp.ref.setMask(temp.mask);
    var glow:Array = this["gf"+i];
    temp.filters = [gf];
    /*applico l'effetto alle icone rollOver rollOut*/
    temp.onRollOver = function ()
    blurXTween.continueTo(20, 2);
    blurYTween.continueTo(20, 2);
    temp.onRollOut = function ()
    blurXTween.continueTo(5, 2);
    blurYTween.continueTo(5, 2);
    blurXTween.onMotionChanged = function ()
    temp.filters = [gf];
    i need help!!!
    sorry for my bad english....

    Thanks jtahlborn for this fast reply.
    Unfortunately it doesn't work, if I change the code of WebServiceBean to the following:
    @Stateless
    public class WebServiceBean
         @EJB
         ControllerBean controller;
         @EJB
         JPAServiceLocal jpa;
    }Error message:
    javax.naming.NamingException: Error occurs while the EJB Object Factory trying to resolve JNDI reference Reference Class Name: com.x.y.z.ControllerBean
    Do I have to define any parameter with the @EJB annotation, like name or bean-name or put something into ejb-jar.xml?
    The second idea is not an option for me, I don't wanna make ControllerBean a POJO
    Cheers

  • [code]javac[/code] works, [code]java[/code] does not work.

    I have installed the Java 2 SDK Standard Edition v1.3.1_01. I have set the path in the autoexec.bat file. I created the file WhatsUpDoc.java containing:
    public class WhatsUpDoc{
      public static void main(String[] args){
        System.out.println("What's up Doc?");
    }At the DOS prompt, when I type: javac WhatsUpDoc.java there is no compilation error and the WhatsUpDoc.class file is created. But, when I type java WhatsUpDoc at the DOS prompt, I get:
    Exception in thread "main" java.lang.NoClassDefFoundError: WhatsUpDocI have compiled several applets working just fine on a web page. Why I cannot run this simple application?
    Thank you for your help.
    Michel Cariotis

    I have installed the Java 2 SDK Standard Edition
    v1.3.1_01. I have set the path in the
    autoexec.bat file.What have you set the CLASSPATH to? It should be ".;%JAVA_HOME%\jre\lib\rt.jar". It looks like the CLASSPATH is wrong, so java can't see the class in the current directory. :-/
    Bhav

  • JTextField and JTextArea in Mac with Java 6 does not work

    Hi there,
    I just installed the new version of Java 6 for Mac and I my text fields and text areas just stoped working. I can paste text to them, but they do not respond to my typing (only backspace works!!). Did anyone have this problem?
    I guess it is still beta and they are going to fix it in time. But I would be happy if I was not the only one and if there is any way to fix it for now.
    I just tried simple code like:
    main... {
      JFrame f = new JFrame();
      f.add(new JTextField(10), BorderLayout.NORTH));
      f.add(new JTextArea(5,2), BorderLayout.CENTER));
      f.pack();
      f.setVisible(true);
    }All the best,
    RC

    ...hm, nope, works for me...

  • Pathname for java.exe does not work

    Hi all,
    on Windows, when prompted for full name to java.exe, I enter:
    C:\Program Files\Java\jre1.5.0_06\bin\java.exe
    Next, pressing OK, I get an error:
    Cannot find a J2SE SDK installed at path: C:\Program Files\Java\jre1.5.0_06.
    What am I doing wrong here?
    Kind regards - Remi.

    OK got it.
    I now use D:\oracle\Raptor\raptor\jdk\jre\bin\java.exe from my latest beta version.
    This appears to work just fine.
    Thanks - Remi.

  • JAVA APPLICATION DOES NOT WORK WITH TMG

    Dear all,
    I'm not able to log into a JAVA APP or a Website using Java (.jsp) pages.
    We can open either the windows application and the webpage, but we can't log in.
    I'm using Forefront TMG 2010 as a my corporate firewall and all clients are using Windows 8.1.
    I've tried everyting I'm able to try.
    Could you please help me?
    Best Regards
    Clemilson
    Clemilson Correia IT Specialist

    Hi,
    Thank you for your post here.
    Firstly we need you to collect
    TMG live logging.
    As you mentioned, you can normally get website but cannot login in, so I think there may be something wrong with the HTTP post method. You may need to capture the packets to see what happened.
    You can use
    Network Monitor 3.4.
    Best Regards
    Quan Gu

  • I upgraded my 2nd generation Itouch and it now it does not work properly

    is there anything that can be done with this device or are we being forced to make it garbage?????  I have been a faithful Apple customer for many many years.  This is the first device that has failed me.

    Try:
    - Reset the iOS device. Nothing will be lost
    Reset iOS device: Hold down the On/Off button and the Home button at the same time for at
    least ten seconds, until the Apple logo appears.
    - Reset all settings
    Go to Settings > General > Reset and tap Reset All Settings.
    All your preferences and settings are reset. Information (such as contacts and calendars) and media (such as songs and videos) aren’t affected.
    - Restore from backup. See:
    iOS: How to back up
    - Restore to factory settings/new iOS device.
    -  Make an appointment at the Genius Bar of an Apple store.
    Apple Retail Store - Genius Bar

  • Java - version does not return the version??

    Hi,
    The following is from a cmd window
    C:\Program Files\JavaSoft\JRE\1.2\bin>java -version
    C:\Program Files\JavaSoft\JRE\1.2\bin>
    It seems to be missing the expected:
    java version "1.2.2"
    Classic VM (build JDK-1.2.2_006, native threads, symcjit)
    Another side effect is that any application using java to launch creates a java process (briefly observed through task manager) and then dies almost instantly.
    The machine is a Win2000 Server running JRE 1.2.2_006, I've tried uninstalling, re-installing, rebooting (between unistalling and reinstalling), setting the path and classpath variables to nothing and running from the folder.
    Anyone seens this before? know what the resolution is?
    Thanks
    Dave

    Thanks for the response, I've already tried that with no success.
    It appears that it might be related to the fact that it's installed on a VMWare machine.
    The java -version command works fine on the VMWare machine when the VM is running on the host machine that it was built on, however when the VMWare machine was moved to a new host it seems that when you run the java interpreter it launches and then just dies??
    I still don't have an answer for why the Java -version does not work.
    As I said before I have uninstalled and reinstalled JRE 1.2.2 a couple of times with no success, however a workaround appears to be to install the JRE 1.3.1.
    After installing JRE 1.3.1 the java -version command works, fortunately the java applications I am using 'seem' to be compatible (with a few modifications to path variables etc) with the 1.3.1 version�.
    Thanks
    Dave

  • Java command still not working - please help

    i have installed jdk1.6.0_05. The javac command works fine but the java command does not work at all. even when i try java HelloWorld i receive this exception message
    Exception in thread "main" java.lang.NoClassDefFoundError: HelloWorld
    Caused by: java.lang.ClassNotFoundException: HelloWorld
    at java.net.URLClassLoader$1.run(Unknown Source)
    at java.security.AccessController.doPrivileged(Native Method)
    at java.net.URLClassLoader.findClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClass(Unknown Source)
    at java.lang.ClassLoader.loadClassInternal(Unknown Source)
    please help (you to SUN)!!

    bart@kerberos:~$ javac -help
    Usage: javac <options> <source files>
    where possible options include:
      -g                         Generate all debugging info
      -g:none                    Generate no debugging info
      -g:{lines,vars,source}     Generate only some debugging info
      -nowarn                    Generate no warnings
      -verbose                   Output messages about what the compiler is doing
      -deprecation               Output source locations where deprecated APIs are used
      -classpath <path>          Specify where to find user class files and annotation processors
      -cp <path>                 Specify where to find user class files and annotation processors
      -sourcepath <path>         Specify where to find input source files
      -bootclasspath <path>      Override location of bootstrap class files
      -extdirs <dirs>            Override location of installed extensions
      -endorseddirs <dirs>       Override location of endorsed standards path
      -proc:{none,only}          Control whether annotation processing and/or compilation is done.
      -processor <class1>[,<class2>,<class3>...]Names of the annotation processors to run; bypasses default discovery process
      -processorpath <path>      Specify where to find annotation processors
      -d <directory>             Specify where to place generated class files
      -s <directory>             Specify where to place generated source files
      -implicit:{none,class}     Specify whether or not to generate class files for implicitly referenced files
      -encoding <encoding>       Specify character encoding used by source files
      -source <release>          Provide source compatibility with specified release
      -target <release>          Generate class files for specific VM version
      -version                   Version information
      -help                      Print a synopsis of standard options
      -Akey[=value]              Options to pass to annotation processors
      -X                         Print a synopsis of nonstandard options
      -J<flag>                   Pass <flag> directly to the runtime systemSee the bold part.
    More information: [http://java.sun.com/docs/books/tutorial/java/package/managingfiles.html]

Maybe you are looking for

  • Creating a Web Dynpro Application Accessing ABAP Functions

    Hi all,             I implemented Creating a Web Dynpro Application Accessing ABAP Functions .But recently i heared a new word BW query.Is it not wat i did in the above application or is this a new backend sytem , does  it have a new procedure to cre

  • Would like an opinion!!  Be nice, I am a beginner!

    if someone is bored, would you mind compiling / running this program and let me know where I could improve. also, towards the end only the characters Y + N should be accepted. any ideas how to incorporate this. class assign1{           public static

  • SQL type not recognized: 'double unsigned'

    I have a particular table that uses fields defined as "double unsinged". Every time I expand that table in the database area, I get the error "SQL type not recognized: 'double unsigned'". Is this a bug or is it some odd configuration error on my part

  • Is it possible to create warning messages in BPs?

    Hi all, We're currently using Unifier version 9.13.6. What I would like to do, unlike a validation rule, is to create a Warning Message based on a pull down field and a chosen Work Flow Action. For example, if the Work Order Status Pull Down is chose

  • How can a tetraplegic man still use his iphone?

    My son has recently been involved in an accident that has left him tetraplegic with only movement in his head and his voice. He desperately needs to communicate with his iphone, but can't operate the turn on and off or SIRI button, so someone has to