BAPI to update Employee position?

Hi All,
what is the BAPI to update an employee's job title/position.
Thanks
Thruna
Moderator message: please (re)search yourself before asking.
Edited by: Thomas Zloch on Nov 4, 2010 10:51 PM

very nice explaination on Bapis is given on this link please check.
without so much technical stuff and in simple terms u can say. They are Function Modules only that they are SAP provided Remote function calls. meaning. Function modules can be used only within SAP, where as Bapis can be used from outside SAP,thru external applications.
if u want to understand using an HR example.
consider ur company has Intranet portal or any other front end which all the employees are comfortable using. but the company wants to use SAP. and they r not comfortable with SAP interface.they want to continue using their own old portal for various reasons.
in such scenarios, although front end is different portal, it connects to SAP in the back end. the employers do not know that whenever they r changing their phone no/email id etc in thier portal in back end its getting changed in his employee master in IT0105 in SAP.
So how are tey able to acheive this? inputing data in different system but updating SAP system? well thats where BAPIS come into picture. SAP has exposed certain functions to be accessed remotely thru external systems..for such functions it provided BAPIS. in this case of communication SAP provided
BAPI_EMPLCOMM_CHANGE Change communication
BAPI_EMPLCOMM_CREATE Create communication
BAPI_EMPLCOMM_DELETE Delete communication
BAPI_EMPLCOMM_DELIMIT Delimit communications
BAPI_EMPLCOMM_GETDETAIL Read communication This is just an example.
go to TCODE: BAPI and check out all the bapis.
go to TCODE: SE37 give a bapi name and read documentations/see source code/etc.
Bapis manipulate SAP business objects,thru API methods.
with this descriptions as a base, try making sense out of what BAPI is by reading above link and other material.and come back with more precise quesions.
To use bapis u require different authorisations..usually authorisation object s_rfc is given
inputs given by hurser
this may be helpful
sikindar

