How To rename master record by Bapi

Hi all,
in transaction SU01 there is a function "rename". I am now looking for a way to rename a users id by using a Bapi. Does anybody know if this is possible? And - if so - how?
thanks in advance
andreas klanke

Hi Andreas,
Dont think there any standard SAP BAPI for renaming users. Though you can check these function modules/BAPIs: BAPI_USER*.
May be you need to write one on your own. You may use the function module earlier suggested by me as a reference.
Regards.
Ruchit.

Similar Messages

  • How to maintain master record for a user before assigning it to group?

    Hi!
    how to maintain master record for a user before assigning it to group?
    I am in SQ03 and would like to assign user to a group, but SAP sais that my user has no user master data... where it is maintained?
    Help will be appreciated,
    Mindaugas

    I  guess  it will be SU12 Transaction.
    Thanks
    Seshu

  • Uploading the pricing master records using bapi

    Hi I have to transfer the pricing database from legacy to SAP using bapi but I am not able to find a bapi for that. Pls guide.

    Check BAPI: BAPI_PRICES_CONDITIONS. You can also find sample codes in SDN for the BAPI.
    Check this link [Example for Price Conditions|Re: Sample code for  BAPI_PRICES_CONDITIONS]
    Regards
    Eswar
    Edited by: Eswar Rao  Boddeti on Sep 22, 2008 3:52 PM

  • See my problem no master record move to next record

    hi master
    sir
    i have master detail block master table have all data but detail no data i need feed data in detail then i goto in detail block write value and press F10 for save
    for new record in detail
    in detail blick post-block or post_record or post_insert event i write this code
    go_block('masterblock');
    next_record;
    go_item('detailblock.item');
    but not responses no master block move to next record still and my curser sitll in last postion
    sir how i move master record after save the detail record and jump to detail block for new record
    please give me idea or code
    thanking you
    aamir

    thank for reply
    sir your help very usefull for my but when i press F10 then system show massage do you want to save change the record
    sir how i avoid that window and directly move to next record
    please give me idea
    thanking you
    aamir

  • Master record for cost center/activity type

    Hi all;
    How create a master record between an cost center and activity type?
    Thank you

    Hi
    You can create master data between cost center / activity type.
    You can link the two by planning for activity qty the combination of a cost center / activity type in KP26. Then you do a detailed planning for costs for the cost center / activity type / cost element in KP06.
    I hope it is clear..
    Regards,
    Suraj

  • How to identify if a user master record is locked

    Hi,
    I want to use function module BAPI_USER_CHANGE to change a user's master record (transaction SU01).  But if the user that I want to change is being modified by another user, this BAPI doesn't update, correctly so.  Is there a way to identify if a user master record is being edited by someone else?  This way, I can find out before making the change whether the change will be successful.
    Along the same lines, if I'm adding a role (from transaction PFCG) to a user ID and role is locked, I'd like to know that before hand; before I try to assign a user to that role programmatically.
    Thank you for your help.
    Pete

    Hi
    Refer this Lock Owners
    Definition
    Person who holds a lock.
    Use
    At the start of an SAP transaction, two owners are always created who can request locks.
    A lock can have one or two owners. You use the _SCOPE parameter to specify this.
    To determine in a program which user is currently holding a lock, use the ENQUEUE_  function module.  This function module puts the name of the owner into SY-MSGV1.
    Structure
    There are dialog owners and update owners.
    An owner is identified by his or her owner ID, as described in the section entitled The Lock Table.
    A lock can have one or two owners. The ABAP programmer uses the _SCOPE parameter to define this (see below).
    Example
    The graphic below shows how lock owners function during a dialog transaction.
    SAP LUW: Dialog Transaction with Update
    At the start of the dialog transaction, the system creates two lock owners: the dialog owner Owner_1 and the update owner Owner_2.
    During the course of the transaction, Owner_1 requests a lock, as does Owner_2 slightly later. When the update task is called (see also Functions of the Update Task), the lock and Owner_2 are inherited by the update task. An update work process is started with two owners, in the same way as a dialog work process, and then has three owners until the update is completed. All of the locks are released with an implicit DEQUEUE_ALL at the end of the update, at the latest.
    Regards
    Shiva

  • BAPI to create Material master record

    Hi All,
    I need to create a new material master record using a reference Mterial number. Please let me know, if there is any BAPI to achieve this.

    Hi,
    Check these links .You will get your answer in detail.
    Re: How to use BAPI BAPI_MATERIAL_SAVEDATA
    Re: Mass creation of Material Master Records
    Hope it will help you.
    Regards:
    Alok

  • How to save a "new" master record when pressing the "create" in the detail

    I have a simple Master - Detail form for a Customer - Activity case, where the update of Activity table happens through an additional form.
    When users press the create a new user on the top report (Customer Report) they enter the Master detail form, fill in all the Customer fields and instead of saving the customer (master) record and then come back to create a new activity (detail), they press right away the "create new activity" button, causing all customer data (master) to get lost.
    Is there a way to trigger the parent record to be saved when a user presses the create activity (detail) button?
    Thank you
    Yannis

    In order to show you better the idea, I created a demo application that you can see at: http://apex.oracle.com/pls/otn/f?p=45792:2:1386218200737406::NO:::
    When you create a new order (page 3) you can see that instead of inline editing for the detail, there is a report that will drive to another form (page 4) to edit the data for order detail.
    So just to clarify, I am interested to find out in page 3, how to cause a master record to save (when on insert) when a user press the Create button to add a new order detail.
    Thank you
    Yannis

  • How to store multiple records for one master reocrd using sequnce

    dear,
    my question is in one form i have master block f and detail block.
    my question is i created one sequence and assign to master table. but i dont know how to assign that sequence to multiple record in detail table for that particular master record. i got lots of answer previously but i m not getting exactly.pls tell me full procedure otherwise gv me one demo application
    NOTe: the sequnce is created after master record commiting to database.
    PLS pls help me
    Thanks
    damby

    i did not get answer pls help me.

  • How to enter a material on SO without a Material Master Record?

    Hi guys,
    Pls help me 2 flowing problem:
    1. How to enter a material on SO without a Material Master Record? And all case need to enter a material on SO without a Material Master Record.
    2. How to use customer material number if there isn't Master Data
    Thanks

    Hi Friend,
    I dont think we can go with a sales order with a material without material master record.
    But there are some cases where in we can create a sales order by entering a material which does not have a material master.
    1. Through material determination
    You can create a material determination for a material (1234) which exists in sap by a material(XYZ) which does not; For example in VB11 you can create a material determination for a material 1234 ( exists in sap) through a material XYZ which does not exists in sap.
    While creating the sales order when you enter the material XYZ is not give any error and automatically determine the material 1234 which exists.
    2. Text material
    We can create a order/quote by directly entering a text in the material description and without entering the material. This the case for text material wherein text item category will be determined.
    Please let me know if this help you. Else kindly elaborate the scenario.  
    Abhishek

  • How to find out the account group information in customer master record?

    how to find out the account group information in customer master record?
    in which tab? thanks in advance

    Hi
    Go to XD02 and select the Extras from the main menu , you will find Account group info -> click on the No.ranges.
    reward if it helps
    SR

  • How to change the field sequence in Customer master record.

    Dear Friends,
    We are required to chage the sequence of customer master record fields that are available under different tabs of 'General Data', 'Company Code Data' and Sales Area Data.
    Our client requirement is to place all mandatory fields in the first screen of customer master record. Here the intention is to save the user time instead going and clicking multiple tabs/screens to fill information on only one or two tabs. Please suggest us the availabe solution in SAP for this requirement.
    Thank you
    Raghu Ram.

    Hi
    Step 1: Take help of a FI guy and:
    The fields can be suppressed by configuring through Financial accounting > Business Partners > Customers > Account groups.
    Step2 : The challenge inyou project is to have a single tab with the allowed fields
    A technical guy can only help you out on this . Again This would be a huge effort since first you need to change the code for customer master. As customer master is a source of data for various documents in SD , at each place you will have to do changes in th code...I don't think it is feasible.
    Instead of doing this , create an external interface for transferring the value to SAP through BAPI. this would involve integration and may be as per defined SAP standards you can use CSV files or XML files for the integration process.
    This would be a better option than fiddling with SAP system
    Regards
    Nikhil

  • How to delete a master record with transaction data?

    Hi,
        Iam able to delete master record(GL/Vendor/Customer)through OBR2 when there is no transaction data in those respective master records. Despite of clearing all open items in a particular vendor Account, Iam unable to delete that master record. Please suggest me how we can delete vendor master data having transactional data.
                               Thanks in Advance
    Regards,
    Satish

    Hi...
    Not sure whether this helps....you can mark the vendorrecord for deletion and later try to delete it.
    Logistics >> Materials management >> Purchasing >>
    (new menu) Master data >> Vendor >> Central >> Flag for deletion
    try using XK06/FK06
    Assign points if useful
    Regards
    Aravind

  • How to Change Open Item Management Field in GL Master Record

    Hi,
    How to change the field Open Item Management becz eventhough I tried through in norrmal way of making it that GL balance to 0 and made the change after that it not allowing to save and throwing the following errors,
    Account Balance = 0 but open items exist is the error coming,
    Can any one plz advice ?

    Hi,
    Once transaction data is posted, GL Account cannot be made into an open item managed account. However, you can consider the following options:
    1. GL Account Balance is ZERO: If the GL Account balance is ZERO, the GL Master record can be changed to Open Item managed Account or vice versa. But this will not change the transaction data already posted. Only future transaction data will be open item managed.
    2. Until SAP version 4.0B SAP has provided a program to convert a GL Account to open item managed account after transaction data is posted (or vice versa). You can execute this program by blocking the GL Account and this will make the required changes in tables and also change GL Master record.
    But this program is not available for execution in higher versions. Hence, you can copy the program into a Z Program and execute it. The name of the standard program is RFSEPA02.
    Thanks
    Murali.

  • New to ABAP -- Need help with any BAPI to update the vendor master record

    I have a requirement to update the vendor master record ( ie purchasing block data inlfa1 and lfm1 table )directly. i have created the report but my problem is i am updating tables directly by using modify which is not correct according to SAP hence i want to use bapi whereby i can change the fields of the table. does anyone know any bapi which can modify the lfa1-sprem field and lfm1-sperm field. Plz hep me. They have specifically asked me to do it using BAPI's.

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

Maybe you are looking for

  • Problem-planned order start date in the past

    I use PP-PI - After MRP run, planned order was created and has exception message "06-start date in the past" its make me wonder because before this problem occur we already tested many time and never found this message(06). then i check in OPPR- fiel

  • Business area not appearing in mateial document

    Hi, I have created a new plant. and have made all assignment. while doing  testing  by making PO and doing MIGO. Business area is not appearing in material document posting. ( more over in my existing plants at the time of MIGO no account assignment

  • Firmware upgrade for SG 300-28

    Hi ALL, Recently I brought SG 300-28.It came loaded with firmware ver 1.0.0.27.Can I upgrade it to ver 1.1.2.0 directly?

  • Podcasts are being deleted by the app

    I downloaded some podcasts yesterday and whilst playing one the app stopped and then deleted all the podcasts for no apparent reason.  I tried this again and it happened again. Having removed the app, rebooted iphone and reinstalled it is still delet

  • Deffer Payment Terms

    Hi Happy new year to ever one Can any one suggest me the below we required different Payment Terms line item wise In Sales order for different materials we need different payment terms Does it possible? Regd Sudha