Creating model +  SAP Router

Hello, i'm trying to develop the Flights Example fron help.sap.com but at home i  have access to sap system via SAP Router. In the step where i tell the application the R/3 connection parameters (adaptative RFC model) there's no option for SAP Router.
Does Anyone know how can i accomplish this?
Thanks in advance.

I found:
Define the message server, system name and the logon group used by the JCO connection.
Message Server L01_lab4
System Name L01
Logon Group PUBLIC
Use SAP Router (UNCHECKED)
SAP Router String BLANK
on this link
Re: Issue with Adaptive RFC Configuration in SLD
but i don't know where to set that... can anyone help please?
Thanks in advance.

Similar Messages

  • 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

  • SAP router error on windows server 2008 64bit

    Hi All,
    I am installing sap router on windows 2008 server 64 bit.
    While trying to generate certificate request it showing below error.
    E:\usr\sap\saprouter\nt-x86_64>sapgenpse get_pse -v -r certreq -p local.pse "CN=
    solman, OU=000XXXXXXX, OU=SAProuter, O=SAP, C=DE"
    Got absolute PSE path "C:\Users\soladm\sec\local.pse".
    Please enter PIN:
    Please reenter PIN:
    Supplied distinguished name: "CN=solman, OU=000XXXXXXX, OU=SAProuter, O=SAP, C=
    DE"
    Creating PSE with format v2 (default)
    get_pse: Can't create PSE.
    ERROR in af_create: (4352/0x1100) could not flush : "SW-PSE"
    ERROR in create_PSE: (4352/0x1100) could not flush : "SW-PSE"
    ERROR in modified_PSEFile: (4352/0x1100) could not flush : "SW-PSE"
    ERROR in flush_PSEFile: (1283/0x0503) Can't write file : "C:\Users\soladm\sec\lo
    cal.pse"
    ERROR in aux_OctetString2file: (1283/0x0503) Can't write file : "C:\Users\soladm
    \sec\local.pse"
    I couldn't find the cryptography software specifically for windows 2008 server 64 bit ? So I downloaded the software for windows server 64 bit platform.
    Do any one have idea on this...
    Please reply..
    Regards
    Vinay

    Hi,
    Yes, there is no specific cryptography software for windows server 2008 and whatever u have chosen is correct.
    Fom the following error message I could see where the issue arises.
    Can't write file : "C:\Users\soladm\sec\local.pse"
    I think you have not set the following ENV variable for the SAPRouter admin user (in your case soladm) and hence the sapgenpse tries to import the certificate in the SOLADM user's document folder.
    Set the following variables for the user SOLADM and then try to import the certificate as mentioned in the [link|http://service.sap.com/saprouter-sncdoc].
    SECUDIR = E:\usr\sap\saprouter
    SNC_LIB = E:\usr\sap\saprouter\nt-x86_64\sapcrypto.dll
    Hope this resolves ur issue.
    Regards,
    Varadharajan M

  • JCO Creation error using SAP router string

    Hi All,
    I have created technical system using customer system IP. After that I have created the JCO
    I have given the details while creating a JCO:
    JCO Name : <Name>
    Client detail:  <Client>
    Message Server :< hostname>
    Logon Group :<SPACE>
    SAP Router String :< /H/<host IP>/H/S/<message server port number>
    User Name :<User name>
    Password :<***>
    I have updated the Host and service file in the portal server.
    When I am testing the JCO I got an exception:
    com.sap.mw.jco.JCO$Exception: (102) RFC_ERROR_COMMUNICATION: Connect to message server host failed Connect_PM  TYPE=B MSHOST=dicisap1 GROUP=PUBLIC R3NAME=DCD MSSERV=sapmsDCD SAPROUTER_STRING=/H/<RouterIP>/S/3600  PCS=1 LOCATION    SAProuter 37.11 on SOLNMAN ERROR       timeout occured TIME        Wed Nov 05 17:42:31 2008 RELEASE     640 COMPONENT   NI (network interface) VERSION     37 RC          -93 COUNTER     4825
    How to resolve this problem ?
    Regards,
    Boopathi M

    Hi
    Check out these thread
    /message/5401584#5401584 [original link is broken]
    JCO$Exception: (102) RFC_ERROR_COMMUNICATION: CPIC-CALL: 'SAP_CMACCPTP'
    Thanks

  • 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

  • What's SAP Router String for?

    Hi,
    I can not find proper module for me to post this message, so I post it here.
    When we create a new item in the SAP logon screen , we need to specify the following parameters:
    1) System description
    2) Message server
    3) SAP Router String (optional)
    4) System ID
    5) System Number
    4) Group
    My question is, what's SAP router string for? How to define a new SAP router string?
    Because sometimes we don't need to input SAP router string, and we can still logon to the system successfully.
    So, If I need to create a new SAP router string, where to define?
    Thanks.

    Hi
    A route string describes the stations of a connection required between two hosts. A route string has the syntax
    (/H/host/S/service/W/pass)*
    It consists of any number of substrings in the form /H/host/S/service/W/pass .
    A route string contains a substring for each SAProuter and for the target server.
    Each substring contains the information required by SAProuter to set up a connection in the route: the host name, the port name, and the password, if one was given.
    Syntax for substrings:
    ·        /H / indicates the host name‑{}‑
    Note that the host name must be at least two characters long.
    ·        /S/ is used for specifying the service (port); it is an optional entry, the default value is 3299
    ·        /W/ indicates the password for the connection between the predecessor and successor on the route and is also optional (default is u201Cu201D, no password)
    In earlier Releases (<4.0A), the password entry was made one substring later and with the letter /P/.
    New: /H/saprouter/W/pass/H/targetserver
    Old: /H/saprouter/H/targetserver/P/pass
    (Here pass is the password which is checked by the SAProuter on host saprouter to set up or prohibit the connection from the source host to the target host.)
    Due to downward compatibility, the old password entry form is still possible.
    Thenaks & Regards
    Kishore

  • SAP Router internal error

    Hello
    I have installed solution manager 7.0 and then sap router is also configured on the same box.
    1. To generate a certificate request,
    sapgenpse get_pse -v -r D:\usr\sap\saprouter\certreq -p D:\usr\sap\saprouter\local.pse "CN=sbsapmgrapp01, OU=0000809350, OU=SAProuter, O=SAP, C=DE"
    2. Then you have to request the certificate from
    http://service.sap.com/tcs -> Download Area -> SAProuter Certificate
    3. Create a file D:\usr\sap\saprouter\srcert and copy the requested
    certificate into this file. :
    sapgenpse import_own_cert -c D:\usr\sap\saprouter\srcert -p
    D:\usr\sap\saprouter\local.pse
    4. To generate credentials for the user that's running the SAProuter
    service:
    sapgenpse seclogin -p D:\usr\sap\saprouter\local.pse -O sapadmin
    (this will create the file "cred_v2")
    5. Check the configuration:
    sapgenpse get_my_name -v -n Issuer
    (Result:  "CN=SAProuter CA, OU=SAProuter,
    O=SAP, C=DE")
    6. Create SAProuter service on Windows :
    ntscmgr install SAProuter -b D:\usr\sap\saprouter\saprouter.exe -p
    "service -r -R D:\usr\sap\saprouter\saprouttab -W 60000 -K "CN=sbsapmgrapp01, OU=0000809350, OU=SAProuter, O=SAP, C=DE"
    7. Edit the Windows Registry key :
    MyComputer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\SAProuter\ImagePath
    8. Start the SAProuter service  -- success
    9. Enter the parameters in OSS1 -> Technical Settings -->
    hostname : sbsapmgrapp01
    IP: 10.1.0.112
    instance : 00
    SAP host name : sapserv2
    IP: 194.39.131.34
    instance:99
    10. saprouttab
    SNC-connection from and to SAP
    KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
    SNC-connection from SAP to local R/3-System for Support
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 10.1.0.112 3200
    Access from the local Network to SAPNet - R/3 Frontend (OSS)
    P 10.1.0.112 194.39.131.34 3299
    deny all other connections
    D * * *
    when I check the sap-oss connection i am getting internal error. Any help would be appreciate..
    Thanks
    seshu

    Hi Rahu
    Thanks for your response. Here is my saprouttab entry's
    SNC-connection from and to SAP
    KT "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 194.39.131.34 *
    SNC-connection from SAP to local  Solman System for Support
    KP "p:CN=sapserv2, OU=SAProuter, O=SAP, C=DE" 10.1.0.112 3200
    Access from the local Network to SAPNet - R/3 Frontend (OSS)
    P     10.1.0.112     194.39.131.34     3299
    P     10...*     194.39.131.34     *
    Here is my dev_rout file..
    trc file: "dev_rout", trc level: 1, release: "700"
    Thu Oct 16 02:08:22 2008
    SAP Network Interface Router, Version 38.10
    command line arg 0:     D:\usr\sap\saprouter\saprouter.exe
    command line arg 1:     -r
    command line arg 2:     -R
    command line arg 3:     D:\usr\sap\saprouter\saprouttab
    command line arg 4:     -W
    command line arg 5:     60000
    command line arg 6:     -K
    command line arg 7:     p:CN=sbsapmgrapp01, OU=0000809350, OU=SAProuter, O=SAP, C=DE
    SncInit(): Initializing Secure Network Communication (SNC)
          PC with Windows NT (mt,ascii,SAP_UC/size_t/void* = 8/64/64)
    SncInit(): Trying environment variable SNC_LIB as a
          gssapi library name: "D:\usr\sap\saprouter\sapcrypto.dll".
      File "D:\usr\sap\saprouter\sapcrypto.dll" dynamically loaded as GSS-API v2 library.
      The internal Adapter for the loaded GSS-API mechanism identifies as:
      Internal SNC-Adapter (Rev 1.0) to SECUDE 5/GSS-API v2
    main: pid = 1684, ppid = 0, port = 3299, parent port = 0 (0 = parent is not a saprouter)
    reading routtab: 'D:\usr\sap\saprouter\saprouttab'
    Thu Oct 16 09:14:17 2008
    ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2823]
    ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 256
        (SI_ECONN_REFUSE/10061; I4; ST; 194.39.131.34:3299) [nixxi.cpp    2823]
    Thu Oct 16 09:14:20 2008
    ***LOG Q0I=> NiPConnect2: connect (10061: WSAECONNREFUSED: Connection refused) [nixxi.cpp 2823]
    ERROR => NiPConnect2: SiPeekPendConn failed for hdl 2 / sock 256
        (SI_ECONN_REFUSE/10061; I4; ST; 194.39.131.34:3299) [nixxi.cpp    2823]
    Kindly suggest the changes in my saprottab file..
    Thanks
    seshu
    Issue resloved..
    Edited by: Seshagiri Rao Myneni on Oct 16, 2008 7:31 PM

  • Can't create model in Web Dynpro

    Hi all,
    I want to create a model in a web dynpro  project.
    When i click the "models" --> "Create Model" in the , it appear below error.
    ===================================================
    Internal error
    Plugin name :Web Dynpro Model Editor
    Plugin ID  : com.sap.ide.webdynpro.modeleditor
    Class : com.sap.ide.webdynpro.modeleditor.ModelEditorCallback
    Method : createModel
    Exception : java.lang.NullPointerException: null
    ===================================================
    In the log file :
    ======================================================
    com.sap.ide.webdynpro.ui.service.ServicesUI          [Thread[main,5,main]] Error: Internal error
       Plugin name: Web Dynpro Model Editor
       Plugin ID  : com.sap.ide.webdynpro.modeleditor
       Class      : com.sap.ide.webdynpro.modeleditor.ModelEditorCallback
       Method     : createModel
       Message    : An error ocurred. See error log for more details.
       Exception  : java.lang.NullPointerException: null
    !STACK 0
    java.lang.NullPointerException
         at com.sap.ide.jcb.core.service.SAPLogonHelper.<init>(SAPLogonHelper.java:48)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$MessageServerPane.fillUpLoadBalancingPaneSystems(SAPLogonPage.java:1003)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage$MessageServerPane.show(SAPLogonPage.java:303)
         at com.sap.ide.jcb.core.wizardpages.SAPLogonPage.createControl(SAPLogonPage.java:91)
         at com.sap.ide.webdynpro.modeleditor.wizards.model.creation.ModelWizard.createPageControls(ModelWizard.java:408)
         at org.eclipse.jface.wizard.WizardDialog.createPageControls(WizardDialog.java:524)
         at org.eclipse.jface.wizard.WizardDialog.createContents(WizardDialog.java:473)
         at org.eclipse.jface.window.Window.create(Window.java:302)
         at org.eclipse.jface.window.Window.open(Window.java:552)
         at com.sap.ide.webdynpro.modeleditor.ModelEditorCallback.createModel(ModelEditorCallback.java:52)
         at com.sap.ide.webdynpro.service.modeleditor.ModelService.createModelWithUI(ModelService.java:70)
         at com.sap.ide.webdynpro.service.modeleditor.ServiceWithUI.createModel(ServiceWithUI.java:49)
         at com.sap.ide.webdynpro.tsmodel.application.provider.ModelNodeProvider.createUniqueName(ModelNodeProvider.java:55)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntityUin(EntityImpl.java:936)
         at com.tssap.selena.impl.model.elements.EntityImpl.createChildEntity(EntityImpl.java:502)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.runInternal(CreationAction.java:76)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.access$000(CreationAction.java:24)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction$1.run(CreationAction.java:51)
         at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1595)
         at com.sap.ide.webdynpro.tsmodel.application.actions.CreationAction.run(CreationAction.java:57)
         at com.sap.ide.webdynpro.projectbrowser.actions.PBCreateModelAction.run(PBCreateModelAction.java:95)
         at com.tssap.selena.model.extension.action.SelenaActionCollector$GenericElementActionWrapper.run(SelenaActionCollector.java:224)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.saveRunAction(MenuFactory.java:1425)
         at com.tssap.util.ui.menu.MenuFactory$MuSiAction.run(MenuFactory.java:1407)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.processInternal(MenuFactory.java:616)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.access$100(MenuFactory.java:586)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction$BusyProcessWorker.run(MenuFactory.java:716)
         at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69)
         at com.tssap.util.ui.menu.MenuFactory$DelegateAction.process(MenuFactory.java:610)
         at com.tssap.util.ui.menu.internal.MenuListenerFactory$ProcessAdapter.widgetSelected(MenuListenerFactory.java:172)
         at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89)
         at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81)
         at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840)
         at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2022)
         at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1729)
         at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402)
         at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385)
         at com.tssap.util.startup.WBLauncher.run(WBLauncher.java:79)
         at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858)
         at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461)
         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:324)
         at com.sap.ide.eclipse.startup.Main.basicRun(Main.java:291)
         at com.sap.ide.eclipse.startup.Main.run(Main.java:789)
         at com.sap.ide.eclipse.startup.Main.main(Main.java:607)
    =============================================================
    NWDS
    Version: 7.0.13
    Build id: 200708072056
    OS
    Window Vista Home Basic 32bit
    Could anyone help me?
    Regards.
    Wenjr
    Message was edited by:
            wenjr wu

    I encountered the same issue in all NWDS versions I tested on Windows Vista, while it works perfectly fine on Windows XP.
    This issue is caused by com.sap.ide.jcb.core.service.SAPLogonHelper not being able to retrieve system environment variables on Windows Vista.
    Fortunately the solution is simple: let NWDS think that it is running on Windows XP instead of Windows Vista. This can be achieved by adding the following parameter to "vm.parameters" in the NWDS installation directory (probably C:\Program Files\SAP\IDE\IDE70\eclipse):
    -Dos.name='Windows XP'
    (don't forget the single qoutes)
    So your vm.parameters should look something like:
    -Xmx1024m
    -Xms256m
    -XX:PermSize=32m
    -XX:MaxPermSize=128m
    -Dos.name='Windows XP'
    Regards,
    Hans de Boer
    Edited by: Hans de Boer on Jun 25, 2008 1:17 PM

  • Create a new routing with BAPI BAPI_ROUTING_CREATE via JCo

    I try to create a new routing with BAPI BAPI_ROUTING_CREATE via JCo.
    I filled all necessary parameters. I also realized a commit_work. I get in the RETURN parameter of the BAPI the Message "S 000 Routing N/50001641/01". But the routing isn't in the database. Other JCo programs I wrote (create material master or costumer order) are working very well.
    Have anyone an idea?
    Thanks Jörg
    Here's my coding:
    public void createArbeitsplan() {
              doLogin();
    //          connectionAttributes();
              Plan plan = new Plan();
              for (int i = 0; i < planList.size(); i++)
                   plan = (Plan) planList.get(i);
                   //Ein Function-Objekt erzeugen
                   String bapi = "BAPI_ROUTING_CREATE";
                   JCO.Function savePlan = null;          
                   try { savePlan = this.createFunction(bapi); }
                   catch(Exception ex) { ex.printStackTrace(); System.exit(1); }
                   if(savePlan == null) { System.err.println(bapi + " not found in SAP"); System.exit(1); }
                   //Import und Tabellen füllen
                   // Plankopf
                   JCO.Table headData = savePlan.getTableParameterList().getTable("TASK");
                   headData.appendRow();
                   headData.setValue(plan.kurztext,"DESCRIPTION");
                   headData.setValue("1","TASK_LIST_USAGE");
                   headData.setValue(werks,"PLANT");
                   headData.setValue("4","TASK_LIST_STATUS");
                   headData.setValue("ST","TASK_MEASURE_UNIT");
                   headData.setValue("001","RESP_PLANNER_GROUP");
                   headData.setValue("20070101","VALID_FROM");
                   headData.setValue("20991231","VALID_TO_DATE");
                   headData.setValue("1","LOT_SIZE_FROM");
                   headData.setValue("99999999","LOT_SIZE_TO");
                   // Materialzuordnung
                   JCO.Table materialAlloc = savePlan.getTableParameterList().getTable("MATERIALTASKALLOCATION");
                   materialAlloc.appendRow();
                   materialAlloc.setValue(plan.material,"MATERIAL");
                   materialAlloc.setValue(werks,"PLANT");
                   materialAlloc.setValue("20070101","VALID_FROM");
                   materialAlloc.setValue("20991231","VALID_TO_DATE");
                   materialAlloc.setValue("1","GROUP_COUNTER");
                   // Vorgänge
                   JCO.Table operationData = savePlan.getTableParameterList().getTable("OPERATION");
                   for (int j = 0; j < plan.getAnzahl(); j++) {
                        operationData.appendRow();
                        operationData.setValue(plan.getVorgang(j).vorgang,"ACTIVITY");
                        operationData.setValue(plan.getVorgang(j).steuschl,"CONTROL_KEY");
                        operationData.setValue(plan.getVorgang(j).arbplatz,"WORK_CNTR");
                        operationData.setValue("1111","WORK_CNTR");
                        operationData.setValue(plan.getVorgang(j).text,"DESCRIPTION");
                        operationData.setValue(plan.getVorgang(j).basismenge,"BASE_QUANTITY");
                        operationData.setValue(plan.getVorgang(j).vw1,"STD_VALUE_01");
                        operationData.setValue(plan.getVorgang(j).vw2,"STD_VALUE_02");
                        operationData.setValue(plan.getVorgang(j).vw3,"STD_VALUE_03");
                        operationData.setValue(plan.getVorgang(j).ze1,"STD_UNIT_01");
                        operationData.setValue(plan.getVorgang(j).ze2,"STD_UNIT_02");
                        operationData.setValue(plan.getVorgang(j).ze3,"STD_UNIT_03");
                        operationData.setValue("1","DENOMINATOR");
                        operationData.setValue("1","NOMINATOR");
                        operationData.setValue("20070101","VALID_FROM");
                        operationData.setValue("20991231","VALID_TO_DATE");
                        operationData.setValue("ST","OPERATION_MEASURE_UNIT");
                   // Testflag
                   JCO.Structure test = savePlan.getImportParameterList().getStructure("TESTRUN");
                   test.setValue(" ","BAPIFLAG");
                   //BAPI ausführen (incl. Commit)
                   mConnection.execute(savePlan);
                   JCO.Function commit = null;
                   try {commit = this.createFunction("BAPI_TRANSACTION_COMMIT"); }
                   catch (Exception ex) { ex.printStackTrace();System.exit(1); }
                   JCO.ParameterList input = commit.getImportParameterList();
                   input.setValue("X","WAIT");
                   mConnection.execute(commit);
                   //Messages vom SAP-System holen
                   JCO.Table jcoReturn = savePlan.getTableParameterList().getTable("RETURN");
                   for (int k = 0; k < jcoReturn.getNumRows(); k++)
                        jcoReturn.setRow(i);
    //                    System.out.println(jcoReturn.getField("MESSAGE").getValue());
                        System.out.println(jcoReturn.getField("TYPE").getValue());
                        System.out.println(jcoReturn.getField("NUMBER").getValue());
                        System.out.println(jcoReturn.getField("MESSAGE_V1").getValue());
                        System.out.println(jcoReturn.getField("MESSAGE_V2").getValue());
                        System.out.println(jcoReturn.getField("MESSAGE_V3").getValue());
                        System.out.println(jcoReturn.getField("MESSAGE_V4").getValue());
                   JCO.Structure output = commit.getExportParameterList().getStructure("RETURN");;
                   System.out.println(output.getString("MESSAGE"));
                   System.out.println(output.getString("TYPE"));
                   System.out.println(output.getString("NUMBER"));
                   System.out.println(output.getString("MESSAGE_V1"));
              closeConnectionToSAP();
              System.exit(1);

    Hi,
    perhaps you could use
    BAPI_HRMASTER_SAVE_REPL_MULT
    Regards
    Bernd

  • 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

  • Error in create model

    error in create model
    when I  Import Adaptive RFC Model
    ......step by step......
    after click"finish"  and  rebuild project (automatism)
    error message show in tasks view
    com.test.models.z1.ZI001 cannot be resolved or is not a type
    com.test.models.z1.ZI001 cannot be resolved
    com.test.models.z1.ZI001 cannot be resolved (or is not a valid type) for the argument modelInstance of the method ZI001_Input
    just some RFC have this error the other RFC is right
    restart service can't resolve it

    Well - you need to check the RFC for that. This kind of error usually points to inconsistencies with the backend. Thus, my recommendation to re-import the model.
    Anyways, have a look at this document to check which applies to you. And you'll probably get the same recommendation:
    [WDJ Adaptive RFC Troubleshooting Guide|http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/d0019b1a-775f-2910-beb8-d81f27d0d8d0]
    Hope that helps! Goodluck!
    Regards,
    Jan

  • How does Merged Dimensions Work in WebI created on SAP BI Queries

    Hi,
    I need to know how does Merge dimensions work in WebI when using SAP BI Query as source?
    Below is my understanding when connection is defined for the universe on oracle database:
    1) To get the data in merged dimensions, there must be physical join (Either Direct or vai some other tables) between different tables at backend level (This means  there  must be join between tables in Oracle database.)
    2) we get the UNION of data when dimensions are merged at webI level.
    I dont know how this works in SAP BI.
    Since there is different data model defined for different BI Queries in SAP , and for each BI Query and there is seperate Universe, So how can you get correct data in WebI when there is no connections in DSO's used in different BI queries?
    Can any one suggest me the way data apperas in merged dimensions for WebI created on SAP BI?

    I assume we are only talking about merging dimensions in Web Intelligence here and not on the BW backend. this is a client side mere where you have 2 resultsets.
    if you want to do this on the BI server side it would be a multi-provider combining different InfoProviders - or a InfoSet - depending on the join type you need. MultiProvider is a union, Infoset allows you to choose
    Ingo

  • Buffer table not up to date - Create Model Service Specifications

    Hello, when our user try to create Model Service Specifications in tr. ML10 the following error message is arised:
    "Buffer table not up to date"
    Message no. SE001
    Diagnosis
    An internal error has occurred.
    Procedure
    Exit the function and then reinvoke it.
    If the error should reoccur, please contact your system administrator."
    I cannot any suitable sap notes. Our SAP system is ERP 2005.
    Please advice something.

    Hi Igor ,
    Please check following link which may help you..
    http://sap.ittoolbox.com/groups/technical-functional/sap-log-mm/error-se001-buffer-table-not-up-to-date-2524832?cv=expanded
    Regards,
    Kiran M
    Edited by: Kiran Madhu on Feb 18, 2009 10:25 PM

  • 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

Maybe you are looking for

  • Error in syntax of trigger

    drop trigger hp_backup_check; create or replace trigger hp_backup_check AFTER INSERT on hp_patient_record FOR EACH ROW BEGIN INSERT INTO hp_backup_record values(:old.record_id, :old.patient_name, :old.patient_age, :old.admit_department, sysdate, user

  • How does everyone manage Email Distribution Lists in E-Business Suite

    We have heaps of email distribution lists stored in Oracle Ebusiness Suite, excel, access ..you name it! I would like to use a standard method for tagging contacts in the CRM Sales and Marketing Online so our employees can run reports to create exter

  • Error While Installing BO6.5

    Post Author: ravi.me.kiran CA Forum: Deployment Hi, I am installing BO6.5 on my system in which OS is WindowXP. During installation it gives this error: Error1935. An error during installation of assembley "Microsoft.MSXML2,version="4.0.2.0",publicke

  • Table - tree

    Dear Friends,     I have a requirement to display an output using Tree; as I am very new to WDA I am trapped in the middle of my design. Can anyone provide me an insight of how to achieve the requirement below, I have table “org_data” with following

  • What Is My Current Skype Number?

    How do I verify my current Skype Online Number?