on 03-10-2011 5:26 AM
Hi ,
I need some help.
1) I am pulling the data through JMS and at JMS the data is available in
<?xml version="1.0" encoding="UTF-8"?>
<MessageHeader>
-
-
-
</MessageHeader>
<DELVRY05>
<IDOC>
-
-
-
</IDOC>
</DELVRY05>..
I want some configuration details as adapter level by which Either I can pick only the Idoc < Delvry05> Structure
or if any how I can get all the data in a single line . Please suggest
2) I want to know some solution to remove the character after xml <> tags . when, I am processing then its showing some space and coming in new line.
input is in format :
<DELVRY05>
<IDOC BEGIN="1">
<EDI_DC40 SEGMENT="1">
<TABNAM>
EDI_DC40</TABNAM>
<MANDT>
790</MANDT>
<DOCNUM>
0000000000016942</DOCNUM>
<DOCREL>
700</DOCREL>
<STATUS>
30</STATUS>
</EDI_DC40>
<E1EDL23 SEGMENT="1">
<LFART_BEZ>
Outbound Delivery</LFART_BEZ>
<TRAGR_BEZ>
On pallets</TRAGR_BEZ>
</E1EDL23>
</IDOC>
</DELVRY05>
And I want this to be as :
<DELVRY05><IDOC BEGIN="1"><EDI_DC40 SEGMENT="1"><TABNAM>EDI_DC40</TABNAM><MANDT>790</MANDT><DOCNUM>0000000000016942</DOCNUM><DOCREL>700</DOCREL><STATUS>30</STATUS></EDI_DC40><E1EDL23 SEGMENT="1"><LFART_BEZ>Outbound Delivery</LFART_BEZ><TRAGR_BEZ>On pallets</TRAGR_BEZ></E1EDL23></IDOC></DELVRY05>
Please help how to handle both issues.
HI,
Develop one module (Java program to remove the message header part) and deploy it in the PI system.
call the module bean in JMS adapter before it process the file........for more details how to write module....check in forum.
Regards,
Phani
Edited by: phani kumar on Mar 10, 2011 7:03 AM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
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.