on 02-06-2009 8:23 AM
Hi All ,
I am doing IDOC to File interface , and i also doinf variable substitution , so in target file structure i have a field called FileName , which is also coming in my output , even though i am not giving the name of the field in the HEADER.fieldNames, anyone please helpp me regarding for this
thanking you
Sridhar
First Disable the field "FileName" in your target mapping structure and then you will not get this.
Regards,
Sarvesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
remove field FileName from target msg structure............in ID, in reciver file adpater, remove variable substitution and to get the filename dynamically, in revier file adatper, check the option Adpter spcefic msg attributes and in it FileName........then in msg mapping, create a UDF and in it using Dynamic Configuration, set the filename and map this UDF output to a header target node.........
Regards,
Rajeev Gupta
Edited by: RAJEEV GUPTA on Feb 6, 2009 9:40 AM
Hi Sridhar,
For the target file you wont be specifying the field names i.e there is no need of Header.fieldNames
As you are using Variable Substitution and if the file must be in fixed length format and
if you don't want the field to come in the output,specify the field length for that field as 0.
If it is a delimited file ,then disable that field in the mapping and then generate the file name dynamically using Adapter Specific Message Attributes.
Thanks,
Ramkiran.K
User | Count |
---|---|
87 | |
10 | |
10 | |
9 | |
7 | |
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.