on 2006 Jul 03 5:31 AM
Hi all,
i am doing a senario invovling file to file . my senario is collecting n messages of same type into 1 message.
i have only one maaping in the BPM,in the foolowing way:
bpm message type as o to unbounded and inbound message type as 1.
but i am getting the mapping error during the transformation step in BPM .
cheers
Hi,
Check wat is the error in "sxmb_moni_bpe" Tcode. if it shows some problem like "CALL_TRANSFORMATION cannot be executed", then the problem may be with work items.
I was facing a similar problem. Since there was lot of work items created, it was not executing properly.
Try deleting the workitems using the tcode "swwl" and then execute the scenario.
hope this helps.
regards,
P.Venkat
Message was edited by: Venkataramanan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi all,
still the same error persists , should i use any fucntions while doing message mapping, or simply direct mapping is enough. any web log would be helpfull.
is only one interface mapping is enough in transformation step or anything else is required.
because when i saw the runtime value of the container element in the BPM it is collecting n the messages but in the transformation step when i map the Multiline container value into the message type it gives me the mapping problem.
cheers
hi Bhavesh,
my xmil file is something like this
<?xml version="1.0" encoding="UTF-8"?>
<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">
<ns0:Message1>
<ns1:MT_FILE_OUTPUT xmlns:ns1="http://WS_BPM">
<ID>abcd</ID>
<DESC>fileone</DESC>
</ns1:MT_FILE_OUTPUT>
</ns0:Message1>
</ns0:Messages>
which tag should be removed fro here
here there i will be collecting five files of this type into one file.
so what should i do.
i am getting the following error in the transformation step as:
com/sap/xi/tf/_MM_BPM_TO_BPMMULTIPLE_com.sap.aii.u
tilxi.misc.api.BaseRuntimeExceptionRuntimeExceptio
n in Message-Mapping transformatio~
cheers
Hi Rajani,
Yes , you should remove them from the source file.
<i>when i did that , out of four files sent i am getting only one file in the recieveing system</i>
Isnt this what you are trying? Collect four files and then combine them into a single file using the transformation in the BPM?
Isnt your functionality satisfied?
regards,
Bhavesh
hi Bhavesh,
in the BPM i am making the following things first i am looping for four times , inside the loop i have used recieve step and append into container element of multiple type and then in the outside of loop i have put th etransformation step and thet i have used the transformation step to transfer the collected file into one file.
in the interface mapping,
the target interface is 0,unbounded.
the source interface is 1.
in the message mapping.
the source message type is 0,unbounded.
the target message type is 1.
but still i am able to get only one file that is the first file in the receiveing system.
i checked the runtime component in the BPm the Multiline container element is having 4 lines( the collected files).
the output message type is having only one line.
cheers
Rajani,
This looks to be a mapping error. You must have made some mistake in the occurence of your target datatype.
Can you post the target structure that you have created with the occurence.?
You will have to one element to be 1..Unbounded so that for every source file, one record is created in the target.
Regards,
Bhavesh
Hi rajani,
The target doesnt have an element with orrucrence 0 to unbounded and dats d problem.
Create your target of this format,
MT_FILEINPUT 1..1
fileroot 0.ub
ID 1..1
Desc 1..1
<b>Source :</b>
<ns1:MT_FILE_OUTPUT xmlns:ns1="http://WS_BPM">
<ID>abcd</ID>
<DESC>fileone</DESC>
</ns1:MT_FILE_OUTPUT>
Do not change the occurence of your destination message in your message mapping and interface mapping.
In your message mapping, map the MT_FILE_OUTPUT of source to FILEROOT of target..!!
Regards,
Bhavesh
Hi Rajani
You please re import your Integration Process into Integration Directory and update runtime cache.
I also had same problem earlier,once you have made changes in IP in your IR , you must re import it again in the ID.
Hope it will be helpful.
Thanks
Prasad Nemalikanti
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Kumar,
Check the occurences in both the message mapping and the interface mappings. Test them separately by duplicating the messages.
Also check the following documentation reagrding bundling messages into one interface(if you havent already)...:-
http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm
Regards,
Sushumna
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check for the follwing
<b>Message Mappinng :</b>
Source Message Type has an Ocurence of 0 to UB
<b>Interface Mapping:</b>Source Message Interface has an occurence of 0 to UB
The container element created for the SOurce is multiline in your BPM.
Regards,
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Also check this blog <a href="/people/michal.krawczyk2/blog/2005/09/16/xi-how-to-test-your-mapping-in-real-life-scenarios">Test Mapping</a> and the section <i>Testing mapping programs with the use of BPM</i> to get the payload of your mapping step and to test the mapping using this payload.
Regards,
Bhavesh
Hi rajani,
test your mapping as mentioned in the blog by michal.
take the source payload for the mapping out of the BPM , copy it into the test message in IR and then test the mapping.
You will be able to get the exact reason as to why the error is occuring.
Also, in SXMB_MONI, what is the error that is being displayed for the mappaing step?
Regards,
Bhavesh
User | Count |
---|---|
66 | |
10 | |
10 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.