Distribution of password from master client to other clients

hi,
I have created a small program to distribute the password from one client to other clients by using a function module SUSR_USER_CHANGE. It works fine though I have a little problem . The explanation comes here. The function module looks different from kernel-release 701. It has an extra import parameter  "Productive_pwd" and if this parameter is "checked"  it means  that you don't have/force to change the password when you try to logon on the sap system.
But from kernel-release 700 and below the parameter "productive_pwd" doesn't exist and after distribution of password you force/have to change the password again when logon to sap system.
How can I change/distribute the password without changing it when logging to the system for kernel-release 700 and below?
From SAP Kernel-relese 700
*FUNCTION susr_user_change.
""Lokale Schnittstelle:
*"  IMPORTING
*"     VALUE(USER_NAME) LIKE  USR02-BNAME
*"     VALUE(USER_LOGONDATA) LIKE  USLOGOND STRUCTURE  USLOGOND
*"       OPTIONAL
*"     VALUE(PASSWORD) LIKE  XU400-NEWCODE OPTIONAL
*"     VALUE(DELETE_PASSWORD) TYPE  XUMARK OPTIONAL
*"     VALUE(USER_DEFAULTS) LIKE  USDEFAULTS STRUCTURE  USDEFAULTS
*"       OPTIONAL
*"     VALUE(USER_ADDRESS) LIKE  USADDRESS STRUCTURE  USADDRESS
*"       OPTIONAL
*"     VALUE(REF_USER) LIKE  BAPIREFUS STRUCTURE  BAPIREFUS OPTIONAL
*"     VALUE(ALIAS) LIKE  BAPIALIAS STRUCTURE  BAPIALIAS OPTIONAL
*"     VALUE(UCLASS) LIKE  BAPIUCLASS STRUCTURE  BAPIUCLASS OPTIONAL
*"     REFERENCE(CHANGE_UCLASS) TYPE  CHAR01 DEFAULT SPACE
*"     VALUE(MAINT_FOR_OWN_USER_ONLY) TYPE  CHAR01 DEFAULT SPACE
From kernel-release 701 and 702FUNCTION susr_user_change.
""Local Interface:
*"  IMPORTING
*"     VALUE(USER_NAME) LIKE  USR02-BNAME
*"     VALUE(USER_LOGONDATA) LIKE  USLOGOND STRUCTURE  USLOGOND
*"       OPTIONAL
*"     VALUE(PASSWORD) LIKE  XU400-NEWCODE OPTIONAL
*"     VALUE(DELETE_PASSWORD) TYPE  XUMARK OPTIONAL
*"     VALUE(USER_DEFAULTS) LIKE  USDEFAULTS STRUCTURE  USDEFAULTS
*"       OPTIONAL
*"     VALUE(USER_ADDRESS) LIKE  USADDRESS STRUCTURE  USADDRESS
*"       OPTIONAL
*"     VALUE(REF_USER) LIKE  BAPIREFUS STRUCTURE  BAPIREFUS OPTIONAL
*"     VALUE(ALIAS) LIKE  BAPIALIAS STRUCTURE  BAPIALIAS OPTIONAL
*"     VALUE(UCLASS) LIKE  BAPIUCLASS STRUCTURE  BAPIUCLASS OPTIONAL
*"     REFERENCE(CHANGE_UCLASS) TYPE  CHAR01 DEFAULT SPACE
*"     VALUE(MAINT_FOR_OWN_USER_ONLY) TYPE  CHAR01 DEFAULT SPACE
*"     VALUE(PRODUCTIVE_PWD) TYPE  BAPIFLAG-BAPIFLAG DEFAULT SPACE
Best regards
LinhNg

