on 01-02-2014 7:25 AM
Dear All,
I have a native android application which using the RFC operation to update sap table.
The synchronization success update to SAP when the operation input table line item with 100 items.
But the application occurs an error "invalid patameter" when I'm trying to upload more than 1000 items.
Full error description like the following:
com.sybase.persistence.PersistenceException: com.ianywhere.ultralitejni12.implementation.JniException: UltraLiteJ Error[-735]: Invalid parameter
Anyone can help me?
Regards
Choong
Hi ,
I am also facing the same.If got solution, pls help me on this
Regards,
Dinesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Choong,
The Probable cause for UltraLite Error [-735] is An error occurred while evaluating a parameter.
i am not sure but did you check server logs and find something relevant.
meanwhile, can you check one thing, if you do the same operation (of inserting more than 1000 items) in the backned (not from device), and sync it with device, do you see any issue here?
Rgrds,
Jitendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear All,
Anyone can help me please. Do I'm the only one to face this problem? Following is my synchronization code.
PROJECTDB.disableChangeLog();
SynchronizationGroup sg2 = PROJECTDB.getSynchronizationGroup("UploadGroup");
sg2.setEnableSIS(true);
sg2.save();
PROJECTDB.synchronize("UploadGroup");
PROJECTDB.enableChangeLog();
Please help.
Regards
Choong
Highly appreciate for any comment. Thanks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Midhun,
I have a MBO which added a RFC operation, this RFC operation have 2 table input (Header and line item table) and 2 export parameters output. I pass in the input table like the following:
set header
GenericList<ZUPLOAD_HEADER> headerList_b = new GenericList<ZUPLOAD_HEADER
ZUPLOAD_HEADER header = new ZUPLOAD_HEADER();
header.setMANDT(strMandt);
headerList_b.add(header);
set line item
GenericList<ZUPLOAD_ITEMS> itemList_b = new GenericList<ZUPLOAD_ITEMS>();
ZUPLOAD_ITEMS item = new ZUPLOAD_ITEMS();
item.setMANDT(strMandt);
itemList_b .add(item);
binding RFC operation input table
UploadBE_uploadListOperation operation = new UploadBE_uploadListOperation ();
operation.setT_HEADER(headerList_b);
operation.setT_ITEMS(itemList_b);
operation.save();
UploadBE_uploadListOperation.submitPendingOperations();
synchronize operation
PROJECTDB.disableChangeLog();
SynchronizationGroup sg2 = PROJECTDB.getSynchronizationGroup("UploadGroup");
sg2.setEnableSIS(true);
sg2.save();
PROJECTDB.synchronize("UploadGroup");
PROJECTDB.enableChangeLog();
Synchronization group - UploadGroup
Change detection interval : 1 second
Cache group - UploadCGroup
On Demand : 0 second
I didn't use any personalization key in this case. When the error prompt in the device, the server log didn't generate any "Error" type log.
Any problem with the code/MBOSetting above?
Regards,
Choong
Check with given below sample code:
BE_Upload_AVLStatus List = new BE_Upload_AVLStatus ();
List.BE_uploadList(headerList_b, temList_b);
List.save();
List.submitPending();
PROJECTDB.synchronize();
If the above is not working, there can be limitation with the parameter size. So you can check whether it is working when you pass data through PKs, by mapping PKs with the import parameters of the operation.
- Midhun VP
Hi Midhun,
I tried to use pass these value as PKs but it prompt error due to the line item table is too huge that the PKs can handle. Error is the following:
The whole length of personalization parameters exceeds the limit of authenticate parameters and the safe length is 512 bytes
I will try to regenerate the MBO code and check whether it can get the method like you. Besides that, may I know what is your exact SUP version? Mine is 2.1.3.358.
UPDATE : I tried to regenerate the MBO code but its still the same. The only way to get the operation is BE_Upload_AVLStatusBE_uploadListOperation.
UPDATE 2: The reason I couldn't get the method as you suggested is because my operation is "others" type, I manage to get the method you suggested when I change the operation to "create" type but I still getting the same exception error. Please help.
Regards
Choong
Message was edited by: choong chan hol
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.