Updating the HR master records from Buffer.

Hi All,
We have requirement to update the 0008 infotype sub type 1 when 0008 infotype sub type 0 record is updated using the dynamic action. We have created the step in the dynamic action with F step and in the sub routine using the HR_INFOTYPE_OPERATION function module we are updating the 0008 info type for sub type 1.
But when we click on the save button the FM is getting called and data is stored in the buffer only. When i refresh the transaction PA30 the data is get refreshed and there is no data available for 0008 info type and sub type 1.
Can you please give me some work around to update the 0008 infotype sub type 1 when 0008 info type sub type 0 is updated or let me know how to update the buffer to the database table.
Thanks,
Rajaraman K.

Thats because of Logical Unit of Work violation, you cannot use BDC in Dynamin Actions or EVEN User Exit. The fm HR_INFOTYPE_OPERATION uses BDC inside it's code. So to overcome this, you have to write a small program use your update logic in that and call that program as SUBMIT and RETURN from inside the Dynamic Actions (subroutine).
You can search on SUBMIT and RETURN to get the ball rolling.

Similar Messages

  • 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

  • Unable to replicate the Vendor Master Records

    Hi I am using the transaction BBPGETVD to transfer the Vendor Master Records from R/3 ro SRM...but could not able to transfer it as I am getting an error "Organizational unit -
    does not exist; check entries", even through I have created Organisation Structure for Vendor also. I have maintained all the relavent parameters in the Attributes.
    The following attributes I have maintained: System Alias for Accounting Systems, Company Code, Local Currency, Current ITS for an External Partner, Accounting System for Vendor, System Alias for Vendor.
    Can any one tell me is there any other parameters to be maintained or where I am going wrong.
    I am working on SRM5.0.
    Thanks and Regards
    PKM

    Hi
    Please go through these links.
    Re: vendor not intended for a puchasing org
    Re: Vendor replication
    Re: Not able to replicate Vendor from R/3
    Re: What are the steps to me followed to get the vendors from R/3 to SUS
    Re: Vendor replication Error. SAP R/3 to EBP system
    Re: vendor replication
    Re: Vendor replication
    Replication of verdor records
    Regards
    - Atul

  • Update the Vendor master from Employee master - PRAA

    Hi
    I need to know the process of updating multiple vendors from multiple employee data .i.e.bank,address and pernr.
    I was using PRAA transaction but it was not updating ...i think i miss some entries..especially file path...
    what are the steps need to be taken care of ...what should be in the file in the file path?
    please let me know
    Thanks

    Thanks Rob
    I checked the documentation..and found my error...actually the PRAA is updating vendor with employee data only when the employee number(PERNR) is updated in Vendor master...so i updated the field PERNR in Accounting section of Vendor then i ran the transaction PRAA it worked...it created the session and i processed the session..
    My question is ..is the PERNR is mandatory in Vendor master record?
                              and How iam going to update the multiple vendor records with multilple Employee records? since the vendor for Reference is the single filed?
    Please let me know
    Thanks
    Govi

  • Mass update of email in the vendor master record

    Hello to you all,
    Does anyone know how can I run mass update of email in the vendor master record for a big No. of entities?
    XK99 won't help since you can't find the email,
    Batch input recording won't help as well since the email can't be found.
    I will appreciate your help,
    Amir

    Hello Amir,
    You can use LSMW for update operation. You should create a batch input recording for transaction FK02. But you must tick "Use central address management" checkbox on FK02 screen while recording batch input. After that you will see E-mail field on screen.
    Regards,
    Burak

  • Output Determination from the Customer Master Record

    Dear All,
    Can anybody please help me out with the configuration level settings for output proposal from the customer master record.
    Thanks
    Deepak Joshi

    Hi there,
    Can you pls let me know from where did you get the information that O/p can be triggered from customer master records? & in what scenarios you can trigger them?
    My experience in SAP tells me that O/p can only be truggered through condition techique where you will assign the determination procedure to the sales doc type.
    No where I have seen assigning the O/p determination procedure to something related to customer / customer types.
    For the O/p to trigger you need to maintain condition master records. I hope you are not getting confused between condition records & customer master records.
    Regards,
    Sivanand

  • Warning massage while saving the asset master record

    Hi all,
    I have a problem while saving the asset master record.My client manages the group asset in the depreciation area 15 for tax reporting.What I have done in the configuration that, I have created a separate asset class for group asset and marked this asset for entirely consisting of group assets.Then I have createdall  the grpup assets in this marked class.For example, supppose I have created one group asset class 50000 and I have created all the group assets in this class.Then I assign the gr.asset no. in the master record of the normal assets and while saving the master record I am getting the warning massage as the account determination is different than the asset.It may't be possible to reconcile them from the FI-AA.But if I am creating the group assets in the class of the normal assets such type of error massage doesn't appear.Also while retiring the normal assets the asseet is not being deactivated automatically and instead a warning massage is coming the asset is still having value in the depreciation area 15 and can't be deactivated.Can any body suggest where I have gone wrong in the configuration?
    Debabrata Das

    Update delays sometimes mean that there is a queue waiting at the UPD task.  Go to SM51 and check to make sure that there are no other tasks waiting to be processed.  Check with you Basis group - they might be able to run some diagnostics on the update task.

  • Equipment master record updation in Asset master record

    Dear Friends,
    I have a query with regard to Equipment master record updation in asset master record. Here we have created equipment in Plant maintenance module and we have created asset in AS01 tcode. When we give the asset number to PM module guys, they can easily update the asset number in their equipment master by changing the equipment master record.
    But when we enter the same in asset master record in 3rd tab allocations tab, initially it is accepting the equipment details like equipment number, category, object and tech description, but the same is not available after saving.
    Please let me know whether I have to do any customization in asset settings inorder to get the equipment number populated in asset master record.
    Thanks,
    Dwarak.

    Hi,
    Thanks a lot for your reply.
    I did both these customization, but still it is not working. Any other customization to be done? Please let me know.
    And also in asset master record in allocations tab, do we need to select sync and workflow checkbox?
    Thanks
    Dwarak.

  • Code To Update the Table in ECC from Webdynpro

    Hi All,
    I want to know, the table is dispalyed in the webdynpro browser when we calls the Adaptive RFC Model.
    after i want to add one more row in the webdynpro and just clicking on add button the row will be updated in the ECC server(backend) for that how can i write the coding,  regarding this issue can you please help me.
    ThanX All,

    Hi Sriram,
              Assuming you have a table filled with records by adding one by one, If you want to update a table in SAP ECC, follow these steps..   i think already you are triggering the action for the button in view(for table updation) to method in controller or created a custom controller and mapped the model node.
    1.  Initialize the main model node and bind the model node with the intialised object like
         Zbapi_MainModelNode_Input input = new Zbapi_MainModelNode_Input();
                           wdContext.nodeZbapi_MainModelNode_Input ().bind(input);     
    2.  Now loop the table node and set the values with corresponding class in the generated model (from webdynpro explorer) and initialize like
            IPrivateControllerName.ITableElement myTab = null;     
           for ( int i = 0; i < wdContext.nodeTable().size();i++)
                         myTab = this.wdContext.nodeTable().getTableElementAt(i);
         Bapi_structname name = new Bapi_structname();     
                        name.setFieldName1(myTab.getFieldName1);
                        name.setFieldName2(myTab.getFieldName2);
                        input.addT_Bapi_(name);
    Finally execute the BAPI..
       wdContext.currentZbapi_MainModelNode_Input tElement().modelObject().execute();
    Hope this solves your issue - Update the Table in ECC from Webdynpro.
    Regards,
    Manjunath
    Edited by: Manjunath Subramani on Nov 20, 2009 4:26 PM
    Edited by: Manjunath Subramani on Nov 20, 2009 4:27 PM

  • Create Vendor Master Record from HR Master Record

    Hi All,
    I am running PRAA Transaction Code, While running I am getting this Error.
    Employee for whom a vendor master record already exists.
    Personnel Number missing in company code segment.
    Then I went to SM35 but did not found any batch.
    Please can anyone explain the entire process.
    Thanks and Regards
    Ravi Narayan Padhi
    Edited by: Ravi Narayan Padhi on Jan 11, 2012 11:45 AM

    Hello
    In the report RPRAPA00, there is parameter ' 'Create new company code segment for existing vendor master records' as a checkbox under the 'Initial setup' maintenance mode, and it offers you the following option:
    If there is a vendor master record already available for a predefined personnel number, but it does not have a company code segment for the company code in which the employee is situated for the key date entered,then program RPRAPA00 supplements the vendor master record with the required company code segment.
    In your case, the company code already exist, so it will not create or add a new one with this option.
    This only works for "First creation" and not for updating. You need to use "update" or "change" in the setting to do this.
    Thanks and Kind Regards
    Ramana

  • Creating Vendor Master Records from HR Master Records

    Dear Experts,
    I have been using t-code PRAA to create vendor master records from HR master records.  The client would like to have one vendor number for a group of employees (in this case external contractors all working for the same company).  The system won't allow me to link several PERNR to one LIFNR (i.e. error message).
    Is it, however, possible to do this?
    Thank you.
    Edited by: Philip on Jan 14, 2011 9:58 PM

    Hi ,
    PRAA has one to one relation ship , means it created 1 vendor for 1 employee .
    If you are using PERNR then you cant use one vendor to may PERNR .
    Either create them as individual vendor or else have a manual control system in place where in you will have to create a dummy PERNR and then allocate all the cost to this invidual vendor , if you are paying the check to only 1 contractor for say 100 contract employees you can use this .
    else it is a better mechanism and control to have 1 is to 1 in case of employee to vedor .
    Regards ,
    Dewaang T.

  • How to Maintain the MM Master Data from one company code to other co code

    Hi Experts,
    Can any one pls tell me how to Maintain the MM Master Data from one company code to other co code.
    Presently we created New plants,New Purchase Orgs under different company code.
    1) Material Master data
    2) Vendor MAster data
    3) PIR
    4) Source List
    Is there any standard Transactions...??
    Please reply.
    Brgds,
    KK

    Hi
    Check out the link -
    http://wiki.sdn.sap.com/wiki/display/ABAP/StepstocreateasimpleLSMWusingbatchinput+recording
    lsmw for data migration for  xk01 transaction
    http://www.sap-img.com/general/lsmw-steps-for-data-migration.htm
    Regards
    Anand

  • *Journal Entries while uploading the vendor master data from legacy system*

    hi SAP Folks,
    can any one of you tell me the journal entries while uploading the vendor master data from legacy system to SAP system.
    Eg: legacy system is having 10000 vendors list, 1 reconciliation account and $ 1000000. while uploading all these data from legacy system to SAP what are the journal entries we get.
    thanks in advance.
    Edited by: ravindranath manikonda on Nov 24, 2008 1:12 PM

    Hi
    you will be having  only one entry logically
    i.e. Opening Bal. clrng A/c Dr.
           To Vendor A/c Cr.
    regards

  • Is there a way of "merging" songs in iTunes. Several times, I have downloaded from the Internet, or recorded from CDs, then found the tracks broken up to appear as separate "Albums". I have a 5-movement symphony, which appears as 5 separate songs?

    Is there a way of "merging" songs in iTunes? Several times, I have downloaded recordings from the Internet, or recorded from CDs, then found the tracks broken up to appear as separate "Albums". I have a 5-movement symphony, which appears as 5 separate songs - Irritating!

    Try posting in a more appropriate forum, as this has noting to do with itunes U - the place where University/college/museums post education material.

  • Create the user master records using the Enterprise Portal

    Hello gurus!!
    I'm configuring SRM 7.0 with EP.
    I'm configuring the organizational structure, and steps guide (pdf and Solution Manager ) are:
    1. Go to transaction SU01 and create an ABAP User. (SRMADMIN)
    2. Assign this user the administrator role /SAPSRM/ADMINISTRATOR
    3. As the administrator, creater the organizational plan
    4. Create the remaining organizational unit
    5. Using the Enterprise Portal application, Business Parter:Employee, create the user master records for the departmental managers.
    How I must create the user in Enterprise Portal? What user I have to use to log on in the Enterprise Portal application? Has the user to be integrated in the organzational structure??
    Thanks in advance!!!!
    Best regards.
    Maria.

    Hi,
    You can create users in WebDynpro application. You can also create users in USERS_GEN transaction.
    Regards,
    Masa

