cancel
Showing results for 
Search instead for 
Did you mean: 

Adding Header to the Output Text file

Former Member
0 Kudos

Hi Experts,

we have scenario FCC to FCC(text files).

the source structure is:

Number Name Mode
1           Fin     001
2           mak   002
3           sale   002

Target message 1:

1           Fin     001

Target message 2:

2           mak   002
3           sale   002

we are trying split the source message into two text files based on the mode value ( if mode =001 and if mode = 002)

as you see in the output files the Header does not appears,

Number Name Mode

Please explain how can I pass the Header to the target messages..

Thanks in Advance,

MK

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi

How u do this.

R u using BPM for this ?? Kindly give me a idea even am using same scenario

rgds

srini

Former Member
0 Kudos

Hi Srini,

just create and add another sub-element to the datatype and the use a constant to pass all the field names.

I did the same, and it solved my problem.

Thanks,

MK

Former Member
0 Kudos

hi,

you can do this in rec FCC.

use NameA.addHeaderLine with value 3 or 4

refer

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

Edit-- if your column names in XML document are also the same (what you want as header) u can use value 1 or 2 as well

thanks.

latika.

Edited by: Latika Sethi on Jul 23, 2008 7:14 AM

Former Member
0 Kudos

why cant u create a node for Header and assign Constant for Column name over there