hi Rob,
Actually the function module SUSR_USER_CHANGE call the function SUSR_USER_PASSWORD_PUT and it has the parameter called Password_status as you can see below. But in kernel-release 700 this parameter is not visible even though it exists.
So from kernel release 701 the value of parameter "productive_pwd"  from FM SUSR_USER_CHANGE pass to parameter "password_status" from SUSR_USER_PASSWORD_PUT.
FUNCTION susr_user_password_put.
""Lokale Schnittstelle:
*"  IMPORTING
*"     VALUE(USER_NAME) LIKE  USR02-BNAME
*"     VALUE(PASSWORD) LIKE  XU400-NEWCODE
*"     VALUE(DELETE_PASSWORD) TYPE  XUMARK OPTIONAL
*"     VALUE(USER_LOGONDATA) LIKE  USLOGOND STRUCTURE  USLOGOND DEFAULT
*"       SPACE
*"     VALUE(MAINT_FOR_OWN_USER_ONLY) TYPE  CHAR01 DEFAULT SPACE
*"     VALUE(PASSWORD_STATUS) TYPE  CHAR01 DEFAULT SPACE
*"  EXCEPTIONS
*"      USER_NAME_NOT_EXIST
*"      PASSWORD_NOT_ALLOWED
*"      PASSWORDS_NOT_EQUAL
DELETE_PASSWORD        : X - Deactivate password
PASSWORD_STATUS        : P - Productive password
MAINT_FOR_OWN_USER_ONLY: X - Maintain own values (SU3) - NOT USED
USER_LOGONDATA-CODVC   :                                 NOT USED
Best regards
LinhNg

