on 06-14-2010 8:58 PM
Hi,
I am facing problem which creating file in destination FTP server with FCC.
Message Type - MT_GCPO
DATA Type - DT_GCPO
Substructures in data type -DT_GCPO are
FILE_HDR, -> 1
ORD_HDR, ->1
SHIP_TO_RCD, ->1
CARD_DETAIL_RCD -> 0 - unbounded
MSG_RCD, -> 0 - unbounded
ORDER_TRL_RCD, -> 1
FILE_TRL_RCD -> 1
In Receiver channel, metioned details as
Record Set Structure - FILE_HDR,ORD_HDR,SHIP_TO_RCD,CARD_DETAIL_RCD,MSG_RCD,ORDER_TRL_RCD,FILE_TRL_RCD
FILE_HDR.fieldFixedLengths 1,10,10,10,8,6,8,3
FILE_HDR.endSeparator 'nl'
ORD_HDR.fieldFixedLengths 1,15,10,8,6,1,3,11,3,2,8,25,7,3,8,80
ORD_HDR.endSeparator 'nl'
SHIP_TO_RCD.fieldFixedLengths 1,15,20,10,1,32,32,32,20,2,9,15,10
SHIP_TO_RCD.endSepartor 'nl'
CARD_DETAIL_RCD.fieldFixedLengths 1,15,2,10,1,10,11,6,8,5,8,2,19
CARD_DETAIL_RCD.endSeparator 'nl'
MSG_RCD.fieldFixedLengths 1,15,2,30,30,30,5,70
MSG_RCD.endSeparator 'nl'
ORDER_TRL_RCD.fieldFixedLengths 1,15,2,2,2,2
ORDER_TRL_RCD.endSeparator 'nl'
FILE_TRL_RCD.fieldFixedLengths 1,8
FILE_TRL_RCD.endSeparator 'nl'
Error message - "File Adapter Receiver Channel CC_GC_PO: Not initialized - cannot proceed: nullI checked Communication Channel and it is in active status.
Adapter Framework caught exception: Channel has not been correctly initialized and cannot process messages"
Not sure how to proceed further ? Please shred some light on this.
Appreciate your help.
Thanks,
Krishna
Hope you might hv done configuration according to this:
If you want to convert all substructures using the same parameters, you only have to specify one structure. The specifications are automatically applied to all substructures.
If you specify more than one structure, the list must contain all the structures occurring in the document. The list must be complete, otherwise a processing error will be triggered at runtime.
and try to refresh CPA cache.
Thanks,
Hetal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I got an error message like this "Message processing failed. Cause: com.sap.engine.interfaces.messaging.api.exception.MessagingException: Error occurred while connecting to the FTP server "ftp.bostonapparel.com:21": java.lang.Exception: Exception in XML Parser (format problem?):'java.lang.Exception: Message processing failed in XML parser: 'java.lang.Exception: Column value '25P' too long (>1 for 5. column) - must stop', probably configuration error in file adapter (XML parser error)"
I checked all parameters
FILE_HDR.fieldFixedLengths 1,10,10,10,8,6,8,3
FILE_HDR.endSeparator 'nl'
ORD_HDR.fieldFixedLengths 1,15,10,8,6,1,3,11,3,2,8,25,7,3,8,80
ORD_HDR.endSeparator 'nl'
SHIP_TO_RCD.fieldFixedLengths 1,15,20,10,1,32,32,32,20,2,9,15,10
SHIP_TO_RCD.endSepartor 'nl'
CARD_DETAIL_RCD.fieldFixedLengths 1,15,2,10,1,10,11,6,8,5,8,2,19
CARD_DETAIL_RCD.endSeparator 'nl'
MSG_RCD.fieldFixedLengths 1,15,2,30,30,30,5,70
MSG_RCD.endSeparator 'nl'
ORDER_TRL_RCD.fieldFixedLengths 1,15,2,2,2,2
ORDER_TRL_RCD.endSeparator 'nl'
FILE_TRL_RCD.fieldFixedLengths 1,8
FILE_TRL_RCD.endSeparator 'nl'
SHIP_TO_RCD.endSepartor 'nl'
the parameter is wrong it should be endSeparator
Refer http://help.sap.com/saphelp_nw04/helpdata/EN/d2/bab440c97f3716e10000000a155106/frameset.htm and confirm your settings
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please make sure all FCC parameters are correctly mentioned - caseSensitive
Regards
Ramg
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.