on 12-21-2009 10:34 AM
Hello Friends,
I need your help to know the possible solution for the below mentioned problem.
My secnario is IDOC to JMS.
I have requirement from my client to add the header info at the top of the xml message. e.g.
XB0101000058PPS P101 BOFTP2 XYZ568A XYZ568 0100
<?xml version="1.0" encoding="UTF-8"?>
<Records>
<RecordType>RECORDTYPE</RecordType>
<COMPANY>COMPANY</COMPANY>
</Records>
The header should not be xml but a flat fixed length value preceding the xml.
Regards,
Sarvesh
Hi,
You can try it with XSLT mapping.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
can you try a simple Java mapping?
read the IDoc (inputstream) and the add the header and then write out to outputstream
pseudo code
String Header + String(inputsteam) = Outputstream
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Can any one provide the sample code for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
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.