on 09-10-2010 8:57 PM
Hi,
Is there a way to configure the MessageTransformBean so it will not trim the white space?
If we send a white space for a field the result in the XML is:
<SN_TAXE_FED/>
I need
<SN_TAXE_FED> </SN_TAXE_FED>
Config:
SimplePlain2XML Transform.Class com.sap.aii.messaging.adapter.Conversion
SimplePlain2XML Transform.ContentType text/xml;charset=utf-8
SimplePlain2XML xml.DT_MCM_Products.fieldNames RECORD_ID, MODE, NO_PROD_VEN, GR_DESC_FRC_CMP, GR_DESC_ANG_CMP, QTE_EMB, FORMAT, SN_TAXE_FED, SN_TAX_PROV, NO_FURN_REG, NOM_FURN, CATEGORIE, DESC_CRVNU_FURN, DISTRIBUTION, NO_UPC, ACT_M, DATE_DESUET_M, DATE_RELISTE_M, UNITE_CMD_M, ACT_Q, DT_DESUET_Q, DT_RELISTE_Q, UNITE_CMQ_Q, ACT_Q, FLAG, DATE_CREATION, DATE_INVALIDITE, FILLER
SimplePlain2XML xml.conversionType SimplePlain2XML
SimplePlain2XML xml.documentName MT_MCMProducts
SimplePlain2XML xml.documentNamespace urn:pi.sap.metro.ca:planographie:ikb
SimplePlain2XML xml.fieldFixedLengths 9,1,7,35,35,3,8,1,1,5,60,4,25,1,13,1,6,6,1,1,6,6,1,2,1,10,10,21
SimplePlain2XML xml.fieldNames RECORD_ID, MODE, NO_PROD_VEN, GR_DESC_FRC_CMP, GR_DESC_ANG_CMP, QTE_EMB, FORMAT, SN_TAXE_FED, SN_TAX_PROV, NO_FURN_REG, NOM_FURN, CATEGORIE, DESC_CRVNU_FURN, DISTRIBUTION, NO_UPC, ACT_M, DATE_DESUET_M, DATE_RELISTE_M, UNITE_CMD_M, ACT_Q, DT_DESUET_Q, DT_RELISTE_Q, UNITE_CMQ_Q, ACT_Q, FLAG, DATE_CREATION, DATE_INVALIDITE, FILLER
SimplePlain2XML xml.keyFieldType CaseSensitiveString
SimplePlain2XML xml.processFieldNames fromConfiguration
SimplePlain2XML xml.recordsetName DT_MCM_T03394
SimplePlain2XML xml.recordsetStructure DT_MCM_T03394, *
Thanks,
Martin Lavoie-Rousseau
Hi Martin,
try with this parameter:
*.keepIncompleteFields
You can refer to this help for further details:
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
These parameters also apply for that transformation Bean
Juan.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
Try using <FieldName>.fieldContentFormatting parameter with Value nothing.
Regards,
Rahul
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
10 | |
10 | |
9 | |
7 | |
6 | |
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.