cancel
Showing results for 
Search instead for 
Did you mean: 

(MOBILINK_COMMUNICATIONS_ERROR) at SYNCHRONIZE() Method

vivek_gaurav
Participant
0 Kudos

 

Hi All,

2013-03-07 17:49:11.876 SupervisorChecklist[14914:c07] [ERROR] [SUPViewController.m:198] -------- SUPPersistenceException: SUPPersistenceException from synchronize: -- SUPSynchronizeException: Sync failed: -1305 (MOBILINK_COMMUNICATIONS_ERROR) %1:231 %2: %3:0Details:

StreamErrorCode = 231

But the same way i tried in Visual studio C# Emulator,its working fine.

Kindly suggest me any solution to comeout this problem.

Thanks in Advance

Vivek

          I am using operation with client parameter(for mapping input parameter) for Create image in SUP (From IOS to SAP  RFC Via SUP).Whenever i am calling DBClass   SYNCHRONIZE() Method ,I am getting below Sync Failed error and the value is not coming in SAP.

Accepted Solutions (0)

Answers (1)

Answers (1)

midhun_vp
Active Contributor
0 Kudos

Are you getting the error when you are trying to update data to SAP from device or whenever you are synchronizing?

vivek_gaurav
Participant
0 Kudos

HI Mithun,

Thanks for quick reply.

I got the error while synchronizing from IOS(device) to SAP.but After IOS dev had done reset on output variable by putting some null value ,i am getting value in SAP input parameter.but now IOS side ,they are not getting any value returned output value from SAP.

Also I am facing one more problem that when ,I am mapping input variable with Client parameter or personalization key in SUP.I am not getting any BIGSTRING Datatype in  Client parameter or personalization key.Due that I am not able to get big image file.Image Data(base64) is getting truncated after 32000 character.

could you suggest which data type i can use to get Image Data like BIGSTRING.

Thanks in Advace

midhun_vp
Active Contributor
0 Kudos

Vivek, Can you explain your problem in detail.

  • What you are trying to do?
  • Screen shot of MBO you are talking about...etc
vivek_gaurav
Participant
0 Kudos

Hi Mithun

Actually Now, my syncronize method is working fine without any issue.

I am trying to get Image file From IOS to SAP Via SUP.So For mapping the input Parameter of SAP RFC,first I tried with Personalization parameter then I tried with Client parameter But both have no BIGSTRING datatype,due that I am able to receive only 32000 charcter in base64 format.

Not getting complete Base64 String.

I had attached screen shot for client parameter.

Kindly give advise what to do for Big Image file.

midhun_vp
Active Contributor
0 Kudos

Keep the datatype of the input parameter of the RFC for operation as Xstring.

Then create a personalization key with binary and try.

Actually you don't need to keep personalization keys for the Operation.

What you have to make sure that the datatype of the RFC input is Xstring.

vivek_gaurav
Participant
0 Kudos

Hi Midhun

Thanks For Reply

When i am trying to assign Xstring Parameter as input in SAP RFC then by default in SUP it is giving as Binary.But when i am generating code and giving to IOS ,they are not getting any respective data type in IOS to assign in SUP Binary.they tried with Bytes but it is not recognising in IOS(data type mismatch). So kindly suggest what data type they should use for Binary?

One more thing ,when i tried to send image data using windows Visual studio C# in string datatype (base64),it is taking complete 61791 character.It is Showing image in proper way.but same thing through IOS max 32791 is coming and not showing complete image.

so,why this difference are coming in windows and IOS?

also ,you suggested the array of Binary(10)[] .In SAP, it is simple binary.So,what changes we need to do in SAP side for getting Binary array data type in SUP.

Kindly suggest..

Thanks

Vivek

midhun_vp
Active Contributor
0 Kudos

Even IOS is not my expert domain I am answering your question. When you are using Xstring in SAP and it is changing to binary in SUP is fine.

And since it is working in Windows there is nothing to change in SUP or SAP. Workaround is sending of data from ios code to SAP in the supported datatype.

I will refer this post to some of my IOS developer friends to solve the issue.