cancel
Showing results for 
Search instead for 
Did you mean: 

help with FCC

Former Member
0 Kudos

hello,

following is XSD. how do i set FCC parameters for the following code?

<?xml version="1.0" encoding="ISO-"?>

<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http:...................." targetNamespace="...................">

<xsd:complexType name="DT_MN">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">

xxxxxxxxxxxxxxxxxxxxxxxxxx

</xsd:appinfo>

</xsd:annotation>

<xsd:sequence>

<xsd:element name="root" minOccurs="0" maxOccurs="unbounded">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">

xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

</xsd:appinfo>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="AccountNum">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

</xsd:appinfo>

<xsd:documentation xml:lang="EN">

Customer account number

</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:maxLength value="80" />

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

<xsd:element name="AddressDisplay">

<xsd:annotation>

<xsd:appinfo source="http://sap.com/xi/TextID">

xxxxxxxxxxxxxxxxxxxxxxxxxxxx

</xsd:appinfo>

<xsd:documentation xml:lang="EN">

Display name of the bill-to address

</xsd:documentation>

</xsd:annotation>

<xsd:simpleType>

<xsd:restriction base="xsd:string">

<xsd:maxLength value="80" />

</xsd:restriction>

</xsd:simpleType>

</xsd:element>

...........

...........

regards,

venkat.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Venkat,

Below is the example when you have HEADER & ITEM structure.

FCC is case sensitive, give all the names in FCC same as your Data Type.

In <b>Recordset Structure</b> = Header,1,Item,*

Header.fieldFixedLengths = (field lengths) e.g. 1, 4, 7

Header.fixedLengthTooShortHandling=ignore

Header.endSeperator='nl'

Item.fieldFixedLengths = give the item field length as shown above

Item.endSeparator = 'nl'

Item.lastFieldsOptional = YES

Regards,

Sarvesh

Former Member
0 Kudos

Hi,

Create a Mapping and insert the imported xsd in the source structure.

You would be able to see the structure of the imported xsd in a better way.

Once you do that you would be able to identify the FCC parameters yourself.

Regards,

Sumit

Former Member
0 Kudos

here is the target structure :

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_CUST_PY_MN xmlns:ns0="http://">

<root>

<Account_Num>1</Account_Num>

<Addr_Display>..........</Addr_Display>

<Address1>.....</Address1>

<Address2>a</Address2>

<City>......e</City>

<State>a.....a</State>

<Primary>2</Primary>

</root>

</ns0:MT_CUST_PY_MN>

Former Member
0 Kudos

Hi ,

As per your target xml...in the receiver file adapter..

RecordSet Structure will be root

Regards,

Sumit

Former Member
0 Kudos

HI,

If you want to use FCC in target side

In record structure : Root,*

in parameters

Root.fieldseparator : |

Root.endSeparator : 'nl'

Chilla

Former Member
0 Kudos

plz let me know wat shud I place in recordset strcuture?

im lil confused plz help