on 04-24-2009 5:40 PM
Hi All,
I have a request regarding Conversion Agent, we are working on Serializer to convert XML file to Text format as an output. We have issue in incoming input XML file where some of the tags are missing.When ever a tag is missing, we want to send that perticular Tag through Serializer to produce correct outPut structure. Below is the code I have done but it is giveing me error:
nstance InsiteSerializer = Serializer
{
contains =
[
ContentSerializer<optional, allow_empty_values>
{
data_holder = XPath("/MT_Insite_Req/s/DataConversionArea/s/SapMovementType");
transformers =
[
Resize(StaticInt(3)),
AddEmptyTagsTransformer(XPath("/MT_Insite_Req/s/DataConversionArea/s/SapMovementType"))
];
},
Best Regards,
Joseph
Hi,
you have to check the existence of each tag in the input file, if the tag is missing then you have replace the blank with required name .
Hope the following link can provide you complete details.
http://help.sap.com/saphelp_nw70/helpdata/en/43/fc39c16bfb025ee10000000a1553f7/frameset.htm
Regards
Venkat
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
23 | |
11 | |
9 | |
8 | |
5 | |
5 | |
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.