Problem with BAPI (Flight) Tutorial

Hi,
Im new in developeing with Web Dynpro for Java.
I did every steps of this tutorial (Adaptive RFC tutorial - with the BAP_Flight_Getlist) exactly:
http://help.sap.com/saphelp_webas630/helpdata/DE/b2/326b09e58bcf499f73b5cc278808f4/content.htm
But i can not deploy the application - Error: deployment aborted.
05.04.2008 11:00:23 /userOut/deploy (com.sap.ide.eclipse.sdm.threading.DeployThreadManager) [Thread[Deploy Thread,5,main]] ERROR:
[022]Deployment aborted
Settings
SDM host : dmhpnb34
SDM port : 50018
URL to deploy : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.ear
Result
=> deployment aborted : file:/C:/DOKUME1/ADMINI1/LOKALE~1/Temp/temp29689Flights.earAborted: development component 'Flights'/'local'/'LOKAL'/'0.2008.04.05.11.00.19'/'0':
Caught exception during application deployment from SAP J2EE Engine's deploy service:
java.rmi.RemoteException: Cannot deploy application local/Flights.. Reason: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?; nested exception is:      com.sap.engine.services.deploy.container.DeploymentException: Clusterwide exception: Failed to deploy application local/Flights. Check causing exception for details (trace file). Hint: Are all referenced components deployed and available on the engine?
(message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)
Deployment exception : The deployment of at least one item aborted
My SLD is working, also my JCOS, so there should not be the problem.
Are there more good small tutorials (like this flight tutorial) with Web Dynpro and BAPI ?!

thx for the advise. I developed the tuturial application again and can now run it. But if i click on search button  with the entered values Departure City: Frankfurt and Arrival City: New York
i get no values in the table (i checked in the ERP System if the flights with this directions exists - its there):
Custom Controller Code:
// This file has been generated partially by the Web Dynpro Code Generator.
// MODIFY CODE ONLY IN SECTIONS ENCLOSED BY @@begin AND @@end.
// ALL OTHER CHANGES WILL BE LOST IF THE FILE IS REGENERATED.
package mypackages;
// IMPORTANT NOTE:
// ALL IMPORT STATEMENTS MUST BE PLACED IN THE FOLLOWING SECTION ENCLOSED
// BY @@begin imports AND @@end. FURTHERMORE, THIS SECTION MUST ALWAYS CONTAIN
// AT LEAST ONE IMPORT STATEMENT (E.G. THAT FOR IPrivateFlightsController).
// OTHERWISE, USING THE ECLIPSE FUNCTION "Organize Imports" FOLLOWED BY
// A WEB DYNPRO CODE GENERATION (E.G. PROJECT BUILD) WILL RESULT IN THE LOSS
// OF IMPORT STATEMENTS.
//@@begin imports
import mypackages.model.Bapi_Flight_Getlist_Input;
import mypackages.model.Bapisfldst;
import mypackages.model.FlightModel;
import mypackages.wdp.IPrivateFlightsController;
import com.sap.mw.jco.JCO;
import com.sap.tc.webdynpro.progmodel.model.api.WDModelFactory;
import com.sap.tc.webdynpro.progmodel.model.api.WDModelScopeType;
//@@end
//@@begin documentation
//@@end
public class FlightsController
Logging location.
  private static final com.sap.tc.logging.Location logger =
    com.sap.tc.logging.Location.getLocation(FlightsController.class);
  static
    //@@begin id
    String id = "$Id$";
    //@@end
    com.sap.tc.logging.Location.getLocation("ID.com.sap.tc.webdynpro").infoT(id);
Private access to the generated Web Dynpro counterpart
for this controller class.  </p>
Use <code>wdThis</code> to gain typed access to the context,
to trigger navigation via outbound plugs, to get and enable/disable
actions, fire declared events, and access used controllers and/or
component usages.
@see mypackages.wdp.IPrivateFlightsController for more details
  private final IPrivateFlightsController wdThis;
