Is there any tutorial for SAP Java Backend Development?

Hi everyone,
I am following the "How To - Part 1: Build an Agentry based app from scratch connecting to a SAP ERP back-end" to learn Agentry by myself.
There are some Java code when creating the Steplet, StepHandler and Bapi that I dont understand. I would like to know if there is any document or tutorial to learn how to write  such Java code. I already know the Agentry stuffs like fetch, step, etc.
For example, why do we need the processResult or setParameter method? Why do we need JCO.Table? Where is the table "ET_FLT_SCHEDULE"
public class FlightScheduleBapi extends AbstractFetchBAPI{
public User user = null;
public FlightScheduleBapi(User u, GregorianCalendar lu) throws Exception {
super(u, lu);
user = (User) u;
@Override
public ArrayList<SAPObject> processResults() throws Exception {
ArrayList<SAPObject> spfliTab = new ArrayList<SAPObject>();
JCO.Table _sTab = _tables.getTable("ET_FLT_SCHEDULE");
int rows = _sTab.getNumRows();
for(int i = 0; i<rows; i++)
_sTab.setRow(i);
FlightSchedule spfliLine = new FlightSchedule(_sTab);
spfliTab.add(spfliLine);
  return spfliTab;
@Override
public void setParameters(SAPObject obj) throws Exception {
  super.setParameters(obj);
try {
  } catch (Exception e) {
user.rethrowException(e, true);
Thank you very much.
Tags edited by: Michael Appleby

Anyone can help me out of this?
I am looking for AbstractFetchBAPI but there is no information about it.
I found JCO Client Connection and JCO getTable to access SAP tables. Can I use this way in Agentry App?
Thanks.

Similar Messages

  • Is there any tutorial for using ARM cortex-A processors of Zynq for digital signal processing ?

    Hello, everyone.
    Is there any tutorial for using ARM cortex-A processors(such as A9 and A53) of Zynq to deal with digital signal processing  problems?
    Please tell me , thanks.

    Hi
    Check below links
    http://www.xilinx.com/training/zynq/software-acceleration-for-dsp-functions-with-zynq.htm
    https://www.youtube.com/watch?v=ErEG7ZREcJQ
    http://www.xilinx.com/support/documentation/application_notes/xapp1170-zynq-hls.pdf
    http://www.xilinx.com/support/documentation/application_notes/xapp890-zynq-sobel-vivado-hls.pdf
    http://www.xilinx.com/support/documentation/application_notes/xapp1167.pdf

  • Is there any tutorial for jms development with jdeveloper out there ?

    Hi
    Thank you for reading my post
    is there any tutorial which show us how to use jdeveloper +oc4j for JMS stuff ?
    I mean an end 2 end tutorial to build mdb+jms resources in oc4j + client
    it will be far better if the tutorial shows how we can use jdeveloper features for this task (if it provide any wizard...)

    This is an example of a client:
    public String listeningJMS (Context context) throws Exception
    String topicName = "jms/demoTopic";
    String topicConnectionFactoryName = "jms/TopicConnectionFactory";
    TopicConnectionFactory topicConnectionFactory = null;
    TopicConnection topicConnection = null;
    TopicSession topicSession = null;
    Topic topic = null;
    TopicSubscriber topicSubscriber = null;
    TextMessage message = null;
    String fileName = null;
    * Look up connection factory and topic. If either does
    * not exist, exit.
    try
    topicConnectionFactory = (TopicConnectionFactory)
    context.lookup(topicConnectionFactoryName);
    topic = (Topic) context.lookup(topicName);
    * Create connection.
    * Create session from connection; false means session is
    * not transacted.
    * Create subscriber.
    * Register message listener (TextListener).
    * Receive text messages from topic.
    * When all messages have been received, enter Q to quit.
    * Close connection.
    topicConnection =
    topicConnectionFactory.createTopicConnection();
    topicSession =
    topicConnection.createTopicSession(false,
    Session.AUTO_ACKNOWLEDGE);
    topicSubscriber =
    topicSession.createSubscriber(topic);
    topicConnection.start();
    System.out.println("Receiving: ");
    TextMessage msg = (TextMessage) topicSubscriber.receive();
    String xmlString =msg.getText();
    topicConnection.close();
    System.err.println("Received: "+xmlString);
    fileName = this.getFileName(msg.getText());
    } catch (Exception e) {
    throw e;
    } finally {
    if (topicConnection != null) {
    try {
    topicConnection.close();
    } catch (JMSException e) {throw e;}
    return fileName;
    public static Context getInitialContext() throws NamingException {
    Hashtable env = new Hashtable();
    // Standalone OC4J connection details
    env.put( Context.INITIAL_CONTEXT_FACTORY, "oracle.j2ee.rmi.RMIInitialContextFactory" );
    env.put( Context.SECURITY_PRINCIPAL, "oc4jadmin" );
    env.put( Context.SECURITY_CREDENTIALS, "welcome1" );
    env.put(Context.PROVIDER_URL, "ormi://localhost:12401");
    //env.put(Context.PROVIDER_URL, "ormi://localhost:23791");
    return new InitialContext( env );
    }

  • Is there any tutorial for integrating struts with hibernate using JDevelope

    Hi Everybody
    I am using Jdeveloper...and I want to know is there any tutorial available for usinfg struts and hibernate.
    If anybody knows abt them...plz tell me the links.
    Thanks and Regards
    K Sreenivas

    A tutorial about using hibernate in JDeveloper is here:
    http://www.oracle.com/technology/pub/articles/vohra_hibernate.html
    There are many papers and tutorials about Struts in JDeveloper - just go to the tutorials page and technical papers pages linked from the JDeveloper home-page.

  • Is there any tutorial for annotations

    I downloaded the spec but it is a bit too technical for me. I need something for the dummies, like the generics tutorial..

    Sorry for taking a bit long. Yes that it the tutorial I am referring to.

  • Is there any tutorial for an extension that just changes a variable in the about:config?

    Hi all,
    I am trying to create my first firefox extension, which will simply change the value of one of the about:config variables. I looked all over for tutorials that could help me, of course, but I found none that covers that specific matter (changing a variable of the about:config). Do you know any?
    Thanks in advance!

    Hi Maudluna,
    I understand you would like to sign out your Apple ID from an iPad. You can do this easily by following the steps in the article below. I have also linked to an article about Family Sharing which can help you create and manage multiple accounts:
    iOS: Sign in with a different Apple ID in the iTunes Store, App Store, and iBooks Store - Apple Support
    Start or join a family group using Family Sharing - Apple Support
    Family Sharing makes it easy for up to six people in your family to share each other’s iTunes, iBooks, and App Store purchases without sharing accounts. Pay for family purchases with the same credit card and approve kids’ spending right from a parent’s device. And share photos, a family calendar, and more to help keep everyone connected.
    Thank you for contributing to Apple Support Communities.
    Take care,
    Bobby_D

  • HT5093 is there any tutorial for beginners on ibook atthor??????

    how to use ibook author for creating new book including all features and opitonns in it?

    See: Publishing With iBooks Author
    http://shop.oreilly.com/product/0636920025597.do 

  • Any tutorial for building adapters and routing services for JBI container ?

    Hi
    Thank you for reading my post
    is there any tutorial for Sun JBI container ?
    I want to know how i can build/deploy JBI components like adapters and routing service for Sun JBI container .
    another question is that , is it based on OpenESB ?
    thanks

    You can find a white paper on writing a JBI service engine here:
    http://java.sun.com/integration/reference/techart/DevelopingAServiceEngineComponent-1-2.pdf
    Also, there is a lot of information on JBI and Open ESB here:
    http://java.sun.com/integration/
    You ask if the Sun JBI container is based on Open ESB - it's actually the other way around: Open ESB is based on the Sun JBI container. The JBI container is a JSR208-compliant implementation, and Open ESB builds upon that implementation to add full ESB capabilities.
    hope this helps -
    mark

  • Is there any possibility for extraction of statutory reports in std sap....

    hi sap gurus,
    good afternooon toall,
    is there any possibility for extraction of statutory reports in std sap r/3 with out any customization
    is there any possibility ?
    for eg:
    the reports which will be given for internal audit purpose.
    like tax, lst,vat reports
    plz let met know
    regards,
    balaji.t
    09990019711

    Dear balaji
    check j1i2
    thanks
    G. Lakshmipathi

  • Any tutorial for using Hibernate in Jdeveloper?

    Hi
    thank you for reading my post
    is there any tutorial that helps with using Hibernate with Jdeveloper?
    specially the ant task stuff about schema generator and Hibernate annotation?
    Thanks

    Hi,
    The previous problem is solved but now getting another error
    500 Internal Server Error
    javax.faces.FacesException: #{Catalog.commandButton_action}: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:98)
         at javax.faces.component.UICommand.broadcast(UICommand.java:332)
         at javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:287)
         at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:401)
         at com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:95)
         at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:245)
         at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:110)
         at javax.faces.webapp.FacesServlet.service(FacesServlet.java:213)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.invoke(ServletRequestDispatcher.java:711)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.ServletRequestDispatcher.forwardInternal(ServletRequestDispatcher.java:368)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.doProcessRequest(HttpRequestHandler.java:866)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:448)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.serveOneRequest(HttpRequestHandler.java:216)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:117)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].server.http.HttpRequestHandler.run(HttpRequestHandler.java:110)
         at oracle.oc4j.network.ServerSocketReadHandler$SafeRunnable.run(ServerSocketReadHandler.java:260)
         at oracle.oc4j.network.ServerSocketAcceptHandler.procClientSocket(ServerSocketAcceptHandler.java:239)
         at oracle.oc4j.network.ServerSocketAcceptHandler.access$700(ServerSocketAcceptHandler.java:34)
         at oracle.oc4j.network.ServerSocketAcceptHandler$AcceptHandlerHorse.run(ServerSocketAcceptHandler.java:880)
         at com.evermind[Oracle Containers for J2EE 10g (10.1.3.1.0) ].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
         at java.lang.Thread.run(Thread.java:595)
    Caused by: javax.faces.el.EvaluationException: java.lang.NullPointerException
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:150)
         at com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:92)
         ... 20 more
    Caused by: java.lang.NullPointerException
         at hibernate.HibernateDB.getData(HibernateDB.java:168)
         at hibernate.Catalog.commandButton_action(Catalog.java:112)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
         at java.lang.reflect.Method.invoke(Method.java:585)
         at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:146)
         ... 21 more
    Where line 168 is
    result[0] = new String(""+catalog.getId());
    please help.
    Thanks

  • Automation testing for sap bw backend

    Hello Gurus,
               do you have some idea for automation testing of sap bw backend?
    Many thaniks

    Hi,
    If you are looking about data reconcolization or Data testing between ECC and BW  then I already given solution in your previous thread. i.e. Who will involve in UAT thread.
    Automation testing for sap bw backend: What testing?. We don't have such kind of concept, for Java, VB etc  applications they will test all fields and code, but we don't  have automation testing for sap bw backend.
    Thanks
    Reddy

  • Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?

    I'm new to Oracle. I have installed Oracle SQL Developer 3.0.04 and Java 1.7. When I run Oracle SQL Developer, I will get the window Running this product is supported with minimum Java version of 1.6.0_04 and a maximum version less than 1.7. This product will not be supported....
    Is there any known problem using Oracle SQL Developer 3.0.04 with Java 1.7?
    I have already downloaded Java 1.6 but don't know whether I need to uninstall Java 1.7 first. If don't need to uninstall Java 1.7, how can I set Oracle SQL Developer to run with Java 1.6?
    Thanks for any help.
    Edited by: 881656 on Aug 25, 2011 11:22 AM

    Hi,
    One prior post discussing the use of Java 7 is:
    SQL Developer 3.0  and Java SE 7?
    There is no need to uninstall any Java version (except if you have disk space constraints) and no problem switching between Java versions. This may be controlled in the sqldeveloper.conf file in your ...\sqldeveloper\sqldeveloper\bin directory via the SetJavaHome line. For example:
    #SetJavaHome ../../jdk
    SetJavaHome C:/Program Files/Java/jdk1.6.0_26
    #SetJavaHome C:/Program Files/Java/jdk1.7.0Regards,
    Gary Graham
    SQL Developer Team

  • Any tutorial for performing manual CRUD beside ADF faces and ADF BC ?

    Hi
    Thank you for reading my post
    is there any tutorial around which help me learn how to perform manual CRUD beside ADF BC ?
    in my application i have some complex DB operation which i need to perform them manually.
    an example is my login page :
    user enter user name and password and i should check it with database and after i checked that its correct then i can set session attributes that user is loged in.
    now the question is : how i perform that check for user name and password , does ADF-BC helps or i should get the connection and create an statement ...
    thanks

    Hi!
    You can do that with bind variables. Perhaps this thread will help you:
    Re: SQL statement problem!!
    Claus

  • Are there any shortcuts for creating Value Object Classes?

    Hi,
    I'm using a Remote Object to connect to my server
    (pyAMF/Django). I'm getting stuck with the creation of Value Object
    Classes. It doesn't seem very DRY to have a class on my server
    representing the data model and then have to recreate that class
    and all its properties in my Flex app.
    Are there any shortcuts for creating client side VOs from
    server side data?
    I was thinking about declaring an empty VO class in Flex, and
    then dynamically assigning/casting my Proxy object to that class.
    It seems like that approach may cause problems for the Flex
    compiler though.
    Any hints?
    Thanks!

    quote:
    Originally posted by:
    tptackab
    Oh man, do I feel your pain. I'm not sure what middle-tier
    technology you're using, but I'm using Java (w/Spring) and I
    absolutely hate having to create and maintain two sets of VO (aka
    data transfer - DTO) object for Java and Flex.
    One thing that has helped me in that area is a free tool from
    Farata Systems called
    DTO2Fx. If you're using Java and Eclipse, it's a great time saver.
    You simply install a (very lightweight) Eclipse plugin, add a
    single annotation to your Java VO classes, and it automatically
    generates your Flex VOs. It even creates a base and extended
    version of each VO on the AS3 side so you can add code to the
    extended VO without fear of having your changes overwritten when it
    regenerates your Flex VOs.
    Here's a like to thier
    PDF that
    gives instructions and a download link. I had it up and running in
    my application in less than 30 minutes!
    I'm using Python/Django serverside (PYAMF is my AMF
    serializer).

  • Is there any difference in SAP 4.7 and ECC 5.0

    Dear,
    Is there any difference in SAP 4.7 and ECC 5.0...
    Thanx & Regards,
    Mohammad Nabi

    Hi,
    Check this out
    Hi I'm providing the ECC 6.0 functionality if you knows the
    4.7EE the difference is as follows:
    ECC 6.0 New GL Functionality
    1.Activate the New General Ledger Accounting by a single
    click on the clock icon
    2.You will reach to change view "activation of New GL A/cg"
    detail screen and tick the checkbox and save.
    3. After activation of New General Ledger Accounting, you
    exit the IMG screen when you re-enter, you find that a new
    node is added Financial Accounting (New)
    4.After activation of New General Ledger Accounting; a new
    sub node appears in the IMG structure.
    This sub node is Define Segment
    The menu path is:
    SAP Customizing IMG ---> Enterprise Structure -
    >
    Definition --> Financial Accounting --> Define Segment
    In this IMG activity, you define your segments.
    If you then define your profit centers, you can enter an
    associated segment in the master record of a profit center.
    The segment is then derived from the assigned profit center
    during posting.
    5. Activation has created a new field in Profit Center
    Master Record: the SEGMENT
    6.Leading and Non- Leading Ledgers
    In General Ledger Accounting, you can use several Ledgers
    in parallel. This allows you to produce financial
    statements according to different accounting principles. A
    ledger uses several dimensions from the totals table it is
    based upon. When defining Ledgers, one must be defined as
    the Leading Ledger. The Leading Ledger is based on the same
    accounting principles as that of the consolidated financial
    statements. It is integrated with all subsidiary ledgers
    and is updated in all company codes. This means that it is
    automatically assigned to all company codes. In each
    company code, the Leading Ledger receives exactly the same
    settings that apply to that company code : the currencies,
    the fiscal year variant and posting period variant .
    You must designate one of your ledgers as the Leading
    Ledger. It is not possible to designate more than one
    ledger as the leading ledger.
    The menu path is:
    SAP Customizing IMG -
    > Financial Accounting (New) -
    >
    Financial Accounting Basic Settings (New) -
    > Ledgers ---
    -> Ledger -
    > Define Ledgers for General Ledger
    Accounting
    Clicking on the checkbox identifies one of your ledgers as
    the Leading Ledger.
    7. Activation of Non Leading Ledgers
    Non Leading Ledgers are parallel ledgers to the Leading
    Ledger . They can be based on local accounting principle,
    for example. You have to activate a non- Leading Ledger for
    individual company codes. Non- Leading Ledgers can have
    different fiscal year variants and posting period variants
    per company code to the Leading Ledger of this company
    code.
    The menu path is :
    SAP Customizing IMG -
    > Financial Accounting ( New ) -
    > Financial Accounting Basic Settings (New) -
    > Ledgers -
    ---> Ledger -
    > Define and Activate Non --Leading
    Ledgers
    8.Assign scenarios to ledgers
    A Scenario combines Customizing settings from different
    business views. Each business view specifies which posting
    data is transferred from different application components
    in General Ledger Accounting, such as cost Center update or
    Profit Center update .You assign the desired scenarios to
    your ledgers. For each ledger, you define which fields are
    filled with posting data from other application components.
    SAP delivers a number of scenarios in the standard system.
    It is not possible to create additional scenarios.
    The menu path is:
    SAP Customizing IMG -
    > Financial Accounting (New) -
    > Financial Accounting Basic Settings (New) -
    > Ledgers -
    --->Fields -
    > Display Scenarios for General Ledger
    Accounting.
    9. Cost of sales accounting
    Cost of sales accounting is a way to create a profit and
    loss statement (P&L) for a company by comparing the
    revenues to the costs or expenses incurred to obtain these
    revenues.
    The expenses are mainly divided by functional area such as:
    Manufacturing
    Administration
    Sales
    Research and Development
    We can activate Cost of Sales Accounting by the following
    menu path :
    SAP Customizing IMG -
    > Financial Accounting ( New ) -
    -> Financial Accounting Basic Settings (New) -
    >
    Ledgers ->Ledger---> Activate Cost of Sales Accounting
    Offsetting Account Report ECC 5.0
    Offsetting account report for vendors in ECC 5.0 is
    possible after implementing the OSS Note 1034354
    Reward if helpful.
    Regards
    Ravi

Maybe you are looking for

  • File Associations in CS 5.5 for Win7

    I preordered CS 5.5 Web Premium and just installed it.  I also uninstalled my previous version Adobe suite (CS4).  Now none of the file associations have been made for any of the Adobe related file types.  So for example, psd files are now associated

  • My Iphone goes dead; seems charging on wall; but when i tried to connect it by usb, it doesn't startup

    Hi; My iphone 4 goes dead; from yesterday it was working normaly but suddenlly it shut off; i get backup to restore the old version, but unfortunalty when i unpluged from computer it shut down, and refused to startup via usb again, i have tried to pu

  • PC Turns on, but screen black

    Please help I REALLY need.my PC For school Yesterday I turned my Laptop on and it was updating something, I don't know what itthe update is for but sometimes it says it is in the process of updating, I haven't had any problems before with it, but the

  • My pods internet wont work when it's connected

    My ipod shows the 3 wifi bars at the top but when I try an do anything to do with the internet it is not connected to the internet. i have tried everything like turning the wifi on and off, unplugging the router and plugging it back in again, resetti

  • How to install adobe packager on iphone

    Hi, i have downloaded adobe packager and i have to install it on my iphone.How can i do that?