on 09-14-2015 12:51 PM
Hi experts,
I have the following scenario:
SFTP file sender --> mapping --> IDoc receiver SAP
I hasve successfully configured everything, so the whole flow works, except of one thing: The xml.fieldFixedLengths in the SFTP module doesn't work alright. For some reason only the first 2 digits of normally 3 digits are being written into the interface structure field.
Module setting of SFTP sender adapter:
Message Type in Outbound Interface:
The file record:
The message in the message monitor:
Does anybody see why it's not taking three digits, but only two? For all other fields it seems to work!
Thank you!
Michael
Hi both,
thank you for your help!
I have changed the Module to localejbs/AF_Modules/MessageTransformBean and also changed the the Module Key to Plain2XML, but it didn't help.
I have also tried to change xml.fieldFixedLengths to xml.record.fieldFixedLengths, but this caused an error in the module processing.
Any other ideas? I just don't get why it's only taking 2 digits instead of 3 digits in the first field. All the others seem to work...
Thank you & best regards,
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thank you all for your help!
Problem has been resolved now. It was a null character in the very first file and the SFTP admin has not replaced my file with the new one, where I have taken care I have no null characters in...
Thank you Nitin, your suggestion was right.
Br Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
Can you pls check if there is any cache issue going on with sftp adapter.
I could see the third character 5 is going to the second field in the list.
Refer the below link to point 8.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hello Michael,
One thing i noticed in your message type is that, all the parameters are untyped, please make it to String.
And for the issue it is taking only two characters is may be due to null characters. Can you check if there is any null character in the file?
Null characters are not visible through Notepad. Hence use the below mentioned Hex viewer by downloading it from below link -
http://www.chmaas.handshake.de/delphi/freeware/xvi32/xvi32.htm
Regards,
Nitin Deshpande
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Michael,
Can you please verify what is the Message transform bean that you have used in your confg.Please find the screenshot for the same.
Mention ModuleKey as Plain2XML instead of 1
In ParameterNames mention: xml.record.fieldFixedLengths
Please try to change as above and try.If still issue persists please let me know.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
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.