Root node of this controller's context. </p>
Provides typed access not only to the elements of the root node
but also to all nodes in the context (methods node<i>XYZ</i>())
and their currently selected element (methods current<i>XYZ</i>Element()).
It also facilitates the creation of new elements for all nodes
(methods create<i>XYZ</i>Element()). </p>
@see mypackages.wdp.IPrivateFlightsController.IContextNode for more details.
  private final IPrivateFlightsController.IContextNode wdContext;
A shortcut for <code>wdThis.wdGetAPI()</code>. </p>
Represents the generic API of the generic Web Dynpro counterpart
for this controller. </p>
  private final com.sap.tc.webdynpro.progmodel.api.IWDController wdControllerAPI;
A shortcut for <code>wdThis.wdGetAPI().getComponent()</code>. </p>
Represents the generic API of the Web Dynpro component this controller
belongs to. Can be used to access the message manager, the window manager,
to add/remove event handlers and so on. </p>
  private final com.sap.tc.webdynpro.progmodel.api.IWDComponent wdComponentAPI;
  public FlightsController(IPrivateFlightsController wdThis)
    this.wdThis = wdThis;
    this.wdContext = wdThis.wdGetContext();
    this.wdControllerAPI = wdThis.wdGetAPI();
    this.wdComponentAPI = wdThis.wdGetAPI().getComponent();
  //@@begin javadoc:wdDoInit()
  /** Hook method called to initialize controller. */
  //@@end
  public void wdDoInit()
    //@@begin wdDoInit()
     Bapi_Flight_Getlist_Input input = new Bapi_Flight_Getlist_Input();
          wdContext.nodeBapi_Flight_Getlist_Input().bind(input);
          Bapisfldst bapisfldstFrom = new Bapisfldst();
          input.setDestination_From(bapisfldstFrom);
          Bapisfldst bapisfldstTo = new Bapisfldst();
          input.setDestination_To(bapisfldstTo);  
          // Creates an instance of a client to the remote SAP system   
          client = JCO.createClient("800",          //SAP logon client number
                                          "Andreas",            //SAP logon user
                                          "*****",        //SAP logon password
                                          "DE",        //SAP logon language
                                          "dmsaperp",        //Host name of application server
                                          "00");          //SAP system number
          // Creates the model instance
          model = (FlightModel)WDModelFactory.getModelInstance( FlightModel.class, WDModelScopeType.APPLICATION_SCOPE);
          // Assigns the client to the model
          model.setJcoClient(client);   
    //@@end
  //@@begin javadoc:wdDoExit()
  /** Hook method called to clean up controller. */
  //@@end
  public void wdDoExit()
    //@@begin wdDoExit()
    //@@end
  //@@begin javadoc:getFlights()
  /** Declared method. */
  //@@end
  public void getFlights( )
    //@@begin getFlights()
    //@@end
The following code section can be used for any Java code that is
not to be visible to other controllers/views or that contains constructs
currently not supported directly by Web Dynpro (such as inner classes or
member variables etc.). </p>
Note: The content of this section is in no way managed/controlled
by the Web Dynpro Designtime or the Web Dynpro Runtime.
  //@@begin others
  JCO.Client client;
     FlightModel model;
  //@@end
content of obsolete user coding area(s) -
//@@begin obsolete:getFlights()^
//     client.connect();
//        try {
//        // Calls remote Function Module BAPI_FLIGHT_GETLIST 
//        wdContext.currentBapi_Flight_Getlist_InputElement().modelObject().execute();
//        catch (Exception ex) {
//            ex.printStackTrace();
//        finally {
//           client.disconnect();
//        // Invalidates the output context node
//        wdContext.nodeOutput().invalidate();
//@@end

