cancel
Showing results for 
Search instead for 
Did you mean: 

MBO operation crashes when using Binary (iOS RBS) (SUPPersistenceException findEntities)

vfweiss
Participant
0 Kudos

Hello all,

We have developed a custom BAPI which requires a Table with input parameters to create some data in the SAP backend.

Two of the input parameters are in SAP of the Type "xstring".

Since SUP 2.1.2+ these are mapped to the Type BigBinary in SUP.

So we have an MBO in SUP with a few Operations of the Type "Other"

One of these operations is mapped to this custom developed BAPI. Due to the issue with BigBinary not being accepted as a Client Parameter, I have taken the generated Structure and changed the BigBinary to a Binary of 2.5MB (which should be quite sufficient for photos made by an iPad 2).

Then remapped everything back to the Operation.

Ok so far this is working.

Now when working in the Application we have no problems when we do not add photo's to the Operation. Data arrives correctly in SAP and everything is great.

HOWEVER, as soon as a photo is added, everything fails on the [Operation submitPending]; statement.

The exception logged is a SUPPersistenceException, namely: "error in findEntities".

By the way, the reason the BAPI requires a Table is that in SUP 2.1.0 we had issue's when uploading Pictures as direct input parameters to SAP (only 16 chars arrived in SAP), as soon as the parameters where in a table, there were no problems.

Is this maybe a known issue or is there a part of the workaround for the problems with BigBinary that I forgot?

Yours faithfully,

Vincent Weiss

Accepted Solutions (1)

Accepted Solutions (1)

vfweiss
Participant
0 Kudos

Turned out to be an issue with the Sybase Unwired Workspace. Specifically CR-722621.

Thanks to quick assistance from SAP Support it has been solved.

So in case you run into a findEntities error in a submitPending on iOS for SUP 2.1.3 (Patch Level 1 and 2 also), SAP Support can help.

Answers (0)