on 10-03-2007 8:01 AM
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.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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>
plz let me know wat shud I place in recordset strcuture?
im lil confused plz help
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 | |
10 | |
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.