RFC- Bapi - For Role Maintenance (Single and  Composite)

We are in the process of developing an ASP.NET web application which will be used to raise requests for user and role creations in SAP.
We will be making use of Sonic ESB to update SAP through IWAY SAP adapter.
IWAY SAP adapter supports RFC’s, Bapi’s & IDocs.
We are aware of RFC’s that could be used for user creation, updating and deletion.
We have NOT come across any RFC’s or Bapi’s for role maintenance
1) We would need RFC’s for the following requirements:
1) To create a new role (single or composite role ).Creating a new role would include adding transactions to a role, deriving from an existing role or assigning more than one role to another role.
2) To update a role
3) To delete a role.
4) To get the details of an existing role
If there are no RFC’s for the above requirement, will we need to create a custom RFC?
If we need to create a custom RFC, are there any transactions already available for the above requirements so that we could write a RFC wrapper?
2) Are there any RFC’s that would give us the complete list of roles (single or composite) in an SAP system?
3) Are there any RFC’s that would give us the complete list of transactions in an SAP system?
Presently for 2) & 3) , we are making use of RFC_READ_TABLE to read SAP tables to get the list of roles and transactions.
Thanks for your answers

Hi,
check these FM , i dont know it will work for u or not.
BAPI_USER_ACTGROUPS_ASSIGN     User: Change entire activity group assignment
BAPI_USER_ACTGROUPS_DELETE     User: Delete entire activity group assignment
BAPI_USER_CHANGE               Change User
BAPI_USER_CLONE                Create User with Template in Another System
BAPI_USER_CREATE
BAPI_USER_CREATE1              Create a User
BAPI_USER_DELETE               BAPI to Delete a User
BAPI_USER_DISPLAY              Display Users
BAPI_USER_EXISTENCE_CHECK      Check a user exists
BAPI_USER_GETLIST              Search for Users
BAPI_USER_GET_DETAIL           Read User Details
BAPI_USER_INTERNET_CREATE      Create a user in the Internet
BAPI_USER_LOCACTGROUPS_ASSIGN  Change Activity Group Assignment for Dependent Systems from Central Sy
BAPI_USER_LOCACTGROUPS_DELETE  Delete Activity Group Assignments in the Dependent Systems
BAPI_USER_LOCACTGROUPS_READ    Change Activity Group Assignment for Dependent Systems from Central Sy
BAPI_USER_LOCK                 Lock User
BAPI_USER_LOCPROFILES_ASSIGN   Change Profile Assignment for Dependent Systems from Central System
BAPI_USER_LOCPROFILES_DELETE   Delete Profile Assignments for Dependent Systems
BAPI_USER_LOCPROFILES_READ     Change Activity Group Assignment for Dependent Systems from Central Sy
BAPI_USER_PROFILES_ASSIGN      User: Assign profiles
BAPI_USER_PROFILES_DELETE      User: Delete All Profile Assignments
BAPI_USER_UNLOCK               Unlock user
Reward points if useful..
Regards
Nilesh

