Skip to Content
0
Former Member
Jun 04, 2007 at 02:30 PM

BPM Message Mapping: "Cannot produce target element /ns1:BAPI...."

12 Views

Hi,

A scenario File - BPM - BAPI call was developed, as described in blog 'RFC scenario using BPM' cfr. link

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

The Mapping is as follows:

MT_EDB_MATERIAL_REQ (1:1) --> BAPI_MATERIAL_EXISTENCE_CHECK (1:1)

MATNR (1:1) -


> MATERIAL (1:1)

When executing the scenario, an error appears in the trace of SXMB_MONI, step 'Request Message Mapping'

Cannot produce target element /ns1:BAPI_MATERIAL_EXISTENCECHECK. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd....

I tried the following:

1) import the XML-file into the testmapping: executed successfully

File:

<?xml version="1.0" encoding="UTF-8"?>

http://agfa.com/SD_EDB">

<MATNR>15P6X</MATNR>

</ns0:MT_EDB_MATERIAL_REQ>

2) Removed the mapping on node level and left mapping only on element level (material): same error

3) Activated the message mapping, interface mapping, determinations, etc again...:same error

4) Removed the Interface Mapping and created it again: same error

5) Compared the version ID of the Interface Mapping/message mapping in the Monitor trace with the version ID of the IR and saw that there was a difference.

After the CPA full cache, SXI_CACHE full refresh and object refresh in the IB Administration, the differences remain, and also the error....

Anybody an idea ?