Quantcast
Channel: SCN : Unanswered Discussions - SAP for Mobile
Viewing all 5512 articles
Browse latest View live

SUPPersistenceException: (null) when synchronizing SUPDB how to find error?

$
0
0

I am building an application on iOS consuming MBOs from SUP 2.1.3PL2. I connect to SUP via a Relay Server.

 

When I use a simple Mobile Application containing only one MBO I can synchronize the data to my device without a problem.

 

Now I try using similar code and synchronizing data from another Mobile Application using 3 MBOs filled per DCN.

After [MySUPDB synchronize] the following entry is displayed in the log:

[sup_ul_db_DatabaseManagerImpl.mm151] create schema directly...

SUPPersistenceException: (null)

I guess the error is related to a problem with my MBOs but how can I debug the synchronize processs or find more info about it?

 

I already examined the iAnywhere Database but could not find a problem there. I have three MBOs, one of it contains 2 entries, the others are empty.

 

I also had a look into the app data (esp. the mocaLog.txt) but could not spot a hint either. In the documents folder there is a file named myApp1_0.udb.new in relation to a file myOtherApp1_0.udb where the synch is working. So there seems to be a problem when creating the local database on the device but how can I find this error?

 

Message was edited by: Mark Teichmann I now enabled the trace in the SUPConnectionProfile and got following trace info: 2013-01-10 14:33:08.391 MoMa3[3424:907] [SQL TRACE][DEBUG] create database :/var/mobile/Applications/F12A3425-3E62-4603-B7B7-2CB1DE3858A4/Documents/moMa21_0.udb 2013-01-10 14:33:08.426 MoMa3[3424:907] [SQL TRACE][DEBUG] {thread:0x1ed185a0}: connecting to database: /var/mobile/Applications/F12A3425-3E62-4603-B7B7-2CB1DE3858A4/Documents/moMa21_0.udb.new, returned dbhandle:0x1f8966a0 2013-01-10 14:33:08.433 MoMa3[3424:907] [DEBUG] [sup_ul_db_DatabaseManagerImpl.mm:151] create schema directly... 2013-01-10 14:33:08.435 MoMa3[3424:907] [SQL TRACE][DEBUG] create table "moma2_1_0_almorder_os" ("a" varchar(48) null,"b" varchar(160) null,"c" date null,"d" date null,"e" varchar(160) null,"f" varchar(72) null,"g" varchar(160) null,"h" varchar(32) null,"i" varchar(40) null,"j" varchar(140) null,"l" varchar(140) null,"m" varchar(40) null,"n" varchar(140) null,"o" varchar(64) null,"_pf" tinyint null default 'N',"_pc" char(1) null,"_rp" decimal(20,0) null,"_rf" decimal(20,0) null,"p" decimal(20,0) null,"_rc" decimal(20,0) null,"_ds" tinyint null, primary key ("p", "_pf") ,SYNCHRONIZE DOWNLOAD) 2013-01-10 14:33:08.446 MoMa3[3424:907] [SQL TRACE][ERROR] {thread:0x1ed185a0,dbConn:0x1f8966a0}: ERROR: -110 (ERROR) %1:moma2_1_0_almorder_os 2013-01-10 14:33:08.615 MoMa3[3424:907] 0   MoMa3                               0x00277327 +[SUPSqlTrace error:withThrow:withMessage:] + 178 2013-01-10 14:33:08.617 MoMa3[3424:907] 1   MoMa3                               0x0027725f +[SUPSqlTrace throwableError::] + 106 2013-01-10 14:33:08.619 MoMa3[3424:907] 2   MoMa3                               0x002c56ef -[sup_ul_db_ConnectionWrapperImpl traceError:] + 110 2013-01-10 14:33:08.620 MoMa3[3424:907] 3   MoMa3                               0x002c5653 -[sup_ul_db_ConnectionWrapperImpl throwPersistenceException] + 102 2013-01-10 14:33:08.621 MoMa3[3424:907] 4   MoMa3                               0x002c599f -[sup_ul_db_ConnectionWrapperImpl executeNonQuery:] + 126 2013-01-10 14:33:08.622 MoMa3[3424:907] 5   MoMa3                               0x002c6471 -[sup_ul_db_DatabaseManagerImpl createDatabase::] + 700 2013-01-10 14:33:08.622 MoMa3[3424:907] 6   MoMa3                               0x0028025f -[SUPAbstractDBRBS getConnectionWrapper] + 398 2013-01-10 14:33:08.623 MoMa3[3424:907] 7   MoMa3                               0x00257361 -[SUPKeyGenerator findAll::] + 552 2013-01-10 14:33:08.624 MoMa3[3424:907] 8   MoMa3                               0x002577d5 -[SUPKeyGenerator findAll] + 28 2013-01-10 14:33:08.625 MoMa3[3424:907] 9   MoMa3                               0x0027a94d -[SUPSynchronizationGroupImpl getClientId:] + 104 2013-01-10 14:33:08.626 MoMa3[3424:907] 10  MoMa3                               0x0027a599 -[SUPSynchronizationGroupImpl init::] + 168 2013-01-10 14:33:08.627 MoMa3[3424:907] 11  MoMa3                               0x0027a4c9 +[SUPSynchronizationGroupImpl getInstance:withDBDelegate:] + 44 2013-01-10 14:33:08.628 MoMa3[3424:907] 12  MoMa3                               0x00220aef -[SUPDatabaseDelegate getSynchronizationGroup:] + 214 2013-01-10 14:33:08.629 MoMa3[3424:907] 13  MoMa3                               0x00224133 -[SUPDatabaseDelegate synchronizeWithCallback:withListener:withUserContext:withJson:] + 458 2013-01-10 14:33:08.630 MoMa3[3424:907] 14  MoMa3                               0x00223f5d -[SUPDatabaseDelegate synchronize:withListener:withUserContext:] + 88 2013-01-10 14:33:08.631 MoMa3[3424:907] 15  MoMa3                               0x00223efd -[SUPDatabaseDelegate synchronize:withListener:] + 40 2013-01-10 14:33:08.632 MoMa3[3424:907] 16  MoMa3                               0x00223ec9 -[SUPDatabaseDelegate synchronizeWithListener:] + 52 2013-01-10 14:33:08.633 MoMa3[3424:907] 17  MoMa3                               0x001b3acf +[iagMoMa2DB synchronizeWithListener:] + 54 2013-01-10 14:33:08.634 MoMa3[3424:907] 18  MoMa3                               0x0002dad9 -[iagAppDelegate onConnectSuccess:] + 1128 2013-01-10 14:33:08.635 MoMa3[3424:907] 19  CoreFoundation                      0x3a302037 _CFXNotificationPost + 1426 2013-01-10 14:33:08.636 MoMa3[3424:907] 20  MoMa3                               0x00031ed9 -[CallbackHandler sendNotification:] + 72 2013-01-10 14:33:08.637 MoMa3[3424:907] 21  Foundation                          0x3569e8ed <redacted> + 460 2013-01-10 14:33:08.638 MoMa3[3424:907] 22  CoreFoundation                      0x3a386683 <redacted> + 14 2013-01-10 14:33:08.638 MoMa3[3424:907] 23  CoreFoundation                      0x3a385ee9 <redacted> + 212 2013-01-10 14:33:08.639 MoMa3[3424:907] 24  CoreFoundation                      0x3a384cb7 <redacted> + 646 2013-01-10 14:33:08.640 MoMa3[3424:907] 25  CoreFoundation                      0x3a2f7ebd CFRunLoopRunSpecific + 356 2013-01-10 14:33:08.641 MoMa3[3424:907] 26  CoreFoundation                      0x3a2f7d49 CFRunLoopRunInMode + 104 2013-01-10 14:33:08.642 MoMa3[3424:907] 27  Foundation                          0x355f178f <redacted> + 254 2013-01-10 14:33:08.643 MoMa3[3424:907] 28  Foundation                          0x355fa54f <redacted> + 86 2013-01-10 14:33:08.644 MoMa3[3424:907] 29  MoMa3                               0x0002f65f -[iagAppDelegate initializeMoMa] + 4778 2013-01-10 14:33:08.645 MoMa3[3424:907] 30  MoMa3                               0x0002c24d -[iagAppDelegate alertView:clickedButtonAtIndex:] + 444 2013-01-10 14:33:08.646 MoMa3[3424:907] 31  UIKit                               0x38512b71 <redacted> + 296 2013-01-10 14:33:08.647 MoMa3[3424:907] 32  UIKit                               0x384a60a5 <redacted> + 72 2013-01-10 14:33:08.648 MoMa3[3424:907] 33  UIKit                               0x384a6057 <redacted> + 30 2013-01-10 14:33:08.648 MoMa3[3424:907] 34  UIKit                               0x384a6035 <redacted> + 44 2013-01-10 14:33:08.649 MoMa3[3424:907] 35  UIKit                               0x384a58eb <redacted> + 502 2013-01-10 14:33:08.650 MoMa3[3424:907] 36  UIKit                               0x384a5de1 <redacted> + 488 2013-01-10 14:33:08.651 MoMa3[3424:907] 37  UIKit                               0x383ce5f1 <redacted> + 524 2013-01-10 14:33:08.652 MoMa3[3424:907] 38  UIKit                               0x383bb801 <redacted> + 380 2013-01-10 14:33:08.653 MoMa3[3424:907] 39  UIKit                               0x383bb11b <redacted> + 6154 2013-01-10 14:33:08.654 MoMa3[3424:907] 40  GraphicsServices                    0x3c1f85a3 <redacted> + 590 2013-01-10 14:33:08.655 MoMa3[3424:907] 41  GraphicsServices                    0x3c1f81d3 <redacted> + 34 2013-01-10 14:33:08.656 MoMa3[3424:907] 42  CoreFoundation                      0x3a386173 <redacted> + 34 2013-01-10 14:33:08.656 MoMa3[3424:907] 43  CoreFoundation                      0x3a386117 <redacted> + 138 2013-01-10 14:33:08.657 MoMa3[3424:907] 44  CoreFoundation                      0x3a384f99 <redacted> + 1384 2013-01-10 14:33:08.658 MoMa3[3424:907] 45  CoreFoundation                      0x3a2f7ebd CFRunLoopRunSpecific + 356 2013-01-10 14:33:08.659 MoMa3[3424:907] 46  CoreFoundation                      0x3a2f7d49 CFRunLoopRunInMode + 104 2013-01-10 14:33:08.660 MoMa3[3424:907] 47  GraphicsServices                    0x3c1f72eb GSEventRunModal + 74 2013-01-10 14:33:08.661 MoMa3[3424:907] 48  UIKit                               0x3840f2f9 UIApplicationMain + 1120 2013-01-10 14:33:08.662 MoMa3[3424:907] 49  MoMa3                               0x0002c069 main + 96 2013-01-10 14:33:08.663 MoMa3[3424:907] 50  libdyld.dylib                       0x3c691b20 <redacted> + 0 2013-01-10 14:33:08.669 MoMa3[3424:907] SUPPersistenceException: (null) Is there anybody out there who finds the error here?


