Skip to Content
0
Former Member
Feb 17, 2011 at 05:14 PM

EJB list mapping problem

39 Views

Hello experts,

I'm having a problem with a mapping of data object that is a table/list with Purchase Requisitions received from R/3. The idea is to analyse each one and then either cancel, close or change it. After the respective action on the PR I pretend to remove the respective entry from the table.

I've build an EJB following the document "Using an EJB as a Custom Mapping Function in SAP NetWeaver Business Process Management 7.2" and deployed it on the server.

Then added a Mapping activity to remove the line from the table. The function is applied to the root node of the data object.

The problem is that nothing happens, no line is removed. There are no errors on the EJB, I can see from writes to the log that the EJB indeed finds and removes the line, but the output of the mapping activity is unchanged....

The data object structure is like this:

DO_TABLE

........item

................AFNAM

................BANFN

................BANPR

................EBELN

...

Does anyone had similar problems or have any idea what I did wrong?

Best regards