on 09-12-2011 2:28 PM
Hi,
in a message-mapping (inbound messages from external partners), I have a UDF where I read the PI messageID from runtime as described in differnt posts here. The messageId is mapped in an IDoc text field. Unfortunately the format of the messageID is different compared to the messageID I see in sxmb_moni in SOAP header.
In sxmb_moni it is like this: A1B-c2C
The result in my mapping / IDoc is: a1bc2c
The problem is the missing - characters. Any idea about this problem? I need the messageID exactly as it is shown in sxmb_moni.
Otherwise I maybe could rebuild the messageID in the format which I need. To do this I should know how the messageID is built up in general: Are the "-" alwasy in the same place?
Thanks,
Christoph
Check the target field's data type. It might be due to data type mismatch.
Regards
Raj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Christoph,
Can you test using the test tab in message mapping of design time configurations, we can come to know at-least the UDF is fine
regards
Ramesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello,
well, the UDF is working fine, and the messageID is mapped into the IDoc. The problem is just the format of the messageID.
When I test it in the mapping test environment (by setting a dummy messageID like a1a-b2b int he parameter tab), the format of the messageID is just fine. But during runtime the format of the messageID is different.
Thanks,
CHristoph
User | Count |
---|---|
81 | |
9 | |
9 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.