on 09-07-2012 6:54 AM
Hi All,
i'm working on file-IDOC scenario,Using FCC as a sender.My structure is very simple.Source structure have 10 fields.The structure is:
Field1 -10
Field2-1
Filed3-10
Field4-1
Filed5-10
........
Field10-1
But in mapping i have to map filed2,filed5 to the target.
My question is how can i identify field2,field5??
can you please provide the parametrs for this??
Hi Santhoshi,
If u r using parameter field.fieldSeparator then field.fieldFixedLengths is an optional parameter. http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Hope above link will help you.
Regards
Hari.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhoshi,
You can use the file content conversion and to denomine each file field with a name, for example the names that you are mentioning later the mapping will be very easy to do.
I show you here an example with two fields, you can do the same with your ten fields, pay attention to fieldSeparator parameter, if you have another you should put the value correct or to use the parameter fieldFixedLengths if each field has always the same length:
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Santhoshi,
This is very basic File Content Conversion in Sender File Adapter.
Please refer below SAP Help.
http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
When you say
Field1 -10
Field2-1
Filed3-10
Field4-1
Filed5-10
I guess you have mentioned the length of field above, so you have to go with NameA.fieldFixedLengths option as per SAP Help. So that all your fields will be constructed into proper xml and then you can simply map Field2 and Field5.
Try out and let us know if you encounter any specific issues
-Zameer
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
93 | |
11 | |
10 | |
9 | |
9 | |
7 | |
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.