on 06-30-2016 6:53 AM
Hello Experts,
My scenario is something like that
I have following set of records with 1 and 2 as the prefix like
1absnsmsmsm
2absbsnsnsns
1absnsmsmsm
2absbsnsnsns
2absbsnsnsns
1absnsmsmsm
2absbsnsnsns
2absbsnsnsns
2absbsnsnsns
For every set of 1 and 2 one message should be created. Means here in the above payload , for 3 sets 3 messages should be created. Its working fine with FCC in FIle adapter in Dual stack.In PO7.5, I am trying to do FCC but getting the error as
Exception:received.java.langNullPointerException.
Tried with Beans in SFTP instead of FCC. Its picking the file correctly without any error but not splitting it into messages as per the number of sets in the payload as explained above.
Can you please help me fix this? Its the show stopper for us.
Appreciate quick help.
Thanks in advance
Are you using a File Adapter or a SFTP Adapter?From your question it looks like you are using FileContentConversion and that works and when you use SFTP Adapter with MessageTransformBean it does not split the records.
If that is the case, it is the expcted behavior. MessageTransformBean does not support "RecordsetsPerMessage" options. Check this link that describes what is supported and what isnt.
http://scn.sap.com/docs/DOC-58321
Regards
Bhavesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Bhavesh,
Thanks for a very quick reply. I am using SFTP with Message Protocol as FCC.
I could learn from the blog you provided that MTB is not supported in SFTP and FCC can be used in SFTP just like the way we use it in File adapter.
But here even after using the SFTP with message protocol as FCC and mentioning the RecordSet Per Message 1 the splitting is not happening and everything is coming under one message.
Really appreciate valuable inputs from you. This issue has become the show stopper for us and need to get it fixed in a few hours.
Thanks in advance
I could learn from the blog you provided that MTB is not supported in SFTP and FCC can be used in SFTP just like the way we use it in File adapter.
Actually this is the other way around. SFTP Adapter does not have any direct File Content Conversion Parameters. To perform File Content Conversion in the SFTP Adapter you have to use the MessageTransformBean and the Message TransformBean does not support recordsetspermessage.
Why don't you change your logic in the mapping layer, where you perform a 1: N mapping split as a multi mapping?
Regards,
Bhavesh
Hi Bhavesh,
Thanks once again for a very quick reply.
Actually this is the other way around. SFTP Adapter does not have any direct File Content Conversion Parameters. To perform File Content Conversion in the SFTP Adapter you have to use the MessageTransformBean and the Message TransformBean does not support recordsetspermessage
Does it mean FCC is not possible to split the message per recordset using FCC in my scenario and the only work around is doing a multi mapping? If possible at channel level is there is any parameter other than RecordSetPerMessage in FCC parameters or any other work around?
Thanks in advance
Regards
Bhavesh
Regards
Bhavesh
Thanks Bhavesh and Praveen.
I am trying to use FCC in SFTP but getting the error Exception:received.java.langNullPointerException.
While there is no message split if I use MessageTransformBean.
So can I say that my requirement of splitting of message that is message per recordset in the payload is not possible in SFTP ?
Appreciate advise. I am really running our of time . Need to fix it ASAP.
Thanks in advance
Thanks a lot both Bhavesh and Praveen.
This means FCC is supported in SP04 onwards but does is support splitting of the messages as per my requirement that is, for example, if there are 10 records in the payload then 10 messages should be created.
Does SP04 supports this functionality? If yes, then how can it be achieved at channel level?
Appreciate your valuable inputs.
Thanks in advance
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
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.