Is there a BAPI to assign a SAP HR position to a BASIS User?

I am trying to automate the Basis user's assignment to SAP HR position through my .Net client program.
For this i need to figure out a way. for example calling a BAPI from my client code to do this assignment.
Any one knows if there exist a BAPI to do this assignment.
Thanks

Hi Vinay
Will you please explain more? <i>What is "the Basis user's assignment"?</i> Can you give an actual example?
*--Serdar

Similar Messages

  • Is there any Bapi for assigning CreditcontrolArea to Salesarea

    Hi Experts ,
        Is there any Bapi for assigning CreditcontrolArea to Salesarea
          Thanks in advance

    Hi Mugu,
    WELCOME TO SDN.
      refer to the BAPI below:
    BAPI_MATERIAL_GETBATCHES
    Create Batch List for a Material
    to display:
    BAPI_MATERIAL_DISPLAY Display Material
    refer to the link below for other BAPI's:
    http://www.sapbapi.com/bapi-list/
    With luck,
    Pritam.

  • SAP IDM position based security with user in multiple positions

    Hi,
    In case of Higher Duties, we have a scenario where a user can have multiple positions with access to the business roles of both the positions.
    The design is to have one business role assigned to one position so that the user can have all the access he requires.
    In case of higher duties, we see an exception.
    Has anyone implemented such a scenario?
    Inputs/advices are much valued.
    Thanks
    Chaitanya

    Hi Chaitanya,
    Is it possible to assign more than one position to an employee in HCM?
    If so, there is many ways of dealing with that from IDM side, I don't know precisely your business requirement, what you need to maintain and what should be dynamic, but i can suggest you to :
    1. Translate every position you receive from HR to a Business role and assign as many Business roles you want to the same user.
    From HCM you will receive :
    Employee :
    - Z_POSITION_ID1 :1
    - Z_POSITION_ID2 : 2
    In IDM
    Employee
    - Member of BR1
    - Member of BR2
    2. If you have a lot of attributes related to HR position on user (link user-position) to maintain , then create a custom Object in IDM (entrytype Z_POSITION).
    You wil be able to manage relations much easier than a simple relation (One-to-one attribute)
    Otherwise, It worth to look over this blog for general design of HCM integration :
    How to optimize identities’ lifecycle management in your information system using SAP HR events?
    Fadoua

  • Is there a BAPI to do SAP HR position assignment to BASIS User

    I am trying to automate the Basis user's assignment to SAP HR position through my .Net client program.
    For this i need to figure out a way. for example calling a BAPI from my client code to do this assignment.
    Any one knows if there exist a BAPI to do this assignment.
    Thanks

    Hi Vinay
    Will you please explain more? <i>What is "the Basis user's assignment"?</i> Can you give an actual example?
    *--Serdar

  • Assigning a SAP Query to Transport Request

    Hi Friends
    I have a SAP Query, now I want it to transport to the other system, while saving the query it is not prompting for transport request. Is there any possibility to assign that SAP Query to a transport request, if yes, please let me know the process.
    Regards
    Praveen

    Dear All,
    This regarding creation of SAP Query .
    Situation:
    Infosets and User Groups were created in a DEV SERVER CLIENT 200 and saved in a request ie.REQ01
    Now i wanted to create a Query QU01 in the Same User Group  in DEV SERVER CLIENT 210  so i tried creating a Infoset but i get this error message
    Note: I am not able to create & save an Infoset.
    Message no. TK414
    Diagnosis
    You cannot edit request D01K901880 of user X00012, since this request is reserved for changes in client 200. You are logged on to client 210.
    Can anyone clear this error? what is the solution?
    Thanking You
    Andrew

  • Is there any BAPI for AS02?

    Hi Experts,
    I am guessing, the following idea may work for my problem, but, pls, let me give some info, abt the same.......
    1 - At the sales order creation time, each LINE ITEM creates the SubAsset, say,
    Line_ Item_1 -
    > creates SubAsset_1,
    Line_ Item_2 -
    > creates SubAsset_2, so on
    2 - if some reasons, if the user deletes Line_ Item_1, I need to delete that particlar SubAsset_1,
    so, pls. let me know that,
    1- If the user, deletes the item_1, then I wanna, to delete the created SubAsset_1, so then, I guess, SubAsset_2 shuld be modified as SubAsset_1
    2- Is it works out? makes sense?
    3- If so, Wht is the best method to delete a SubAsset from Asset Master? Is it AS02 BDC or Is there any BAPI or any other?
    thanq.

    thanq,
    1- If the user,for some reason,  deletes the item_1, then I must/wanna, to delete the created SubAsset_1, so then, Is the SubAsset_2 modified as SubAsset_1 in Asset related tables with BAPI_*CHANGE?
    2- Or in other words, Is it possible to DELETE the sub asset? if so, How?
    thanq
    Message was edited by:
            Srinivas

  • Is there any BAPI that can create assignment in workforce planning (CMP2)

    Hello,
    I want to implement a batch input program in order to create assignment in workforce planning. But the screen is not actually proper for batch input. Is there any Bapi that can create assignment for a given network, Operation/Activity, suboperation/Subactivity, personel Number and work hours.
    Thanks in advance.

    Hi Aselsan,
    Please have a look into the below link
    [Link 1|Re: BAPI to create network (T-code CJ21)]
    [Link 2|Example code for BAPI_NETWORK_MAINTAIN]
    [Link 3|BAPI_NETWORK_COMP_ADD]
    Hope they are useful,
    Thanks
    kalyan

  • Is there any BAPI which combines web and SAP??

    Is there any BAPI which combines web and SAP??

    Hi Krishna,
    <b>Good .. check the following documentation
    BAPIs are technically nothing else but RFC-enabled function modules meaning that they provide us with external access to the SAP system.
    However, BAPIs are more than "normal" RFC-enables function modules in that they generally access SAP business objects (like customer, sales order, etc.).
    Usually, a BAPI corresponds to a certain dialog transaction dealing with a SAP business object (e.g. BAPI_USER_CREATE -> SU01 to create SAP users).
    In web terms RFC is similar to HTTP and BAPIs are CGI applications.
    RFC will normally provide sy-subrc 0 or >0. Most of the BAPIS will provide a return-structure.
    RFC and BAPIs are remote enabled function modules. They are practicly the same. A BAPI is one step further as it usually is a self contained business function, such as "Create Purchase Order", or "Change Sales Document". BAPIs interface is very well defined and documented. BAPIs can be found in the BAPI browser via transaction BAPI. RFCs are just remote enabled function modules.
    refer links,
    http://searchsap.techtarget.com/ateQuestionNResponse/0,289625,sid21_cid558752_tax293481,00.html
    http://www.sap-img.com/abap/interview-question-on-bapi-rfc-abap-objects-tables.htm
    http://www.sap-img.com/fu033.htm
    http://www.sap-img.com/abap/ale-bapi.htm</b>
    Good Luck and thanks
    AK

  • Is there any BAPI or function module  to delete entries from a table (VBAK)

    Hi Everybody,
    this is my first thread in SDN...
    my problem follows...
    A report is be created that selects all sales orders created by e-Sales that are more than 20 minutes old and still have a delivery block:
    tables:
    VBAK     sales document: header data
    selection fields:
    VBAK-LIFSK      &#8800;     <BLANK>
    VBAK-ERNAM     =     userID used by e-Sales / IVE
              (EP-BATCH / EAI-BATCH)
    VBAK-ERDAT      <=     Current system Date
    VBAK-ERZET     <=     Current system Time - 20 minutes
    These orders should be deleted from SAP system.
    This report should be scheduled to run regularly every 10 minutes.
    my doubt : is ther any BAPI or Function module to delete entries from a standard table...if no what is the way to delete the enteries from a std table...
    best replies will be rewarded....
    regards
    Reddy

    Hi Vasanth ,
    thanks for your reply.
    i tried in the same manner what u mentioned.
    but how to pass only one parameter to the functionmodule..
    here in this case we have to pass only update flag as 'D'..
    i did the same it giving dump..
    An exception occurred that is explained in detail below.                          
    The exception, which is assigned to class 'CX_SY_DYN_CALL_ILLEGAL_TYPE', was      
      not caught and                                                                   
    therefore caused a runtime error.                                                 
    The reason for the exception is:                                                  
    The call to the function module "BAPI_SALESORDER_CHANGE" is incorrect:                                                                               
    In the function module interface, you can specify only                            
    fields of a specific type and length under "ORDER_HEADER_INX".                    
    Although the currently specified field                                            
    "INT_ORDER_HEADER_INX" is the correct type, its length is incorrect.              
    my pgm :
    *& Report  YNEW_ORDER_DELETION
    REPORT  ynew_order_deletion.
    TABLES:vbak.
    PARAMETERS:
         p_lifsk LIKE vbak-lifsk DEFAULT '02'.
    SELECT-OPTIONS:
       s_lifsk FOR vbak-lifsk DEFAULT '10',
        s_ernam FOR vbak-ernam,
        s_erdat FOR vbak-erdat,"DEFAULT sy-datum.
        s_erzet FOR sy-uzeit.
    *PARAMETERS:
    p_erzet LIKE sy-uzeit.
       s_erdat like vbak-erdat,
       s_erzet like vbak-erzet.
    DATA:
       BEGIN OF int_final OCCURS 0,
            w_vbeln TYPE vbak-vbeln,
       END OF int_final.
    DATA:
      int_return LIKE bapiret2 OCCURS 0 WITH HEADER LINE.
    DATA: int_order_header_inx LIKE bapisditmx OCCURS 0 WITH HEADER LINE.
    DATA:
      wf_time TYPE sy-uzeit.
    INITIALIZATION.
      s_ernam-low = 'KULKARMA'.
      s_ernam-sign = 'I'.
      s_ernam-option = 'EQ'.
      APPEND s_ernam.
    s_ernam-low = 'EAI-BATCH'.
    s_ernam-sign = 'I'.
    s_ernam-option = 'EQ'.
    APPEND s_ernam.
    wf_time = sy-uzeit - 1200.
    p_erzet = sy-uzeit - 1200.
    p_erzet-low = wf_time.
    APPEND s_erzet.
      int_order_header_inx-updateflag = 'D'.
      APPEND int_order_header_inx.
    START-OF-SELECTION.
      SELECT vbeln FROM vbak
                       INTO TABLE int_final
                       WHERE lifsk EQ p_lifsk
                         AND ernam IN s_ernam
                         AND erdat IN s_erdat
                         AND erzet IN s_erzet.
      IF sy-subrc = 0.
        LOOP AT int_final.
          CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
            EXPORTING
              salesdocument         = int_final-w_vbeln
      ORDER_HEADER_IN             =
        order_header_inx            = int_order_header_inx
      SIMULATION                  =
      BEHAVE_WHEN_ERROR           = ' '
      INT_NUMBER_ASSIGNMENT       = ' '
      LOGIC_SWITCH                =
      NO_STATUS_BUF_INIT          = ' '
            TABLES
              return                      = int_return
      ORDER_ITEM_IN               =
      ORDER_ITEM_INX              =
      PARTNERS                    =
      PARTNERCHANGES              =
      PARTNERADDRESSES            =
      ORDER_CFGS_REF              =
      ORDER_CFGS_INST             =
      ORDER_CFGS_PART_OF          =
      ORDER_CFGS_VALUE            =
      ORDER_CFGS_BLOB             =
      ORDER_CFGS_VK               =
      ORDER_CFGS_REFINST          =
      SCHEDULE_LINES              =
      SCHEDULE_LINESX             =
      ORDER_TEXT                  =
      ORDER_KEYS                  =
      CONDITIONS_IN               =
      CONDITIONS_INX              =
      EXTENSIONIN                 =
        ENDLOOP.
        LOOP AT int_return.
          WRITE:/ int_return-type,
                  int_return-id,
                  int_return-number,
                  int_return-message.
        ENDLOOP.
      ENDIF.
    please help me ..its a very urgent issue to be solved...
    am waiting for ur reply...
    regards
    gangareddy

  • BAPI for Assigning multiple ship to party for customer

    Hi experts,
    I need a bapi to assign different ship to party for a customer.
    I have tried SD_CUSTOMER_MAINTAIN_ALL but not working properly.
    Kindly suggest the solution.
    Regards,
    Nitin.

    Hi,
    For the maintenance of customers, there is NO BAPI and NO direct function module.
    There are some functions modules like the one above where the name is looking nice. But these should not be used.
    Below ECC 2005 (6.00), the only solution was batch input and DEBMAS idocs. See [note 384462|https://service.sap.com/sap/support/notes/384462]
    Starting with ECC 2005 (6.00) and above: a synchronisation tool has been introduce. See class CMD_EI_API and VMD_EI_API
    Hope this helps
    BR
    Alain

  • BAPI for assigning models to the Product

    Hi
    We are trying to create some product locations which are not there in SAP R/3.
    Is there any BAPI which can be used to assign models to the created products ?
    Thanks and Best Regards
    Mitesh

    Hi Mitesh,
         You can use '/SAPAPO/DM_MODEL_ADD_PROD' for assigning the models.
    ( /SAPAPO/MOD_VERS_BEGIN_ACCESS and  /SAPAPO/MOD_VERS_END_ACCESS function modules can be used for locking and unlocking the models).
    Regards,
    Siva.

  • Is there a BAPI that gives the status information (and possibly more) of a

    Hi All,
    We are using an external document image system where we scan and code vendor invoices. They are send to our SAP system via a BAPI.
    We want to update the status of the invoice in the document image system from the status in the SAP system, so whether it is still open or has been paid and cleared. Is there a BAPI that gives the status information (and possibly more) of a specific vendor open item?
    Regards,
    Gerrit

    Are you sure about that? Several highly regarded, widely downloaded apps, e.g., eReader, have an option to hide the status bar. The developer forums are awash in discussions about the commands to hide the status bar-- it's built in to the SDK.
    I figure someone will have put out a small program that does nothing but hide the status bar or allow its tweaking... much like StatusBar does on the Palm OS 5 PDAs...

  • Is there any BAPI allowing to retreive dump information in details?

    Dear all,
    I would like to ask a question about dumps that are sometimes generated on SAP sytems.
    Each morning, by using the transaction ST22 I can see the dumps that were generated during
    the precedent day. I click on each dump label then in the menu System > list > save
    I can save the dump file which includes technical information about the error (our
    developers look inside in order to find out what went wrong that gernerated the error)
    Now, sometimes there are actually too many dumps and saving each file by ST22 one by one
    takes too much time.
    I know ABAP programming language, I would like to ask is there any BAPI in SAP which could be called
    and that provides the same details that you can have by ST22 about the generated dumps? I was thinking
    to call inside a loop (as many times as there are dumps) this BAPI and write the datails about each
    dump in DATASET and creates the files.
    So, do you know any BAPI providing information about dumps?
    Thank you very much for your attention,
    Kind Regards,
    Dariyoosh

    Hello there,
    Thanks for this information, I'm going to look into the function group in order to
    see how I may use its function modules properly for my purpose.
    Thank you very much,
    Kind Regards,
    Dariyoosh

  • Is there a BAPI or Function module can create a Customer Master record?

    Hi experts,
    In SE37, Is there a BAPI or Function module can create a Customer Master record?
    Regards

    BAPI_CUSTOMER_CREATEFROMDATA1
    also see this thread.
    Re: Create customer record  in SAP via BAPI
    кu03B1ятu03B9к

  • Is ther a BAPI or RFC that can read any table ?

    I want to read 35 tables in SAP database. Is ther a BAPI or RFC that can read any table ?
    If I use RFC to read these tables, I will write a lot of codes. It may be a large work.

    Check these FM
    RFC_READ_TABLE
    RFC_GET_TABLE_ENTRIES

Maybe you are looking for

  • Is it possible to change the color of the folders in OS 10.10.2 Yosemite?

    Is it possible to change the color of the folders in OS 10.10.2 Yosemite?

  • Lov returned items are not cleared in Jheadstart 11.1.1.4.26

    We are using Jheadstart 11.1.1.4.26 with Jdeveloper 11.1.1.4 HR Testcase: Form UI Lov on the Manager_FirstName returns ManagerId -> ManagerId FirstName -> Manager_Firstname LastName -> Manager_Lastname 1: Select a manager from the LOV popup. ManagerI

  • Lightroom 1.4.1:  Reducing File/Image Size for Web/E-Mail

    This should be a simple thing. I need to reduce my file size to upload it into various things on the web and e-mail and what not.  Sometimes it asks for a specific size. Right now, I'm using the Export function to do this, which means I have to reset

  • Reason rpg-8 arpeggiator through Logic

    just a tip - for anyone who feels restricted by the somewhat 2 dimensional arpeggiator in logic - consider getting hold of Reason 4 and running it in slave mode thru logic via rewire the result is extremely versatile arpeg possibilities which brings

  • N8 not compatible with CK-100?

    Can anyone help me? I was assured by VOdafone that when upgrading my Nokia 5800 to N8 it'd still be compatible with my existing CK-100 car kit. But it isn't working right. I have two issues- First, the Ovi satnav no longer plays through the CK-100 -