cancel
Showing results for 
Search instead for 
Did you mean: 

Change file channel user password dynamically using program

suman_saha
Contributor
0 Kudos

Hello Experts,

We are having a requirement to change the password in all file channels through a program. Is it possible?

Our FTP location password is scheduled to be changed in every 3 months. There are multiple channels and my suggestion is to change each and every channel manually.

But it is not a good solution as manual activity is involved with huge possibility of human error.

Is there any other way around to automate the process?

If there is any table (like RFCDES to store sm59 RFC destination details)to store the user details for FILE adapter, we could have tried.

But AFAIK, as FILE adapter resides in Adapter Java Engine, this solution won't work.

Any suggestion is appreciated.

P.S. We are using PI 7.1 dual stack.

Regards,

Suman

Accepted Solutions (1)

Accepted Solutions (1)

engswee
Active Contributor
0 Kudos

Hi Suman

You can consider using the Integration Directory API on 7.1.

Integration Directory Programming Interface - Integration Directory - SAP Library

The ID API has been changing over the different versions of PI, but there should be a Communication Channel Web Service that allows you to change the attributes of the object.

Use Web Service Navigator to test out the web service to see if it works for you.

Once it's okay, you can consider building an ABAP program or a Java client that consumes the web services.

Here are some articles on SCN on various use cases on ID API. There are a few more around that you can search on SCN too. Take note on the second article section 4.3.2.4 that requires special handling of passwords depending on the version of the API.

Rgds

Eng Swee

Answers (0)