on 11-07-2011 6:45 AM
Hi Friends
I have a scenario of Idoc to Flat file , where in the target structure the field name and value should be present, generally only the value is available in a flat file.The target structure is as below:
for e.g RECTYPE is the Field Name and A is the value.
RECTYPE,A
DATEH,20111101
TIMEH,173125
RECTYPE,B
ORDNUM,4500054536
ORDITM,150
SUPDAT,20090218
PLNQTY,000000006
MATNR,14B300
BATCH,5697
PLANT,3026
DELIVTYPE,PO
SUPPLIER,0000023305
SUPNAME,Deutsche BP AG
SUPADRS,Erkelenzer Strasse 20
SUPCITY,Monchengladbach
SUPPOST,41179
SUPCOUN,DE
TRUCK_NBR,7589
BOND_FLG,X
STG_LOC,PLCL
LINE_ACTION,CRE
RECTYPE,B
ORDNUM,4500056721
ORDITM,10
SUPDAT,20090218
PLNQTY,000000013
MATNR,116703
BATCH,6589
PLANT,3026
DELIVTYPE,PO
SUPPLIER,0000023380
SUPNAME,DOW Belgium NV
SUPADRS,Havenlaan 7
SUPCITY,Tessenderlo
SUPPOST,3980
SUPCOUN,BE
TRUCK_NBR,7589
BOND_FLG,X
STG_LOC,PLCL
LINE_ACTION,CHG
RECTYPE,X
DATEH,20111101
TIMEH,173125
RECORDS,3
Hi,
NameA.addHeaderLine
Specify whether the text file will have a header line with column names. The following values are permitted:
■ 0 u2013 No header line
■ 1 u2013 Header line with column names from the XML document
■ 2 u2013 As for 1, followed by a blank line
■ 3 u2013 Header line is stored as NameA.headerLine in the configuration and is applied
■ 4 u2013 As for 3, followed by a blank line
This specification is only permitted if exactly one structure is defined.
regards,
ganesh.
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 | |
24 | |
12 | |
9 | |
7 | |
6 | |
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.