on 09-07-2009 11:49 AM
Hi There
My content conversion has the following:
STRUCTURE.fieldNames
STRUCTURE.fieldSeparator
STRUCTURE.additionalLastFields
STRUCTURE.endSeparator
My payload has 22 fields and I only specify 20 field names in my CC.. Due to the parameter additionalLastFields, I don't get an error because of the extra 2 fields.. These field is used in the file name and not in the file itself.. But it adds it to the end of each line regardless. I suppose adding fixed Field length would solve this problem but that I don't have.
Is there a way to ignore these 2 by NOT adding it to the file? Maybe some parameter I migth have over looked?
Thanks
Jan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi you can try to use the parameter.
NameA.lastFieldsOptional
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Do the following:
1. In STRUCTURE.fieldNames: field1,field2....field22
2. In your datatype, define only from field1 to field 20.
It must work.
Regards
Ivan
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please see the "Handling Structure Deviations" Section of the below link.
And configure the CC as specified. It will work
http://help.sap.com/saphelp_nw04/helpdata/EN/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm
Shweta.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Use the different structures for payload data and the fields to be used for file name.
Similar to STRUCTURE add one more structure as STRUCTURE1 and define those 2 fields over here.
The FCC parameters can also be dfefined accordingly.
STRUCTURE1.fieldNames= field1, field2
STRUCTURE1.fixedFieldLengths = 0,0
Thanks
Swarup
Edited by: Swarup Sawant on Sep 7, 2009 1:20 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.