iOS App SUP ErrorCode 571

$
0
0

Hello guys,

 

currently i'm developing an app for iOS. The connection to SUP can be established, the first error code i receive is 571 and it is followed by error code 514.

I already found this error code in the list of known issues under CR 695671 and it is mentioned that this happens due to small heap size.

I wonder about this error because the result set contains only 1 data row.

After getting this error each further test results in error code 514 and i think this is also related to this CR.

 

Are there other possible solutions known for this issue?

 

Regards

HWC and ODATA Application.

$
0
0

Hi All,

       Is it possible for me to have both HWC application (Server initiated) and ODATA based application in one Device for a single user?

       Can anyone let me know what could be the challenges in getting it done, Also from a technical stand point is it correct to propose those kind of solution.

      My current version of SUP is 2.1.3 with patch 2.

Thanks

-Arun

Error while developing SAP Netweaver mobile App

$
0
0

Hi All,

I am developing Sample NetWeaver Gateway Application Application in android.

I am able to connect directly to Gateway Server and I am getting Data on my Android Device.

When I connect via SUP Server, I get Error While Making Request.

 

Android Log is:

01-10 17:53:23.859: E/MDP(707): zAlQO90g (com.sybase.mobile.lib.client.SUPServerRmiCalls:makeRequest:246) Exception while making request

