Quantcast
Channel: SCN : All Content - SAP for Mobile
Viewing all articles
Browse latest Browse all 6147

MBO operation not called in native IOS app

$
0
0

Hi SupDevelopers,

 

I am developing an native IOS app with SUP2.1.2 xcode 4.2 IOS5.0 simulator where i am developing an simple application wherein user sends data from the application screen like firstname, cell number etc. and have created particular opeartion in MBO and able to access it within the opeartion from application have also checked connection because i am displaying some data from backend to application screen but program crashes when i make the operation call from the code i.e SIG ABRT signal ann have modified my code for actually 15-20 times but not getting the exact reason for the application crash hope you guys can help me out.I am also attaching the code snippet below which i have on the button hit to send data from device to SAP backend.

 

 

form=[[mRecruitDemoloadDataalloc]init];

    // form=[mRecruitDemoloadData getInstance];

   

 

 

   

    if ([password.textisEqualToString:rPassword.text] && [email.textisEqualToString:rEmail.text])

    {

        [formsetCreateUserFIRST_NAME:[NSStringstringWithFormat:@"%@",fname.text]];

        [formsetCreateUserSECOND_NAME:[NSStringstringWithFormat:@"%@",sname.text]];

        [formsetCreateUserLAST_NAME:[NSStringstringWithFormat:@"%@",lname.text]];

        [formsetCreateUserDATE_OF_BIRTH:[NSStringstringWithFormat:@"%@",finalDate]];

        [formsetCreateUserNATIONALITY:[NSStringstringWithFormat:@"%@",labelCountry.text]];

        [formsetCreateUserUSERNAME:[NSStringstringWithFormat:@"%@",username.text]];

        [formsetCreateUserPASSWORD:[NSStringstringWithFormat:@"%@",password.text]];

        [formsetCreateUserMOBILE_NO:[NSStringstringWithFormat:@"%@",mobile.text]];

        [formsetCreateUserEXP_YRS:[NSStringstringWithFormat:@"%@",exp.text]];

        [formsetCreateUserEDUCATION_FIELD:[NSStringstringWithFormat:@"%@",labelFieldOfEducation_text.text]];

        [formsetCreateUserEDUCATIONAL_LEVEL:[NSStringstringWithFormat:@"%@",labelEducationalLevel_text.text]];

        [formsetCreateUserEMAIL:[NSStringstringWithFormat:@"%@",email.text]];

        [formsetCreateUserGROUPEVENT:[NSStringstringWithFormat:@"India"]];

        [formsetCreateUserFUNCTIONAL_REA:[NSStringstringWithFormat:@"%@",labelFunctionalArea_text.text]];

       

        [form save];

       

        [formcreateUser:[NSStringstringWithFormat:@"%@",username.text] withEDUCATION_FIELD:     [NSStringstringWithFormat:@"%@",labelFieldOfEducation_text.text] withFUNCTIONAL_REA:[NSStringstringWithFormat:@"%@",labelFunctionalArea_text.text] withNATIONALITY:[NSStringstringWithFormat:@"%@",labelCountry.text] withEXP_YRS:[NSStringstringWithFormat:@"%@",exp.text] withLAST_NAME:[NSStringstringWithFormat:@"%@",lname.text] withSECOND_NAME:[NSStringstringWithFormat:@"%@",sname.text] withFIRST_NAME:[NSStringstringWithFormat:@"%@",fname.text] withMOBILE_NO:[NSStringstringWithFormat:@"%@",mobile.text] withDATE_OF_BIRTH:[NSStringstringWithFormat:@"%@",finalDate] withEDUCATIONAL_LEVEL:[NSStringstringWithFormat:@"%@",labelEducationalLevel_text.text] withUSERNAME:[NSStringstringWithFormat:@"%@",username.text] withEMAIL:[NSStringstringWithFormat:@"%@",email.text] withPASSWORD:[NSStringstringWithFormat:@"%@",password.text]];

       

       

        [formsubmitPending];

       

        while ([mRecruitDemoMRecruitDemoDBhasPendingOperations]) {

            [NSThreadsleepForTimeInterval:1];

           

        }

   

        [mRecruitDemoMRecruitDemoDBsynchronize];


Viewing all articles
Browse latest Browse all 6147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>