Update Communication details in HR - PA30

Hi all,
I want ot update Communication details for Pernr in T-code : PA30. Infotype -0105, Subtyp - 0001/0010.
This data should be updated in PA0105 table . Is there any FM's are there to update this or else should we use BDC?
Regards,
Balavardhan.K

hi check this..
Report abc.
DATA : P0015 LIKE P0105.
DATA : RETURN LIKE BAPIRETURN1.
DATA : KEY LIKE BAPIPAKEY.
DATA : RETURNE LIKE BAPIRETURN1 .
P0015-PERNR = '1'.
P0015-BEGDA = '2061101'.
P0015-ENDDA = '2061101'.
P0015-SUBTY  = '0010'.
P0015-USRID = 'TEST'.
P0015-USRID_LONG = MAILADDRESS.
CALL FUNCTION 'BAPI_EMPLOYEE_ENQUEUE'
EXPORTING
NUMBER = p0105-pernr
IMPORTING
RETURN = RETURNE.
CALL FUNCTION 'HR_INFOTYPE_OPERATION'
EXPORTING
INFTY = '0105'
NUMBER = P0105-PERNR
SUBTYPE = P0105-SUBTY
OBJECTID = P0105-OBJPS
LOCKINDICATOR = P0105-SPRPS
VALIDITYEND = P0105-ENDDA
VALIDITYBEGIN = P0105-BEGDA
RECORDNUMBER = P0105-SEQNR
RECORD = P0105
OPERATION = 'MOD'
TCLAS = 'A'
DIALOG_MODE = '0'
IMPORTING
RETURN = RETURN
KEY = KEY.
IF RETURN IS NOT INITIAL.
WRITE :/ 'Error Occurred'.
ENDIF.
Dequeue
CALL FUNCTION 'BAPI_EMPLOYEE_DEQUEUE'
EXPORTING
NUMBER = P0105-PERNR