Similar Messages

  • How to send the transport request from one client to other client?

    Hello Friends,
    I have generated one transport request in one of the client in Development server.Now as it is  customizing request so unless and until i transport it to other client within the same server, Changes will not be visible in other clients.So how to transport this customizing request from one client to other client within the same server.
    Thanking you guys in advance.
    Regards,
    Jitendra

    Hi Jitendra,
    Release your Transport Request via SE10, then go to STMS & import the request first to your quality server, then to your production server.
    Apologies for the incorrect inputs, please use SCC1 as advised by other forum members
    Hope the above clarifies your query.
    Regards,
    Vivek
    Edited by: Vivek on Mar 16, 2009 1:05 PM

  • Copy transfer structure transfer rules from one client to other client

    Hi
    Our R3 client 100 is mapped to BW client 100.
    R3 client 100 is source system in BW.
    As the master data is created by users in R3 client 200 we want to get the data from client 200 to BW. We dont want to replicate each datasource and do all stuff form scratch for client 200.
    Now the question is as we need to create transfer rules, transfer structure for all master data objects for client 200 in BW.
    1. Going to create R3 200 client in BW.--this is possible.
    2.Like create a transport connection in BW for client 200 for all master data infoobjects transfer rules transfer structure,process chain, infopackages..etc
    3.Do the source system mapping for new client 200.
    4.and then execute the process chain..
    What are the best ways to achieve this.
    creating all transfer structure and transfer rules only for those we are loading daily ..rather than all active ones.. How can I get the list of that master data that is loading daily.. and how easily can I create transfer structure..etc dependent objects in one go than manually.
    Any help or thoughts are appreciated..
    can anyone throw some light please....

    Hi,
    BW is not client dependent!!! When you sign on to BW, you have the client required. However, this field does not appear in any table (master data, ODS, cubes, whatever).
    This means that a same BW server with a single client can have multiple R/3 connections (for multiple R/3 clients).
    The database do not care about the client in BW. The data will be consolidated.
    So, you do not need any new client in BW, just two R/3 connections for your two clients.
    Regards,

  • Communicate from client to other client

    Suppose there is a client ,we want to send the object from one cleint to the other client.
    Plz tell me how many reasons or chances are there in ABAP for such situation.
    Thankq
    Shilpa Priya.

    Hi Shilpa ,
    It depends upon the type of Objects .if these Clients on the same sever then u may diff.options.
    for example
    1.in case of scrips we will use Tcode SCC1 to get the objects from one client - another client.
    2.Create transport Request ,download and put it in another sever.
    Regards
    Prabhu

  • Mail SMTP server not accepting password. Works on all other clients.

    I am having issues with Mail and sending emails. Firstly I would like to say I have set this account up on Outlook 2011, Thunderbird and also Outlook PC and I can send and recieve with no problems.
    On Mac mail I can recieve emails perfectly.
    The account is set up with an SMTP Server. Our server requires authentication therefore I supply my username and password in there too. When I try to send an email mail says the server has rejected the password and asks for the correct password. The password I put in is correct, as it is the same password I have used on the other clients.
    So there is something that Mail doesnt like when it comes this server and I cant work out what it is.
    The only thing I thought of is that my password is all numbers. Could that make a difference?
    Any ideas?

    andrewrob,
    I had the same problem and found that I had to unlock CAPTCHA here: http://www.google.com/  accounts/DisplayUnlockCaptcha.
    This worked for me. If that doesn't work, you could try this:
    1. Open Keychain Access (located inside the Utilities folder which is inside the Applications folder)
    2. Highlight the login keychain in the white box to the left.
    3. Click the lock above it to lock the login keychain.
    4. Now unlock it.
    5. Go back to Mail and enter your password again. You will probably have to do it once for incoming mail and once for outgoing mail.
    I hope this helps!

  • Collision of Instant Client with other Clients (by registry key ORACLE)

    Hello,
    i'm trying to use Instant Client Basic Lite and Instant Client sqlplus on my Windows XP to connect to Oracle server.
    Client files and sqlplus files are in the same directory. I also have installed client 8, 9i 10g and database xe on my PC.
    If I try to start sqlplus I receive following errors:
    c:\a\-e>sqlplus ntpl/[email protected]:1522/xe
    SP2-1503: Unable to initialize Oracle call interface
    SP2-0152: ORACLE may not be functioning properly
    But if I rename regitry key HKLM\SOFTWARE\ORACLE to HKLM\SOFTWARE\-ORACLE
    it works fine. It seems there is a collision with registry values.
    I have already tried to set:
    set nls_lang=AMERICAN_AMERICA.AL32UTF8
    but it haven't helped.
    Could you help me please?
    Thank you very much
    Viktor

    As far as I know, Instant Client does not use the Windows registry at all.
    Is there a chance that you accidentally use the other client?
    Which access method do you use? sqlplus? Some API? Which API?
    Are both clients in your PATH? In which order?
    It's really difficult to sort out problems with multiple Oracle clients on
    one Windows machine. I had to resort to Process Monitor in one instance
    to figure out what was really going on.
    Yours,
    Laurenz Albe

  • Automatically copy text from "master" pdf to other pdf-files

    Hi,
    I have several different PDF files with formfields. Some information in those files are the same. For example the customer name etc.
    In stead of writing the customer name, the date, telephone number etc. in each each single file for each single project, I would like to make a "Master" page from where the information is automatically copied to the other single files.
    In Excel it is possible to link cell information from one file to another. Is it possible to do so in pdf-files too?
    I am using Acrobat 9 Pro and Lifecycle ES 8.2
    Thanks in advance.

    You can do it using JavaScript in the PDFs

  • Transaction data tobe separated from master data&customising in client copy

    HI Guys,
    In my present server i have Transaction data, Master data & Customizing data. Through client copy only Master data & Customizing should be copied in new client. Transaction Data should not be copied to new client. This is not possible through any of the given profiles for copy.
    or can we delete all transaction data in present server?
    Thanks.
    Abhijit..

    Hi Ashok,
    With SAP_CUST i won't get the Master Data to the copied client. It will only provide Customization.
    Thanks,
    Abhijit.

  • Can't sign on with my AppleID and password from my iPad or other devices.

    My AppleID and password stopped working.  I was able to reset it.  My iTunes account seems to work on my desktop.  Why aren't my iPad and other devices able to sign on?

       It is probably caused by notification for update of Ipad operating system. There may conflict between newer IOS version on desktop and older one on Ipad at the mean time if you want to access by similar account. Otherwise, you need to set up again your account at setting panel. I used to have the same problem for first days logging on Apple store or others applications required user name and password. I bought my Ipad at an Apple store and it was configured with original profile. I had to adjust and it runs very well now. Good luck !

  • Ip source guard feature and dhcp DHCP scope exhaustion (client spoofs other clients)

    Hi everybody.
    A dhcp server assigns ip adress based on mac address carried by client hardware field in dhcp packets.
    One potential attack is when a rogue host mimics different mac addresses and causes dhcp server to assign the ip addresses until no ip address is left for legitimate host.
    For e.g a host h1 with mac1 has assigned ip address by dhcp server as:
    199.199.199.1 mac1
    Dhcp server has the above entry in its database.
    Using hacking tools such as Yersinia or Gobbler one can create a dhcp discover messages each time creating a different mac for client hardware field in dhcp server thereby causing a dhcp server to assign ip addresses because to dhcp server , these are legitimate dhcp discover messages with each carrying a different mac in client hardware addresses.
    You might say use dhcp snooping and it will prevent that (  dhcp scope exhaustion) and configure the switch to check if src mac matches the client hardware address in dhcp message. But still we can creat spoofed discover messages where src mac in ethernet header will match the client hardware address in dhcp discover message. We still did not overcome the problem.
    You might say use IP source guard feature but will it really prevent that problem from happening?
    Let me illustrate it :
    h1---------f1/1SW---------DHCP server
    Let say we have configured dhcp snooping on sw1 and f1/1 is untrusted port.  The switch has following dhcp binding
    199.199.199.1    mac1   vlan1  f1/1
    Next we configure ip source guard to  validate both src mac and src ip against the dhcp bindings  . When  we configures ip source guard first  , it will allow dhcp communication only so a host can request ip address and a dhcp binding can be built. After that ip source guard will validate src ip or src mac or both against the dhcp binding.depending upon how we configure ip source guard.
    In our case we have configured ip source guard to validate both src mac and src ip against the dhcp binding.
    A dhcp binding is already created as:
    199.199.199.1 mac1 vlan 1 f1/1
    Now using the hacking tools Yersinia or Gobbler on h1, we create our first spoofed dhcp discover message  where src mac=mac2 in ethernet header and  client harware address= mac2 in dhcp discover message. Since switch is configured with ip source guard feature and therefore allows dhcp discover message to pass through. Dhcp server upon receiving the dhcp message assigns another ip address from the pool. Now the dhcp server has following entries:
    199.199.199.1 mac1
    199.199.199.2 mac2.
    We can continue to craft spoofed dhcp discover messages as mentioned above and have dhcp server keep assigning ip addresses until the whole pool is exhausted.
    So my question is how does  ip source guard in conjuction with dhcp snooping prevent this particular attack from happening? ( i.e DHCP scope exhaustion)
    I really appreciate your input.
    thanks and have a great week.

    Thanks Karthikeyan.
    First of all, we gather all the information about the  locations of legitimate dhcp servers in our network. Once we have this information, we will configure the ports used to reach them as trusted. All the ports where end users will connect will be untrusted and therefore subject to dhcp snooping .
    it means if any of user connected in that switch/vlan runs a dhcp  services like vmware for eg. Snooping will prevent the dhcp/bootp  servers connected to that port will not be able to process.
    Yes that is correct. Because dhcp snooping feature will check these ports for the messages usually sent by dhcp server such as dhcp offer, etc. If the end user is running dhcp server using virtual machine, that port should be configured as trusted if it is dertermined  that end user is running a legitimate dhcp server using vm ware.
    When we have the dhcp snooping it prevents the 1st level of hacking  itself. I don't think so it will have any impact on dhcp address  releasing.
    I am sorry. You lost me here. What is 1 level of hacking?
    Dhcp snooping checks for dhcp messages such as dhcp release, dhcp decline.on untrusted port against the dhcp bindings.
    Here is why;
    h1---------SW1-------dhcp server
                   |
                 h2
    Let say we don't have dhcp snooping in above attack and  h2 is a legitimate user has already assigned ip address 199.199.199.2 by dhcp server. Thus the dhcp server has an entry:
    199.199.199.2 mac2
    Next we connect rogue user and it gets ip address 199.199.199.1 now the dhcp server has entries:
    199.199.199. 1  mac1
    199.199.199.2   mac2
    Now using hacking tools, h1 create a fake dhcp release message  with  199.199.199.199.2   mac2
    Dhcp server upon receiving this message, will release the ip address and returns it to the pool.
    By using DHCP snooping, switch will peer inside dhcp release message and checks against the binding. If there is conflict, it will drop the message.
    IFor e.g
    If have dhcp snooping configured , then switch will have adhcp binding as:
    199.199.199.1    mac1    vlan 1   f1/1  lease time
    199.199.199.2     mac2    vlan 2    f1/2 lease time.
    If h1 tries to send fake dhcp release with ip address 199.199.199.2    mac2
    Switch will check ip address 199.199.199.2  and mac2 against the binding related to f1/1 . Sw will find a conflict and therefore drops the dhcp release packet.
    Thanks

  • How to transport the LSNW project from one client to other

    I have done one LSMW in DEV 100 client now i want to move the same to other clients. and one more clarification .. is LSMW client dependent or client independent.
    thanks in advance !

    You can "Export" and "Import" from one client to other client rather transport of an LSMW.
    To do this, at first goto T.Code LSMW select the "Project", "Sub Project" and "Object" which needs to exported and then go to "Extras" (at top menu) and select "Export Projects" and save text file at desktop.
    Now go to other client where you want this lsmw, at Target client, goto initial screen of LSMW and then go to "Extras" and select "Import Project", system asks you select text file. here you give above file and say "Import".
    Now LSMW is ready use in target system as well.
    REWARD IF FIND USEFUL

  • Vendor master maintenance from one client to other

    Hi,
    Vendor master will be created in a production client and transferred to other client using ALE.
    The changes will be made only in first prodcution client.
    For any changes in vendor master of those vendorsin first production client, needs to get updated in the second client too.
    Eg.
    I have 10 vendors in first client and 6 is related to second client.
    I am modifying the all the vendors. When i execute BD21 it selects all the vendors and posts to the destination(second) client.
    But, we would like to send idocs related to Second client vendors only.
    Note: We are identifying the second client vendors using a match code in a different table.
    We would like the system to check, for these match code for identifying the vendors and send the idoc..
    Can you help on this please?
    Thanks in advance,
    Sasi

    Hi,
    1. If your vendor changes should be updated from one system to other system through ALE, we need to active the change pointers.
    2. Change points can be activate through Tcode SALE
    3. After activating change points and your distribution model is ready, you can execute the program RBDMIDOC to genarate the IDOCs.
    4. Normally this program will be executed in the background
    5. And as you said, you have to do some validations before sending IDOCs. For this you can Filters and rules in the DM.
    OR you can write the code in user-exists of outbound posting program.
    Rewards if this info is useful.
    Thanks,

  • ALE IDOC Transfering Material Master From One Client to Another Client

    I am using ALE Idoc transfering material master from one client to another client with MATMAS msgtype the details of Idoc received on receiver side is showing message i.e no Idoc is selected at receiving side after passing partner number in WE02 transaction.
    As I am new to ALE/IDOCS , I am transferring material master from one client to another client with in same system on IDES using ALE/Idocs the details of IDOC received on receiver side is showing message i.e no IDOC is selected at receiving side after passing partner number in WE02 transaction and showing current status 51 instead of 53  i.e no details of IDOC is received at receiver side  using MATMAS Message-Type. It is <removed by moderator>
    Kindly provide solution.
    Naveen
    Message was edited by: Naveen Grover
    Message was edited by: Manish Kumar : Subject and formatting changed

    Hello Naveen,
    If the connection is available (test with SM59 + Connection identifier),
    after choosing your Connection you can test the connection:
    you might find the idocs with the daate when they where sent in SM58:
    The message says in this case there was no service, there might also be other errors like "wrong password" and so on.
    After solving the error, you can restart sending the idoc from this screen.
    Hope this helps .
    Regards,
    Gerlinde

  • Transfer master data from a project from one client to another client

    Hi all,
    I have a training client and a production client.  The project master data has been created (Tcode CJ01) in training client with multiple levels and WBS.  Is there a way to transfer the master data from the training client to another client so there will be no need to create the same project in another client?
    Thanks.

    Refer note for 37899 batch input option.
    Though this pertains to older versions with few changes to code it might be suitble to the version you are working on.
    Regards
    Sreenivas

  • Change SAP BI Password from BO Client Tools / Infoview, SAP Authentication

    Hi,
    We are using SAP BI BO Integration Kit (BO XI 3.1, SAP BI 7.0) & able to use SAP BI Queries with WebI, Xcelsius etc.
    For a user group, we would be providing only Infoview access (using SAP Authentication). This means we would not want to install any BO Client Tools, SAP GUI or SAP Integration Kit Client, on user desktop.
    We are faced with a issue - How does the user change password from Infoview (this is an SAP BI User ID used to login from Infoview).
    Initial Password of SAP BI User cannot be changed from Infoview, since it doesnot prompt for changing the Initial Password.
    Any ideas how to handle this situation.
    regards,
    Rajesh K Sarin

    Hi Erwin,
    no. Also within BI4 you are not able to change your SAP password.
    The Workaroung of Ingo is very suitable using SAP GUI for HTML.
    You can vote this idea on idea place:
    https://ideaplace.brightidea.com/ct/ct_a_view_idea.bix?c=BB5523E4-062F-4420-B35F-0B1F0D4769A9&idea_id=CBAD2E43-C21E-4809-A0B0-CFD3B9551A41#
    Regards
    -Seb.

Maybe you are looking for