on 01-16-2009 1:11 PM
Hello,
I am having a problem with my BPM. I move a file from a server to another one, without parsing the content, and I call a BAPI via RFC, passing File Name and Type.
To move the file I use a dummy message type, and before calling the RFC I have a Transformation Step with a Message Mapping between the dummy Message Type and the RFC.
In this message mapping I use constants to give value to File Name and Type.
The problem is that this BPM sometimes works, and sometimes I get a mapping error (with same data and files, looks kindda alleatory).
The mapping error I get is:
Work item 000000006293: Object CL_SWF_XI_MSG_BROKER method CALL_TRANSFORMATION cannot be executed
com/sap/xi/tf/_MM_dbaraid_RFC_java.lang.NullPointerException
Help please!
Hi
Check if your old BPM Instance are open using Tcode SWWL.
Delete all old BPM Instance.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
>so I use a dummy data type, without parsing the content.
Wrong! BPM as well as Message Mapping will parse the message. If a not valid (regarding to XML schema, defined in Repository) message arrives at BPM or Message Mapping you will have an error. You cant use dummy data type in that case.
Regards,
Udo
Ok, the scenario is quite simple.
I want to move a file from a location to another one, and then call a BAPI twice via RFC, so I have the following:
- Start
- Receive step to get the file
- Send step to move the file to another folder
- Wait Step (1 minute)
- Transformation Step to give value to the RFC Request data. I have a mapping between a dummy data type and the RFC, and I populate RFC data with constants
- Send Step, to call RFC
- Transformation Step equal to the first one, but with diferent constants
- Send Step, to call same RFC
- Stop
I get the error in the first transformation step, but it sometimes works ok.
Regards.
Hi,
ok, the datatype used in bpm receive step (abstr IF) should match with file adapter output. Your BPM starts obvisiously correct, so i assume, you send just a XML file of that datatype.
The mapping should work if you use constants, as the source should be valid to xsd. May be you choosed wrong data / IF types in IF mapping or Message Mapping but i dont think you would be able to activate that. Nevertheless plz control that.
Go to the monitoring (SXMB_MONI) and pick up the payload, what is receiving the process and store it at your disk. Open Respository / Message Mapping / Test and load the file. If the fields are marked red, the XML does not match to the defined data type. Switch trace as much as possible and then test the mapping. Result should be the same as runtime result.
Regards,
Udo
Hi,
>sometimes works, and sometimes I get a mapping error
strange! Plz check out deleting of old workitems in SWWL.
Regards,
Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Take a look at note 830803.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
88 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.