on 05-10-2012 10:44 AM
HI Gurus
we have the following message type :
<?xml version="1.0" encoding="utf-8" ?>
</BaanSO850_1>
</ns1:MT_BaanSO850_1>
in the content conversion parametres
I've used the following :
Recordset structure: BaanSO850_1
BaanSO850_1.addHeaderLine 0
BaanSO850_1.fieldSeparator :
BaanSO850_1.fieldNames OurRefrence,OurIdentification,PurchaseOrder,NetworkAddress,CodeInMessage,CodeInMessage1,OrderType,Constant,Currentdate,currentTime
BaanSO850_1.endSeparator 'nl'
BaanSO850_1.fixedLengthTooShortHandling Ignore
Problem is : I dont want Timestamp field in the target , which is present in the message type (as can be seen above ) but in the target I am getting the timestamp also which i dont want .
Please let me know which other parameters i need to use or remove in order to achieve the objective.
Regards
Rahman
Hi Rahman,
This can't be done with FCC. To reach your goal, delete the unwanted field from the target structure definition, or (if it has occurrence 0..1, so it's optional) make sure that it gets no value during mapping - it won't be put into the result file thanks to that.
Regards,
Greg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Dear Rahman,
Do you use mapping in your scenario, or it's just a pass-through? If you have mapping, use ASMA & Dynamic Configuration to set the file name, and thanks to that - you can eliminate the Timestamp from target structure, as it's no longer required for Variable Substitution.
Regards,
Greg
Hi,
If in case u still want to go with variable substitution then chk below thread (madhu's reply)
http://scn.sap.com/thread/1708974
Thanks
Amit Srivastava
Hi,
Create another node, under that node(FileNode) create one filename element like Filename. Use content conversion like below
FileNode.fieldFixedLengths 0
FileNode.fixedLengthTooShortHandling Cut
FileNode.endSeparator '0'
the above content conversion will not generate new line.
thanks,
http://scn.sap.com/thread/1708974-- taken from this discussion
Hi,
you can not map the field in message mapping.
Fabio
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
10 | |
10 | |
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.