on 12-07-2007 10:21 AM
HI All,
i got one requirement ie how to populate the fieldnames in the receiver file.
please give the fast response.
This is very urgent.
thanks and regards
sai
Hi,
Refer the below help link
http://help.sap.com/saphelp_nw04/helpdata/en/d2/bab440c97f3716e10000000a155106/content.htm
If you want to poulate the fieldnames same as of u r XML strucutue in the receiver file give like
Record.addHeaderLine --- 1
If you want to populate Header FieldNames as you own, give like
Record.addHeaderLine --- 3 and add one more parameter
Record.headerLine -- give the field names how you want to populate by using the , 'comma' separator.
Cheers
Veera
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
yes....use FCC in recv file adapter.
recordset_structure.addHeaderLine = 1
where for "1" - field names from the XML doc will be added as header
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
in mapping u can try
<Source>abc</Source>
mapped to target as
caoncat("Source","abc")
and increase the size of the fields at the receiver adapter file to give space for field name also
like if the target.fieldFixedLengths was previously 3 then now it will become 3+6 (considering example above).
and for CSV file no need to worry about field lengths.
Ranjit
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
since u know the mapping field u can concatenate the source with a constant (field name) and map to taget. this is place the data with field name in the recv file.
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 | |
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.