cancel
Showing results for 
Search instead for 
Did you mean: 

MessageTransformBean StructPlain2XML enclosureSign Problem in SFTP sender

Former Member
0 Kudos

Hi all,

I have a conversion problem using MessageTransformBean with StructPlain2XML conversion type and enclosureSign.

Message Type

SFTP Adapter

Working testdata:

FH,"01"

SB,"DE"

Not Working testdata:

"FH","01"

"SB","DE"

I already included the parameter "enclosureSign", but it not working.

Can anybody give me a hint what I have to do to solve the problem.

Thx a lot in advance.

Kind regards.

André

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

I already tried to set the parameter

xml.SB.keyFieldValue to "SB"

but then I receive the following message in the communication channel monitor:

Cannot send message to module processor: com.sap.aii.af.lib.mp.module.ModuleException: senderChannel ...

Any other suggestions?

Thx in advance for your support!

Kind regards.

André

Former Member
0 Kudos

Please follow the below link and do the configurations accordingly...

http://help.sap.com/saphelp_nw04/helpdata/en/24/4cad3baabd4737bab64d0201bc0c6c/content.htm

Also check the module sequence, message transformation bean module should be above callSAPAdapter.

xml.xml.recordsetname is the wrong parameter..

also please paste the entire error and latest configurations that you have done.

Former Member
0 Kudos

Hi again,

this was the right information I needed and the conversion is now working!!! Thx a lot!

Last questions.

If there is no line in the file with this information, I receive an error in the communication channel. Is there any possibility to get this working?

Currently I added a line which should be always in place.

As I have just reading authorities on the remote server, I'm not able to move the files anywhere else after processing. All the old files will remain and the newer files will be added. Is there any possibility not to receive an error from the communication channel if the file is already processed?

Thx a lot in advance. I appreciate it very much!

André

Former Member
0 Kudos

If there is no line in the file with this information, I receive an error in the communication channel. Is there any possibility to get this working?

--please place the error what u r facing...

Is there any possibility not to receive an error from the communication channel if the file is already processed?

-- do u want to process already processed file?... i hope u have enabled duplicate file check in the channel configuration. please check the same.

Former Member
0 Kudos

any update on this...?

Former Member
0 Kudos

For the moment everything is working fine.

The error that older files are already processed is ok, but not perfect. The duplicate file check was already ticked, but I can't really understand why the communication channel is red if there is an option in the channel.

Thx a lot for your help!!!

André

Answers (3)

Answers (3)

Former Member
0 Kudos

got the problem...

issue is with key field identifier...

For below test data, key field should be SB..

FH,"01"

SB,"DE"

Foe below test data, Key field should be "SB" (in the double quotes)..

"FH","01"

"SB","DE"

Former Member
0 Kudos

Hi Andre,

Give SB.keyFieldValue as "SB" instead of SB and similar for FH.

Regards,

Pranav

Former Member
0 Kudos

Please let us know how your output would like to be..