Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Sync parameter not working for iOS native app

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

Tags:
Former Member
Former Member replied

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

1 View this answer in context
Not what you were looking for? View more on this topic or Ask a question