on 02-02-2010 2:32 PM
Hi all,
I am doing a ABAP Proxy to Flat file scenario, where I am receiveing a xml file through ABAP proxy and I am converting it to a flat file which is TAB delimited.
Now I have to pupulate flat file where 1st row of the file should always be field names.
My field length vary from 2 to 50.
How can this be achieved?
Please suggest.
Regards,
Sachi
>>How can this be achieved?
Use content conversion parameter
NameA.addHeaderLine = 1
refer: http://help.sap.com/saphelp_nw04/Helpdata/EN/d2/bab440c97f3716e10000000a155106/content.htm
~SaNv...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Sachi,
>>Now I have to pupulate flat file where 1st row of the file should always be field names.
Duplicate the target node and map you field names to the first instance and the mapping logic to the next instance
eg:
Suppose your target structure is:
-root
-->Details
-
>FName
-
>LName
Do a Mapping like this:
-root
-->Details
-
><FName>FName </FName>
-
><LName>LName </LName>
-->Details (use mapping logic hereafter)
-
><FName>
-
><LName>
Regards
Suraj
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
80 | |
24 | |
11 | |
9 | |
7 | |
6 | |
5 | |
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.