on 11-12-2013 3:04 PM
Hi
we have one scenario from Idoc to SFTP and we are using dynamic configuration for the file name on receiver side.
This is the udf used for dynamic configuration.
But when we are sending the idoc,we are not able to see the file on receiver SFTP. However, everything is in successfull status. Channel and moni status.
If I uncheck the Adapter Specific attribute,it ll work and i am able to see the file at SFTP side but i will not get the file name.
This is the module parameters used by us.
Hidden is some constatnt value,we need in file name.
Please check it and let me know the solution.
Thanks
Vikram
Hi,
Your dynamic configuration code is pointing to File Adapter only but not SFTP adapter.
Please use the below line of code and try.
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SFTP","FileName");
Also change the namespace value in the channel (ASMA) to "http://sap.com/xi/XI/System"
Regards,
Veerendra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Hope you are using standard SAP provided SFTP adpater.
This issue is because of namespace problem.
Please try the below steps..
Please change the udf code to the below line...
DynamicConfigurationKey key = DynamicConfigurationKey.create("http://sap.com/xi/XI/System/SFTP","FileName");
Change the namespace value in the channel (ASMA) to "http://sap.com/xi/XI/System/SFTP"
Also delete the seeburger adapter module in the module tab.
Regards,
Veerendra
Hi All,
This issue is resolved now.
Few changes i tried and worked.
1.in dynamic configuration UDF, we need to use http://sap.com/xi/XI/System/SFTP namespace.
The previous one we used was for File adapter.
2.This same namespace needs to be used in ASMA settings.
3.No seprate module parameter required for this standard SFTP adapter.
Thanks a lot for your support.
Regards,
Vikram
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikram,
Which SFTP adapter are you using exactly? Seeburger or Advantco ?
Because this is not the same!, and you, based on your screenshot, you are using config of both
If Advantco, I can help as mine with DynamicConfiguration + ASMA works...
regards.
Mickael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vrikram,
ok, so do not try to use parameter options of Seeburger or of Advantco...
on scn, there is a doc called "How to configure SFTP adapter in SAP PI" for PI 7.11 of September 2012.
Moreover in service.sap.com, under section "installation guide", I think there also a doc called "SAPNWSC - PI Secure Connectivity Add_On - Master_Guide" and "Installation Guide" for PO, not yet read.
regards.
Mickael
No, but now you know in which direction to go...:
1. remove your bad seeburger/advantco's options.
2. in UdF, with your DynamicConfiguration use namespace "http://sap.com/xi/XI/System/File" as usual with FILE adapter and variable "FileName".
3. Read this blog, which explain how to say to SFTP adapter, that the target Filename is not stored inside its own namespace (e.g http://sap.com/xi/XI/SFTP), but was stored in namespace "http://sap.com/xi/XI/System/File" under variable: FileName
http://scn.sap.com/community/pi-and-soa-middleware/blog/2013/03/27/pgp-and-sftp-faq-sheet
This other blog is also interesting:
regards.
Mickael
Hi Vikram,
My few cents, even the sxmb_moni shows a succesful flag you would check the communication channel monitoring, inside this you can get more errors from the receiver side. Go to RWB->Component Monitoring->Adapter Engine->Communication channel monitoring. Check the logs, if you find any error you could share it with us.
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Vikram,
check the option of "Fail If adapter specific message attribute is missing" option in ASMA and test the schenario.
Regards,
Harish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
84 | |
10 | |
9 | |
8 | |
6 | |
6 | |
6 | |
5 | |
3 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.