cancel
Showing results for 
Search instead for 
Did you mean: 

Sync parameter not working for iOS native app

Former Member
0 Kudos

Hi All

Am developing iOS native apps that use generated SUP code to connect to SAP. My custom RFC has a load parameter to pick up group id from the device.

Here is the scenario:

MBO Name: GroupMbo

Sync Param: Sub Group Id

Load param: Group Id

Personalisation Key: Group Id

{load param and personalisation mapped}

{Sync not mapped to load but mapped to MBO attribute}

{MBO created from RFC output table which has group id as attribute as well}

Whenever I use sync parameter in my MBO and call it in iOS no data is returned. When I delete the sync param (& redeploy + gen code) and use personalosation instead, I am able to pull all data from SAP to CDB and then to Device. The problem is I am not able to filetr data to device using sync parameter as SUP does not seem to recognise what I pass.

How to resolve this issue? I am using 2.1.2 version of SUP. All this logic worked in 2.1 and I used to map sync and load parameter to g=refresh CDB and filter data, but now nothing is working in this version. Any clues on how to debug please?

Regards

Lnv

Accepted Solutions (1)

Accepted Solutions (1)

Ian_Thain
Developer Advocate
Developer Advocate
0 Kudos

Lnv

Can you confirm that you have successfully connected from the App to the SUP Server?

Ian

Former Member
0 Kudos

Hi Ian

Thanks for responding. I have resolved the issue and here is the answer

I had to delete the DB SUP creates to allow the sync to happen again. It was corrupted for watever reason. So the lesson learnt is whenever sync does not happen from the server and when there are no erros any where it helps to physically delete the DB created on the simulator or device to make it work. It happens on Windows mobile too, always check for the UDB file.

Regards

Lnv

Ian_Thain
Developer Advocate
Developer Advocate
0 Kudos

Thanks for sharing

Ian

Answers (0)