Similar Messages

  • SAP Security Report for single and composite roles

    Hi
      I have a requirement to create a cutomize report in SAP Security.
    I have to display Composite roles,corresponding single roles,the tcodes assigned to those single roles and the description of t- codes. The selection screen has composite roles,single role and T-code which are optional.User can enter selection in any of the selection critreria.How should I go on this?If user gives only composite roles on the selection for e.g 'TEST'. for this role I get suppose 3 child roles 'TEST1' 'TEST2' 'TEST3' from table AGR_AGRS.Now to get the tcodes i go to table 'AR_1251' and I get the tcodes.
    But if user give only single role on the selection for eg 'TEST2' ,for this single role 'TEST2' there would be multiple composite roles.for e.g, 'TEST' 'SAP1' 'SAP2' etc..Now if go to get the tcodes for this single role in AGR_1251,I will ceatainly get the tcodes for eg MM01,FB01,etc.But then how would I know whether MM01 belongs to composite role 'TEST' SAP1' or SAP2' for the single role 'TEST2'.
    Please advise.
    Thanks
    Edited by: Julius Bussche on Aug 13, 2009 4:52 PM
    Subject title improved

    I though of seperate selection options for singles and composites, but you also said:
    > But if user give only single role on the selection for eg 'TEST2' ,for this single role 'TEST2' there would be multiple composite roles.
    My suggestion would be to build better single roles, but that is just me...
    Cheers,
    Julius

  • RFC for role maintenance

    We are in the process of developing an ASP.NET web application which will be used to raise requests for user and role creations in SAP.
    We will be making use of Sonic ESB to update SAP through IWAY SAP adapter.
    IWAY SAP adapter supports RFC’s, Bapi’s & IDocs.
    We are aware of RFC’s that could be used for user creation, updating and deletion.
    We have NOT come across any RFC’s or Bapi’s for role maintenance                   
    1) We would need RFC’s for the following requirements:
    1)       To create a new role (single or composite role ).Creating a new role would include adding transactions to a role, deriving from an existing role or assigning more than one role to another role.
    2)       To update a role
    3)       To delete a role.
    4)       To get the details of an existing role
    If there are no RFC’s for the above requirement, will we need to create a custom RFC?
    If we need to create a custom RFC, are there any transactions already available for the above requirements so that we could write a RFC wrapper?
    2) Are there any RFC’s that would give us the complete list of roles (single or composite) in an SAP system?
    3) Are there any RFC’s that would give us the complete list of transactions in an SAP system?
    Presently for 2) & 3) , we are making use of RFC_READ_TABLE to read SAP tables to get the list of roles and transactions.
    Thanks for your answers

    Hi Nicole,
    I think you are in the wrong forum.... For Guided Procedures, this is only about process roles and not roles used in the ABAP Stack.
    Best regards,
    David

  • Function Module or BAPI for Sales price calculation and Pricing worklist

    Hi Retail experts,
    We frequently change purchase conditions, but not that frequently for cases like perishables, so sales price calculations needs to be done each time. This means pricing worklist generation and release is done often and then sales price recalculation is done each time article wise and for various organization level.
    We have 15000 articles for which purcahse conditions changes, it is impossible to generate and release pricing worklist and do sales price calculation for each article
    So solution may be to find a FM/BAPI for the following transactions and automate them.
    Do you know FM/BAPI for VKP5/VKBP or VKP6, WVN0, WVN1 transactions.
    Regards
    Bob

    HI Madhu,
             Thanks for the reply,
    I am looking for BAPI or FM which will check all pricing condition types( like MRP of the Material(table A304), discounts(A800,A802,A803,A804) for that customer and Tax) and give me the value(KONP-KBETR).
    I can only pass Customer, material, quantity etc.. so that BAPI or FM has do all standred checks/ validation and give the
    KONP-KBETR for all condition types like MRP, discounts, Tax. we are developing the custom program for sales order creation so we require the all this before saving the sales order.
    Regards,
    Nagesh
    Edited by: nageshdb4u on Mar 5, 2011 12:05 PM

  • (NWDS) trial version for EP 7.0 and Composition Enviroment  7.1

    Hi Experts,
    I am looking for the netweaver developor studio (NWDS) trial version for EP 7.0 and Composition Enviroment  7.1. Can anyone send me the link to download it.
    Thanks in advance.
    SG

    Hi,
    Check this document for the location and installation steps:
    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/50289b6a-5373-2910-91bd-b8196737c026
    you can directly download it from:
    https://websmp103.sap-ag.de/swdc --> Search For all categories --> Search for NW Developer Studio
    i don't think you get a trial version for NWDS.....maybe i am wrong here.
    regards,
    Abhishek.
    Edited by: abhishek salvi on Apr 27, 2009 1:26 PM

  • NEED BAPI FOR  SALES CONTRACT CREATION AND EXTRACTION FOR Trans- PA41& PA43

    Hi All,
    I need the BAPI for T-code PA41 and PA43 for sales contract.
    i would like to extract all the contract details for Contract data contains Table VEDA. And need to create contract.
    Any body please help me out...
    Please give me code if any one have how to do mapping ..
    Thank you,
    Vishnu.

    Hi Vichu,
    Please search on SCN.
    Regards
    Abhii

  • RFC/BAPI For Sales Order Credit Block Release like vkm3 (very urgent )!!

    hi experts,
    I need the RFC/BAPI For Sales Order Credit Block Release like vkm3 function ,please help
    thanks
    Godspeed

    hi
    can get the list of all the bapis..
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    Reward if USeful
    Thanx & regards.
    Naren..

  • BAPI for Transaction Codes FMV1 and FMZ1

    hi,
    is there any bapi for transaction codes FMV1 and FMZ1?!
    please advice!
    thanks JE

    HI,
    For FMZ1
    use this
    FMFR_CREATE_FROM_DATA
    FMFR_CHANGE_FROM_DATA
    FMFR_CHANGE_COMPLETION_FLAG
    Regards
    Hiren K.Chitalia

  • FM or BAPI to change Maintenance plant and Planning Plant for an equipment

    Hi Experts,
    I need to change the Maintenance plant and Planning Plant for an equipment. Is there FM or BAPI available for the same?
    Thanks,
    Peri.

    what doesn't it do the same ? it contains planning plant and maintenance plant which you can update ??
    if you expect that SAP delivers custom functions for every possible question a developer has you can better search for an other job. SAP makes generic functions and you can use them for you're own sollutions.
    it is also expected that you try to work things out for you're own sollution.
    you can find sample code quickly enough if you search where the function is used
    like RISTEQ01
    kind regards
    arthur

  • Execute BAPI for different input values and dispaly data in a table

    Hi all,
    I have a specific problem about executing BAPI multiple times for different input values and didplay result in a table.
    I am using the code similar to the following logic.
    Bapi_Mydata_Input in = new Bapi_Mydata_Input();
    wdContext.nodeBapi_Mydata_Input().bind(in);
    String in = wdContext.currentperdataElement.getnumber();
    in.setDestination_From(10)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(20)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    in.setDestination_From(30)
    wdThis.wdGetMydataComponentController().executeBapi_Mydata_Input();
    And I want to display the data in a single table. I want the result in a table for Bapi execution based on input parameters passed 10,20 30.
    But I am getting the table data only for the input parameter 30.I mean its actually display the data in table only for the last input parameter.
    So May I ask you all if you know the solution for this problem.PLease advise me with some tips .or sample code is very much appreciated.I promise to award points to the right answer/nice advises.
    Regards
    Maruti
    Thank you in advance.

    Maruti,
    It seems that WDCopyService replaces content of node, rather then adds to content.
    Try this:
    Bapi_Persdata_Getdetailedlist_Input frelan_in = new Bapi_Persdata_Getdetailedlist_Input();
    wdContext.nodeBapi_Persdata_Getdetailedlist_Input().bind(frelan_in);
    final Collection personalData = new ArrayList();
    String fr1 = wdContext.currentE_Lfa1Element().getZzpernr1();
    frelan_in.setEmployeenumber(fr1);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    String fr2=wdContext.currentE_Lfa1Element().getZzpernr2();
    frelan_in.setEmployeenumber(fr2);
    wdThis.wdGetFreLanReEngCompController().executeBapi_Persdata_Getdetailedlist_Input();
    WDCopyService.copyElements(wdContext.nodePersonaldata(), wdContext.nodeNewPersonaldata());
    for (int i = 0, c = wdContext.nodePersonaldata().size(); i < c; i++)
      personalData.add( wdContext.nodePersonaldata().getElementAt(i).model() );
    wdContext.nodeNewPersonalData().bind( personalData );
    Valery Silaev
    EPAM Systems
    http://www.NetWeaverTeam.com

  • RFC BAPI for BOM explosion with parametric effectivity

    Hello,
    I'm searching for a RFC enabled BAPI for BOM explosion which allows to evaluate parametric effectivity.

    Hi you can also check CS_BOM_EXPLOSION_MAT
    If its not remote enabled, write a custom fm(Remote enabled) and wrap this Fm.

  • Bapi for Order list(iw38) and PM Notification(iw21)

    Hi experts,
    Can you please tell me are there any BAPI's which can fullfill the functionalities of the tcodes: IW38 and IW21 ??
    Thanks & regards,
    Aayush Aggarwal

    Please find the list of bapi's present in maintenance notification and orders
    ORDERS:  
    BAPI_ALM_COMPONENT_GET_DETAIL     Read Detail Data for a Component
    BAPI_ALM_OPERATION_GET_DETAIL     Read Detail Data for an Operation
    BAPI_ALM_ORDERHEAD_GET_LIST       Determination of a List of Maintenance/Service Orders from Selection
    BAPI_ALM_ORDEROPER_GET_LIST       Determination of a List of Operations from Selection
    BAPI_ALM_ORDER_GET_DETAIL         Reading of Detail Data for an Order
    BAPI_ALM_ORDER_MAINTAIN           Process Maintenance-/Service Order 
    NOTIFICATIONS:  
    BAPI_ALM_NOTIF_CHANGEUSRSTAT      Change User Status of a PM/CS Notification
    BAPI_ALM_NOTIF_CLOSE              Complete PM/CS Notification
    BAPI_ALM_NOTIF_CREATE             Create PM/CS Notification
    BAPI_ALM_NOTIF_DATA_ADD           PM/CS Notification: Add Data
    BAPI_ALM_NOTIF_DATA_DELETE        PM/CS Notification: Delete Data
    BAPI_ALM_NOTIF_DATA_MODIFY        PM/CS Notification: Change Data
    BAPI_ALM_NOTIF_GET_DETAIL         PM/CS Notification: Read Detail Data
    BAPI_ALM_NOTIF_LIST_EQUI          Select PM/CS Notifications by Equipment
    BAPI_ALM_NOTIF_LIST_FUNCLOC       Select PM/CS Notifications by Functional Locations
    BAPI_ALM_NOTIF_LIST_PARTNER       Select PM/CS Notifications by Partners
    BAPI_ALM_NOTIF_LIST_PLANGROUP     Select PM/CS Notifications by Maintenance Planner Group
    BAPI_ALM_NOTIF_LIST_SORTFIELD     Select PM/CS Notifications by Sort Field
    BAPI_ALM_NOTIF_POSTPONE           Reset PM/CS Notification
    BAPI_ALM_NOTIF_PUTINPROGRESS      Release PM/CS Notification
    BAPI_ALM_NOTIF_SAVE               Save PM/CS Notification
    BAPI_ALM_NOTIF_TASK_COMPLETE      PM/CS Notification: Complete Task
    BAPI_ALM_NOTIF_TASK_RELEASE       PM/CS Notification: Release Task
    BAPI_ALM_NOTIF_TASK_SUCCESS       PM/CS Notification: Set Task to Successful
    BAPI_SERVICENOTIFICAT_CREATE      Create service notification
    BAPI_SERVICENOTIFICAT_GETLIST     Select service notifications according to customer or contact person

  • BAPI for changing delivery date and delivery time fields in LIKP table

    Hi All,
         Is there any BAPI or function module to change the delivery date and delivery time in LIKP table ?
    Please tell me experts if exists.
    Thank you,
    Raghu.

    try these:
    BAPI/FM to update LIKP and VTTK tables
    http://sap.ittoolbox.com/groups/technical-functional/sap-dev/bapi-for-changing-sales-headertable-likp-662800

  • BAPI for Purchase Order Confirmation and update EKES table

    Hi all,
    I have a requirement to update the PO confirmation soon after successful creation of PO in an IDOC.
    I have used BAPI_PO_CHANGE function module which didnt serve the purpose as it cannot update confirmations.
    I tried using ME_CONFIRMATION_UPDATE where I was able to add a confirmation entry in EKES table but that is not being reflected in ME23N transaction when I display the PO.
    Please help me out on this.
    Thanks & Regards
    Pavan

    NB: Never use a standard update FM (check attributes of ME_CONFIRMATION_UPDATE) its often only a SQL statement collector without any check, logging of changes or database consistency, if you perform a where-used you should find it is never called alone but with a bunch of other update FM after checks and other update preparation.
    Get back to the BAPI and table parameter POCONFIRMATION, also use BAPI_PO_GETDETAIL1 to get current data for the call of BAPI_PO_CHANGE.
    Regards,
    Raymond
    PS: If it is not in 197958 - BAPIs for purchase orders: Missing functions, you should be able to do it

  • FM/BAPI for Post Goods Recipt and Reservations

    Hi All,
    Is there any BAPI/FM for posting Goods receipt and Reservations . Please send some sample example to post goods receipt using Inbound Delivery & Reservations
    Thanks
    Bobby

    Bobby,
          I think you can use the FM  BAPI_ACC_GOODS_MOVEMENT_POST for this purpose. You try to write a sample program and see how it works.
    Sojan

