SMP 3.0 Android native create operation issue

Hellow,
I am creating a new entry in to my OData service in Android Native and SMP 3.0,
I am successfully reading data and displaying but can not create new entry in to my service where
the code as follows
private void postData() {
IODataEntry entry = new ODataEntry();
entry.putPropertyValue("BankCountry", "IND");
entry.putPropertyValue("BankKey", "00996");
entry.putPropertyValue("BankName", "UCUCUC");
entry.putPropertyValue("City", "acdc");
IRequest request = RequestBuilder.getInstance().buildPOSTRequest(this, "BankSet", entry, "$format=json");
mApplication.getRequestManager().makeRequest(request);
It throws Null at "mApplication.getRequestManager().makeRequest(request);"
Here mSchema is not null , Am I wrong while requesting the Server?? Please suggest me with a code snippet to solve it.
Regards,
Varahalu Babu Jampana

Hi Varahalu Babu,
Make sure that the giving RequestTag is correct or not,It shout be requestServiceDocument.
try this
IRequest request = RequestBuilder.getInstance().buildPOSTRequest(this, collection, entry, "requestServiceDocument");
Thanks & regards
Sindhu

Similar Messages

  • Offline Data Chaching Problem in SMP 3.0 Android Native

      Hi All,                    I am working on Offline features of SMP 3.0 Android, Saving data in Cache and syncing with backend when network available. Once I close all activities and login in online mode the Cache getting cleared and no data available in the cache.I am using SP03.             Is there any issue with Libraries or is it the nature of libraries?? Please suggest me any alternative to work on this. Need suggestions on next versions for complete offline features.  

    The SMP Odata SDK provides the capability for client applications to cache the data on device when the mobile device is out of network and process it later when it is within the range of network. You need to use Cache APIs to do it. Make sure you added cache related libraries are included in the project (ex.cache,persistence,libdatabase_sqlcipher.so, libsqlcipher_android.so,guava,libstlport_shared.so).
    In order to parse and build Odata entries Service document and metadata document are required. So on first registration of user with SMP server retrieve these documents and store it locally by leveraging Odata SDK Cache library.
    Sample code to retrieve the service document from cache:
    IODataServiceDocument serviceDocument = null;
    try {
    //Getting Service Document from the cache
    serviceDocument =
    (IODataServiceDocument)mApplication.getCache().readDocument(
    DocumentType.ServiceDocument,
    FlightModelConstants.FLIGHT_MODEL_SERVICE_DOCUMENT);
    } catch (CacheException e) {
    Log.v(TAG, e.getLocalizedMessage());
    //Checking if Service Document was not found in cache,
    if (serviceDocument == null) {
    mProgress =
    ProgressDialog.show(this,
    (CharSequence) "",
    (CharSequence)
    getString(R.string.serviceDocumentProgress),
    true);
    mRequestTag = REQUEST_SERVICE_DOCUMENT;
    //Preparing request to retrieve Service Document from the server
    IRequest request =
    RequestBuilder.getInstance().buildServiceDocumentRequest(this,
    REQUEST_SERVICE_DOCUMENT);
    //Sending the request
    mApplication.getRequestManager().makeRequest(request);
    } else {
    Toast.makeText(this, R.string.msgServiceDocumentCache,
    Toast.LENGTH_LONG).show();
    //Service Document was in the cache, now we are going to retrieve the
    Schema
    this.getServiceSchema();
    Code to be added in onSuccess callback method to store the document:
    IODataServiceDocument serviceDocument = parser
    .parseODataServiceDocument(responseString);
    mApplication.getCache().storeDocument(serviceDocument,
    DocumentType.ServiceDocument,
    FlightModelConstants.FLIGHT_MODEL_SERVICE_DOCUMENT);
    Code above is for storing service document; to store Metadata document above code is repeated once.
    The above code shows how to store and retrieve service document and metadata document. Odata SDK also allows storing of Odata entries in cache and offline operation.
    Midhun VP

  • Ldap Synch Error in attribute conversion operation Issue in OIM 11g R2 PS1

    Hi All,
    We have enabled LDAP Synch in OIM11g R2 PS1 environment. We have requirement of users getting created through Web Services. When we create a user through Webservices, and provide all the attributes required to create user then we are getting LDAP Error in attribute conversion operation:
    2014-01-03T02:31:52.249-05:00] [oim_server1] [WARNING] [] [oracle.adf.controller.faces.lifecycle.Utils] [tid: [ACTIVE].ExecuteThread: '4' for queue: 'weblogic.kernel.Default (self-tuning)'] [userId: xelsysadm] [ecid: 1353004b0df87234:-67081615:143517a89d1:-8000-0000000000002807,0] [APP: oracle.iam.console.identity.self-service.ear#V2.0] ADF: Adding the following JSF error message: IAM-2050243 : Orchestration process with id 9864, failed with error message IAM-3010201 : LDAP create event failed : 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1.[[
    oracle.iam.ui.platform.exception.OIMRuntimeException: IAM-2050243 : Orchestration process with id 9864, failed with error message IAM-3010201 : LDAP create event failed : 00000057: LdapErr: DSID-0C090C3E, comment: Error in attribute conversion operation, data 0, v1db1.
      at oracle.iam.ui.platform.exception.OIMErrorHandler.reportServiceException(OIMErrorHandler.java:170)
      at oracle.iam.ui.platform.exception.OIMErrorHandler.reportException(OIMErrorHandler.java:65)
      at oracle.adf.model.binding.DCDataControl.reportException(DCDataControl.java:411)
      at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:416)
      at oracle.adf.model.binding.DCBindingContainer.reportException(DCBindingContainer.java:471)
      at oracle.adf.model.binding.DCControlBinding.reportException(DCControlBinding.java:201)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.reportException(JUCtrlActionBinding.java:2016)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.doIt(JUCtrlActionBinding.java:1660)
      at oracle.adf.model.binding.DCDataControl.invokeOperation(DCDataControl.java:2150)
      at oracle.jbo.uicli.binding.JUCtrlActionBinding.invoke(JUCtrlActionBinding.java:740)
      at oracle.adf.controller.v2.lifecycle.PageLifecycleImpl.executeEvent(PageLifecycleImpl.java:402)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding._execute(FacesCtrlActionBinding.java:252)
      at oracle.adfinternal.view.faces.model.binding.FacesCtrlActionBinding.execute(FacesCtrlActionBinding.java:210)
      at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBinding(FacesUtils.java:165)
      at oracle.iam.ui.platform.utils.FacesUtils.executeOperationBindingFromActionListener(FacesUtils.java:112)
      at oracle.iam.ui.catalog.view.backing.CartReqBean.submitActionListener(CartReqBean.java:848)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      at java.lang.reflect.Method.invoke(Method.java:606)
      at com.sun.el.parser.AstValue.invoke(AstValue.java:187)
      at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:297)
      at org.apache.myfaces.trinidadinternal.taglib.util.MethodExpressionMethodBinding.invoke(MethodExpressionMethodBinding.java:53)
      at org.apache.myfaces.trinidad.component.UIXComponentBase.broadcastToMethodBinding(UIXComponentBase.java:1256)
      at org.apache.myfaces.trinidad.component.UIXCommand.broadcast(UIXCommand.java:183)
      at oracle.adf.view.rich.component.fragment.UIXRegion.broadcast(UIXRegion.java:148)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:102)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent$1.run(ContextSwitchingComponent.java:92)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent._processPhase(ContextSwitchingComponent.java:361)
      at oracle.adf.view.rich.component.fragment.ContextSwitchingComponent.broadcast(ContextSwitchingComponent.java:96)
      at oracle.adf.view.rich.component.fragment.UIXInclude.broadcast(UIXInclude.java:96)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.broadcastEvents(LifecycleImpl.java:1018)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl._executePhase(LifecycleImpl.java:386)
      at oracle.adfinternal.view.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:194)
      at javax.faces.webapp.FacesServlet.service(FacesServlet.java:265)
      at weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSecurityHelper.java:227)
      at weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelper.java:125)
      at weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:301)
      at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.model.servlet.ADFBindingFilter.doFilter(ADFBindingFilter.java:205)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.view.page.editor.webapp.WebCenterComposerFilter.doFilter(WebCenterComposerFilter.java:117)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adfinternal.view.faces.webapp.rich.RegistrationFilter.doFilter(RegistrationFilter.java:106)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at oracle.adfinternal.view.faces.activedata.AdsFilter.doFilter(AdsFilter.java:60)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl$FilterListChain.doFilter(TrinidadFilterImpl.java:446)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl._doFilterImpl(TrinidadFilterImpl.java:271)
      at org.apache.myfaces.trinidadinternal.webapp.TrinidadFilterImpl.doFilter(TrinidadFilterImpl.java:177)
      at org.apache.myfaces.trinidad.webapp.TrinidadFilter.doFilter(TrinidadFilter.java:92)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.help.web.rich.OHWFilter.doFilter(Unknown Source)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.iam.ui.platform.servletfilter.IdentityContextFilter.doFilter(IdentityContextFilter.java:50)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.iam.platform.servletfilter.PwdMgmtNavigationFilter.doFilter(PwdMgmtNavigationFilter.java:164)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.bpel.services.workflow.client.worklist.util.WorkflowFilter.doFilter(WorkflowFilter.java:248)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.bpel.services.workflow.client.worklist.util.DisableUrlSessionFilter.doFilter(DisableUrlSessionFilter.java:70)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.adf.library.webapp.LibraryFilter.doFilter(LibraryFilter.java:179)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:119)
      at java.security.AccessController.doPrivileged(Native Method)
      at oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:315)
      at oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java:442)
      at oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:103)
      at oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:171)
      at oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:71)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:139)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.RequestEventsFilter.doFilter(RequestEventsFilter.java:27)
      at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:56)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapRun(WebAppServletContext.java:3730)
      at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:3696)
      at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
      at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
      at weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletContext.java:2273)
      at weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.java:2179)
      at weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:1490)
      at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
      at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
    In this case user is getting created in OIM but LDAP Synch is not happening we are getting the error as mentioned above.
    When we create user in OIM  not through Web Serives but through Identity Self Service and provide any date attribute for example Start Date,Provisoning Date, Deprovisoning Date or any other date attribute, then also we are geeting the same error of Error in attribute conversion operation Issue, in this case user is not getting created in OIM and LDAP Synch is not happening.
    And when we create a user in OIM not through Web Serives but through Identity Self Service  and did not give any of the date attribute then user is getting created and LDAP synch is also happening successfully.
    We need to create users through Web Services and we need to resolve this issue asap, request you all to provide any helpful pointer on this.
    Thanks
    Varsha

    This can happen due to OIM-LDAP wrong attribute mapping/value getting passed.
    Can you please first try with OOTB attributes and see how it behaves?
    J

  • Error Occurred While Rinning A simple Android Native SUP Application ?

    Hi Experts,
    I have Created a Sample Android Application in Native SUP 2.1.3 Environment, followed by 10 steps to develop SUP101 Android Native application [Part I]
    documentation , Can any one solve my issue ,
    Thanks In advance,
    Vamsi Konanki.

    imported the exact package( import com.sybase.mobile.Application ), and remaining all are configured well , but displaying

  • Create Operation with Integration Gateway for SOAP Webservices

    Dear All,
    Has anyone used the create operation for Soap Webservices for SMP 3.0 to invoke a POST into the system using OData and Integration Gateway.
    Can you please help with the steps.
    Thanks,
    Best Regards,
    Rakshit Doshi

    I tried the same sometime back but faced some issues. Then i came to know about one known issue.
    Reference
    Rgrds,
    JK

  • Android native extention errors

    Hi Everyone,
    I'm currently working on creating an Android ANE for native alert popups. I'm now at the point where I think my both my Java and AS3 code is good to go but I'm getting an error when I try to use it.
    Main Thread (Suspended: TypeError: Error #1009: Cannot access a property or method of a null object reference.)
    My problem is I'm really not sure where this error is coming from. My thinking is that I'm not building the ANE file correctly or something is wrong in my extension.xml file but I'm really not too sure.
    I'm going to try to provide as much information as I can about how this project is set up. Right now I'm trying to use this ANE in a small, testing application.
    First, the folder setup:
    ANEextensions-
         Alert_Java (holding my Java project)
              (Android/Java created assets. Not sure if these are important or now. If so I will list them)
              src
                   com
                        fa
                             ne                        
                                  android
                                       AlertContext.java
                                       AlertExtension.java
                                       ShowAlert.java
         Alert_AS
              bin
                   AlertAndroidAS.swc
              src
                   Alert.as
                   extension.xml
    I'm not going to bother posting my java code as I think it's correct. but if anyone who is willing to invest some time in helping me with this issue wants to take a look please let me know.
    This is my extensions.xml file
    <extension xmlns="http://ns.adobe.com/air/extension/2.5">
    <id>com.fa.alerts</id>
    <versionNumber>1.0</versionNumber>
        <platforms>
            <platform name="Android-ARM">
                <applicationDeployment>
                    <nativeLibrary>AndroidAlert.jar</nativeLibrary>
                    <initializer>com.fa.ne.android.AlertExtension</initializer>
                    <finalizer>com.fa.ne.android.AlertExtension</finalizer>
                </applicationDeployment>
            </platform>
        </platforms>
    </extension>
    And this is my Alert.as file:
    package {
        import flash.events.EventDispatcher;
        import flash.external.ExtensionContext;
        public class Alert extends EventDispatcher{
            public static var extContext:ExtensionContext = null
            public function Alert(){
                super();
                extContext = ExtensionContext.createExtensionContext("com.fa.alerts", null);
            public static function androidAlert(aTitle:String, aMsg:String, aNeg:String = "Cancel", aPos:String = "Ok"):void{
                extContext.call("showAlert", aTitle, aMsg, aNeg, aPos);
    And this is my stub app I'm using to test
    <?xml version="1.0" encoding="utf-8"?>
    <s:View xmlns:fx="http://ns.adobe.com/mxml/2009"
            xmlns:s="library://ns.adobe.com/flex/spark" title="HomeView">
        <fx:Script>
            <![CDATA[
                protected function spawnAne(event:MouseEvent):void{
                    var a:Alert = new Alert();
                    Alert.androidAlert("test","testing");
            ]]>
        </fx:Script>
        <fx:Declarations>
            <!-- Place non-visual elements (e.g., services, value objects) here -->
        </fx:Declarations>
        <s:Button click="spawnAne(event)" />
    </s:View>
    Now clicking on that button is what causes the error.
    I don't have any kind of swc or link between my testing app and the AS3 Alert_AS project. I'm using Flash Builder 4.6 to import the ANE file using the IDE tools.
    To build my ANE I'm using a lightly modified bash script from this post: http://gotoandlearn.com/play.php?id=149 by Lee Brimelow
        # path to YOUR Android SDK
        export AIR_ANDROID_SDK_HOME="my sdk"
        # path to the ADT tool in Flash Builder sdks
        ADT="my adt"
        # native project folder
        NATIVE_FOLDER=Alert_Java
        # AS lib folder
        LIB_FOLDER=Alert_AS
        # name of ANE file
        ANE_NAME=AndroidAlert.ane
        # JAR filename
        JAR_NAME=AndroidAlert.jar
        # cert path
        CERT_NAME=cert.p12
        # cert password
        CERT_PASS=password
        #===================================================================
        echo "****** preparing ANE package sources *******"
        rm ${ANE_NAME}
        rm -rf ./build/ane
        mkdir -p ./build/ane
        mkdir -p ./build/ane/Android-ARM
        mkdir -p ./build/ane/Android-ARM/res
        # copy resources
        cp -R ./${NATIVE_FOLDER}/res/* ./build/ane/Android-ARM/res
        # create the JAR file
        jar cf ./build/ane/Android-ARM/${JAR_NAME} -C ./${NATIVE_FOLDER}/bin .
        # grab the extension descriptor and SWC library
        cp ./${LIB_FOLDER}/src/extension.xml ./build/ane/
        cp ./${LIB_FOLDER}/bin/*.swc ./build/ane/
        unzip ./build/ane/*.swc -d ./build/ane
        mv ./build/ane/library.swf ./build/ane/Android-ARM
        echo "****** creating ANE package *******"
        "$ADT" -package -storetype PKCS12 -keystore ./cert.p12 -storepass password -tsa none \
            -target ane \
            ${ANE_NAME} \
            ./build/ane/extension.xml \
            -swc ./build/ane/*.swc \
            -platform Android-ARM \
            -C ./build/ane/Android-ARM/ .
        echo "****** ANE package created *******"
    I know this is a bit long but any help would be greatly appreciated! And feel free to let me know if you need some more elaboration

    I know this is an old post but I'm running into a similar situation - my ExtensionContext is NULL.  I've worked through all the examples I can find and I can't get my own ANE functional.

  • How can you enable back the Android native Menu button in AIR 2.7?

    I've noticed in AIR 2.7 for Android, that now the bottom icons in Android 3.0 Honeycomb are hidden (replaced by small dots) in AIR 2.7, whereas in AIR 2.6 they were always visible. That's cool. Since the bottom bar can never be hidden in Android 3, at least now those icons are less visible (unless you intentionally touch the bottom bar, then the icons show up for a few seconds).
    BUT I also noticed in AIR 2.7 compiled apps, the native "Menu" icon is not visible anymore, even after touching the bottom bar. In AIR 2.6 you could see and press that button (which can be captured from AIR so you can show a custom settings menu or whatever).
    So, quoting the subject --> How can you enable back the Android native Menu button in AIR 2.7?

    There is a work around and a reason for the menu issue.  Honeycomb doesn't natively support a menu softkey, it is only to support old apps comiled in phone API levels.  If you compile a Honeycomb app in 2.7 or 3.0, it is expected you manage the settings within the larger tablet UI framework.  See below link for more info and work around. 
    http://forums.adobe.com/message/3964792#3964792

  • Native extension - compiler issue

    Hi,
    First, I compile an iOS app with a native extension developped by ADOBE : http://www.adobe.com/devnet/air/native-extensions-for-air/extensions/vibration.html#articl econtentAdobe_numberedheader_3
    It's work well
    Then, I made myself the iOS library on xcode. It's OK as well
    Then, I made the ANE file following the tutorial http://custardbelly.com/blog/2011/09/21/air-native-extension-example-ibattery-for-ios/. It's seem OK
    I create my air app with Flash Builder. I load ANE, SWC...everything seem ok
    When I compile my Iphone Application with Flex, there is this error :
    An erreor appears during the application packaging (my translation):
    ld warning: in C:\\Users\\Tony\\AppData\\Local\\Temp\\c6468656-be35-4f05-8d51-0dd54063cefd/libcom.adobe. LEDTorch.a, file is not of required architecture
    Undefined symbols:
      "_ExtFinalizer", referenced from:
          _g_com_adobe_air_fre_fmap in extensionglue.o
      "_ExtInitializer", referenced from:
          _g_com_adobe_air_fre_fmap in extensionglue.o
    ld: symbol(s) not found
    Compilation failed while executing : ld64
    Someone could help me?
    I'm working on this bug for 2 days
    Thanks in advance !
    Emmanuel

    Hi,
    Apparently, the issue  is the following:  (find in the forum of
    http://www.liquid-photo.com/2011/10/28/native-extension-for-adobe-air-and-ios-101/#comment -322
    Apparently X-Code was trying to build NativeAlert.m as Objective-C++ source
    instead of Objective-C source. Silly mistake really. It took starting the
    project over again and trauling through the project settings to figure out
    what was wrong. Oh well, all sorted now.
    But i didn't succeed in setting the project with the corrects parameter.
    Could you help me?
    Thanks in advance
    Regards
    E.Fuchs
    2012/2/10 Saumitra Bhave <[email protected]>
       Re: Native extension - compiler issue  created by Saumitra Bhave<http://forums.adobe.com/people/SaumiB>in
    Mobile Development - View the full discussion<http://forums.adobe.com/message/4198519#4198519>

  • Problem when Rollback a Create operation in Master-Detail scenario

    Hi.
    I'm using 11.1.1.7.0 and I'll try to explain my issue as clear as I could.
    In my DataControls, I have
    StateView1SubstateView2
    I drag and drop SubstateView2 to my .jspx and create a Master table - Detail table. This works.
    My data are: State1, State2, and State3, all with related substates.
    Then I drag and drop a button to make New State functionality. Create operation is invoked, a popup with the form is opened, and it works too.
    Then I drag and drop a button to make New Substate functionality. Create1 operation is invoked, a popup with the form is opened. Here it's somethig wrong.
    Suppose I choose State2.
    I click New Substate, but I cancel the operation. Rollback is executed, and it works too.
    My issue comes now: I click again New Substate button with State2 selected in Master Table. This happens:
    I don't know how, but State1 is selected (and I didn't do this).
    Then, Detail table reloads with State1 related substates.
    Popup is opened to create a State1 substate (but not State2 substate as I expected).
    What am I doing wrong? Any help would be very appreciated.
    Regards

    Well, finally, when closing or cancelling the popup, this code works fine:
    DCIteratorBinding parentIter = ADFUtils.findIterator("StateView1Iterator");
    Key parentKey = parentIter.getCurrentRow().getKey();
    //You can add your operation code here, i have used simple Cancel operation with Rollback andExecute  
    OperationBinding rollback = ADFUtils.getBindingContainer().getOperationBinding("Rollback");
    rollback.execute();
    // Execute for StateView1
    OperationBinding execute = ADFUtils.getBindingContainer().getOperationBinding("Execute");
    execute.execute();
    // Execute for SubstateView2
    OperationBinding execute1 = ADFUtils.getBindingContainer().getOperationBinding("Execute1");
    execute1.execute();
    parentIter.setCurrentRowWithKey(parentKey.toStringFormat(true));

  • Problem connecting OData Service through SMP APP in Android App

    Hi,
    I'd like to develope an Android sample app with SMP and OData. Therefore I use the SMP Developer Version in the HANA Cloud and the Netweaver Service Gateway Demo System as OData Endpoint. I configured the app in the SMP as described in the openSAP Course "Introduction to Mobile Solution Development".
    I successfully managed to integrate the MAFLogon component from the SMP SDK 3.0. The registration in the app to the SMP works fine. Then I tried to download the service document as described in the SMP SDK 3.0 Help Documentation (http://help.sap.com/saphelp_smp303sdk/helpdata/en/7c/09250170061014bb05d2c9cd16418c/content.htm?frameset=/en/7c/09404b70061014b89ba1222a327094/frameset.htm&current_toc=/en/7c/01cda6700610149b10c2f2a86d335b/plain.htm&node_id=3583&show_children=true#jump3577).
    But when I'm trying to download the service document, I get a 403 response and in the SMP the log says "Application connection id is not provided". So I added the APPCID in Requestheaders. Then the download works and in the onsuccess method of the INetListener I'll get a 200 response. But in the SMP Logs I get a 401 response which says that I should supply the Authorization Headers. So I added them in the next try and I get a 500 response.
    So I don't know what to. Can anybody provide me some advice?
    Thanks in advance
    Philip

    Hi Philip,
    Can you download the app from this tutorial and try, SMP 3 - Android Native App Development
    The tutorial is based on the SMP 3 on premise version not on the SMP HANA cloud, but still it works. Only change you have to do is replacing the code clientConnection.setConnectionProfile(true, "66.175.100.29", "8080", null, null); with clientConnection.setConnectionProfile("https://smpxxxtrial.hanatrial.ondemand.com");
    And it is not using MAFLogon component. You can use it if needed.
    Thanks,
    Midhun VP

  • Error while creating media issue in msd using jpmg0

    Dear all,
    kindly help me to solve the following issue. when i am creating media issue using tcode jpmg0, in the  process lo,g system shows the following error message.
    "Required parameters missing when calling up module " ACCOUNTING_KEYS_READ_FOR_BWKEY". It is very helpfull to me, give a reply by anybody as early as possible. kindly help me.

    Hi,
    Request you to check media product and media issue master data setup.
    Items for which neither financial accounting nor price calculation is permitted,you might this error.
    Best Regards,
    Chandra

  • MacBook Air intermittently has issues connecting to websites when wireless shows connected to the internet. The pages show that I am offline, but I can ping Google DNS. Windows PC, iPhone and Android phone have no issue displaying the same web pages.

    MacBook Air intermittently has issues connecting to websites when wireless shows connected to the internet. The pages show that I am offline, but I can ping Google DNS. Windows PC, iPhone and Android phone have no issue displaying the same web pages.How do I solve this issue?

    Go step by step and test.
    1. Power off the router. Unplug it from the wall. Wait a while.
        Plug it back to the wall. Power the router on. Wait until all the lights are lit properly. It will take a while.
        Restart the computer.
        Start up in Safe Mode.
        http://support.apple.com/kb/PH14204
    2. Empty Caches
        Safari > Preference > Advanced
        Checkmark the box for "Show Develop menu in menu bar".
        Develop menu will appear in the Safari menu bar.
        Click Develop and select "Empty Caches" from the dropdown.
    3. Deselect Proxies if selected.
        System Preference > Network > Advanced  > Proxies Tab
        Under "Select Protocol", uncheck any box if selected.
        Click "OK" then  "Apply”.

  • BAPI For Create Goods Issue for Sales order with picked quantity

    Hi friends,
            Is there any BAPI available to create Goods issue For sales order with picked quantity...............?
    we hv used BAPI_OUTB_DELIVERY_CREATE_SLS
    with sales order .......its creating delivery order but not doing goods issue with piked quantity........

    pls,reply its argent

  • How can i override the default create operation UIX ADF STRUTS

    Hi dear forum:
    How can I customize the default create operation?
    I need to calculate a value and put it into the new row created.
    Please help me!!!

    Hi,
    if you are usimng Business Components,
    1. Select the Entity Object and double click on it
    2. Select the Java node
    3. Check the "Create Method" checkbox
    4. click OK
    5. Open the <eo name>Impl.java file created (need to see this in System navigator view)
    6. Search for the set<Attribute name>() method and add your calculation for this attribute
    Frank

  • ORA-01079: ORACLE database was not properly created, operation aborted

    Hello everyone,
    On Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    My problem is that I've to drop the database as the same is not created properly.
    For that, I get the below error when I try to mount the database.
    ORA-01079: ORACLE database was not properly created, operation aborted
    Also, when I was starting the database specifying the pfile, it was throwing error saying
    ORA-00202: control file: 'D:\ORACLE_10G\DATABASE\CTL1SAMPLEDB.ORA'
    When I specified control_files clause in init.ora I was getting above error, so I tried removing the same but still faced the same error.
    Can anybody help me resolving the problem ... ???
    thanks

    Rossy Rocs wrote:
    Hello everyone,
    On Oracle Database 10g Enterprise Edition Release 10.2.0.1.0
    My problem is that I've to drop the database as the same is not created properly.
    For that, I get the below error when I try to mount the database.
    ORA-01079: ORACLE database was not properly created, operation aborted
    Also, when I was starting the database specifying the pfile, it was throwing error saying
    ORA-00202: control file: 'D:\ORACLE_10G\DATABASE\CTL1SAMPLEDB.ORA'
    When I specified control_files clause in init.ora I was getting above error, so I tried removing the same but still faced the same error.
    Can anybody help me resolving the problem ... ???
    thanksyou should be able to do the following on windows from the command line
    oradim -delete -sid sampledbthen remove the D:\ORACLE_10G\DATABASE\ folder from the filesystem (assuming there are only files relating to your db in there.
    finally remove the D:\ORACLE_10G\ADMIN\SAMPLEDB folder structure assuming it exists.
    Niall Litchfield
    http://www.orawin.info

Maybe you are looking for