Problem in creating model

Hi,
While creating model i am getting this error in the last step i.e. after selecting the BAPI function.
what might be the pro blem can any one help me plz.
[Warning]:     Creating a connection with Metamodel language <en> failed.  Continuing with language <ENG>
[Fatal]:     com.sap.mw.jco.JCO$Exception: Missing R3NAME=... or ASHOST=... in connect_param in RfcOpenEx
[Info]:     Creating Model: Model
[Info]:     Creating Model Class: Bapi_Bank_Getlist_Input
[Info]:     Creating Model Class: Bapi_Bank_Getlist_Output
[Info]:     Creating Model Class: Bapiret2
[Info]:     Creating Model Relation: Bapi_Bank_Getlist_Output:Return
[Info]:     Creating Model Class Property: Type
[Info]:     Creating Model Class Property: Id
[Info]:     Creating Model Class Property: Number
[Info]:     Creating Model Class Property: Message
[Info]:     Creating Model Class Property: Log_No
[Info]:     Creating Model Class Property: Log_Msg_No
[Info]:     Creating Model Class Property: Message_V1
[Info]:     Creating Model Class Property: Message_V2
[Info]:     Creating Model Class Property: Message_V3
[Info]:     Creating Model Class Property: Message_V4
[Info]:     Creating Model Class Property: Parameter
[Info]:     Creating Model Class Property: Row
[Info]:     Creating Model Class Property: Field
[Info]:     Creating Model Class Property: System
[Info]:     Creating Model Class Property: Bank_Ctry
[Info]:     Creating Model Class Property: Max_Rows
[Info]:     Creating Model Class: Bapi1011_List
[Info]:     Creating Model Relation: Bapi_Bank_Getlist_Input:Bank_List
[Info]:     Creating Model Class Property: Bank_Ctry
[Info]:     Creating Model Class Property: Bank_Key
[Info]:     Creating Model Class Property: Bank_Name
[Info]:     Creating Model Class Property: City
[Info]:     Creating Model Relation: Bapi_Bank_Getlist_Output:Bank_List
[Info]:     Creating Model Relation: Bapi_Bank_Getlist_Input:Output:Bapi_Bank_Getlist_Output
Can any one help me plz.
Regards,
H.V.Swathi
Edited by: H.V Swathi on Feb 18, 2009 10:00 AM

Hi Swathi,
Your log is clearly saying  that issue with JCO.
1) Check the JCO's are pointing in to the correct R/3 system which you required.
2) Check the JCO's  status also
And also double check RFC at the back end RFC enabled or not?
While creating the Model make sure that backend server name , client , system number ...etc all are giving correct where the RFC exists.
If all above points "yes" why dont you try with J2EE complete engine restart. Still issues get back to me.
Rgds
-SS
Edited by: Sridhar Sabbani on Feb 18, 2009 11:13 AM