Maybe you are looking for

  • InDesign CS6 Text Wrap increments not accurate.

    My work jumped from CS4 to CS6 so I don't know if CS5 had the same issue. Anyway. Text wrap (around bounding box) seem to now be very limited. For example, If I have, say a .25 text wrap on the bottom of a object, but I need to change it slightly to

  • How do I add an email body text for remittance advices / payment advices?

    Hello, I am trying to send an email body text with the pdf remittance advice to my vendors. Background: We are running automatic payments to vendors via transaction F110. We have configured the pay run to produce remittance advices for vendor payment

  • Canon Digital Photo Professional and EOS Utility not responding

    Have been using both Canon DPP and EOS Utility since Dec 09 successfully. Installed Snow Leopard in Jan 2010, still worked fine. Installed Aperture 3 in August and now the Canon software keeps shutting down on me. I contacted Canon and they said it i

  • Re: insert statement runs twice in place of once

    I am using a insert statement.The insert statement picks a variable from the form and inserts it into the database I have no loops in the page the code is : <cfif isdefined("Form.Category")> <cfquery name="InsertCat" datasource="ShoppingCart"> Insert

  • Best Export Settings for SD in Premiere Pro CS6?

    I have some old SD footage in AVI format. My client wants the best quality that will play smoothly in his Windows PC. I tried Quicktime  NTSC DV and I tried H.263, NTSC DV but both have jagged edges on all fast motion (aliasing). Any suggestions?