on 01-10-2009 8:42 PM
Hi All,
I have a scenario where I have to pick a flat file from WebSpear JMS Q.In turn I should convert flat structure into xml structure to parse to the RFC structure(YOTCS_I090_INV_S) and map to the traget structure.
Below is the Source structure:
Messages
->Message1
-->YOTCI_I090_INV_SYNC
--->YOTCS_I090_INV_SYNC
-
>item
-
>ZDATE
-
>TIME
-
>TZONE
-
>WERKS
-
>MATNR
-
>LGORT
-
>CHARG
-
>SOBKZ
-
>INSMK
-
>LIFNR
-
>ZMENGE
-
>ZMEINS
-
>LOT_NUMBER
-
>CODE_DATE
Source file look's as below:
YOTCS_I090_INV_S 4928
YOTCS_I090_INV_S 3
YOTCS_I090_INV_S 3
YOTCS_I090_INV_S 1
I am doing the file contact conversion as below in JMS Adapter:
Module Key ParameterName ParameterValue
Plain2XML Transform.Class com.sap.aii.messaging.adapter.Conversion
Plain2XML Transform.ContentType text/xml;charset=utf-8
Plain2XML xml.conversionType StructPlain2XML
Plain2XML xml.documentName YOTCI_I090_INV_SYNC
Plain2XML xml.documentNamespace urn:sap-com:document:sap:rfc:functions
Plain2XML xml.item.fieldFixedLengths 8,8,6,4,18,4,10,1,1,10,13,3,10,8
Plain2XML xml.item.fieldNames ZDATE,TIME,TZONE,WERKS,MATNR,LGORT,CHARG,SOBKZ,INSMK,LIFNR,ZMENGE,ZMEINS,LOT_NUMBER,CODE_DATE
Plain2XML xml.processFieldNames fromConfiguration
Plain2XML xml.recordsetStructure item,*
Can any one help me in configuring the Content conversion? Hope you got my issue.
Thanks in Advance.
Best Regards,
Jose
Joseph,
Go thru the Below Link
http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm
Cheers
Agasthuri Doss
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.