Comm Channel password change enmasse

Hi,
We have number of comm channels for our various interfaces. most of the are using same User-ID & password. as this gets changed quite frequently, we need to get into each comm channel and update the password individually.
Is there a better way to update the password enmasse ? Any ideas & suggestions are welcome.
regards,

Hi,
I didn't use it yet but with SP21 for PI 7.0 and with PI 7.1
you have directory API that can be used to manipulated directory objects
(like mass creation of communication channels, etc.)
/people/william.li/blog/2008/10/20/directory-api-development--part-1-of-3
maybe you can also use it to write a small app which would change
all passowrds for all of your communication channels
Regards,
Michal Krawczyk

Similar Messages

  • Creating SOAP Receiver comm.channel for axis web service

    Hi,
    I created Soap Receiver comm. channel fro Axis web service like below:
    *Target URL* : http://<IP>:<Port>/<x>/service
    *User:* <user>
    *Password :* <password>
    *SOAP Action:* <target namespace>/method
    when i drive PI Message that use Soap Receiver it get error below
    I do same method for .Net web service, it runs properly.
    How can i solve this problem?
    Error
    <?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
    <!--  Call Adapter -->
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>XIServer</SAP:Category>
      <SAP:Code area="MAPPING">NO_MAPPINGPROGRAM_FOUND</SAP:Code>
      <SAP:P1>Object ID B3004965647F340C997B5F2CC9EA7E22 Software Component 4CF44F80503211DEB2A0D3F40A194B29</SAP:P1>
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText />
      <SAP:Stack>Mapping program is not available in runtime cache: Object ID B3004965647F340C997B5F2CC9EA7E22 Software Component 4CF44F80503211DEB2A0D3F40A194B29</SAP:Stack>
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>

    Hi,
    I did all  but nothing changed?
    I have doubt about axis side. Because respose like below.
    <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="1">
      <SAP:Category>Application</SAP:Category>
      <SAP:Code area="UNKNOWN">APPLICATION_ERROR</SAP:Code>
      <SAP:P1 />
      <SAP:P2 />
      <SAP:P3 />
      <SAP:P4 />
      <SAP:AdditionalText>application fault</SAP:AdditionalText>
      <SAP:ApplicationFaultMessage namespace="http://xml.apache.org/axis/">hostname</SAP:ApplicationFaultMessage>
      <SAP:Stack />
      <SAP:Retry>M</SAP:Retry>
      </SAP:Error>
    May be Soap Receiver setting for axis web service must be different.
    Thanks.

  • Adapter engine field blank in File Comm channel (Sender)

    Hi,
    I am not getting any value in drop-down list of adapter engine in file adapter communication channel.System is allowing me to save the comm channel but when I am trying to create sender agreement, system is giving me following error
    <b>Unable to find an associated SLD element (source element: SAP_XIIntegrationDirectory, [CreationClassName, SAP_XIIntegrationDirectory, string, Name, directory.s01., string], target element type: SAP_XIIntegrationServer)</b>
    I m getting values of adapter engine when I select some other adpter like IDOC or RFC.
    Please help...

    Hi,
    1) Can you check your Post Installation.
    2) Look for SAP NOTES.
    3) Try cache refresh
       a)Start transaction SXI_CACHE.
       b)From the context menu XI Runtime Cache select Start Complete Cache Refresh.
    If you still face issue try this .
    Many actions require to access System Landscape Directory content from the Integration Builder. To optimize performance, this content is loaded into a cache so that the System Landscape Directory does not have to be accessed directly each time that System Landscape Directory content is required.
    However, this cache is not automatically updated if changes are made to the content of the System Landscape Directory. For this reason that we delete the System Landscape Directory cache if changes have been made to content in the System Landscape Directory. The cache is then filled each time that the System Landscape Directory is accessed. If we log on to the Integration Builder after we have made a change in the SLD, we do not need to delete the SLD cache.
    To clear the SLD cache, from the Integration Builder main menu, choose Environment ® Delete Cache for SLD Data.
    Once we have deleted the cache for SLD data, accessing objects in the SLD may take longer than usual initially.
    Regards
    Agasthuri Doss

  • File adapter in comm.channel green, but no message collecting

    Hello,
    looks like this is something really at the roots.
    Ok, we are in NW2004s PI 7.0.
    One IDOC process is successfully implemented.
    Now we started with a file to file communication!
    File sender adapter is configured and shown in status green in comm.channel monitoring which would bring me to the idea that the comm.channel is configured well  (To be sure we changed the directory path in the comm.channel to a wrong one which results in an error. Ok, corrected. Now all lamps are green). Comm channel is activated and polling.
    But... nothing happens. The Adapter is not collecting the file in the source directory (existing) and there is no entry in monitoring on RWB or SXMB_MONI.
    In Adapter monitoring all adapters except the JPR (red) are with a GREY lamp!
    As we had an issue with activating the adapters (adapter monitoring before did not show any adapter (except JPR) ) two days ago we are not sure if the current issue belongs to a mistake in the configuration or in basis environment.
    From XI 3.0 side we would expect that the adapter monitoring should show adapters used in green.
    Do you have experience with such a behaviour?
    Any help is welcome!
    regards
    Dirk

    Hi Bhavesh,
    we are near to bumping our heads against the server.
    In comm.channel:
    directory is :      /      (as simple as possible)
    file name is : *.001
    The file in the directory is named it_test.001 so it should be catched.
    What can we do wrong?
    By the way: If we change the directory to  /out   which is existing we have an (file is in this directory too) error message:  'com.sap.aii.adapter.file.ftp.FTPEx: 550 /out: The system cannot find the file specified. '.
    Cache is fine!
    regards
    Dirk

  • Using URL Parameters with HTTP Comms Channel

    Hi,
    I need to build a new interface (HTTP - RFC) which will use several URL parameters. I've created a HTTP communications channel and Sender Service and this works. I'm able to define several URL Parameters by checking 'Adapter-Sepcific Message Attributes' and then 'Apply URL Parameters' then specifying the individual parameters.
    This is straight forward so far but in usual SAP fashion the documentation on HTTP Comms Channels and URL Parameters is non existent. My question is how do I use these parameters once they are passed. I need to use the values as input parameters for the RFC which means I'll need to map these in the Integration Repository I can't find anything on SDN or SAP help that answers the question.
    I know I could include these values in the XML payload but that would mean my 'customer' would need to amend their application and I'd rather keep things as they are.
    Looking forward to your replies.
    Thanks in advance.

    May be this could help you to refference . .
    For each process template, you can define interactive or composite form reference objects that can optionally be executed at runtime.
    To be able to see and execute the reference object at runtime, you must add an appropriate runtime view.
    Prerequisites
    You can only attach standalone interactive forms to a process. For more information, see Interactive Form Types.
    Activities
    To attach an interactive form to a process:
           1.      Open the gallery and select a process template. To open its design time, choose Open…
           2.      To switch to edit mode, choose  (Edit).
           3.      Open the Forms tab page.
           4.      Choose Add and select the type of reference object you want to add. You can choose between Callable Object and Development Object.
    Browse and select the reference object, and choose Add once again.
           5.      Repeat step 4 to add more objects.
           6.      To define parameter mapping, select an entry and choose Map Parameters. Select a parameter from the left-hand table, and then select the parameter you want to map from the right-hand table. This groups the input parameters of the form reference object to the relevant input parameters of the process.
    If the process does not define input parameters, you can set default values.
           7.      When you have defined the required mappings, choose Done.
           8.      Whenever a newer version of the form reference object is available, its status on the Forms tab page changes to  (Deprecated). To update the object, select it from the list and choose Update. The status changes to  (Active).
    Parameter mapping is preserved unless the parameters of the new object version are different. In this case, you need to define mappings again.
           9.      Finally, choose  (Save).

  • Sender File Comm Channel

    Hi,
    I have a unique problem.  My file sender communication channel picks and process files only when the filename extension ends in .txt.
    I had checked the configuration directory and made sure it is not *.txt type and had given star.star.
    Still am not sure why this is happening.
    When i dump a normal file without any .txt extension, it is not been picked up and the file remains in the same place, morever no errors are also coming.
    Please share any light on this.
    Regards,
    Anandh
    Edited by: Anandha Krishnan on Jun 9, 2008 6:37 PM

    The other way to check if your changes are being correctly in the RWB, please deactivate the comm channel and then lookup RWB communication channel monitoring. check if the correct version is showing up out there. It could be the RWB is not getting the correct upated version. Activate the comm channel again and re-start the comm channel and then check.
    You can also follow the path of using * in the filename instead of . as suggested by others.
    Regards,
    Indranil
    Award points if appropriate

  • Form for password changing. code problem

    hi dears,
    i am using forms6i. i was making a form for password changing purpose. i've written this code this is successfully compiled but it is not changing the password. wil u plz tell me where is the problem.
    declare
         v_user varchar2(50);
         v_oldpassword varchar2(50);
         v_var2 varchar2(50);
         v_leng number(3);
    begin
         v_oldpassword := get_application_property(password);
         v_user:=user;
         v_var2:=upper(:password_old);
         if v_var2<>v_oldpassword then
         message ('Old Password Is Not Correct...');
         message ('Old Password Is Not Correct...');
         raise form_trigger_failure;
         end if;
         if :password1<>:password2 then
              message ('Typed Passwords Are Not The Same...');
              message ('Typed Passwords Are Not The Same...');
              raise form_trigger_failure;
         end if;
         v_leng:=length(:password2);
         if :password1=:password2 and v_leng<=3 then
         message ('Password Must Have Four Characters...');
         message ('Password Must Have Four Characters...');
              raise form_trigger_failure;
         end if;
         if v_var2=v_oldpassword and :password1=:password2 then
         FORMS_DDL('alter user ' || v_user || ' identified by ' ||:password.password2);
         message ('Password Is Changed... Please Restart The Oracle Applications...');
         end if;
    end;
    COMMIT;
    LOGOUT;
    thanks

    Hi dear,
    Please use this code to change your password:
    declare
    v_user varchar2(50);
    v_oldpassword varchar2(50);
    v_var2 varchar2(50);
    v_leng number(3);
    begin
    v_oldpassword := get_application_property(password);
    v_user:=user;
    v_var2:=upper(:password_old);
    v_leng:=length(:password2);
    if v_var2 != v_oldpassword then
    message ('Old Password Is Not Correct...');
    message ('Old Password Is Not Correct...');
    raise form_trigger_failure;
    elsif
    :password1 != :password2 then
    message ('Typed Passwords Are Not The Same...');
    message ('Typed Passwords Are Not The Same...');
    raise form_trigger_failure;
    elsif
    :password1=:password2 and nvl(v_leng,0) <=3 then
    message ('Password Must Have Four Characters...');
    message ('Password Must Have Four Characters...');
    raise form_trigger_failure;
    elsif
    v_var2 = v_oldpassword and :password1 = :password2 then
    FORMS_DDL('alter user ' || v_user || ' identified by ' ||:password.password2);
    message ('Password Is Changed... Please Restart The Oracle Applications...');
    end if;
    end;

  • JDBC Comm Channel not Polling data

    Hello,
    In a JDBC to IDoc scenario, we have a sender JDBC communication channel which was set to poll for data in every 60 sec. It was working fine for long and suddenly it has stopped polling data. It's status was green and the channel was active.We couldn't find the reason so we configured one more comm channel keeping all the parameters same, and it has started working. We couldn't understand why it was not working earlier. Can any body please highlight on this?
    Regards,
    Sugata

    Hi,
    @Barry,
    Yes, it dont poll data from database although it was supposed to do so. We have tried to make some changes and then undo changes and save+activate. But that hasn't work.
    @ PT Rao,
    We tried that too, that also hasen't work.
    @ Sumit,
    could you please elaborate?
    Sugata

  • Seeing old deleted comm. channels on Non-Central Adapter Engines

    hello,
    We have a landscape of PI 7.0 machine connected with 3 Non-Central Adapter Engines installed on another machine, which generally works fine.
    Somehow, after doing a lot of changes in the integration directory (creating and deleting object: scenario, comm. channels and ect...)  -  two of the non-central AE shows comm. channels which were already deleted (and activated ofcourse) in the integration directory.
    What i tried already:
    run CPACache in mode=full on each of those AE, clear SLD cache and even restarted those J2EE instances. but it didn't work out. the thing that is also weird is that I can start/stop those old comm. channels. how do we get rid of those old channels?
    I would appreciate any suggestions .

    Problem is solved.
    In integration directory we could not see the old comm. channels under the objects tab or under any scenario, but they existed as shown in RWB.
    From CPA cache we picked up the comm. channels object IDs and search for it in integration directory UI, once they were found - it was easy to actually delete them.
    What went wrong?
    These old comm. channels were assigned under deleted services which were under deleted parties. For some unknown reason, after deleting the services and parties successfully, the comm. channels underneath were not deleted and could not shown in any of objects tab GUI tree's nodes.
    We could not reproduce this behaviour.

  • Mass password change for selective User id's ?

    Hi,
        Thanks to answer for my last question, really appreciated your help.
    My new question: 
    1.   If I create Mass User Id's by using SU10, pwd's are generated automatically. Is there a way to pick a pwd e.g  initpass for all ?
    2.   Is there any program available which can be used to reset pwd's for several User Id's as   initpass or something like that ?
    Please help. thnx in advance.
    Syd.

    You can also create an ABAP program which can be used to mass change users passwords.
    Here are the functions that will do what you need
    SUSR_GENERATE_PASSWORD - Generates a Password
    BAPI_USER_CHANGE - You can use this BAPI to change just the password of a user
    Here is an example of some abap code. There may be some syntax errors and possible other issues. I just typed this out and didnt check it. Hope this helps
    constants: con_comma TYPE c VALUE ','.
    data: it_tab TYPE filetable,
            gd_subrc TYPE i,
            v_filename_string TYPE string,
            p_npass like XU400-NEWCODE.
    DATA: BEGIN OF itab OCCURS 0,
              dLine(40) type c,
          END OF itab.
    DATA: begin of it_Users occurs 0,
              UserID like BAPIBNAME-BAPIBNAME,
              Password Like XUBCODE,
          end of it_Users.
    parameters: p_file like rlgrap-filename default 'c:\users.txt' LOWER CASE.
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
    *&                   FILE_OPEN_DIALOG METHOD                           *
        CALL METHOD cl_gui_frontend_services=>file_open_dialog
            EXPORTING
              window_title     = 'Select File'
              default_filename = '*.txt'
              multiselection   = ' '
            CHANGING
              file_table       = it_tab
              rc               = gd_subrc.
            LOOP AT it_tab INTO p_file.
            ENDLOOP.
            v_filename_string = p_file.
    START-OF-SELECTION.
    *&                   GUI_UPLOAD function                               *
       Upload file to internal table
          CALL FUNCTION 'GUI_UPLOAD'
            EXPORTING
              FILENAME                      = v_filename_string
              FILETYPE                      = 'ASC'
              HAS_FIELD_SEPARATOR           = 'X'
            TABLES
              DATA_TAB                      = ITAB
           EXCEPTIONS
             FILE_OPEN_ERROR               = 1
             FILE_READ_ERROR               = 2
             NO_BATCH                      = 3
             GUI_REFUSE_FILETRANSFER       = 4
             INVALID_TYPE                  = 5
             NO_AUTHORITY                  = 6
             UNKNOWN_ERROR                 = 7
             BAD_DATA_FORMAT               = 8
             HEADER_NOT_ALLOWED            = 9
             SEPARATOR_NOT_ALLOWED         = 10
             HEADER_TOO_LONG               = 11
             UNKNOWN_DP_ERROR              = 12
             ACCESS_DENIED                 = 13
             DP_OUT_OF_MEMORY              = 14
             DISK_FULL                     = 15
             DP_TIMEOUT                    = 16
             OTHERS                        = 17.
          IF SY-SUBRC <> 0.
           MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
                   WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
          ENDIF.
    Loop through internal table and split the comma delimited file
      LOOP AT ITAB.
          SPLIT ITAB-dLINE AT con_comma INTO it_Users-UserID
                                           it_Users-Password.
          APPEND it_Users.
      ENDLOOP.
    LOOP AT it_Users.
         if it_users-Password is initial.
            CALL FUNCTION 'SUSR_GENERATE_PASSWORD'
                 IMPORTING
                     PASSWORD = p_npass
         endif.
         CALL FUNCTION 'BAPI_USER_CHANGE'
                   EXPORTING
                     USERNAME                = it_users-userid
                     PASSWORD                = p_npass
                     PASSWORDX               = 'X'
                   TABLES
                     RETURN                  = it_ret2.
                  Loop at it_ret2.
                    if it_ret2-number = 039.
                      write: / 'password changed'.
                    else.
                      write: / it_ret2-message.
                    endif.
                  endloop.
                  Write: / ''.
                  refresh it_ret2.
    ENDLOOP.

  • Exception "JMSSecurityException: Not permit" when starting Comms Channel...

    Hi,
    We have XI 3.0 that has been running without issues in the comms channels for a long time.
    All of a sudden on one of our systems we are getting an error when starting the comms channel. The stacktrace is shown below:
    Channel error occurred; detailed error description: com.sap.aii.adapter.jms.api.connector.ConnectorException: Error creating message consumer: javax.jms.JMSSecurityException: Not permitted
    at com.sap.aii.adapter.jms.core.connector.ConnectorImpl.buildMessageConsumers(ConnectorImpl.java:446)
    We have tried resrting the J2EE engine, the whole XI instance, etc. and still this one channel continues to fail.
    I have tried creating new channels and they fail too.
    Has anyone seen this error before? Any idea how to resolve this?
    thanks
    Brian

    Hi Brain,
    It is showing security exception, so it is related to the credentials (may if you use the passwords or certificates those are expired) so check those credentials validity.
    Check this link
    http://help.sap.com/saphelp_nw04/helpdata/en/f5/2f2c4142aef623e10000000a155106/frameset.htm
    Regards
    Ramesh

  • Client initiated L2TP and control channel passwords

    I am building a CVS application for CPEs that use client-initiated tunneling feature. IOS version is 12.4(6)T3. The l2tp-class is
    configured as below:
    l2tp-class l2tpclass1
    password 7 15145D015037812E70
    The password string changes at a regular interval. I have two questions w.r.t the password changes.
    1) Why does it happens? I have not seen this happening on other passwords that use encryption type 7. I could not find any references to this in "L2TP Control Channel Authentication Parameters" documentation.
    2) Is there a way to stop this behavior? Currently there is a diff. generated even though the actual configuration has not changed because of the change in password string.
    Regards,
    - Gaurav

    If you configure "username xxxx password yyyyy" on a system, the encrypted form of the password will in fact change each time you do a "write memory." This is part of a "random seed" that's supposed to make the coded password harder to crack. If the box was actually configured by reading an NV config that contains the "password 7 151E080214382420" form, it should stay that way (basically, the internal format used to store the password is always the form it was "entered" in, and the password is encrypted appropriately (if it's not already encrypted) when you do the "writes.

  • Hosts file is being cached - comm channel is using an old version

    We are on XI 7.0.
    I wonder if anybody has encountered this problem before. We are using the file adapter to send a file to another server and the server has been moved and now has a new IP address.
    We just changed the IP address in the hosts file and the communication channel is still trying to send the data to the old IP address. No changes have been made to the comm channel (so this is definitely not a cpa cache issue!).
    The (unix aix) OS recognises that the host has been changed - if we ping the hostname from the OS it resolves to the new IP address.
    I have seen this once before and the only way we were able to resolve it was by re-starting the java stack.
    Please let me know whether there is another way we can resolve this issue.
    Thanks
    Richard

    Here is what SAP said:
    The mapping between physical hostname and IP address might be cached
    in the JVM itself using class "InetAddress".
    Besides the jdk 1.4 documentation for InetAddress has relevant
    information to share, maybe you wish to review the same.
    Please refer the info via:
    http://java.sun.com/j2se/1.4.2/docs/api/java/net/InetAddress.html
    To help resolve clearing the Java Cache you need to reset the JDK
    property "sun.net.inetaddr.ttl".
    Detailed information can be sourced via access of link:
    http://www.rgagnon.com/javadetails/java-0445.html
    To overcome such kind of issue, SAP has High Availability for its
    landscape. For instance, two machines share the same Virtual Hostname.
    Under this situation, the switchover can be done smoothly. And JVM
    does not need to be restarted.
    This works fine - we set the time out to 2 days so that the cache refreshes itself periodically.

  • RBACx Encrypted Password Change Utility

    Hi all,
    In the OIA/SRM installation guide, there is a reference to a tool, to find out the password of rbacxservice.
    "Oracle Identity Analytics utilizes an encrypted password when communicating with the database.
    To change the default database password, use the RBACx Encrypted Password Change Utility"
    Could you please help me finding out this tool.
    Many thanks in advance.
    Warm regards,
    Manipradeep Sunku.

    The mentioned tool only encrypts the password so that you don't have to store a plain text password in the config file. It does not decrypt it. The default rbacxservice password is rbacxservice.
    The tool does not come with the OIA/SRM distribution so if you need it, you will need to contact support.

  • ACS 5.3 UCP Password Change

    Hi at all,
    i have a Problem with the UCP Webside Password Change.
    The Side is running without Problem. A Password Change for the normal User is also o.k.
    Here me Problem.
    I will use this Side also for our Admins to Change here Password but this User has also a Enable Password.
    Is it Possible to Change also this Password with the UCP Webside?
    Thanks for help.
    regards
    Andreas

    Hey Tushar,
    That is our current setup. Right now each user logs in with their AD credentials to get into user exec mode and the same password to get into privileged exec mode. I would like to have a user login with their normal AD credentials to get into user exec mode and a different password (specific to each user, not locally on the device) to login to privileged exec mode. We are doing this for security reasons. Hopefully that clarifys what I'm trying to do.
    Thanks

Maybe you are looking for

  • TS3274 How do I move icons from one screen to another?

    How do I move icons from one screen to another. 

  • Unable to clear web services directories

    Hello all, I am deploying an ear file contating Web Service (out of EJB) and I am getting error below. Has anyone experienced this?  I have  NW2004s (700 -SP10) I appreciate your feedbacks. regards, Fereidoon Result => deployment aborted : file:/C:/D

  • Video display with Flex

    Hi everyone, this is my first time here. The first thing i want to say is "please, forgive my english, present or future mistakes, i'll try my best to explain everything i want to say" Here is my problem: I encoded and deinterlaced videos in DV codec

  • Execute UNIX  script from java not working

    Hi I am having difficulty running my java program to execute UNIX script on a Windows box. Here is my code. public boolean executeScript() {           try {                String testScript= "WEB-INF/scripts/test.sh";                File file = new F

  • Need Report to see list of authorised users for a particular Trans.Code ?

    Hai SAP Gurus, Kindly tell me a Transaction code which is useful to see list of authorised users for a particular Transaction code. Ex J1ID Reply me pls