on 10-17-2008 4:02 AM
My input file structure is given below.
The structure of the record also given along with the data in the input file.
Can anyone tell me how to do the Sender FCC for this structure.
#student layout
student_name
student_class
student_section
Nithya
5
a
Dhanya
4
b
rajesh
6
c
#teacher layout
teacher_name
teacher_phone
teacher_class
sita
9842373492
5
ramesh
9842373493
8
anita
9842373494
10
#staff
staff_name
staff_dept
staff_salary
arun
library
1232
baskar
manager
232123
Required xml structure should be
<input_DT>
<student>
<row>
<name>
<class>
<section>
</row>
</student>
<teacher>
<row>
<name>
<phone>
<class>
</row>
</teacher>
<staff>
<row>
<name>
<dept>
<salary>
</row>
</staff>
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
HI
<input_DT>
<student>
<name>
<class>
<section>
</student>
<teacher>
<name>
<phone>
<class>
</teacher>
<staff>
<name>
<dept>
<salary>
</staff>
This above structure you can get using standard FCC
You can define
Recordset Name = Recordset Name
Recordset Structure = student,3,teacher,3,staff,3,*
student.fieldNames = name,class,selection
student.fieldSeperator = ,
student.endSeperator = 'nl'
student.processFieldNames = fromConfiguration
same for teacher and staff.
Try this if your problem can be resolved.
Thanks
Gaurav
Hi,
specify number of lines to be remove in the source file in"Document Offset".
Like you want to remove first 4 lines then specify 4 in Document Offset.
It will remove the
#student layout
student_name
student_class
student_section lines.
But it will useful for removing the first 4 lines only.you can not remove other lines which you have in another structure. you need to change the input file.
Check the below link..
[http://help.sap.com/saphelp_nw70/helpdata/EN/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm]
Regards,
Prakasu
Edited by: prakasu on Oct 17, 2008 7:43 AM
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
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.