cancel
Showing results for 
Search instead for 
Did you mean: 

FCC Parameters

Former Member
0 Kudos

Hi All,

I have a requirement to use FCC in my scenario:

I have data type structure like this

ABCReq_DT

    ABCINT   ---0 to unbounded

       field 1

       field 2

       field 3

       field 4

       XYZ  --- 0 to unbounded

         name1

         name2

I am trying to use FCC for the same structure in File Sender and File Reciever scenarios...

For Sender:

Recordset Structure  ABCINT,XYZ

ABCINT.fieldFixedLengths

ABCINT.fieldSeparator

ABCINT.endSeparator

XYZ.fieldFixedLengths

XYZ.fieldSeparator

XYZ.endSeparator

File Reciever

Recordset Structure     ABCINT,XYZ

ABCINT.fieldFixedLengths

ABCINT.fieldSeparator

ABCINT.endSeparator

XYZ.fieldFixedLengths

XYZ.fieldSeparator

XYZ.endSeparator

Can you please add inputs on how to achive this.

Thanks.

Accepted Solutions (0)

Answers (4)

Answers (4)

ambrish_mishra
Active Contributor
0 Kudos

Hi Jan,

Do you have the sample file and if you can post a screenshot, it would help.

Ambrish

Former Member
0 Kudos

Hi Jan,


      For this type of structure that you have mentioned, you need a key field for either FCC or the MessageTransform bean to work.


Try to go for a two step conversion. First define a structure like :

<Row> ..... 0 to unbounded

    <Data> ... 1

</Row>



In sender FCC, get each line of the file into a seperate Data field. Then in GUI message mapping, convert the first structure to your required sender xml structure.


The other option would be to write a custom adapter module to do the conversion in the sender comm. channel.


Link which may help you

http://scn.sap.com/people/shabarish.vijayakumar/blog/2006/02/27/content-conversion-the-key-field-pro...


Regards

Vishnu

baskar_gopalakrishnan2
Active Contributor
0 Kudos

You have idea about how to do transform the content conversion structure to XML  in the design part. You really need to implement. You might want to search scn for fcc sender and receiver scenarios.  There are plenty of threads and blogs.

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

http://www.riyaz.net/sap/xipi-file-content-conversion-for-simple-structure/75/

Hope that helps.

gagandeep_batra
Active Contributor
0 Kudos