Inputs required on BAdi HRBAS00INFTY

Hi,
I want to update a custom infotype based on the changes happening in a standard infotype(1001) irrespective of the transactions like ppome , ppo01,etc. I found a BAdi HRBAS00INFTY which i can use I guess. Could you please provide me some input on which method I can use for this purpose. If you have some helpful doc on this Badi,kindly share with me...
I expect your valueable inputs.
Thanks,
Rahul.

you should use method IN_UPDATE so you are sure it is executed after the data have been saved

Similar Messages

  • PO13 and 0001 infotype (HR_INFOTYPE_OPERATION + badi HRBAS00INFTY

    Hello Friends,
    We have cretaed a position description subtype and assigned it to 1002 infotype.
    Query: 1) Adding 2 customer fields(Subtype and description) to infotype 0001 (This is done using PM01).
    2) Using Po13, they assign a subtype(position description) for a particular Position.
    Now the requirement is When they assign subtype to a postion in PO13 and save then these subtype
    and subtype description should be stored in 0001 infotype.
    the position should use to locate the employee and once the employee have been located update 0001.
    for ths I have implemented a PO13 badi HRBAS00INFTY(IN updating method) and inside the BADI we are calling
    HR_INFOTYPE_OPERATION' to update the eMPLOYEE(0001 INFOTYPE).
    Problem: Now the problem is , when we open PO13 in change mode to assign a subtype to Position ,sap creates a lock entry and when svae we are call
    HR_INFOTYPE_OPERATION' to update the eMPLOYEE(0001 INFOTYPE).but HR_INFOTYPE_OPERATION' also internally tries to lock the position but raising a
    message "You have already locked object/infotype S50000024".
    Pleae find below function and follwoing parameter I am suing for updating the person(0001 infotype) .
    I dont understand why HR_INFOTYPE_OPERATION is trying to lock position when I pass Pernr and 0001 as a parametr.
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    EXPORTING
    infty = c_infty
    number = wa_pernr-pernr
    SUBTYPE =
    OBJECTID =
    lockindicator = 'X'
    validityend = wa_pernr-endda
    validitybegin = wa_pernr-begda
    RECORDNUMBER =
    record = it_0001
    operation = 'MOD'
    tclas = 'A'
    dialog_mode = '0'
    NOCOMMIT =
    VIEW_IDENTIFIER =
    SECONDARY_RECORD =
    IMPORTING
    Please help me .
    Thanks In advance
    Best Regards
    Trupthi

    Hi,
    Onemore thing I couldn't find the code for IF_EX_HRBAS00INFTY-in_update.
    For every BADI there will be an example interface. Here for this BADI example is IF_EX_HRBAS00INFTY. If u want to see the model code, go to SE24 and give the name :IF_EX_HRBAS00INFTY and click on display. Then you can find the methods and respective exapmle code.
    One more thing
    Some  BADIs will not allow calling commit work. In your BADI also already one LUW is opened, so it will not allow  to open another LUW and the respective  commit work.
    Thanks and Regards,
    Chandra

  • Strange white light appearing when password input required on locked apps!

    Strange white light appearing when password input required on specific apps... Locked apps.
    It is a thick white line) appearing momentarily on upper left side of my screen.
    This only appears briefly as specific apps are opening up .....only on apps where a password is required,(locked apps) like password managers, Apple App Store, etc.
    (this is a little troubling… And I'm wondering about the security of my phone now)
    I'm using iPhone 5s with latest iOS 7.1 This only started after the latest iOS update!
    Although this line appears very briefly, I was able to get some screenshots examples (see links)
    [IMG]http://i58.tinypic.com/1zo9dt1.jpg[/IMG]
    [IMG]http://i61.tinypic.com/260bns8.jpg[/IMG]
    Apple has no idea what this is… They're only suggestion was to wipe the phone clean and reinstall from the last backup! If that doesn't work, they would replace the phone.
    Before I have to do this, I'm wondering if this could be a phone app doing this, or the iOS or something easily explained/ remedied?
    Any ideas?

    Anyone have any thoughts on this? Searches and experiments
    still not yielded an answer...

  • HR_INFOTYPE_OPERATION not working in badi HRBAS00INFTY

    Hi All,
    I need to create a record in IT0019 when IT0024 is updated.
    For that purpose I have created an implementation of badi HRBAS00INFTY and added my code in method IN_UPDATE.
    I try to create the record in IT0019 using FM HR_INFOTYPE_OPERATION.
    The problem is that the record is not created but the FM doesn't return any error( return param is empty ).
    I added 'commit WORK.' after the FM but this doesn't work neither.
    Do you have any idea why ths FM is not working in the badi.
    kr
    Karim

    Hi,
    Try with the BADI HRPAD00INFTY, If it not working try creating dynamic action for INFTY 0024.
    Dynamic actions : SPRO -> SAP Reference IMG -> Personnel Management -> Personnel Administration - >Customizing procedures -> Dynamic Actions.
    ~~~ Ganesh Kumar K.

  • BADI HRBAS00INFTY for PD Infotypes 1018

    Hello,
    I'm implementing BADI HRBAS00INFTY to check and modify some fields in infotype 1018 Cost Distribution.
    I need field PROZT which is not in NEW_INNNN. How and where can I find this field?
    I can imagine that NEW_INNNN-VDATA could help me, but how? In debug mode, value of NEW_INNNN-VDATA seems to be a key like HRT1018-TABNR (I have for example TST-----340A00000000000000060056) but I can't find the interne table where the missing field is stored.
    Regards
    Michel

    Thank you Daniel.
    As BADI HRBAS00INFTY is not easy to use, we acttually chose to develop our own transaction.
    Bye

  • BADI  HRBAS00INFTY in transaction PV15

    Hello,
    I am implementing the badi HRBAS00INFTY method BEFORE_UPDATE to control the creation of the relation A032 between person (object p) and qualifiquation (object Q) from transaction PV15.
    The issue I have is how to change the content of tables passed to this method ?
    (OLD_IMAGE, NEW_IMAGE, PLOG_TAB, TB_PLOG_TAB) and how this will affect the update process ???
    Did someone implemented this BADI to change any relation ?
    Thanks for your time,
    Jalal.

    Hello
    You cant change this tables
    reward points if helpful

  • (sqr 2515) input required user interaction but user interaction was disabled by the -XI command line

    hi ,
    i'm getting below while running sqr in 3-tier mode using process scheduler.
    (sqr 2515) input required user interaction but user interaction was disabled by the -XI command line
    can any one suggest me to resolve this problem

    You should be able to get some more precise information from your Xorg logs, but I would bet it is related to the evdev driver. Some of the options in your xorg.conf no longer work with the latest version. For now you should be able to either map your mouse directly to the appropriate /dev/event* entry or change to the standard mouse driver, both of those methods should be in the wiki.
    You are supposed to be able to use the evdev driver without the input section of your xorg.conf by using dbus/hal autodetection, but AFAIK at the moment the xorg-server package still isn't compiled with hal support, so you would have to patch and rebuild the package.

  • Display values at Infotype "Objects" - BADI HRBAS00INFTY

    Hello,
    I'm studying the badi HRBAS00INFTY and i want to know if it's possible to use the before_output method to display some values at Object abb and Object name fields(like a Search Help) when the user is creating the infotype Objects.
    If no, is there another way i could go through?
    Thanks!

    Thank you very much for your response. I've tried to use the function module, but I get the following dump:
    In the function "HR_COSTDISTRIBUTION_SCREEN_PUT", the STRUCTURE parameter  
    "I_RHCOST_OM" is typed in such a way                                      
    that only actual parameters are allowed, which are compatible in Unicode   
    with respect to the fragment view. However, the specified actual          
    parameter "'01S 70003361'" has an incompatible fragment view.              
    The coding looks like this (just for testing):
    call function 'HR_COSTDISTRIBUTION_SCREEN_PUT'  
    EXPORTING                                       
      i_mode             = 'D'                      
      i_type             = '1'                      
      i_data             = '2009090199991231'       
      i_rhcost_om        = '01S 70003361'           
    TABLES                                          
      i_costdistribution = gt_distribution.         
    I don't know what to do.
    Can anybody help me?
    Regards,
    Daniela

  • Some valuable inputs required on SAP Netweaver connection in xcelsius

    Hi Gurus,
    i am going to create the dashboard on top of SAP Query in xcelsius. can someone share some best practices on that.
    I have a requirement where the user should be prompted for the date and year variable.i need the help on variables as well.
    i would really appreciate if someone could share some realtime experience on this connection.
    Regards
    Abid Paul

    Hi,
    Below are the step by step procedure:
        1. Place a input text control on the dashboard for user input for year variable.
         2. double click the control will open the property sheet.
           In this you set the "destination" property to a cell in the excel spread sheet.
           so when the user inputs the year in the input text it will be passed to excel cell.
    For passing this year value to the query:
    Open the data manager and add the sap netweaver Bi connection.
    In the definition tab select the input variable and in the "read from " property select the same cell in excel which you set as a destination for the input text control.
    You also need to set the trigger cell property as "When value Changes"under the usage tab to the same excel cell.
    After these settings, when the user enters a year the query will run for that year and if he enters another year the query will rerun with the new value for the year.
    This is a general procedure. if you have any specific requirement let me know.
    Hope this helps.
    Uma

  • Functional Input required

    Hi All,
    I need your functional inputs on one of the client requirement.
    They want to do cost planning for project components at the time of bidding / quotation stage.
    At this time, they dont have even created material master so we cant assign material to activity (which brings standard price as plan cost for activity which rolled upto WBS)
    If this is done with any other method (activity element - cost, manual planning in CJ40 or Easy cost planning for WBS Element) and when at later stage material master is created with standard price and attached to activity, plan cost will be approximately doubled.
    Because plan cost for that particular activity will be addition of cost planning done earlier and standard price of material.
    How to tackle this situation.
    Request you to kindly provide inputs / best practices based on your experience.
    Thanks in advance
    Parimal

    Thanks a lot for replies.
    Planning costs in versions seems to be helpful. Even I had the same thing in mind.
    But just one question that suppose I create project in version 1 (not zero version) and planned costs.
    In my project cost planning is done in several ways like
    Work center wise activity cost plan
    General cost activities / activity elements
    CJ40 (with primary cost element and also secondary cost elements, not overall planning) etc.
    Easy cost planning
    Here as suggested by you, I wont add materials instead I will plan their cost using either CJ40 (cost element planning) or CJR2 or Easy cost planning.
    At later stage when I will create project (in version 0) by copying this (from version 1), will all planned costs also get copied. If no, then I will have to repeat whole exercise and if yes, after material addition, it will be duplication.
    Request you to kindly provide inputs on same. Also clarify if my understanding is right wrt cost planning by version.
    Awaiing for your replies.
    Thank you
    Parimal

  • HCM Process and Forms - Clarification required reg BADI QISR1.

    Hi all,
               I want to have some extra validations done on some of the fields of my HCM Process Adobe form. For this, I created a new implementation for the BADI QISR1 with filter value as my Custom Scenario and implemented the method INT_SERVICE_REQUEST_CHECK. Validation is working now, but, it's not updating any data to the back end after I submit. When I checked, I found that SAP has written the whole logic to update the data to the Infotypes in another Implementation of the same BADI,which was like the Default implementation. But, that implementation is not getting triggerred now, as I have a new one now.
    Do I have to copy the whole update logic to this Implementation now? Or is there any other setting for this?
    Kindly help me.
    Regards!
    Mahesh

    Not sure I follow you here, but here's some basics.
    For any backend updates to infotypes, you should use the standard services SAP_PA, SAP_PT and SAP_PD (if on EhP4).
    In some case, this won't work. So you have two choices:
    (1) write and advanced generic service to handle this (difficult and no examples from SAP)
    (2) write custom code triggered in workflow to do this (such as a custom function module) to handle your updates (past EhP2, you have to use the same classes as the decoupled framework uses....not the good ol' "infotype operations" standard FM).
    Now, as for validations, you can handle those separately. In fact, talk about timely! (haha) I just posted a blog on this just now. =)
    /people/christopher.solomon/blog/2009/06/22/hcm-processes-forms-required-fields-arent-what-they-use-to-be

  • Inputs required on SCOV tool

    Hi All,
    U guys must be aware of the SCOV tool, coverage analyzer used to keep a check on quality of code written.
    We need to bring this tool into practice in our project to increase the quality of code delivered.
    I found that it requires unit test cases to be implemented in the code itself using the class cl_aunit_assert and its methods.
    We have not been in practice of writing unit test cases, can someone help me with that.
    Sample unit test cases will be helpfull.
    Also, I tried implementing the test class with simple methods along with the development.
    On executing the report with coverage, the unit test cases run successfully but in scov tool still the status remains red with coverage fields as blank.
    Please provide me some inputs to use this tool effectively.
    Regards,
    Shreya

    you should use method IN_UPDATE so you are sure it is executed after the data have been saved

  • Inputs required for ESS Worflows

    Hi! Experts,
    I have a question in ESS Worflows? The Workflow is for 'Work Permit Application' which is complete customized development with Portal ivews. Now as Employee will fill out this form and press Submit than at the same time Workflow need to be triggered in background in SAP R/3 for some approvals.
    Now my doubt is that how will I know that the end user has entered something in that forms as there is no  Standard Business Object Event since this is customized developement?
    So in this scenario do i need to create a Z Business Object with some events but the problem here is that there is no Super type for the Z business object, if this can be done than please provide me with some sample step by step procedure for the same.
    Please provide me with some sought of inputs as I am new to ESS Workflows.
    Thanx in Advance
    Mistry Wasim

    Hi Mistry,
    Similar questions have been asked before so you could search for those. Do you only use iviews or also webdynpros in the iviews?
    From the portal you have the option to call RFC's, so you can trigger an event using the standard WAPI (mentioned several times here in the forum). You can also use a standard object and event (BUS1065 for instance) if these fulfill the requirements.
    Regards,
    Martin

  • Inputs Required - XML formation

    Hi,
    We have a specific requirement where we have to generate an XML that should not contain any namespace/xsd reference but contains DTD reference. This XML is sent to our partners through automated workflow.
    The partner only understands DTDs and will talk and validate inputs with DTDs only.
    Similarly - I need to accept XML containing DTD reference and not XSD reference.
    Can I achieve this functionality with XML Beans??
    What are the possible alternatives?

    Hi,
    What are you going to do with that FM. That FM does not need any inputs. If you call the FM directly it will give pop up and when you select any kind of file the FM will fill the tables.
    Cheers,
    Kothand

  • Query Design-Inputs required

    Lets say we have a monthly report where . This report displays three columns Plan, Actual, %.
    User inputs Sep08.
    I am also required to show last year actual data for august 07,September 07, October 07 next to it.
    i.e. Plan(sep08), Actual(sep08), %                 and          Actual(august07), Actual(Sepember07),Actual(october07)
    If the user chooses March 08, the report should show
    Plan(march08),Actual(March08),%                   and        Actual(Feb07), Actual(March07),Actual(April07)
    How should i design this in query designer.

    Hi,
    Create a Cutsomer Exit Variable on 0CALMONTH and then write code to give  -1 Year and Month
    Else
    Set Offset values for 0CALMONTH
    Eg: ZMONTH is normal input variable on 0CALMONTH, restrict it with -1.
    if user Input Sep 2008
    In selections:
    ZMONTH-1    = It will give 2008 Agu
    KeyFigure
    In selections:
    ZMONTH-2    = It will give 2008 July
    KeyFigure
    But you can't set it for 2007. So go for Customer Exit Code
    See for Cutomer Exit Code in
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra%20Reddy
    Thanks
    Reddy

Maybe you are looking for

  • How do I change the title of an "episode"?

    Hello, I'm writing a screenplay but when I print out various reports or build my schedule I'm getting a column called "episode". The episode is titled as a very old version of my script and not the current title of my script. Any ideas how to change

  • Audio insert editting from FCP to DigiBeta clicks at insert point

    Punching in audio on a DigiBeta deck gives a small click in the sound. This is probably due to no audio being played before the punch is made, so the DigiBeta can't crossfade the sound. When syncing the DigiBeta to Pro Tools the punch is seamless. Th

  • Question on Report Painter

    Hello, I am trying to learn how to create a report thru Report Painter. At GRR3, I executed standard report 0F-BSNA with my parameters From/To Period Fiscal Year Company Code Ledger (0L) Plan Version 1 But when I run the report, I get a " report cont

  • Which RFC module/s should I use to access DSO tables?

    Hello, I am in a proccess of creating an adaptive RFC model in Web Dynpro. I am in a stage where I need to select my RFC modules. My requirement is to access our DSO tbles. I see many BAPI's and functions under the SAP Business Information Warehous t

  • Problem with personalize box showing up

    Hi, I added a page to another page, so now the inner page has a tray and looks like an iView.  When I click to personalize the inner-page, the personalize box doesn't pop up.  The only way I can get it to show is if I hit "refresh" in the page option