Skip to Content
0

Error in Sender file FCC using MessageTransformBean

Jun 05, 2017 at 07:09 AM

75

avatar image
Former Member

Scenario:- We are getting Flat file having below data defied in Recordset, i am using MessageTransformBean for content conversion. Below is the Recordset strucure and FCC i used.

Recordset:- Shipment,1,DELIVERY_DATA,1,PALLET_DATA,*,CONTAINER_DATA,*,ITEM_DATA,*,Trailer,1

FCC

Error:- Error: com.sap.aii.af.sdk.xi.adapter.trans.TransformException: Error converting Message: 'java.lang.Exception: ERROR consistency check in recordset structure validation (line no. 165: missing structure(s) before type 'Shipment''; nested exception caused by: java.lang.Exception: ERROR consistency check in recordset structure validation (line no. 165: missing structure(s) before type 'Shipment'

fcc.png (85.8 kB)
fcc.png (85.8 kB)
module.png (2.6 kB)
10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Evgeniy Kolmakov Jun 05, 2017 at 07:36 AM
0

Hi Nagaraju!

First, what is your question about? You didn't even provide us your FCC settings in a whole. What the answer do you expect?

From the bit of information I gave I guess that you should check if you assigned correct keys for each of the recordset structures you defined in FCC settings.

Regards, Evgeniy.

Show 9 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Hi Evgeniy,

Updated my query with FCC.

0

Hi Nagaraju!

Wouldn't you please provide your source file example as well?

Regards, Evgeniy.

0
Former Member

Sample file looks like following. S,D,P,C,I,SAP9 are keyFileds for Shipment,DELIVERY_DATA,PALLET_DATA,CONTAINER_DATA,ITEM_DATA,Trailer

Sabc.....

Dabc....

Pabc.......

Cabc.....

Iabc......

SAP9......

0

Hi Nagaraju!

Did you set key field value for Trailer?

And I may be mistaken but key fields must have equal length. So for Trailer you should set the first field length to 1.

Regards, Evgeniy.

0
Former Member

Yes,I added keyFieldValue for Trailer is SAP9 of length 4 characters, I missed to copy it in the FCC excel

0

Just to be sure: try to set key field length for Trailer to 1 and use any other letter for testing purposes.

Also try to set "KeyFieldInStructure" parameter for all of your recordsets.

Regards, Evgeniy.

0
Former Member

Tried with all the combinations, but getting same error. Is there any limitation for MTB like FCC handling more than 3 nodes at same level?

0

Did you try to use key with length 1 for Trailer?

0
Former Member

Yes tried, but no luk

0
Evgeniy Kolmakov Jun 05, 2017 at 01:34 PM
0

Hi Nagaraju!

I found it working after I've set the cardinality to "*" for all structures in recordset.

Another option is to use structures order as "asc" and to set correct order with cardinality in recordset structure.

Regards, Evgeniy.

Share
10 |10000 characters needed characters left characters exceeded