01-10 17:53:23.859: E/MDP(707): Error: 553 Message: 'readByte: unexpected EOF'

01-10 17:53:23.859: E/MDP(707):           at com.sybase.mo.MoObject.ConvertTmExceptionToMoException(MoObject.java:868)

01-10 17:53:23.859: E/MDP(707):           at com.sybase.mo.MoObject.execute(MoObject.java:683)

01-10 17:53:23.859: E/MDP(707):           at com.sybase.mobile.lib.client.SUPServerRmiCalls.makeRequest(SUPServerRmiCalls.java:158)

01-10 17:53:23.859: E/MDP(707):           at com.sybase.mobile.lib.client.SUPServerRmiCalls.makeRequest(SUPServerRmiCalls.java:243)

01-10 17:53:23.859: E/MDP(707):           at com.sybase.mobile.lib.client.IMOConnectionFactory.makeRequest(IMOConnectionFactory.java:305)

01-10 17:53:23.859: E/MDP(707):           at com.sybase.mobile.lib.client.IMOConnectionHandler.performRequest(IMOConnectionHandler.java:335)

01-10 17:53:23.859: E/MDP(707):           at com.sybase.mobile.lib.client.IMOConnectionHandler.makeHttpRequest(IMOConnectionHandler.java:176)

01-10 17:53:23.859: E/MDP(707):           at com.sap.mobile.lib.sdmconnectivity.AbstractConnectionHandler.processRequestType(AbstractConnectionHandler.java:193)