Similar Messages

  • Problems with creating model in Email Web Service tutorial

    Hello!
    In the moment, I'm trying to follow the tutorial "Using an Email Web Service in Web Dynpro". I followed all the steps in the chapter "Generating a Model from the WSDL Description", but after typing in the mentioned WSDL description "http://webservices.matlus.com/scripts/emailwebservice.dll/wsdl/IemailService" in the "New Model" wizard, I'm getting the error message, that the WSDL file is not found or not valid and no new model can be created.
    So I'm quite stuck. What am I doing wrong? Did anyone encounter the same problems?
    Greeting
    Bärbel

    Hello Baerbel,
    I could not reproduce this error and never had this before. What you could do in the meantime is taking the wsdl description from the url and copy and paste it into a notepade file. Then please save it under emailwebservice.xml onto your hard disc and select it from "local file system or url" and take it from the path of your local file system.
    Hope that helps!
    Best regards,
    Karin

  • RSDMWB - Create Model  - BW Query Model Field Selection - Problem

    I am trying to create a Data Mining model.
    In RSDMWB I select "Create Model" in the right click context menu after selecting a Data Mining model.
    In the "Create Model" window I try to select a BW Query I have previously created as source for Model Field Selection.
    To find the query I press F4 and get a list of available objects sorted by InfoAreas. However, the InfoArea containing my InfoProviders and the BW Queries is not visible.
    If I try selecting a BW Query that is visible this BW query does not appear in the BW Query field in the Create Model window.
    However as I press 'enter' I get a field selection list!
    Last but not least, I cannot type manually a BW Query name in the abovementioned BW Query field.
    I am not sure it is related, but I found a note about some UI problem at model creation
    "Data Mining: UI adjustment SAP Note Number: 851886". It says that BW35 SP14 should be needed. I am currently on SP12.
    Does anyone have the same problem. What is the solution to it?
    Claudio Ciardelli
    SAP BI Consultant at Unisys.

    Hi,
    - do you see the variables from the BW query in Crystal Reports ?
    - where in the BW query are the variables defined ?
    Ingo

  • Problem in creating a JDBC System on VC7.1 portal ( CE7.1 SP3)

    I have a problem in creating a JDBC System on VC7.1 portal (CE7.1 SP3)
    I get the following error:
    Test Details:
    The test consists of the following steps:
    1. Retrieve the default alias of the system
    2. Check the connection to the back-end application using the connector defined in this system object
    Results
    Default alias retrieved successfully
    Connection failed. Make sure user mapping is set correctly and all connection properties are correct.
    Could you please let me know if there are any guides on SAP Library; I was not able to find any documentation nor any threads discussing this on VC7.1
    Although, I saw this thread Can Visual Composer talk to/connect to any Database?..
    which says that VC7.1 can connect to SAP backend
    and web services only, and there is no direct connection to the db.
    Help needed please.

    Hi Dharmi
    Here is a quote of Dafna's post in [another thread in this forum|Re: Copy VC controls]
    CE7.1.1 will be released at September 2008 for ramp-up customers.
    There are many improvements and new capabilities in the new release of Visual Composer for CE7.1.1. Among the new features you can find:
    The missing features from Visual Composer 7.0 (Html view, portal Eventing support (EPCM), JDBC, Undo/Redo, and more..)
    Many layout & modeling improvements
    Additional ALV table functionality - export to Excel, switch to chart, configure ALV behavior at design time
    Integration of Visual Composer in Eclipse - additional entry point to the Visual Composer models from the NWDS. This integration provides the option to add a WD component (in case of missing functionality in Visual Composer), as a black box component to the Visual Composer model. Right-clicking the component will open the Web Dynpro perspective for creating/modifying the component.
    Regards,
       Shai

  • Problem in Creating Check boxes as a column in a table using MVC

    I am trying to display a table format using the Model view controlers, with 1st column as a checkbox. if the user chooses some check boxes and submit the screen then i need to update the information in a custome table.
    I am having a problem in creating the check boxes, also pls tell me how to catch the line items checked by the user in the table...
    Sri

    HI Srinivas
       I am not getting what the exact problem is.....
    I am giving you a work around.....to me it does not seems to be an Ideal Solution..But Probably it will solve your problem....
    Changes To be Made in Page Layout...
    In Pagelayout     
    <htmlb:tableView id   = "tvX"                           width                 = "100%"                           visibleRowCount       = "8"                           fillUpEmptyRows       = "X"                         selectedRowIndexTable = "<%= selectedRowIndexTable %>"
    <b>selectedrowindex      = "<%= selectedrowindex %>"
    onrowselection        = "select"</b>
    selectionMode   = "MULTISELECT"                           table                 = "<%= sflight %>" />
    <b>selectedindexrow is an attribute of type INT4</b>
    In Do handle event.....instead of using the previous code use this one...
    if event->id = 'SUBMIT'.  
    DATA:      WA  TYPE  INT4.     
    LOOP AT SELECTEDROWINDEXTABLE INTO WA.
    *Here you can read your table of TABLEVIEW with index *equal to WA into a workarea and then use that workarea *to update the customer table      ENDLOOP.   
    elseif event->id = 'tvX'.
    tv ?= CL_HTMLB_MANAGER=>GET_DATA( request = request                                      name    = 'tableView'                                      id      = 'tvX' ).  
    IF tv IS NOT INITIAL.    
    table_event = tv->data.   
    selectedRowIndex = table_event->SELECTEDROWINDEX.
    append selectedrowindex into SELECTEDROWINDEXTABLE.
    endif.
    ENDIF.
    Meanwhile..Let me check why that code does not work.....
    Hope it solve your problem....
    Cheers:)
    Mithlesh

  • Problem when creating Database (Database, OS and hardware Configuraiton included)

    Problem when creating Database:
    Below are the problems, which I faced during creation of database. I have mentioned both the problem separately. Plus the log file maintained by Oracle during installation. It might help in diagnosing the error. Plus a little conclusion with I turned up to.
    There are two problems, when creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
    Problem # 1:
    When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
    I searched following oracle help for this problem.
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
    Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Problem # 2:
    When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
    I searched following oracle help for this problem.
    ORA-12571: TNS:packet writer failure
    Cause: An error occurred during a data send.
    Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Log File Showing Error :
    Result code for launching of configuration tool is 0
    Launched configuration tool Oracle Database Configuration Assistant
    Command which is being spawned is C:\Program Files\Oracle\jre\1.1.7\bin/jrew.exe -Duser.dir=d:\oracle\ora81\assistants\dbca\jlib -classpath ";C:\Program Files\Oracle\jre\1.1.7\lib\rt.jar;C:\Program Files\Oracle\jre\1.1.7\lib\i18n.jar;d:\oracle\ora81\jlib\ewt-3_3_6.jar;d:\oracle\ora81\jlib\share-1_0_8.jar;d:\oracle\ora81\jlib\swingall-1_1_1.jar;d:\oracle\ora81\assistants\dbca\jlib\dbassist.jar;d:\oracle\ora81\assistants\jlib\jnls.jar;d:\oracle\ora81\assistants\jlib\acc.jar;d:\oracle\ora81\jlib\help-3_1_8.jar;d:\oracle\ora81\jlib\ice-4_06_6.jar;d:\oracle\ora81\jlib\netcfg.jar;" DBCreateWizard -progress_only -responseFile NO_VALUE -createtype seed -numusers NO_VALUE -apptype NO_VALUE -cartridges NO_VALUE -options NO_VALUE -demos NO_VALUE -seedloc d:\oracle\ora81\starterdb -sid ora8i -orabase d:\oracle -clususer NO_VALUE -cluspswd Protected value, not to be logged -nodeinfo NO_VALUE -gdbName ora8i
    Invalid Exit Code. The following result code will be used for configuration tool: 1
    Configuration tool Oracle Database Configuration Assistant failed
    The datafiles will be copied from the CD to d:\oracle\oradata\ora8i. The Oracle Database Configuration Assistant will begin creating the database.
    An Oracle database will be created for you. The database name will be ora8i. The system identifier for the database will be ora8i. The password for the INTERNAL account will be ******, the SYS account will be change_on_install and the SYSTEM account will be manager.
    Log File of Installation:
    The above code is a part of the log file, which is generated by Oracle installer at C:\Program Files\Oracle\Inventory\Log\..
    I just pasted the part of code, highlighted is the code showing error with Oracle Database Configuration Assistant.
    Software & Hardware Configuration are as follow:
    Software:
    Database
    Oracle 8.1.7.0.0 (Oracle8i)
    Operating System
    Microsoft Windows 2000
    5.00.2195
    Service Pack 2
    Hardware:
    x86 Family 6 Model 8 stepping
    10
    AT/AT COMPITABLE
    260,400 KB RAM

    Dont't worry about that. Before you
    create a table(or view), it is wise to
    drop the table(or view) with the same name.
    If the name doesn't exist, of course there
    is an error message. See the following script:
    -------------------begin-----------
    drop table students cascade constraints;
    create table students (
    sid varchar2(5),
    fname varchar2(20),
    lname varchar2(20) not null,
    minit char,
    primary key (sid));
    --------------end-----------------
    Good day!
    null

  • Problem with distribution model receiver ports

    Hi,
    I am facing a problem with distribution model.
    I am using Distribution model for material classification data. I am sending my classification data using CLFMAS message type to one of the receiver. Again another person also sending classification data to another receiver.
    But both objects will run at different times.
    Problem is for every run and every change it is creating 2 idocs instead of 1 idoc.
    I am able to create an IDOC with my changes for classifications. But it is creating 2 idocu2019s instead of creating 1 idoc. Because of there is another distribution model with same message type with different receiver port has been configured. I.e. reason it is creating 2 idocu2019s and sending to both the revivers.
    When I run my changes It needs to create 1 idoc and send to my receiver port. If another person run his job it needs to create another idoc.
    So how will I filter distribution model based on receiver port? it needs to create only 1 IDOC ..

    Hi kotesh,
    A similar issue.
    check if this will help.
    Do the following:
    Go to TOOLS>ALE Development>IDoc Type Development> WE81 and create a new message type and give it a different name - say ORDERS2. Use WE82 to link it to an IDoc Type - say ORDERS05. So now you will have two message types linked to the same IDoc type. Each message type can now be referred in different logical systems without any clashes.
    Now you can use BD64 to build your model using message types ORDERS and ORDERS2 without getting the multiple recepient error message.
    Then use WE20 to set up each partner profile using your defined output conditions in message control to trigger the creation of the IDoc. Now you will beable to send the same Idoc type to different recepients.
    source:http://sap.ittoolbox.com/groups/technical-functional/sap-interfaces/sap-distribution-model-3008763
    Regards,
    SuryaD.

  • Problem when creating Database with Database, OS and hardware Configuraiton

    Problem when creating Database:
    There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
    Problem # 1:
    When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
    I searched following oracle help for this problem.
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
    Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Problem # 2:
    When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
    I searched following oracle help for this problem.
    ORA-12571: TNS:packet writer failure
    Cause: An error occurred during a data send.
    Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Software & Hardware Configuration are as follow:
    Software:
    Database
    Oracle 8.1.7.0.0 (Oracle8i)
    Operating System
    Microsoft Windows 2000
    5.00.2195
    Service Pack 2
    Hardware:
    x86 Family 6 Model 8 stepping
    10
    AT/AT COMPITABLE
    260,400 KB RAM

    user563502 wrote:
    I am working on Solaris 8. What is Alert_SID.log? where can I find it?
    ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
    to be honest with you, this is not your work.

  • Problem when creating Database (Database, OS and hardware Configuraiton)

    Problem when creating Database:
    There are two problems, which I faced during creation of database. When creating database with Oracle Database Assistant. One when creating pre tuned database from CD. And second when creating customized database giving options your self.
    Problem # 1:
    When creating pre tuned database from CD. The process of creating Database is 90 % complete and is at step # 3 Initializing Database. It gives error ORA-03113: end-of-file on communication channel.
    I searched following oracle help for this problem.
    ORA-03113: end-of-file on communication channel
    Cause: An unexpected end-of-file was processed on the communication channel. The problem could not be handled by the Net8, two-task software. This message could occur if the shadow two-task process associated with a Net8 connect has terminated abnormally, or if there is a physical failure of the interprocess communication vehicle, that is, the network or server machine went down.
    Action: If this message occurs during a connection attempt, check the setup files for the appropriate Net8 driver and confirm Net8 software is correctly installed on the server. If the message occurs after a connection is well established, and the error is not due to a physical failure, check if a trace file was generated on the server at failure time. Existence of a trace file may suggest an Oracle internal error that requires the assistance of customer support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Problem # 2:
    When creating database with custom option. The process of creating Database is 2 % complete and is at step # 2 Creating Database Files. It gives error ORA-12571: TNS:packet writer failure.
    I searched following oracle help for this problem.
    ORA-12571: TNS:packet writer failure
    Cause: An error occurred during a data send.
    Action: Not normally visible to the user. For further details, turn on tracing and re-execute the operation. If error persists, contact Worldwide Customer Support.
    Conclusion:
    What I conceive from this problem and the help available is that, I have to install NET8 again. But I am not sure about the solution, please tell me whether I am rite or not.
    Software & Hardware Configuration are as follow:
    Software:
    Database
    Oracle 8.1.7.0.0 (Oracle8i)
    Operating System
    Microsoft Windows 2000
    5.00.2195
    Service Pack 2
    Hardware:
    x86 Family 6 Model 8 stepping
    10
    AT/AT COMPITABLE
    260,400 KB RAM

    user563502 wrote:
    I am working on Solaris 8. What is Alert_SID.log? where can I find it?
    ThanksFor the responsible of the upgrade of Oracle database, not even know what Alert log is?
    to be honest with you, this is not your work.

  • Unable to create Model from DOE Data Object

    Hi,
    I created a Mobile Laptop WebDynpro DC in NWDS 7.1, the build and deploy work fine.
    The problem is that when I attempt to create a Model based on a Data Object from the
    Mobile Middleware 7.1 DOE, I always get an exception when the Data Object metadata is
    imported (the last step of the Model Creation Wizard).
    Here's the exception :
    Status ERROR
    Plugin : com.sap.ide.cmi.core
    code=0
    Internal error
       Plugin name: Common Model Tools Core
       Internal error  : com.sap.ide.cmi.core
       Class      : com.sap.tc.mobile.dt.metaimp.ModelImportWizard
       Method     : run(IProgressMonitor)
       Message    : Failed to create model
       Exception  : com.sap.ide.metamodel.general.exception.ObjectRequiredException: ModelClassPropertySetting "//WebDynpro/ModelClass:ca.test.sandbox.mitest1.test3.ZTESTDATAOBJ/Property:ACTUAL/Setting:backendKey", Role "SettingDefinition": A minimum of 1 object(s) is required
    ObjectRequiredException: ModelClassPropertySetting "//WebDynpro/ModelClass:ca.test.sandbox.mitest1.test3.ZTESTDATAOBJ/Property:ACTUAL/Setting:backendKey", Role "SettingDefinition": A minimum of 1 object(s) is required
    at com.sap.ide.metamodel.webdynpro.implementation.ModelClassPropertySettingProxy._validate(ModelClassPropertySettingProxy.java:358)
    at com.sap.ide.metamodel.core.DevelopmentObjectProxy.validate(DevelopmentObjectProxy.java:825)
    at com.sap.tc.mobile.dt.metaimp.MBOModelImporter.doImport(MBOModelImporter.java:170)
    at com.sap.tc.mobile.dt.metaimp.ModelImportWizard.createModel(ModelImportWizard.java:200)
    at com.sap.ide.cmi.core.model.importer.CMIWizard$2.run(CMIWizard.java:197)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    I know this is not related to Middleware authorization, I tested with a userid with full DOE authorization.
    When I display the Data Object metadata from the Middleware, it shows as status 'active'.
    The exception seems to complain about the backend key, but there is a backend key field in
    the Data Object.
    I have the same exception even with any SAP delivered Data Objects (MAM30_001, etc..).
    any thoughts on what the problem is ?
    thanks,
    Yanick.

    Hi Yannick,
    This type of error can occur with local non-dc Mobile App when some jars required for the model generation are missing.                                                         
    The easiest way to fix this is to create a DC for your Mobile app from the
    Mobile App Offline perspective. 
    Let me know if it works
    Genevieve

  • Unable to create model out of DO

    Hi,
    I created a Mobile Laptop WebDynpro DC in NWDS 7.1, the build and deploy work fine.
    The problem is that when I attempt to create a Model based on a Data Object from the
    Mobile Middleware 7.1 DOE, I always get an exception when the Data Object metadata is
    imported (the last step of the Model Creation Wizard).
    Here's the exception :
    Status ERROR
    Plugin : com.sap.ide.cmi.core
    code=0
    Internal error
       Plugin name: Common Model Tools Core
       Internal error  : com.sap.ide.cmi.core
       Class      : com.sap.tc.mobile.dt.metaimp.ModelImportWizard
       Method     : run(IProgressMonitor)
       Message    : Failed to create model
       Exception  : com.sap.ide.metamodel.general.exception.ObjectRequiredException: ModelClassPropertySetting "//WebDynpro/ModelClass:ca.test.sandbox.mitest1.test3.ZTESTDATAOBJ/Property:ACTUAL/Setting:backendKey", Role "SettingDefinition": A minimum of 1 object(s) is required
    ObjectRequiredException: ModelClassPropertySetting "//WebDynpro/ModelClass:ca.test.sandbox.mitest1.test3.ZTESTDATAOBJ/Property:ACTUAL/Setting:backendKey", Role "SettingDefinition": A minimum of 1 object(s) is required
    at com.sap.ide.metamodel.webdynpro.implementation.ModelClassPropertySettingProxy._validate(ModelClassPropertySettingProxy.java:358)
    at com.sap.ide.metamodel.core.DevelopmentObjectProxy.validate(DevelopmentObjectProxy.java:825)
    at com.sap.tc.mobile.dt.metaimp.MBOModelImporter.doImport(MBOModelImporter.java:170)
    at com.sap.tc.mobile.dt.metaimp.ModelImportWizard.createModel(ModelImportWizard.java:200)
    at com.sap.ide.cmi.core.model.importer.CMIWizard$2.run(CMIWizard.java:197)
    at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
    I had read a similar thread @ the same problem.
    Link:[Unable to create Model from DOE Data Object]
    I do not have Mobile App Offline perspective coming in My NWDS.
    I am using NWDS 7.1 sp03
    Please help.
    Edited by: Saptak Kulkarni on Jul 28, 2008 10:31 AM

    Hi,
    what is the error message?
    In his example it seems his definition is not completed. As it sais: at least one.... required. So he should most likely complete his definition and then it should work.
    What are you doing? Do your try to import objects of a simple MI7.0 standard app? If this is the case you will most likely run into problems cause MI7.1 does not support T51 BOs and so you will see an error message.
    Regards,
    Oliver

  • Problem while creating Item Data in OCA application

    Hello Experts!
    I am creating a PDA application (OCA) for NW7.1.
    I am facing problem while creating Sales Order. I can create the Header structure. But when I Create the corresponding item structure for the header , the items are not getting created. After Sync I can only see the header structure in the middleware.
    I am using the following code to create the header and item.
    OrderCreateDocType header = model.createOrderCreateDocType();
    header.setRefdoctype("41001180");
    header.setDocType("ZRRJ");
    header.setSalesOrg("AND");
    wdContext.nodeOrderCreateDocType().bind(Collections.singleton(header));
    OcaRoot.getInstance().commit();
    wdContext.nodeOrderCreateDocType().setLeadSelection(0);
    header=(OrderCreateDocType)wdContext.nodeOrderCreateDocType().getCurrentElement().model();
    OrderCreateOrderItemsIn items = header.createNewOrderItemsIns();
    long item = new Long("000010").longValue();
    items.setItmNumber(item);
    items.setMaterial("MMKT090114");
    items.setPlant("ANDP");
    items.setTargetQty(new BigDecimal(7));
    items.setTargetQu("IT");
    header.setOrderItemsIns(Collections.singleton(items));
    OcaRoot.getInstance().commit();
    Am I missing out on step.
    Reply Awaited
    Regards
    Priya Ghosh

    Hello Priya
    in your case as the DOs are of upload only type, you are not able to create a
    child on an already created header, because updates are not allowed for upload only DOs.
    So in this case you first have to create an instance of the header first and then create an item. And only after this call a commit on the model
    Best Regards
    Vaidehi

  • Problem while creating CAF project in NWDS workspace

    Hi Experts,
    We are facing a problem while creating CAF project in NWDS workspace. Even though we have tried in new workspace we are facing the issue. Find the below build error.
    We are not getting any error when we build from CBS.
    [javac] ERROR: C:\sap\test_VC_DC.jdi\0\DCs\test.com\ja\bl\journal\ejbmodule\_comp\src\com\test\ja\bl\journal\modeled\ModifyJournalLineItemRequestMessage.java:7: cannot find symbol
    [javac] ERROR: symbol  : class JournalLineItemDetail1
    [javac] ERROR: location: package com.test.ja.cm.util.modeled
    [javac] ERROR: import com.test.ja.cm.util.modeled.JournalLineItemDetail1;
    when we expand com.test.ja.cm.util.modeled there is no file with name JournalLineItemDetail1 and the actual file exists is JournalLineItemDetail but we are not able to understand why 1 is appending to the file JournalLineItemDetail. Can somebody throw some light on this?
    Regards,
    Pradeep

    Have you checked out the topics at the right in the More Like This section?
    OT

  • New Context for 'Problems' in Rule modeler not working

    Hi,
    I am using the Rule modeler to determine the Service team based on selected Categorization schema for Incidents - it's working fine. Now I want to implement the same for Problems
    I created a new Z Context (Master Request) to create a rule policy for Problems -> assigned rule policy to a ZServ.Mgr.Profile Unfortunately the rule policy is not working for problems. The new ZContext was copied from existing SERVICEREQUEST context which also copied all the services within.
    Am I missing something ? Please help.
    BR.
    P.S incidents have an action definition with method DISPATCH that determines service team - same has been assigned to Problems.

    Had to use 2 Dispatch methods to determine the service team.

  • Can we use custom RFC in creating models in Visual composer??

    Dear Experts,
    Can we use custom RFC in creating models in Visual composer??
    If yes, kindly provide some documents or links which would guide me how to achieve it.
    Warm Regards
    Upendra Agrawal

    Hi,
    Yes,you can do it.
    Configure the rfc and use like others Standard BAPI procedure.
    [https://www.sdn.sap.com/irj/scn/wiki?path=/display/vc/connectivity]
    Regards,
    Govindu

Maybe you are looking for

  • Black screen mirroring after ATV update

    hi, I need help, I just bought my ATV, and it mirrored my IPad just fine, then it asked me to update the ATV software, now it just give me sound but no mirror??? Only a black screen. Help please!

  • Chkdsk partitions without drive letters

    Toshiba computers come with 4 partitions.  I've looked up the partition characteristics using the following:  - Disk Management  - PowerQuest Partition Table Editor  - Partition Type codes at    http://www.win.tue.nl/~aeb/partitions/partition_types-1

  • QT Player 7 Recording State, True or False?

    Would some kind soul help me out here please. I've tried everything I know (which I admit, isn't much when it comes to Applescript) and haven't had any success. The first 2 comment lines below says what I need to get done. I can't figure out the synt

  • How can I view ipad screen on computer, when I pad display is broken but internal system works

    how can I view ipad screen on computer, when I pad display is broken but internal system works

  • Help with a very simple horizontal Spry menu

    Hi, I've always received great help here and I'm sure that if I explain the issue I'm having properly I'll get some good input. This is to do with a very simple horizontal Spry menu, there's no dropdown involved, only a color change on the rollover.