Similar Messages

  • Problem with BAPI BAPI_REQUISITION_CREATE

    Hello,
    I have problems with BAPI BAPI_REQUISITION_CREATE. I need to create Purchase requisition for services. If I use BAPI BAPI_REQUISITION_CREATE, Purchasing requisition is created, but field NETWR in table EBNK is 0. If I create purchasing requisition manualy using transaction ME51N, field NETWR in table EBNK is filled with correct price.
    Can you pls. help me, what do I wrong in calling BAPI_REQUISITION_CREATE?
    Thanks&regards,
    Jirka

    Not sure if you got your answer or went to OSS for a resolution. But, as I was searching OSS for my issue, I came across the following note:
    Note 1498435 - BAPI_REQUISITION_CREATE: EBKN-NETWR is not updated

  • Encountering Problems with Basic Sound Tutorial

    Hello everyone,
    I am encountering problems with a basic sound tutorial. I am absolutely confused as to what the problem may be because the code is so simple, and is essentially copied from the textbook. I am convinced that I have done something very silly but cannot see it.
    I have attempted to run this in an appletviewer, Firefox and Internet Explorer. I have attempted to launch it from both a .class file and a .jar file. I have uninstalled and offline installed the JDK and JRE and successfully tested the new installations.
    The audio file I am attempting to load and play is an .AU (Sun/Next 8-bit u-law) audio file I created in Audacity. It is located in the same folder as the AudioApplet.class file.
    My sound system is defintely on, since I have listened to music all day. I have attempted running the program with Media Player closed.
    package edu.myuniversityid.sandbox;
    import java.applet.Applet;
    import java.applet.AudioClip;
    * @author Ibuki
    public class AudioApplet extends Applet
         * Initialization method that will be called after the applet is loaded
         * into the browser.
        public void init()
            super.init();
            AudioClip ac = this.getAudioClip(this.getDocumentBase(), "sample.au");
            ac.play();
    }The code compiles fine, however absolutely I get a small white window when it is run. No sound.
    Thankyou for your time.
    Regards,
    Ibuki.
    PS. I am sure this worked before the university forced me to update my version of Windows to SP2. Hence, the reason for reinstalling Java. Twice.
    Edited by: Ibuki on Jan 31, 2008 11:09 AM becasuse: Added a PS.

    I have attempted this alternative, without success:
        public void init()
            try
                super.init();
                URL url = new URL(this.getDocumentBase(), "sample.au");
                AudioClip ac = this.getAudioClip(url);
                ac.play();
            catch (MalformedURLException ex)
                Logger.getLogger(AudioApplet.class.getName()).log(Level.SEVERE, null, ex);
        }The sample.au is definetly in the correct directory. Both File Explorer and NetBeans confirm this.
    Edited by: Ibuki on Jan 31, 2008 11:59 AM
    I have discovered a temporary solution that works in the applet viewer. The applet will load and plays the correct music perfectly. However, using this code it is not working when I try to deploy it using a web browser (MSIE and FF)!
    public void init()
            super.init();
            AudioClip ac = this.getAudioClip(this.getClass().getResource("sample.au"));
            ac.play();
    Edited by: Ibuki on Jan 31, 2008 12:12 PM
    Eureka!
    Having worked in the applet viewer I managed to get it working in the web browser by simply packaging my SoundApplet.class and sample.au into a .jar archive.
    <html>
         <body>
              <applet code="edu.myuniversityid.sandbox.AudioApplet.class" archive="dist/AudioApplet.jar">Unfortunately, this applet content cannot be displayed on this web page because your current browser does not support Java SE 6! Please <a href="http://www.java.com/">update your version of Java</a>.</applet>
         </body>
    </html>
    public void init()
            super.init();
            AudioClip ac = this.getAudioClip(this.getClass().getResource("sample.au"));
            ac.play();
        }Thankyou everyone.
    This thread can be closed if applicable. I'm not aware of the current moderation policy on this forum.
    Edited by: Ibuki on Jan 31, 2008 12:12 PM

  • Problems with Web Dynpro Tutorial "Creating an Email Client Using ..."

    Hello,
    I have a problem with the Web Dynpro Tutorial Number 6 ("Creating an Email Client using Web Dynpro and Web Services"):
    On page 20 of the PDF description of the Tutorial, Step 6 reads:
    "In the view layout, select the UI element EmailFormGroup and then choose the entry Apply Template in the context menu"
    Yet the context menu of the UI element EmailFormGroup does not show an entry "Apply Template".
    Do you have any hints?
    Kind regards,
    Franz-Josef Krämer

    Hello,
    the solution was: it should have said "in the outline view" and not "in the view layout".
    In the outline view, the context menu included "Apply Template".
    So no further responses are necessary.
    Kind regards,
    Franz-Josef Krämer

  • Problem with a GP tutorial

    Hello,
    I have a small problem with this tutorial:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/609c52aa-8f0a-2b10-d59e-b5248a7ac1e2
    I've actually, been able to do the whole tutorial, but i have some issues when i try to change something in it.
    What i want is for the info to persist when ever the SME desk rejects or the KO rejects and sends it to the Author Desk. Right now, everytime i go back to the Author Desk after a rejection, the fields are blank. I've tried playing with the block parameters, output and input, but it doesn't seem to work. So i'm now requesting some little help from you guys.
    Thanks very much in advance
    Regards.

    Hi Khadija,
    Nice to know that you were able to complete the tutorial and that now you are trying to do something more on it.
    Ok what you are trying to do is not difficult. I will explain how you can achieve this. Follow these steps:
    1) See page 29 in the doc.
    2) In the picture you can see we have made the grouped parameters like First_Name_Ath_SME, Last_Name_Ath_SME,...., First_Name_SME_KO, Last_Name_SME_KO,....
    3) Now select the grouped parameter First_Name_SME_KO as well as the input parameter First_Name of action Author Desk using the Ctrl key. Now click on the Add to Group button above.
    4) This will add the input parameter First_Name of the Author Desk to the already grouped parameter First_Name_SME_KO. In the same way add the other input parameters of Author Desk to the corresponding grouped parameters which are ending with SME_KO.
    5) Doing this will make sure that if you click the Submit button in SME Desk screen, the parameter values go to the KO Desk screen. And if you click the Reject button in SME Desk screen, the parameter values go back to the Author Desk screen.
    6) Now you have to make groups for input parameters of the Author Desk and the Output Parameters of the KO Desk too.
    7) Select the output parameter First_Name of action KO Desk as well as the input parameter First_Name of action Author Desk using the Ctrl key on your keyboard. Now click on Group button above. Give the name as First_Name_KO_Ath and click on Create.
    8) Similarly group all the other input parameters of Author Desk with the corresponding output parameters of the KO Desk.
    9) Doing this will make sure that if you click the Reject button in KO Desk, the parameter values go back to the Author screen. Do not worry about the options in the KO Reject Option callable object. As you can see on page 35, sending back to SME does not need any parameter mapping. And for sending back to Author, we have already done the parameter mapping in steps 6-8 above.
    Now I have something for you. If you do not implement steps 6-9, even then you will see the input boxes filled in Author Desk screen when you reject from KO Desk to Author Desk. Can you tell me why?
    Bye
    Ankur

  • Help - Problem with BAPI confirmation (co11n)

    Hi gurus,
    Please , i need some help with some problems i am having with BAPIs for confirmations.
    I have found this one : BAPI_PRODORDCONF_GET_TT_PROP, to get the propose data, but i i can't figured out how to fill the goodmovements table. I need to do this, because i want to know the proposal of goodmovements, just exactly that sap's does when i enter to the tx CO11N, enter the YIELD quantity and then press "goods movements" button.
    Please, is there some trick or something to make this work? ( i have already put "X" in the import "PROPOSE - GOODMOVEMENTS" , but still is not working).
    If get this, i could put this values in BAPI_PRODORDCONF_CREATE_TT and that's it... i suppose.
    Please help me
    Thanks a lot!

    Hi ,
    Before going into BAPI's , Auto goods movement happens in two ways.
    1. check whether Auto goods receipt is checked in T.code OPKP.
    2. The other way is to assign a Control Key to the operation which has a Auto GR checked.
    Please check these two and then trigger confirmation using your BAPI.
    Hope this helps.
    Best Regards.

  • Problems with Deploying the Tutorial

    Hi,
    i've tried to develop a small web service on the Oracle Application Server. Therefor i've tested the Tutorial Developing, Deploying and Managing Web Services Using JDeveloper and Oracle Application Server (http://www.oracle.com/technology/obe/obe1013jdev/ws/wsandascontrol.htm).
    But i've several problems with this tutorial...
    In the tutorial is mentioned to use J2EE 1.4 JAX RPC, but with this one i cant deploy on my Application Server - only local embedded works. On the Application Server i get the message:
    #### DCM command did not complete successfully (-8)
    #### HTTP return code was -8
    Exit status of DCM servlet client: -8
    Elapsed time for deployment: 22 seconds
    #### Deployment incomplete. #### 28-Sep-2006 16:29:04
    After searching the forum i found the reason for this...
    Unable to deploy web-service from JDeveloper to Oracle AS
    Okay so i tried to develop the same example under J2EE 1.3... Now i can deploy the example on the Application Server but it doesn't work either! When i call the webservice i recieve the error:
    500 Internal Server Error
    java.lang.UnsupportedClassVersionError: getdates2/IGetDates2 (Unsupported major.minor version 49.0)
         at java.lang.ClassLoader.defineClass0(Native Method)
         at java.lang.ClassLoader.defineClass(ClassLoader.java:539)
         at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:123)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.OC4JSecureClassLoader.defineClassEntry(OC4JSecureClassLoader.java:172)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1179)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.defineClass(ContextClassLoader.java:1065)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.findClass(ContextClassLoader.java:404)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:289)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].naming.ContextClassLoader.loadClass(ContextClassLoader.java:143)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:282)
         at java.lang.ClassLoader.loadClass(ClassLoader.java:235)
         at oracle.j2ee.ws.JavaRpcWebService.init(JavaRpcWebService.java:76)
         at javax.servlet.GenericServlet.init(GenericServlet.java:258)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.loadServlet(HttpApplication.java:2354)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.findServlet(HttpApplication.java:4795)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpApplication.getRequestDispatcher(HttpApplication.java:2821)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.HttpRequestHandler.processRequest(HttpRequestHandler.java:680)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:224)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].server.http.AJPRequestHandler.run(AJPRequestHandler.java:133)
         at com.evermind[Oracle Application Server Containers for J2EE 10g (10.1.2.0.2)].util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:192)
         at java.lang.Thread.run(Thread.java:534)
    Okay so i tested it in embedded mode but it doesn't work here too... i get the error:
    500 Internal Server Error
    Servlet error: No Serializer found to serialize a 'java.util.Calendar' using encoding style 'http://schemas.xmlsoap.org/soap/encoding/'.
    Damn! I dont know what to do ;)
    Any suggestions?
    thx
    Matthias
    btw:
    Setup is:
    JDeveloper 10.1.3.1
    AppServer 10.1.2.0.2
    Content DB 10.2.0.0.0

    Another Problem occurred...
    As i mentioned deploying direct to the AppServer from JDeveloper works well (for the J2EE 1.3) but only that it doest work on the Application Server. So I tried to deploy a ear/war file and check them manuell into the Application Server. But doesn't work either...
    I get the following error:
    Deployment nicht erfolgreich: Verschachtelte Exception
    Lösung:
    Basis-Exception:
    java.rmi.RemoteException
    deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi. deploy failed!: ; nested exception is:
    oracle.oc4j.admin.internal.DeployerException: Unknown assembly root-tag attribute: xmlns:xsi
    Any ideas for solving this problem?

  • Problem with bapi to create purchase requisition

    I got a requirement that to upload details of procurement into Z table with a temporary PR. Could u please suggest the procedure or bapi to upload datainto Z table.
    Regards

    Hi all
    For above requirement i am suppose to develop a FM which upload the data from front end to DB. Forthat I am taking following steps is it ok or not suggest me.
    1.call function module bapi_pr_create
    2.fill local structure with bapi structure if PR number is created.
    3.update data into Z table
    Regards

  • Problem with Cue Cards tutorial

    Hello,
    I have new JDeveloper, version 11.1.1.1.0. Now I’m trying to do some tutorials and I have a problem with «Build Web Application with EJB, JPA and JSF » .
    I think that I followed the instructions quite accurate, even if there is a light difference in description and the picture that I saw at my display. But when I execute the example, and try to save the order (even without any change) I’ve got an Exception:
    javax.ejb.EJBException: EJB Exception: : java.lang.IllegalArgumentException: Object: null is not a known entity type.
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.mergeInternal(EntityManagerImpl.java:291)
         at org.eclipse.persistence.internal.jpa.EntityManagerImpl.merge(EntityManagerImpl.java:274)
         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:597)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyImpl.java:90)
         at weblogic.deployment.TransactionalEntityManagerProxyImpl.invoke(TransactionalEntityManagerProxyImpl.java:89)
         at weblogic.deployment.BasePersistenceContextProxyImpl.invoke(BasePersistenceContextProxyIm
    Can you give me an advice how I can manage it ? There is no code that written by me, only manipulations in wisards, so debug of method gives me nothing useful. Can you suggest how I can understand what is wrong and how I can correct it ?
    Thank for any help and ideas.
    Tamara

    From the error I think you might have missed step 10 after you dragged the mergeEmployees method:
    10.      In the Variables dialog, expand ADF Bindings | Bindings |queryEmployeesFindByNameIterator | currentRow and select dataProvider. As you select each node in the expression. the editor adds it to the expression in the top of the window.
    You can try to delete and re-create this button again - or you can look at the binding information for that action in the binding tab.

  • Problem with bapi BAPI_BUS2054_CREATE_MULTI

    I am trying to create multiple wbs elements for a given definition
    using the bapi BAPI_BUS2054_CREATE_MULTI as per the documentation i have used BAPI_PS_INITIALIZATION
    first to initialize,then followed by BAPI_BUS2054_CREATE_MULTI  and ending with BAPI_PS_PRECOMMIT and BAPI_TRANSACTION_COMMIT
    it says the definition is o.k but its giving error with wbs element.
    that to enter all required fields.
    could any body please  tell what are all the required fields that i have to enter for it_wbs.

    Hi Aravind,
    I am having same problem. Can you pelase explain me how you solved your issue.
    Please help?
    thanks,
    Venkat.

  • Problem with BAPI BAPI_MATERIAL_SAVEDATA when calling from other system

    Hi All,
    I able create new material using the BAPI BAPI_MATERIAL_SAVEDATA in development system.
    but when i am calling this BAPI from other systems by passing the same values that i used in the development system . system is giving me an error ( in the return statement) saying that material number doesn't exists .
    Can any one have some pointers towards this ?
    Thanks & Regards,
    Praveen

    Hi,
    this FM BAPI_MATERIAL_SAVEDATA
    is used to extend a material to another plant
    for that you need to read the original data via BAPI_MATERIAL_GET_DETAIL and then select additional data from MKVE and save it via BAPI_MATERIAL_SAVEDATA with table parameter SALESDATA
    also check with
    BAPI_STANDARDMATERIAL_CREATE Create/Extend Material
    BAPI_MATERIAL_SAVEDATA - QM - Inspection Setup
    Problem in BAPI_MATERIAL_SAVEDATA
    Thanks&Regards,
    Naresh

  • Problem with Expense Management tutorial

    In the tutorial, Activity 3, Designing a Screen flow, the tutorial states to add a Main Task to the Interactive Component Call.
    While adding the main task...
    4. In the Implementation Type list, select BPM Object Interactive Call. - This works fine.
    5. In the Select BPM Object Variable list, select reportSf. - this variable is not available, the list is blank.
    Has anyone else ran into this? What did you do to fix this?
    Is this just my installation or has anyone else run into this sometime in the past?
    THANK YOU!!

    Hi,
    I guess I see why it was written this way, but the tutorial takes the more difficult approach to argument mapping.
    The tutorial wants you to use an existing screenflow. The problem is that the existing screenflow was built for an Interactive activity inside the process that has work item instances flowing both into and out of the activity. This screenflow in the tutorial has incoming arguments that the tutorial is having you use for a Global Creation activity (an activity where instances get created and that no incoming arguments). In real life, when you're building a screenflow for a Global Creation activity, you'd not create it with the incoming arguments that you're having to set in step 17 on page 38.
    To get around this:
    1) Click "Submit Report In" in the upper right corner of the dialog it has you open in step 16
    2) Click the "+" in the upper right corner
    3) Click in the first row of the "Submit Report's input arguments" column
    4) Pick "reportSfArg" from the dropdown (ironically - this is the incoming argument variable coming into the screenflow of a Global Creation activity that should not have incoming argument variables)
    5) Click in the first row of the "Value" column
    6) You will not see any values in the dropdown, but manually type in the text "ExpenseReport()". This is the name of the constructor for the incoming argument variable's object that should not be there in the first place.
    I guess I see why it was written this way, but I sure wish the easy way would have been used.
    Dan

  • Problem with the firstcup tutorial

    Hi, I'm a developer that is new to Java. I walked through the "firstcup" tutorial using the netbeans 6.5.1 ide and glassfish 2.1 server.
    I thought I had successfuly completed all the code and xml config files.
    When I got to p14.html, "Building, Packaging, Deploying, and Running the firstcup Enterprise Application", I run into a problem trying to run the tutorial app.
    Posted below is the error I get in the webpage. The server log file error is too long to post because of the character limit of this forum.
    If anybody could point me in the right direction I would appreciate it. Also if this question should be posted on a different forum please advise,
    Thanks,
    Paul
    WEBPAGE ERROR
    type Exception report
    message
    descriptionThe server encountered an internal error () that prevented it from fulfilling this request.
    exception
    javax.servlet.ServletException: Cant instantiate class: com.sun.firstcup.web.DukesBDay.. com.sun.firstcup.web.DukesBDay
    root cause
    javax.faces.FacesException: Cant instantiate class: com.sun.firstcup.web.DukesBDay.. com.sun.firstcup.web.DukesBDay
    root cause
    java.lang.ClassNotFoundException: com.sun.firstcup.web.DukesBDay
    note The full stack traces of the exception and its root causes are available in the Sun GlassFish Enterprise Server v2.1 logs.

    Paul,
    What does the below diagnostic message mean to you?
    java.lang.ClassNotFoundException: com.sun.firstcup.web.DukesBDayTell me, I'll confirm or repudiate... and then we'll looking to why that might be the case, leading to what to do about it.
    <aside>
    If you're new to Java then jumping straight into J2EE probably isn't the way to go... especially if you're totally new to programming, especially web-programming... The serverside EE-technology-stack builds on the core Java langauge and API's (J2SE)... and without at-least a basic understanding of the Java language itself I predict that you're going to really really struggle with the EE tutorials... and that therefore you'll probably give up in disgust.
    They call this page [getting started|http://java.sun.com/docs/books/tutorial/getStarted/index.html]... I (for one) think it's aptly named... Nobody gets to skip HelloWorld, or the universe will implode, or something ;-)
    </aside>
    Cheers. Keith.

  • Problem with MedRec development tutorial

    Hi,
    I am facing a problem trying to run the "Tutorial 11: Exposing a Stateless Session
    EJB as a Web Service" which is part of the MedRec Development Tutorial for WLS
    8.1.
    On running the my_webserv.xml (copy of webservices_tutorial.xml) ant script, I
    get the following error:
    file:D:/medrec_tutorial/src/medrecEar/my_webserv.xml:12: weblogic.webservice.tools.build.WSBuildException:
    Failed to do type mapping - with nested exception:
    [weblogic.xml.schema.binding.BindingException: Invalid class received: interface
    javax.xml.rpc.handler.HandlerRegistry loaded from file:/D:/BEA/weblogic81/server/lib/webservices.jar!/javax/xml/rpc/handler/HandlerRegistry.class.
    All classes that will be serialized or deserialized must be non-interface, non-abstract
    classes that provide a public default constructor]
    Having followed all the previous tutorials exactly as documented, I am not sure
    why this is happening.
    Looking to get some help for this problem.
    thanks.

    yes. looks like my CLASSPATH was a problem. some extraneous entries from a previous
    medrec tutorial.
    thanks.
    "Chris Wall" <[email protected]> wrote:
    Hey Atul.
    What is your classpath?
    "atul" <[email protected]> wrote in message
    news:403ddd0b$[email protected]..
    Hi,
    I am facing a problem trying to run the "Tutorial 11: Exposing a StatelessSession
    EJB as a Web Service" which is part of the MedRec Development Tutorialfor
    WLS
    8.1.
    On running the my_webserv.xml (copy of webservices_tutorial.xml) antscript, I
    get the following error:
    file:D:/medrec_tutorial/src/medrecEar/my_webserv.xml:12:weblogic.webservice.tools.build.WSBuildException:
    Failed to do type mapping - with nested exception:
    [weblogic.xml.schema.binding.BindingException: Invalid class received:
    interface>> javax.xml.rpc.handler.HandlerRegistry loaded from>file:/D:/BEA/weblogic81/server/lib/webservices.jar!/javax/xml/rpc/handler/HandlerRegistry.class.>>  All classes that will be serialized or deserialized must be>non-interface, non-abstract>>  classes that provide a public default constructor
    Having followed all the previous tutorials exactly as documented, Iam not
    sure
    why this is happening.
    Looking to get some help for this problem.
    thanks.

  • Problems with Deploying WLI Tutorial App to a cluster

    I'm using Weblogic 8.1 SP3 and have built the app (steps 1-5) listed below:
    Tutorial
    The app works fine in Workshop and even works fine deployed to a simple one-server WLI configuration once the 2 JMS Queus and required db tables are created manually. The problem is in deploying to a cluster. No error messages are generated but when loading the test page (http://localhost:8001/Tutorial_Process_ApplicationWeb/requestquote/RequestQuote.jpd?.EXPLORE=.TEST
    ) I do not get the same results as when loading in the single server setting (Note the port number is the port that my clustered managed server is running on). Basically the multi-tab page that loads in the one-server scenario only comes up as one tab - the Overview tab. None of the other tabs allowing you to test the web services are available.
    I tried to cheat it by saving the SOAP test page from the working version and posting the form to the non-working version - but all that was returned was the Overview page. I suspect the issue is JTX-related but I am new the Weblogic so I'm somewhat lost.
    Any help appreciated. I can be reached at [email protected]

    I am getting the following output from the Admin Server when I attempt to access the JPD process:
    <19-Nov-2004 13:58:56 o'clock GMT> <Error> <JTA> <BEA-110412> <Xid=BEA1-0046F2A8360F0D4CF282(73146307),Status=Committed,HeuristicErrorCode=XA_HEURHAZ,numRepliesOwedMe=0,numRepliesOwedOthers=0,seconds since begin=0,seconds left=500,XAServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(ServerResourceInfo[weblogic.jdbc.wrapper.JTSXAResourceImpl]=(state=committed,assigned=cgServer),xar=weblogic.jdbc.wrapper.JTSXAResourceImpl@429b2ce,re-Registered = false),SCInfo[integration-cluster-xa-changed+cgServer]=(state=committed)) completed heuristically: (weblogic.jdbc.wrapper.JTSXAResourceImpl, HeuristicHazard, (javax.transaction.xa.XAException: No connection associated with xid = BEA1-0046F2A8360F0D4CF282-7765626C6F6769632E6A6462632E777261707065722E4A545358415265736F75726365496D706C))

Maybe you are looking for

  • Difference  between XI 3.0 and PI 7.0

    Hi, What is difference  between XI 3.0 and PI 7.0 Is this way we check version: System-- Staus -- Component Information -- PI_BASIS -- 2005_1_700 So the above system is PI 7.0 -- right? Regards

  • Content repository-401 not able to create

    SAP experts, When i try to create a content repository i am getting this 401 error. I enter in through OAC0 gave the server details taken from basis moved to CS admin. it takes to create section when i click on create it asks for log in and later giv

  • XML -- PL/SQL parser

    I am trying to read a XML document using PL/SQL into the database ( to update or insert records). Could you point me in the right direction as far as documentation and may be samples. I have never used XML before and not really familiar with this tec

  • HT4972 I want to update iPad but when I open go to settimgs and general there is no software update?  It,s an older iPad and do not recall ever updating?

    I want to update iPad 2 but it's older and do not recall ever updating. Not sure what ISO is loaded? When I go to settings and open the general there is no spot for update?

  • Trouble Importing XML Files

    So I recently switched to a PC from a Mac.  I actually prefer Windows 8 to all other OS's, I know I'm in the minority, but that's what I like.  My question is this:  When I imported my catalogs from my Mac to my PC all imported fine with all files sh