Similar Messages

  • Update Address and communication  Details of BP

    Hi,
    Requirement is we need to update address and communication details of BP, please let us know relative BAPI for the same. Below roles has to be updated with given address and communication details,
    General Role
    Employee Role
    Help full information will be appreciated..

    Hi,
      For updation of address you can use
    BAPI_BUPA_ADDRESS_CHANGE.
    I guess you cannot update a role . You can only add new roles with BAPI_BUPA_ROLE_ADD .
    One more thing in address updation, Whatever fields are there in import parameter ( Address) you can update them even if they are not present in database.
    But in case of Tables( Communication details)  fields you can only update if the values are existing in database.
    Reward if helpful.
    Regards
    Sourabh

  • Recently updated  Contacts details of customer at the Communication tab defined at the Site level in oracle  AR

    Hi Expert,
        Please let me know How to find out recently updated  Contacts details of customer at the Communication tab defined at the Site level in oracle  AR.
    Thanks in advance.

    Hi -
    Please use the below code to get the Contacts at the Account level.
    where Sold to Org id is the Customer Account Id.
    SELECT hp2.person_last_name||', '||hp2.person_first_name
    FROM apps.hz_parties hp,
    apps.hz_parties hp2,
    apps.hz_relationships hr,
    apps.hz_cust_accounts hca
    WHERE 1 = 1
    AND hca.party_id = hp.party_id
    AND hca.cust_account_id = :sold_to_org_id
    AND hr.subject_id = hp.party_id
    AND hr.relationship_type = 'CONTACT'
    AND hp2.party_id = hr.object_id
    AND hr.object_type = 'PERSON'
    AND hp.party_id = hr.subject_id
    Thanks
    Vyaghresh
    Edited by: user11990386 on Jun 20, 2011 2:33 PM

  • Error while updating bank details through ESS

    Hi All,
    While updating banks details through ESS, " change in the payroll past not possible".
    I have checked IT0003 and noticed that accounted to  31.08.2014.
    I assume this might be causing the error. Could you please advice with your expertise.

    Let me explain how it happens and why we don't allow change of bank records in past 1959820 - ESS: Wrong delimit of TC3 records For other scenarios where ESS behavior is similar to PA30 :
    An example i share
    For other scenarios where ESS behavior is similar to PA30 :
    Current date < End date of current payroll period
    Current date > Accounted to date in IT0003
    Payroll status: released for payroll Got error when reviewing the editin
    -g.
    Error: Online maintenance is locked in payroll area QM
    Current date < End date of current payroll period
    Current date < Accounted to date in IT0003
    Payroll status: released for correction Got error when reviewing the edi
    -ting.
    Error: Change in the payroll past not possible
    Current date < End date of current payroll period
    Current date < Accounted to date in IT0003
    Payroll status: released for payroll Got error when reviewing the editin
    -g.
    Error: Online maintenance is locked in payroll area QM
    When the infotype 0009 is modified, the system is regrouping data for the infotypes which are checked releavnt according to the table T582G. Retroactivity is checked via V_T582A In view V_T582A for infotype 0009 you will see, I guess, that the field 'Past entry all.' is maintained with an 'E'. This means that it is not allowed to maintain any infotype 0009 record for the payroll past. The important day for this check is the last day of the last accounted period. Retroactive change of infotype 0009 is not permitted as the bank transfer is already done. This is the reason why this infotype can not be changed retroactively. For bank records end user must not be allowed to maintain past date records and should not be allowed to change any other detail of record when payroll for that period is already run. for e.g. if current date is 26/11/2013. Then end user must not be allowed to edit other bank record effective from 25/11/2013. We should not allow end user to edit record effective from 27/11/2013 because payroll is already run for that period. If user is allowed to change then data maintained in infotype 9 and information send to payroll may be different. You can use BAdi HRXSS_PER_BEGDA,to default the next payroll period

  • Communication details in ESS

    When we see communication details in ESS under who's who option, system is displaying Building Number and Room number. From which Infotype in SAP R/3 this information is being picked up ??

    Hi Vidhya,
    These details are picked up from SU01 - User master.
    You need to update them using the Tcode SU01 and check for the changes.Give your ESS user id through which you login and click change. Check the Address tab and you will find the "Department", "Room Number", "Floor", "Building" here. Update the values here.
    Generally SU01 authorization is not given for all users. So if Authorization is not there, get help from your BASIS team.
    Hope this helps you.
    Reward if this helps.
    Regards,
    Subbu.
    Message was edited by:
            Subramanian Padmanaaban

  • Can not update payment details

    I've been a CC subscriber since it began and last month funds were not in my account for the monthly subscription. Since then I have had an email to ask me to update my payment details. I know I probably shouldn't of done but I've waited until the last minute to do this. I have two days to make a payment so decided to update my details. I went to My Account - Plan Information - Update Payment info. I was asked for my password which I entered then proceeded to enter my payment details which are the same as previously. Then when you press save, nothing. Nothing happens. A message is at the top of page saying -
    We are still processing your payment.  Please check back in a few minutes or contact Customer Support.
    After I waited for an age, I checked back and the payment information hasn't changed. It has my card number checked out except the last 4 digits. My name isn't there and it says Amsterdam as my city which it isn't. I must of filled in the information 10 or more times and it doesn't change.
    I've tried Customer Services- chat and spoke to someone who said I will receive a call back. Still no call back after 3 hours when  I was told 10-15 mins.
    Any ideas what's going on? Is there any customer support I can contact directly?

    Change Payment Information
    Settings>iTunes and App Stores>Apple ID>View Apple ID>Sign-in>Payment Information

  • CRM To ECC Sold to party Communication Details Not populated in ECC

    Hi All
    i have one problem when we create sales order through crmd_order we need to give sold to party and ship to party numbers suppose like
    8000002166 for both and status i keep as order created and in partner tab i i seem all partner funtions(sold to, ship to ,bill to, payer)with 8000002166
    in header overivew i given posting date as feature date like 30-09-2013 then i try to save this order.
    the order generated sucussfully but problem is i am not getting sold to party details in ECC when i check VA03 And open cretaed order in CRM and clicking on sold to party and i seem details for this but i am not getting communication details like telephone number and email id extension number.
    for this sold to party we already maintained all communication details in CRM.When i open this sold to party BP i am able to see all details
    didnt understand why these details not replicated to ECC?
    We implemented one custom class there we implemented badi.
    IF_EX_CRM_DATAEXCHG_BADI~CRM_DATAEXCH_AFTER_BAPI_FILL
    i am not getting BAPI ADDRESS Table values into  CT_BAPIADDR1
    how can i send communciation details to ECC For sold to party?
    The code part we follow like below
    TYPES : BEGIN OF t_otc,                                                        " Type to create a table with the given columns.
              bpid            TYPE bu_partner,                                       " variable of store processed business partner ID's
              otcid           TYPE bu_partner,                                       " variable of store processed OTC ID's
              otcguid         TYPE bu_partner_guid,                                  " variable of store processed OTC GUID's
              address         TYPE bapibus1006_address,
              tel1_numbr      TYPE ad_tlnmbr1,
              tel1_ext        TYPE ad_tlxtns1,
              e_mail          TYPE ad_smtpadr,
              END OF t_otc.
    *&                             V A R I A B L E S                         &*
      DATA : lv_bp_payer      TYPE bu_partner,                                       " Variable To Cast the payer Id into BU_Partner data type.
             lv_partner_fct   TYPE crmt_partner_fct,                                 " Variable To Store Partner Function Number.
             lv_partner       TYPE bu_partner,                                       " Variable To Store Current Business Partner ID.
             lv_process_type  TYPE crmt_process_type,                                " Variable to Store process type.
             lv_sales_org     TYPE crmt_sales_org,                                   " Variable to store sales org. name of order
             lv_dis_channel   TYPE crmt_distribution_channel,                        " Variable to store distribution channel of order.
             lv_division      TYPE crmt_division,                                    " Variable to store division of sales org. data.
             lv_role          TYPE comt_partner_parvw,                               " Variable to store retrieved role from FM.
             lv_role_value    TYPE parvw,                                            " Variable to store the role value of Partner Functions.
             lv_otc_guid      TYPE bu_partner_guid,                                  " Variable to store OTC GUIDs for the OTC ID.
             lv_otc_id        TYPE kunnr.                                            " Varaible to OTC ID revocered from Table.
      DATA: lv_busspartner           TYPE bapibus1006_head-bpartner,
            lw_central_data          TYPE bapibus1006_central,
            lw_centraldata_person    TYPE bapibus1006_central_person.
    *&                             W O R K A R E A S                         &*
      DATA : lw_address       TYPE bapibus1006_address,                              " Work Area to store address recovered for BPID.
    *Start of code change for Defect 904 Fix
             lw_tel           TYPE bapiadtel,
             lw_email         TYPE bapiadsmtp.
    *End of code change for Defect 904 Fix
    *&                          INTERNAL TABLES                              &*
      DATA : li_otc           TYPE TABLE OF t_otc,                                   " Internal Table to Store the OTC IDs and BPS.
             li_values        TYPE          zconst_values_t,
    *Start of code change for Defect 904 Fix
             li_tel           TYPE STANDARD TABLE OF bapiadtel,
             li_email         TYPE STANDARD TABLE OF bapiadsmtp.
    *End of code change for Defect 904 Fix
    *                       F I E L D - S Y M B O L S                         *
      FIELD-SYMBOLS: <f_orderadm>      TYPE bad_orderadm_h_mess,
                     <f_otc>           TYPE t_otc,                                   " Field-Symbol to Read the OTC TABLE data.
                     <f_partner>       TYPE bad_partner_mess,                        " Field-Symbol of Partner Table For Looping.
                     <f_bapiparnr3>    TYPE bapiparnr3,                              " Field-Symbol to Store The Row of BAPIPARNR3.
                     <f_bapiaddr1>     TYPE bapiaddr1,
                     <f_orgman>        TYPE bad_orgman_mess,                         " Field-Symbol to Read the ORGMAN table.
                     <f_values>        TYPE zcr_const_values.
    *&                             C O N S T A N T S                         &*
      CONSTANTS :  lc_program_name     TYPE progname      VALUE 'ZOTC',
                   lc_param_payer      TYPE paramname     VALUE 'PAYER',              " Constant to Store Payer Parameter name.
                   lc_ref_kind         TYPE crmt_object_kind VALUE 'A',
                   lc_req_1            TYPE zrequest_no VALUE '1',
                   lc_req_2            TYPE zrequest_no VALUE '2'.
    * Retrieving the general and Common Data for a Order.
      READ TABLE it_bus_trans_msg-orderadm_h INDEX 1 ASSIGNING <f_orderadm>.
      IF sy-subrc EQ 0.
        lv_process_type = <f_orderadm>-process_type.
      ENDIF.
    * Reading the Orgnisation Details from ORGMAN Table.
      READ TABLE it_bus_trans_msg-orgman WITH KEY ref_kind = lc_ref_kind ASSIGNING <f_orgman>.
      IF sy-subrc EQ 0.
    *   Storing the Sales Organisational Data to find the OTC_ID.
        lv_sales_org = <f_orgman>-sales_org.
        lv_dis_channel = <f_orgman>-dis_channel.
        lv_division = <f_orgman>-division.
      ENDIF.
    * Retrieving the partner function number for the payer by giving requirement no 2 and rule no 1.
      CALL FUNCTION 'ZCRAN_GET_CONSTANT_VALUES'
        EXPORTING
          pi_program_name = lc_program_name
          pi_req_no       = lc_req_2
        IMPORTING
          po_const_values = li_values.
      IF sy-subrc <> 0.
        RETURN.
      ENDIF.
    * Reading the value for the constant with the name as PAYER.
      READ TABLE li_values WITH KEY param_name = lc_param_payer ASSIGNING <f_values>.
      IF sy-subrc NE 0.
        RETURN.
      ENDIF.
    * Retrieving the Partner ID for the PAYER.
      READ TABLE it_bus_trans_msg-partner ASSIGNING <f_partner> WITH KEY ref_partner_fct = <f_values>-constant_value.
      IF sy-subrc EQ 0.
    *   Storing the current partner ID.
        lv_bp_payer = <f_partner>-ref_partner_no.
      ENDIF.
      REFRESH li_values.
    * Retrieving the Partner Function Number which are to be checked for replacing with the OTC ID with request no 1 and rule no 01.
      CALL FUNCTION 'ZCRAN_GET_CONSTANT_VALUES'
        EXPORTING
          pi_program_name = lc_program_name
          pi_req_no       = lc_req_1
        IMPORTING
          po_const_values = li_values.
      IF sy-subrc <> 0.
        RETURN.
      ENDIF.
    * Transferring the constant value to our table for Partner Fucntion.
      LOOP AT li_values ASSIGNING <f_values>.
    * Read Partner table for Header data and the reference partner function retrieved.
        READ TABLE it_bus_trans_msg-partner WITH KEY ref_kind = lc_ref_kind ref_partner_fct = <f_values>-constant_value ASSIGNING <f_partner>.
        IF sy-subrc EQ 0.
    *     Storing Current Partner Function.
          lv_partner_fct = <f_partner>-ref_partner_fct.
    *     Storing Current Partner No.
          lv_partner = <f_partner>-ref_partner_no.
    *     Retrieving the Partner Role (R/3) for the current partner function of CRM.
          CALL FUNCTION

    The problem is in the Lotus Notes security level, not in SAP.

  • BAPI to update customer details

    Hi All,
    What is the BAPI that we should use to update customer details into SAP??
    What are the mandatory fields we need to update customer record in SAP?
    Thx
    Navin

    Hi,
    1)
    I tried BAPI_CUSTOMER_CHANGEFROMDATA1, imported to XI. But it has the following Parameter Names and corresponding Associated Types respectively:
    PI_PERSONALDATA, PI_PERSONALDATAX, PI_OPT_PERSONALDATA, PI_OPT_PERSONALDATAX, PI_COMPANYDATA, PI_COMPANYDATAX, PI_OPT_COMPANYDATA, PI_OPT_COMPANYDATAX
    BAPIKNA101_1, BAPIKNA101_1X, BAPIKNA105, BAPIKNA105X, BAPIKNA106,BAPIKNA106X, BAPIKNA105, BAPIKNA105X.
    For the above 8, I am getting following message in XI: Schema for type urn:sap-com:document:sap:rfc:functions: BAPIKNA106 (Category Data Type) not found
    2) SD_CUSTOMER_MAINTAIN_ALL
    It is not Remote-enabled module
    3) BAPI_CUSTOMER_EDIT
    I dont I can update details of the customer...I am not sure...Because it has only Customer ID in request parameters....If I want to change name or address...how would I send them in Request  to BAPI??
    Thx
    Navin

  • Problem: trying to update all detail rows on pre-commit (MASTER DETAIL FORM

    Hi:
    I got a MASTER DETAIL form... and I need to update every detail row of this form (if the master was updated) before commiting the changes. the problem is that i cannot do that for instance in PRE-COMMIT or ON-COMMIT... it's an "illegal operation". I achieved part of it by coding KEY-COMMIT... but that did not solve the all problem. first take a look of the kind of code i want execute before commiting.
    form trigger key-commit code is is somehow like this:
    DECLARE
    tot_line NUMBER (3);
    line NUMBER (3);
    begin
    IF NAME_IN ('system.form_status') = 'CHANGED'
    THEN
    GO_BLOCK ('DETAIL');
    LAST_RECORD;
    tot_line := GET_BLOCK_PROPERTY ('DETAIL', current_record);
    FIRST_RECORD;
    line:= 1;
    LOOP
    :detail.quant := :detail.quant + 1;
    EXIT WHEN line= tot_line;
    next_record;
    line:= line+ 1;
    END LOOP;
    FIRST_RECORD;
    GO_BLOCK ('MASTER');
    END IF;
    COMMIT;
    end;
    The problem is for instance when the users close form in the "X" button (right top, near minimize form) ... If they do that Forms ask "Do you want to save changes?" ... and with this i do not execute the update of the detail rows...
    But there are other situations when this happens... for instance if EXECUTE_QUERY when i change a record...
    Anyone help?
    Joao Oliveira

    Use PRE-UPDATE trigger (Master block).
    begin
    update <detail_table>
    set quant + 1
    where <detail_table>.<relaition_column1> = :<Master_block>.<relaition_item1>
    and <detail_table>.<relaition_columnN> = :<Master_block>.<relaition_itemN>
    and <detail_block_WHERE>;
    EXCEPTION WHEN OTHERS THEN NULL;
    end;

  • BAPI or Function Module to Update Vendor Details

    Hi Friends,
    I need to update Vendor Details (Street) in my program using a BAPI or Function Module. Is there such thing available which can do my job?
    Regards,
    Raju...

    Hi,
    Thanks for the Reply.
    I tried to use the FM Vendor_Update... It updates the adrress field in the table LFA1. But it is not reflected in the transaction FK02.
    So, Is there any thing that I have to do after the FM Vendor_Update is called so that the address field is also get reflected in address field of FK02 transaction.?
    Regards,
    Raju...

  • SAP Vendor Master Communication Details for SMART FORM Printing.

    Hi
    Could you please advice Functional module to extract SAP Vendor Master Communication Details for SMART FORM Printing.
    Thanks in Advance.
    Regards
    Ravi

    Hi Ravi,
    I don't know about a function module, but the vendor master table LFA1 has a field ADRNR pointing to the general address table with the fields for e.g. language and to the tables ADR2 for phone numbers, ADR3 for fax numbers and ADR6 for e-mail addresses.
    BR
    Raf

  • Communication Details Vendor Master SMART FORM Printing.

    Hi
    Could you please advice Functional module to extract SAP Vendor Master Communication Details for SMART FORM Printing.
    Thanks in Advance.
    Regards
    Ravi

    Hi,
    class VMD_EI_API_EXTRACT with method GET_DATA could make it.
    There are also some eSOA services that could make it fine. See services starting with Supplier*.
    Otherwise, this is more complicated.
    BR
    Alain

  • Update Asset details in AIBU transaction

    Hi,
          If an asset has four invoices and these are settled to another asset using AIBU, the standard program settles the sender line items to the receiver as one line item in the receiver.
          Our requirement is  to settle each line item in the sender as a separate line item in the receiver. For that we are trying for BADIs,EXITS or Ehancement points.
         We were able to update the asset accounting details using the BADI,BADI_FIAA_DOCLINES but we were not able to update asset details( transaction type, assignment field etc) in ANEP,AUAS tables. The transaction type is changing and defaulting to 345(for sender) and 346(for receiver).  Please tell me how to achieve this.
    Thanks in Advance,
    Deepthi

    Hi,
    Thanks for reply.
    I need to achieve my requirement through coding. I have created few enhancement spots and its working fine now. But accounting details were not updating correctly.  I need to update them(ACCIT table) with Assingment, item text etc in the BADI BADI_FIAA_DOCLINES. Could not find the link to update the reciver entries with sender details aptly. Please suggest me the solution for this.
    Thanks,
    Deepthi

  • Update Supplier details on iSupplier Portal - Impact on existing  Purchasing Documents

    I would like to understand the impact of updating Supplier details on iSupplier Portal on the existing Purchasing documents like POs, BPAs.

    Hi,
    I think you won't be able to pay for the existing purchasing documents if you end-date a site/address using supplier profile of the iSupplier. Updates to the bank information will have a payment impact as well.
    It is always advisable to close the open purchasing documents prior to closing/deactivating a supplier.
    You may also perform supplier merge to transfer open purchasing documents to a active supplier and then close/deactivate site, bank etc.
    Thanks,
    PS.

  • TS1424 my credit card on my account was declined, I've updated my details for address to match that of my card registered address but to no avail and I can't download music

    My credfit card declined on my account when wanting to purchase music.  I have updated my details for address on the same card but still declined, why?

    Contact iTunes Customer Service and request assistance
    Use this Link  >  Apple  Support  iTunes Store  Contact

Maybe you are looking for