Skip to Content
avatar image
Former Member

help with FCC

hello,

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

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

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

<xsd:complexType name="DT_MN">

<xsd:annotation>

http://sap.com/xi/TextID">

xxxxxxxxxxxxxxxxxxxxxxxxxx

</xsd:appinfo>

</xsd:annotation>

<xsd:sequence>

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

<xsd:annotation>

http://sap.com/xi/TextID">

xxxxxxxxxxxxxxxxxxxxxxxxxxxxx

</xsd:appinfo>

</xsd:annotation>

<xsd:complexType>

<xsd:sequence>

<xsd:element name="AccountNum">

<xsd:annotation>

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>

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.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Oct 03, 2007 at 07:21 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      HI,

      If you want to use FCC in target side

      In record structure : Root,*

      in parameters

      Root.fieldseparator : |

      Root.endSeparator : 'nl'

      Chilla

  • avatar image
    Former Member
    Oct 03, 2007 at 07:19 AM

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

    im lil confused plz help

    Add comment
    10|10000 characters needed characters exceeded

  • avatar image
    Former Member
    Oct 03, 2007 at 08:32 AM

    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

    Add comment
    10|10000 characters needed characters exceeded