Maybe you are looking for

  • Re: [SunONE-JATO] Re: How to use a tiled view without a model

    I'm not sure what is different for you now. You still parse the string and put it into a data structure. Before the data structure was a vector, in JATO its just a model with a "hidden" data structure (a hash map). MVC only really comes into play whe

  • Migrating from 4.1 to 6.1, deploy issues

    Problem with deploying WAR File in Sun One Web Server 6.1 Current Setup We currently run IPlanet 4.1, LDAP 4, JDK1.2.2. We have a web server running on a specific port. For this webserver we have config files obj.conf, etc, and our servlets are confi

  • Unable to boot Powerbook after updating to 10.4.9

    Hi Folks, Really hope someone can help me. I have a 12 inch Powerbook , G4, 1.5 GHz. 1.25 Gb RAM, 100 Gb hard drive, Superdrive, running OS X 10.4 Tiger. I purchased the machine in mid 2005 and have had no problem reunning it. The computer came with

  • Transfer Phone numbers from SIM card to phone

    Is it possible to transfer Phone numbers from the SIM card to phone, in the NOKIA 6070? Solved! Go to Solution.

  • BOM sort sequence of text items in ECC 6.0

    Hello, In release 4.6C the text items belonging to stock items are listed after the stock item. In ECC 6.0 the sort sequence is different - the text item is listed prior to the stock item. I would like to change it in ECC 6.0, so that the text items