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