Quantcast
Channel: SCN : All Content - SAP for Mobile
Viewing all articles
Browse latest Browse all 6147

Problem in synchronizing data

$
0
0

Hi all,

   I am developing an android test app (object api) for synchronizing data of BAPI_SALESORDER_GETLIST. I did the following for the MBO creation on server.

 

1. As input paramters i selected TRANSACTION_GROUP (set default value 0) , SALES_ORGANIZATION and CUSTOMER_NUMBER.

2.  Set SalesOrder table as output parameter.

3. Created 2 synchronization parameters sorgsp and custnosp.

4. Mapped the load arguments SALES_ORGANIZATION and CUSTOMER_NUMBER to sorgsp and custnosp.

 

Now in my mobile application when I do a sync

--------------------------------------------------------------------------

 

SOrderTestDB.disableChangeLog();

                              SOrderTestDB.synchronize();

                              SOrderListSynchronizationParameters spar = SOrderList.getSynchronizationParameters();

                              spar.setSorgsp("1000");

                              spar.setCustNosp("0000100000");

                              spar.save();

                              SOrderTestDB.synchronize();

                              System.out.println("Kumar came till here");

 

                   SOrderListSynchronizationParameters spar1 = SOrderList.getSynchronizationParameters();

                              spar1.setSorgsp("1000");

                              spar1.setCustNosp("0000100001");

                              spar1.save();

                              SOrderTestDB.synchronize();

----------------------------------------------------------------------

 

My first sync for values 1000 and 0000100000 succeeds but subsequently whenever I try to sync next [portion marked in bold] i get error.

I am attaching the clent and server errorlogs.

 

Please guide me why the sync error is coming whenever i try to sync the second time with new set of sync parameters. Please help me.

 

thanks and regards,

Kumar.


Viewing all articles
Browse latest Browse all 6147

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>