Similar Messages

  • Bapi to update new position id

    Hi
    I'm trying to use the Bapi BAPI_HRMASTER_SAVE_REPL_MULT &
    BAPI_ORGMASTER_SAVE_REPL_MULT
    to create a new position id for already existing Organisation(O) and Position(S)
    The scenario is like this
    I'm having a organisation(o) and postion (s) for which i have to assign an employee (p) through Bapi but not by using any FM. So whenever i tried to put an command U to update the field it was not updating the field but when i tried with the command I then it was deleting the related employee id which i had declared over there to insert that position.
    So let me know what are the other BAPI to create a new position ID or else plz provide me the necessary parameters to be passed for the same BAPI here i'm providing you the parameters which i had already passed
    HR_OBJECT_HEADER 
    PLAN_VER                       01
    OBJ_TYPE                       S
    OBJ_ID                         50000519
    PROOF                          X
    OPERATOR                       U
    HR_INFOTYPE_HEADER
    PLAN_VER                       01
    OBJ_TYPE                       P
    OBJ_ID                         00000013
    INFOTYPE                       1001
    SUBTYPE
    FROM_DATE                      16.01.2008
    TO_DATE                        31.12.9999
    PD_OBJECT
    CLIENT                         100
    PLAN_VER                       01
    OBJ_TYPE                       P
    OBJ_ID                         00000013
    INFOTYPE                       1001
    SUBTYPE
    PL_STATUS                      1
    PRIORITY
    FROM_DATE                      16.01.2008
    TO_DATE                        31.12.9999
    LANGU                          EN
    DUMMY_9
    IT_REC_NO                      000
    CHANGED_ON
    CHANGED_BY
    REASON
    HIST_FLAG
    IT_TXT_MOD                     00000000
    OBJ_ABB                        JACKSON
    OBJ_NAME                       JACKSON BRUCE
    DELIM_DATE
    LANGU_ISO                      EN
    I had cross verified with different different scenarios so plz check it and provide me a suitable solution
    Regards
    Krishna

    Ramesh
    I tried with the same parameters u had given to me and i got the error messages as follows
    TYPE                           E
    ID                             5-
    NUMBER                         106
    MESSAGE                        Database update not possible, data record
    LOG_NO
    LOG_MSG_NO                     000000
    MESSAGE_V1                        01S 500006721001A008   2007010199991231
    MESSAGE_V2
    MESSAGE_V3
    MESSAGE_V4
    PARAMETER                      HR_OBJECT_HEADER
    ROW                                    1
    FIELD
    SYSTEM                         RFCOUT
    2nd msg
    TYPE                           I
    ID                             5-
    NUMBER                         106
    MESSAGE                        Database update not possible, data record
    LOG_NO
    LOG_MSG_NO                     000000
    MESSAGE_V1                        01S 500006721001A008   2007010199991231
    MESSAGE_V2
    MESSAGE_V3
    MESSAGE_V4
    PARAMETER                      HR_OBJECT_HEADER
    ROW                                    1
    FIELD
    SYSTEM                         RFCOUT
    3rd msg
    TYPE                           S
    ID                             5A
    NUMBER                         043
    MESSAGE                        For infotype 1001 in status , function INSE
    LOG_NO
    LOG_MSG_NO                     000000
    MESSAGE_V1                     1001
    MESSAGE_V2
    MESSAGE_V3                     INSE
    MESSAGE_V4
    PARAMETER                      HR_OBJECT_HEADER
    ROW                                    1
    FIELD
    SYSTEM                         RFCOUT

  • Need RFC/BAPI to Create Requisition,Position, Hiring an Employee

    Hi,
    I need RFC/BAPI to Create Requisition,Position,Hiring an Employee.
    Regards,
    R.Ragu

    Hi,
    For creation of a Posiotn you can use FM 'RH_OBJECT_CREATE'.

  • Hi i need help on BAPI to Update the ADRT & ADR6 tables

    hi,
    i need help on BAPI to Update the ADRT & ADR6 tables
    these are the fields to be updated
    ADRT-Remark Table
    ADR6-SMTP_ADDR
    ADR6-DFT_RECEIV
    Please guide me what parameters to be passed to update
    ADR6 & ADRT tables

    Look at this function Group
    <b>BUBA_3                         SAP BP: External BAPI Function Modules     </b>                        
    BAPI_BUPA_ADDRESS_ADD          SAP BP, BAPI: Add Address                                          
    BAPI_BUPA_ADDRESS_CHANGE       SAP BP, BAPI: Change Address                                       
    BAPI_BUPA_ADDRESS_GET_NUMBERS  SAP BP, BAPI: Read Address Numbers                                 
    BAPI_BUPA_ADDRESS_GETDETAIL    SAP BP, BAPI: Read Address                                         
    BAPI_BUPA_ADDRESS_REMOVE       SAP BP, BAPI: Delete Address                                       
    BAPI_BUPA_ADDRESSES_GET        SAP BP, BAPI: Determine All Addresses                              
    BAPI_BUPR_CONTP_ADDR_ADD       SAP BP, BAPI: Add Contact Person Relationship Address              
    BAPI_BUPR_CONTP_ADDR_CHANGE    SAP BP, BAPI: Change Contact Person Relationship Address           
    BAPI_BUPR_CONTP_ADDR_GETDETAIL SAP BP, BAPI: Read Contact Person Relationship Addresses           
    BAPI_BUPR_CONTP_ADDR_REMOVE    SAP BP, BAPI: Delete Contact Person Relationship Address           
    BAPI_BUPR_CONTP_ADDRESSES_GET  SAP BP, BAPI: Read Contact Person Relationship Addresses           
    BAPI_BUPR_EMPLO_ADDR_ADD       SAP BP, BAPI: Add Employee Relationship Address                    
    BAPI_BUPR_EMPLO_ADDR_CHANGE    SAP BP, BAPI: Change Employee Relationship Address                 
    BAPI_BUPR_EMPLO_ADDR_GETDETAIL SAP BP, BAPI: Read Employee Relationship Address                   
    BAPI_BUPR_EMPLO_ADDR_REMOVE    SAP BP, BAPI: Delete Employee Relationship Address                 
    BAPI_BUPR_EMPLO_ADDRESSES_GET  SAP BP, BAPI: Read Contact Person Relationship Addresses           
    Look also at OSS <a href="https://service.sap.com/sap/support/notes/306275">Note 306275 - Transferring address data</a>
    Regards

  • When ever employee position changed, an alert should send an email

    we have one requirement...
    when ever any employee position changed, it should send an email ..how to do this one? any idea?
    employee positions are recorded in PER_ALL_ASSIGNMENTS_F table, so if we create event alert on this table ( update ). event alert fires if there is any update to the table...but i want, only alert should send mail, when position column got updated in that table...
    is it possible????

    Oracle provides standard API’s to harness the databases SMTP server capabilities in sending emails. All email services are wrapped under package: UTL_SMTP. The protocol consists of a set of commands for an email client to dispatch emails to a SMTP server. The UTL_SMTP package provides interfaces to the SMTP commands. For many of the commands, the package provides both a procedural and a functional interface. The functional form returns the reply from the server for processing by the client. The procedural form checks the reply and will raise an exception if the reply indicates a transient (400-range reply code) or permanent error (500-range reply code). Otherwise, it discards the reply.
    c := UTL_SMTP.OPEN_CONNECTION('<server>.unix.us.ups.com');
    UTL_SMTP.HELO(c, '<server>.unix.us.ups.com');
    UTL_SMTP.MAIL(c, l_recepient);
    UTL_SMTP.RCPT(c, l_recepient);
    UTL_SMTP.OPEN_DATA(c);
    send_header('From', p_from);
    send_header('To', l_recepient);
    send_header('Subject', p_subject);
    UTL_SMTP.WRITE_DATA(c, UTL_TCP.CRLF || p_message);
    UTL_SMTP.CLOSE_DATA(c);
    UTL_SMTP.QUIT(c);

  • BAPI to update a single characteristic in IE02

    Hi,
          I am trying to update a single characteristic in IE02.I am able to do that with the BAPI "BAPI_OBJCL_CHANGE",but this BAPI is updating only 1 characteristic and is initializing all the remaining characteristcs.
          Any pointers on this is highly appreciable.
    Navin

    Hi,
    the documentation of the bapi says:
    Caution
    This BAPI only changes the parameters of an existing assignment (or creates a whole new assignment), but it does not delete the assignment to a class and replace it with an assignment to another class. If you want to reassign an object, the old assignments must be read with BAPI_OBJCL_GETCLASSES and deleted with BAPI_OBJCL_DELETE, then the new assignments must be created with BAPI_OBJCL_CREATE.
    The information transferred by this BAPI replaces all old information. An empty field means "delete entry!", not "no change".
    This BAPI does not change the database. To change the database, call BAPI BapiService.TransactionCommit afterwards.
    You can only use this BAPI for objects that are not classes!
    This BAPI only processes assigned values for classification - not for configuration
    so i guess you have to pass all information you do not want to lose.
    i´ve  found this as well:
    http://www.sapfans.com/forums/viewtopic.php?t=125320
    Best regards.
    Edited by: Pablo Casamayor on Jan 2, 2009 7:08 PM

  • BAPI for updating Maintain Duration in Transportation and Delivery scheduling

    Hi all,
    Iam looking for a BAPI to update the Duration Times in Transportation and Delivery scheduling. I reluctant to use recording on SM30 Table maintenance T code and use it in LSMW. Is there a BAPI or Standard i/p Program to load these details. I have more than 200000 records to input.
    A list of all BAPI's in Transportation Management module would be great as well.
    Regards,
    Avi

    Hi,
    @praveen: I tried the solution provided by you and it worked for me in this context. But it seems this BADI gets triggered every time the delivery is getting saved. So for my test purposes, I'm triggering this BADI in a program, but in actual scenario, the BADI would be called on every sy-ucomm = 'SICH_T' i.e. SAVE. hence, I can't separate my piece of code using this condition.
    I'm trying to call my FM(update module in collective run mode) inside this BADI in backgrnd task as a separate unit but this doesn't seem to work.
    Any more suggestions?
    Thanks
    Ashish

  • BAPI to Update the OA/PO with the new partners from vendor masters

    Hello All,
    We got a requirement to update the Contract or purchase order with new partners from vendor  master.
    In brief the partner information of a  PO when created with reference to a contract  will be reflected from the contract but not from Vendor Master partners .So when the vendor master got changed after the creation of the Contract the partner information in the PO is not in synchronous with Vendor Master partnes.
    Hence please help us with any BAPI to update the PO partners with Vendor masters .
    Regards
    Kalyani

    MAP2e_lfa1_to_bapivendor_04
    MAP2e_lfa1_to_bapivendor_05
    will be helpful

  • Need name of a function module or BAPI to update the Tax Classification val

    Hi Guru's
    Need name of a function module or BAPI to update the Tax Classification value for Material master.
    Thanks in advance.

    Hi
    U can try to use BAPI_MATERIAL_SAVEREPLICA
    Max

  • FM'S or BAPI to update the condition records in VB22 transaction

    Hi,
    I need your help in getting the FM'S or BAPI to update the condition records in sales deal.
    The transaction is VB22.
    If you can send me a smaple code it will be really helpful.
    Regards,
    Sasi

    Check this:
    http://www.sapnet.ru/viewtopic.php?p=1644
    Bapi for VK11 & VK12
    Reddy

  • BAPI to update  Profit Center Group

    Hi ,
    Is there any BAPI To update PCG ?
    Moderator message : Search for available information, duplicate thread locked.
    Edited by: Vinod Kumar on Oct 17, 2011 2:19 PM

    Hi
    Try This BAPI...
    BAPI_PROFITCENTER_CHANGE
    Regards
    Ajit

  • TCA API's to create and update employee vendors

    Hi All,
    We are doing an upgrade from 11.5.9 to R12 and I am looking for the Trading Community Architecture API's to create and update employee vendors for the HR Interface.
    We also need to change to use the Cash Management API's to create and Update Bank Accounts.
    Please help.
    Thanks in advance
    Regards,
    Sonia

    Hi Srini,
    Can you help me with the API's under Financials Receivables suite -> Trading Community in the Intergration Repository responsibilty? I am looking for the API's to create and update employee vendors
    Thanks so much
    --Sonia                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • BAPI to update data in KNA1 and ADR* tables

    Hi,
    I have to change customer data via BAPI.
    I'm searching for a BAPI that updates KNA1 and ADR* tables.
    (so that data will be coherent).
    I found BAPI_CUSTOMER_CHANGEFROMDATA1 but it seems to only update KNA1
    and BAPI_ADDRESSORG_CHANGE that only updates ADR* tables.
    Can you help me ?
    Thanks,
    Sandrine.

    I came accross such a requirement but couldn't find a single function module.
    I think try using both the FM's else BDC is the only option left.
    you can use the FM "DEBITOR_BDCDATA" to get the BDC data for vendor and then edit it to add the address fields required.

  • Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng)

    Hi,
    I have a requirement to use a Function Module or BAPI to update Sale Order Quantity (VBAP-kwmeng), which one (Function Module or BAPI) should I use? is there any sample codes?
    Thanks a lot!!

    Hi,
    *& Report  ZTEST
    REPORT  ztest.
    DATA : wa_header TYPE bapisdh1x,
                i_item TYPE TABLE OF bapisditm WITH HEADER LINE,
                i_itemx TYPE TABLE OF bapisditmx WITH HEADER LINE,
                i_return TYPE TABLE OF bapiret2.
               wa_header-updateflag = 'U'.
               i_item-itm_number = '000010'.
               i_item-target_qty = '4'.
               APPEND i_item.
              i_itemx-itm_number = '000010'.
              i_itemx-updateflag = 'U'.
              i_itemx-target_qty = 'X'.
              APPEND i_itemx.
    CALL FUNCTION 'BAPI_SALESORDER_CHANGE'
      EXPORTING
        salesdocument               = '1234567890'
        order_header_inx            = wa_header
      TABLES
        return                            = i_return
        order_item_in                 = i_item
        order_item_inx               = i_itemx
    Hope this will help you.
    Regards,
    Anand.

  • Need a bapi to update person data in IR02 tcode.

    Hi experrts,
    I need to update person data in IR02 tcode through plant and workcenter. But I am looking for BAPI to update this person data.
    Please help me on this as I caught up badly.
    Thanks in Advance.
    J.P

    I have closed this myself by creating a custom program.

Maybe you are looking for

  • Why i can use my iphone ? i  just see in the screen the itunes icone and thats it

    nothing

  • Track start adjust throws audio out of sync?

    Hi Have a project with 13 x 2-3 minute sequences to go to DVD. My menu system provides links directly to all 13 sequences but alos requires additional links to partial sequences (sections of the 13 main tracks) Have exported files as self contained Q

  • Result recording to be done after UD with long term inspection

    Dear All I have activated two MIC's for long term inspection. Inspection lot is created and UD is provided after Result recording. i have run QA12 and go to EDIT/RESET/INSPECTION COMPLETION.  status of UD changed to LTIN and then in Qe51 / qe51n i se

  • ICal is VERY slow

    My iCal suddenly (past week) takes approx. 3 minutes to open and equally as long when I select an event. I am worried now however becuase my USB and firewire ports have also quit. I also tried to load the latest Virex DAT files (worried there may be

  • Not Normal Internet Problem

    I have new PC but I have internet problem. If I use Linux everything is OK but I need use windows 7 because I have enough PC for playing games If I use proxy website I can go to some website but if I don't use proxy website I can't go. Some videos on