cancel
Showing results for 
Search instead for 
Did you mean: 

Field structure in mapping

Former Member
0 Kudos

I am using FCC at receiver side

the structure is like this

Company

    Address

    Details

    Information

Copny node has three sub nodes, address, details and informatoon

address hs three fields

detauils has sven fields

information has two fields

how is the FCC

I used this in reeiver FCC and it throws error


Structure  Compny,1, address,1,details,1,information,1


then

address.fieldNames

address.fieldSeparator

address.endSeparator

details.fieldNames

details.fieldSeparator

deails.endSepartor

information.fieldNames

information.fieldSeparator

information.endSeparator

is this the correct configuration?

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

HI Midhum,

On the receiver side you don't need to set the fields cardinality, and you have not share the values of the parameters.

If you share all your receiver configuration, it will be easier for us to help you.

Check these links like examples:

XI/PI: File Content Conversion for Simple Structure

http://www.riyaz.net/sap/xipi-file-content-conversion-for-complex-structures/79/

Regards.

Former Member
0 Kudos

Company

    Address

          Field 1

          Field 2

          Field 3

    Details

          Field A

          Field B

          Field C

          Field D

          Field E

          Field F

  Information

          Field AX

          Field BX

iaki_vila
Active Contributor
0 Kudos

Hi Mudhun,

Your Recordset structure should be: Address,Details,Information

If you want to separate the field by commas for example, you can have on the parameters tab:


address.fieldNames           Field 1,Field 2,Field 3

address.fieldSeparator         ,

address.endSeparator         'nl'


...and so on


I was you i would do a simply scenario to play with these parameters and to check the result.


Regards.

Former Member
0 Kudos

i am getting this error

channel has not been correctly initialized and cannot process messages

this is my structure data type

DT_CompanyInfo

  Company

      Address

          Field 1

          Field 2

          Field 3

      Details

          Field A

          Field B

          Field C

          Field D

          Field E

          Field F

    Information

          Field AX

          Field BX

I have a parent node Company

Under that three nodes at the same level, address, details and infomation

This is my FCC

Recordset structure: Address,Details,Information

address.fieldNames           Field 1,Field 2,Field 3

address.fieldSeparator         ,

address.endSeparator         'nl'


I have not mentioned the company node. is it the reason for error?

Former Member
0 Kudos

thanks Inaki your suggestion worked

I have a doubt..

can we use receiver fcc for this structure

DT_XYX

     Node1

          Node2

               Node3

                    Node4

               Node5

     Node6

This is a deeply nested structure.

node 1 and node 6 same level

node 3 and node 5 same level

can this be done by FCC

iaki_vila
Active Contributor
0 Kudos

Hi Midhun,

This is a good question because by defect FCC doesn't support multi-hierarchical structures, however there are some tricks explained in this community to work with those structures. Check this blogs:

Shabarish Vijayakumar's blog

Former Member 's blog

Eng Swee Yeoh's document with XSL conversion

Regards.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Midhun,

As Vila said no need to to set the fields cardinality, and you have not share the values of the parameters.

Check the below link it will help you to set the parameters at receiver end....

FCC For Hierarchical Structure in Receiver Channel - Process Integration - SCN Wiki

Below images also will help you

Regards,

Srikanth Mavuri.