01-10 17:53:23.859: E/MDP(707):           at com.sap.mobile.lib.sdmconnectivity.AbstractConnectionHandler.processRequestsFromQueue(AbstractConnectionHandler.java:128)

01-10 17:53:23.859: E/MDP(707):           at com.sybase.mobile.lib.client.IMOConnectionHandler.run(IMOConnectionHandler.java:97)

 

Domain Logs:

 

Error=java.lang.SecurityException was thrown by method com.sybase.djc.mobilink.LoginHandler:authenticateUser(String user, String password, String securityConfiguration)\njava.lang.SecurityException: Login Failed: user '@HTTPconnection'. Account is locked due to previous login failures. Account will be unlocked in 59 seconds.

 

I chcked my Account Credentials of GW system n SUP. They are not locked.

 

SUP Server Configurations are:

I maintained Application Endpoint As : http://(Gateway Server IP ):(Gateway Server Port )/sap/opu/odata/sap/Z_BANK_SERVICE_372/

Application ID is created.

 

Connection Parameters On Android App:

1. SUP Host Name

2. SUP Port Number

3. Security Config

4. Farm ID

5. base_url = http\:// (GW Server IP ) \: (GW Server Port )/sap/opu/odata/sap/Z_BANK_SERVICE_372

6. Application ID

 

Please Help me out Solving this Problem

SUP native iOS App, Create Object with Relationship and BAPI

$
0
0

Hi there,

 

currently I'm facing some issues with SUP 2.1.0 in a native iPad Application.

 

Long story short:

- one A has many B's

- create object A locally

- A has no primary key

- create object B locally

- since A has no primary key, B can't have this as a foreign key

- submit pending changes

- A gets a primary key

- B doesn't get his foreign key value, because the "create" of B is called at a time where A didn't have a primary key value

 

This is the Szenario:

 

I have two MBOs based on two search BAPIs. The MBOs have create operations based on create BAPIs

BAPI_SEARCH_BUSINESSPARTNER

In

- City

 

Out

- *BP Number

- Name 1

- Name 2

- etc.

 

BAPI_CREATE_BUSINESSPARTNER

In

- Name 1

- Name 2

- etc.

 

and

BAPI_SEARCH_OPPORTUNITIES

In

- BP Number

 

Out

- *Op Number

- Description

- Start Date

- etc.

 

BAPI_CREATE_OPPORTUNITIY

In

- BP Number

- Description

- Start Date

- etc.

 

For the Input Parameter of the BAPI_SEARCH_BUSINESSPARTNER I created a Personalization Key. So the Application gets Data based on the given City. Between MBO_BP and MBO_OPP is a relationship (one-to-many). The BP Number of MBO_BP is mapped to the Load Parameter (BP Number) of MBO_OPP.

 

Reading data is working good. I can access the relevant business partners and their opportunities.

 

I also want to create data. Therefore, I have create Operations in MBO_BP and MBO_OPP which are bound to create BAPIs. This is also working.

 

Here is the problem:

 

If I'm offline with the iPad and create a business partner, a local entitiy is created. This entitiy doesn't have a BP_Number because BP_Number is generated in the SAP backend system. Now I want to add an opportunity to this business partner. In the iPad Application I instantiate a new Opportunity, set the reference to the business partner and call create.

 

[newOpp setBusinessPartner:[self bp]]

[newOpp create]

 

this creates the local entity. Locally, the data is fine: A business partner is created which has the new opportunity.

 

When the application goes online again, the new local data will be submitted to the server. The problem: since the local bp_number of the new business partner is empty (because it's generated by SAP), a empty value will be passed for the create operation of the opportunity.

 

So the BAPI_CREATE_OPPORTUNITY will be called without the BP Number.

 

I added a Diagram of my Project (I hope it's not extremely confusing). Maybe you can see an error in my modeling.

 

Thanks,

 

Christian Hoff

The SAP BI Mobile Application is stuck on "Logging in".

$
0
0

Hello,

 

I have just configured the SAP BI Mobile application with SUP by following the guide "SAP BusinessObjects Mobile (for iOS) 4.3.3".

 

When I enter the login details for my app ie:

 

Security Configuration: MobiSec

 

Server: <Relay server host name>

Port: 80

Farm ID: <SUP Messaging Farm ID>

 

Username: <login name>

Password: <password>

 

And click register, a prompt pops up saying "Do you want to connect to SUP Connection" and i say yes.

 

Another prompt pops up saying "loading" and then changes to "Logging in" but then it just sits at logging in until i close the app.

 

In SUP I can see the user <login name>@MobiSec and it says it is online but doesn't seem to be sending anything down to the device.

 

Is there something I am missing or some other config I can check?

 

Please help.

 

Thank you!!

Translations in SAP mobile applications

$
0
0

Hi everyone!

 

We using SAP Mobile application "SAP Leave Request". It works fine, but some labels have broken translations.  Instead of russian we getting german.

Logging language = RU, phone language = RU.

 

Can somebody tell us how can we correct them?

 

Thanks in advance.

Dmitry.

DM generation error in DOE Workbench for CRM Mobile Sales

$
0
0
Hi,
I'm installing SAP CRM Mobile Sales using CRM 7.0, NWM 7.1 SP14, GW1.1 SP09.
The SAP_BASIS 7.1 has been generated with out errors and is consistent.
All Data Objects and Adapters of the "MAS_CRMSALES_DMSWCV , 2.0 of  SAP" has been generated with out errors.
We are having serious issues concerning the generation of the Distribution Models(DM). This is due to a generation error in the class ZDOE_CL_RR05J052002 for method IF_RR_BASE~DEP_CALC_DEL.
In this method there are a syntax error - see following paste from generated code from method IF_RR_BASE~DEP_CALC_DEL.

data : lt_link1 type  table of  .

  data : ls_link1 type   .

  data : lt1_link1 type  table of  .

  data : ls1_link1 type   .

 

Due to the error in this data definition where types are missing, it is not possible to generate the DM.

 

We have tried regenerate all - SAP BASIS 7.10 and all objects of  "MAS_CRMSALES_DMSWCV , 2.0 of  SAP" again - same result.

 

Any new ideas are welcome - thanks

 

Br

Jacob


Problem with Default Date in SUP 2.1.3

$
0
0

Hello,

 

I am working on SUP 2.1.3. I want to set a default date with the criteria today+2 days (today is the current date). But when I tried to set it in the Default Field, neither the EditBox shows me default date, nor it allows me to enter a new date. Can anybody help me with this?

 

Thanks.

SAP Workflows 1.2.1

$
0
0

Hello Gurus,

 

I am trying to install the software for Sybase Mobile Workflows 1.2.1.  While installing, I get prompted for an SAP Library (whether it is installed or not).  I am running th installation on a 64-bit box with Sybase Unwired Platform 2.1.3...  How can I check if I have the SAP Library on my 2.1.3 install?

 

Checking documentation, it only refers to SUP 2.0 workspace installations.

 

Any type of instance will be highly appreciated...

 

Cheers

Online Request in Workflow with button created for me via code

$
0
0

Hi friends,

I have an doubt...

 


How to createa buttonincustom.jsto performthe function"Online Request"
I triedas follows:
1 -Create amenuitem/ buttonto online request in the eclipse sdk
2 -generateworkflow
3 -go toworkflow.jsand copythe created function"
menuItemCallBack_...()" to custom.js
4 -Removethemenuitem/ buttoncreatedinworkflow
5 -createa buttonviacode inthe eventcustom.js"custombeforeshowscreen" and"onClick" event of the button, call the function "
menuItemCallBack_...()".
But itis not working, is returningthe error messagethat I set

Anyone knowa solution?
thank you

Distribution Rule not activating

$
0
0

Hey Guys...

 

We are on Mobile 7.10 SP 12.

We just imported a transport in Production with three updated data objects and their corresponding distribution rules...

 

We are able to genetare the data objects, the back end adapters and the distribution models but not able to activate de distribution rules.

 

There are no errors at all, one just clic on activate and it just displays the deactivated rule again.

There are no entries in ST22, SMQ2,,,

 

The DM are in "consistent state".

We have even gone a little far on using the SDOE_RSM transaction  and also run the report SDOE_REPAIR_DM_POSTGEN with same results.

 

So... We are in production with no business data.

 

Thank you.

 

David

HWC Attachment issue in Android simulator

$
0
0

Hi Experts,

 

 

We are facing an issue on attachment in HWC, I am testing it in android simulator.

 

I have called a below method on button click in my screen from custom.js,

 

getPicture(onGetPictureError, onGetPictureSuccess {

                  sourceType : PictureOption.SourceType.PHOTOLIBRARY,

                  destinationType : PictureOption.DestinationType.IMAGE_DATA

}

 

it is throwing me below error,

 

  • PictureError.BAD_OPTIONS = -4; – supplied options were not recognized.

 

Have anyone faced this issue, same thing is working in the actual android device, problem is only with the simulator.

 

let me know your views.

 

Thanks and Regards,

 

Peter Dinesh.

Relay Server and Afaria

$
0
0

Hi,

 

I recently set up a Relay Server for my Afaria system. While trying to connect to the Afaria Server via Relay server, I am getting the following error on the Relay Server Log.

 

I. 2013-01-14 18:45:27. <4576.4620.F14B0S1R0> New request for new session from Afaria iPhone Client

 

E. 2013-01-14 18:45:27. <1140.3748.F14B0Dn> RSF13008: Systemfehler [SYS5: Access is denied...] beim Initialisieren der Semaphore für die Warteschlange für Download-Pakete des Backend-Servers 'XX' in der Backend-Farm 'XX-XXXXXX' während des Pushs eines OE_SERVER_RESPONSE-Pakets

 

E. 2013-01-14 18:45:28. <4576.4620.ShmDebug> RSF11016: Freigabe von bereits freigegebenem Speicherblock im gemeinsamen Speicher

 

E. 2013-01-14 18:45:28. <4576.4620.F14B0S1R0> RSE4007: Abbruch der Client-Anforderung an den Backend-Server 'XX' in Backend-Farm 'XX-XXXXXX' aufgrund eines unerwarteten Paket-Opcodes ???!4x über DOWN-Kanal vom Outbound Enabler

 

W. 2013-01-14 18:45:28. <4576.4620.F14B0S1R0> Server response NOT completed. Remaining 0 of 0 bytes.

 

I. 2013-01-14 18:45:28. <4576.4620.F14B0S1R0> Signal OE to disconnect non-persistent backend connection

 

Below are the only information I found on the web. Can anyone tell me what could be the issue??

 

http://dcx.sybase.com/1200/en/saerrors/rserrors13008.html

http://dcx.sybase.com/1200/en/saerrors/rserrors11016.html

http://dcx.sybase.com/1200/en/saerrors/rserrors4007.html

 

Regards

Vivek Das

Enable Create/Edit Settings for Transactions and Master Data

$
0
0

Hello.

 

sup2.1.3;

SAP CRM SALES V2.1;

Iphone 5; 

Enable Create/Edit Settings for Transactions and Master Data:
After the configuration is changed, there is not any change in the mobile terminal .

Thank you.


activity can’t be displayed on the Calendar

$
0
0

Hello.

 

sup2.1.3;

SAP CRM SALES V2.1;

Iphone 5: Setting-calendar-activity- display in calendar-appoint (on).

but any activity can't be displayed on the Calendar.

thank you

compiler exception during deployment since 2.1.3, bapi + relation

$
0
0

Hi,

 

I just updated SUP to 2.1.3 and can't deploy my project anymore (worked with 2.1.0). I have two MBOs BusinessPartner and Opportunities. Both MBOs are in relation. The primary key of BusinessPartner, BP_NUMBER, is mapped as an One-To-Many relation to the load parameters of Opportunities (see picture).

 

This relation will cause an deployment error with the following exception (see MBO Relation Log.txt):

 

2013-01-15 09:25:07.270 CONSOLE MMS Thread-209 [com.sybase.sup.server.Console]Note: Recompile with -Xlint:unchecked for details.

2013-01-15 09:25:07.270 CONSOLE MMS Thread-209 [com.sybase.sup.server.Console]Note: Some input files use unchecked or unsafe operations.

2013-01-15 09:25:07.270 CONSOLE MMS Thread-209 [com.sybase.sup.server.Console]^

2013-01-15 09:25:07.270 CONSOLE MMS Thread-209 [com.sybase.sup.server.Console]$tmpBU_PARTNER_5 = INPUT.BU_PARTNER;

2013-01-15 09:25:07.270 CONSOLE MMS Thread-209 [com.sybase.sup.server.Console]location: class BPCNewMobile.server.Opportunity

2013-01-15 09:25:07.270 CONSOLE MMS Thread-209 [com.sybase.sup.server.Console]symbol  : variable INPUT

 

If I delete the relation, it will deploy. This relation did work in 2.1.0 though.

 

Any thoughts?

 

Thanks,

Christian

SAF Afaria Error while connecting through i-Phone

$
0
0

Hello Gurus,

I am new to the SAP Afaria.recently we have set up the Afaria server, also I have downloaded SAP afaria on my i-Phone.

itried to give all credntials but not able connect.

Can you please guide me how to configure and connect to Afaria server through mobile.

 

Thanks in advance!

 

Regards,

Paresh

Afaria Port Configuration

$
0
0

Hi Community,

 

I am new to Afaria and would like some clarification on something that is confusing me.

 

Once I have installed Afaria and configured the relay server as in the Afaria 7 administration manual and try and enroll my device I am getting an Enrollment Failed message.

 

In the Afaria Admin console under the Server > Configuration > Communication > Device Communication I am using port 81 for HTTP because I read that Afaria uses port 80.

 

I have disabled the firewall but I am still getting the Enrollment Failed on the device.

 

Is there anything else I need to check or other config I need to do on either the Relay Server side or on the Afaria server?

 

I would also like to know if I am using a Relay Server with Afaria how would I enroll my device if I am not on the office network?

 

Thank you for your help and your time!

 

Regards

 

Jared

How to use SCC registered user credentials in Android native code?

$
0
0

Hi ,

 

I developed an android native application that talk to SAP via SUP.

The credentials I am passing as input is the SCC username and password (supAdmin and s3pAdmin).

 

I want to connect to the Unwired server with the credentials of the registered user instead of the SCC login credentials.

 

The code I used now is :

 

try {

 

                                        ConnectionProperties connProps = app.getConnectionProperties();

                                        connProps.setServerName(HOST);

                                        connProps.setPortNumber(PORT);

  ApprovalDB.setApplication(app);

                                        LoginCredentials loginCredentials = new LoginCredentials(

                                                            USERNAME, PASSWORD);

                                        connProps.setLoginCredentials(loginCredentials);

 

                                                  if (app.getRegistrationStatus() != RegistrationStatus.REGISTERED) {

 

 

                                                            app.registerApplication(600);

                                                  } else {

                                                            app.startConnection(600);

                                                  }

                                        } catch (Exception e) {

                                                  returnMsg = e.getMessage();

                                        }

 

Please give a solution.

SUP Ver2.1.3

 

Thanks

Midhun

Viewing all 5512 articles
Browse latest View live


Latest Images