Default values OM infotypes (actions)

Hi Experts,
anybody knows how to set default values in OM infotype when running OM actions?
I do this in PA component through dynamic actions, but they're not applicable in OM.
Thank you very much!

Hi Ema,
I think you can use a exit or badi which will trigger a workflow on saving a record. In this you have to also take into cosideration the functionality of locking record.
Once the approval is obtained then only, your logic should actully create the valid positions.
Thanks!
Regards,
Chetan

Similar Messages

  • Feature to default values on infotype screens

    Hi All,
    Could I use a Feature (txn PE03) to determine the default values on an infotype screen?
    For example, I want the value in field FUNKT on Infotype 34 to default to say 'KLMN' if the Employee Group is '1' and the Emp. sub group is 'Z5'.
    I would like to use the screen modification config (table T588M) to assign the Feature and get the values without coding.
    I know I can achieve this by using a subroutine on dynamic actions or a BADI for infotype processing etc. but I am lazy and don't want to code if I can avoid it.
    Many thanks in advance
    Sanjay

    Thanks Sarika.
    I can create a Feature in PE03 but how do I use that in the config (table T588M)? Because if I am not able to use it in the config, I will be forced to code (using any Fn. Mods of the likes of HRFEATUREBACK*).
    The Feature ABKRS doesn't seem to be specified in table T588M as such there is bound to be coding behind it in the IT0001 processing programs.
    Cheers,
    Sanjay

  • Defaulting values into infotype

    Hi all,
    Is there a way to default vaules into infotypes?
    For Eg: if i have a hiring action in place for company code XXX, can i set it somewhere that all employees hav the same personnel area yy or sub area zz ?

    Hi Suker,
    For Payroll Area, you can use Feature ABKRS. Use Transaction Code PE03 to access the initial features screen, then input ABKRS.
    For the other infotypes, try maintaining your org structure, using the Org and staffing interface. Defaulting these infotypes can be done in org assignment interface, and default your values through the Account Assignment tab.
    In the Account Assignment tab, enter the CoCode, and click on the default icon to the right so you can input your Personnel and sub areas as well as cost centers etc.
    Good Luck and lets know if this helps.
    Tata

  • Override default values for infotype 0009 (Bank Details)

    Dear all,
    When we create a new bank details, default value will populate.
    I would like to know how to override these value, dynamic action? User exist? Feature? Or something else?
    Thanks in advance
    Regards
    Bill

    Hi Sikindar,
    Thanks for the reply, am trying to understand the options available.
    It look like the current behavior is: INITS + RUFNM
    and the user want to change it into: INITS only
    And it should only apply to country group 28
    Regards
    Bill

  • Making the Default values in Infotypes

    Hi ,
      I am doing the Infotype 0009 in PA and in that Bank Account number should be mandatory . actually i have two clients 801 and 802 in 801 i wanted Bank Account number as the mandatory filed when i use 0009 and in 802 it should not be a mandatory field. We can do in the screens but when we assign in the screens it is making the Bank Account Number as mandatory in both the clients can any one tell me how to resolve this issue.

    hi try this logic
    instead doing this at screen level do this at program level
    use this logic in loop at screen
                      endloop.
    eg: if sy-mandt = '801'.
         screen-required = 0.
         else if sy-mandt = '802'.
         screen-required = 1.endif.
    try this
    do not forget to reward if helpful.
    Message was edited by:
            vamsi reddy

  • How to make a default value by using dynamic actions

    Hi,
           I want to default a field nationality in infotype 0002 as a great britan, using dynamic actions but unable to go ahead. Any help regarding this really appreciate.
    Regards
    Niranjan

    Hi,
    I need some guidance around creating dynamic action with default value, Please guide me through.
    I am aware I can set default values for new infotype, but I need to set default value for same infotype, let me explain the scenario.
    Currently employee is on one pension scheme which is called NE1 and now we are moving this employee to CRESP Pension Scheme.
    When employee is in NE1, his IT0071 has got a opt in field with a flag on, when the same employee is moved from NE1 pension scheme to CRESP Pension scheme, his new IT0071 record should have the same opt in field with a flag on, I want it to set this flag automatically using dynamic action. I dont want to update this field manually, while moving from NE1 to CRESP.
    Currently the below dynamic  action is coded when employees are being moved form NE1 to CRESP, but now they will have a opt in flag which should appear automatically, What needs to be done to make this happen?
    Please let me know if I set default value for the Opt in field for the same infotype.
    . When employees are being moved from NE1 to CRESP pension scheme we currently use a dynamic action as show below:
    0071                      04      10      I        INS,0069
    0071                      04      20      W       P0069-BEGDA=P0071-BEGDA
    0071                      04      30      W       P0069-ENDDA=P0071-ENDDA
    0071                      06      1        F        DYNACT_PAE031(ZHRPROG016)
    Also if it is not possible via dynamic action could you please explain how to create it using user exit, I am not an ABAPer.
    Your help is very much appreciated.
    Kind Regards,
    SK

  • Travel Privelege Infotype 0017 - default values

    Dear All,
    Is there any standard features available in Travel Privelege Infotype 0017 to default values in fields,
    RGrp M/A Statutory
    RGrp M/A Enterprise
    EE Grp Expense Type
    Thanks
    Ravi

    Hi SAP HCM,
    The code is pretty standard i guess, but you have to understand that this wont work if you try to maintain the infotype individually. our case before was on hiring process (PA40), the 0017 need to be populated automatically. What do we do is we put dynamic action to infotype 0171 (benefit - because those two infotype are related in our case).
    0171     06   01  P  T1000p=MOLGA='xx' your molga
    0171     06   02  P  PSAVE-BENGR <.> P0171-BENGR    ' To make sure if nothing change on 0171 then dont proceed
    0171     06   03  I   INS, 0017
                        04  W  P0017-ERKLA='1'  ' set RGrp M/A Statutory = 1
    You need to tune the code since i write it only with my memory. You could also use condition, if employee group a then the value is 2 or so. Hope it helps.
    Regards
    Edited by: Hendri Salim on Oct 14, 2011 8:43 AM
    Edited by: Hendri Salim on Oct 14, 2011 8:43 AM

  • Dynamic action - default values

    Hi guys,
    Anybody knows if it is possible to set a dynamic action in order to default P0001-WERKS field in the Infotype 0001?
    Thank you very much!

    So you mean to say, Action 0000 Infotype and Org Assignment 0001 infotype will have different values depending on Action Type??
    This is not at all possibleeeeee!!
    The WERKS that you enter in IT0000 stores in IT0001 but not in IT0000
    Regards
    ...Sadhu

  • Assigning Default value to a Infotype Field

    Hi,
    My requirement is to assign default value to the loan amount field of the loans infotype(0045).
    I am using the PBAS0001 user exit program ZXPADU01 and taking the basic pay amount for the employee from infotype 8 and assigning it to pa0045-dabrt(loan amount)field in infotype 45. But the problem is the loan amount field in 45 infotype is of the type currency(13 characters) and if i assign a value 2000 to the field its displaying as 20,000,000.00. That is the value is being multiplied by 10000 and is displayed. When i tried to divided the value by 10000 and pass it, for odd numbers its not working.Can Some one provide the solution for this problem.

    Try using simple Formula at field level insted of field routine.
    there is IF( <condition>, <result when true>, <result when false> ) option avaialble in formula
    Regards
    Sudeep

  • Action script and default values

    While importing data through action script, even if the property value present in Action script is same as default value defined at the property level , DRM marks that property value as Overridden in the hierarchy.
    Is there any possible way to avoid this?

    Default value is set when no value is entered for the property. As soon as you enter a value for the property thru action script or manually, its overridden even though the value is the same which was set at the property level
    Right click on the property and do a remove value then the icon should be set to default again.
    If you want to restore multiple properties back to default, then use remove all below at the rollup level

  • Default values for fields in infotype 0017

    Is there any way to set default values for fields in infotype 0017? Maybe a
    feature? I'm thinking about defaulting values based on pay scale group.
    Thanks before.

    Hi
    You can implement what i suggested in my previous post.
    Or else, you can do what we did in one of our client requirement.
    We created a custom Ztable where we had defined which value of the the employee grouping to be placed for which record.
    We did that on the basis of the company code fields.
    For eg: IF BUKRS = 'TR01'
    then EE Grp Expense Type = '1'.
    ENDIF.
    Similarly for other fields.
    Hope this helps.
    Harsh

  • Put a default value in an infotype with a BADI ?

    We want to put a default value in the administrators fields of the infotype 0001 (depending on the company code) when the user create/change it.
    A standard feature exist but onluy for the administrator group.
    Because we want to follow the technological evolution of SAP, we try to use a badi instead of a user-exit.
    So, we found this badi definition: HRPAD00INFTY (method BEFORE_OUTPUT).
    Problem: all the parameters (including the infotype value) are IMPORT parameters.
    So we can't modify the infotype content...
    Do anyone know how to modify the content of an infotype with a BADI ?
    Or do we must continue to use user-exit in such cases ?

    If one was just learning about userexits, BAdIs and the new Enhancement Framework as well as infotype PBO and PAI, this can be a bit of a mountain to climb, but these two documents might be useful.
    <a href="/people/sergey.korolev/blog/2005/03/14/the-time-for-me-to-have-a-badi-of-my-own time for me to have a BADi of my own</a>
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/266">what the New Enhancement Framework Is For – Its Basic Structure and Elements For Beginners (Five Parts)</a>
    I "enhanced" the first article's solution with the second article's tutorial to cut my teeth on the new framework while providing myself with a means to use BAdIs for infotype PBOs/PAIs.  Thank you very much to the authors!

  • How set default value in field of new infotype

    Hi experts!!
    We have created a new infotype 9002. This infotype has two mandatories fields, one with the amount and another with the currency.
    The currency always will be 'EUR', for this reason we would like to assign the default value for this field and the user only should fill the amount field.
    How we should assing the default value to the field we have created in a new infotype 9002?
    Kind regards,
    Julian

    Hawk,
    Another option here will be to enhance infotype 9002 screen 2000 PBO logic. Add a PBO module with the following logic:
    Begda hat sich vielleicht geändert.
            PERFORM re500c(sapfp50m) USING psyst-land p9002-begda. "K35729
            IF p9002-waers IS INITIAL.                          "QNUK110803
            IF t500c-waers IS INITIAL.                        "QNOK034099
              MOVE t001-waers TO p0015-waers.                 "QNOK034099
            ELSE.                                             "QNOK034099
              MOVE t500c-waers TO p9002-waers.                  "QNOK129756
            ENDIF.                                            "QNOK034099
            ENDIF.
    This is standard code extracted from infotype 0015 PBO logic. It default currency according to your country.

  • Reset default values - unfilter action

    Hi all,
    How can I reset  input UI elements( Input Text or Drop Down) to the default values ?
    I have a form that contains Drop Down, Date Picker etc.
    This form used as a filter for some dashboard.
    It contains 'filter' and 'unfilter' buttons.
    The question is how can I put the default values to the form UI elements while clicking the 'unfilter' button.
    Please note that unfilter action is working ( I pass default values to BAPI) but UI elements doesn't initilized to the default values.
    Thanks,
    Ola

    HI Ola,
    you cannot "reset" an input field to the default value. You have to re-enter the form that contains the input field, i.e. there must be a data flow into your form. This data flow must contain the default values.
    Another option is to use a drop down box instead, containing the possible filter values.
    The input field does not refresh a value automatically. Only an expression box does. There, however, you cannot enter texts.
    Best Regards,
      Benni

  • Default Wage Type Values in Infotype 8 screen using  exit EXIT_SAPFP50M_002

    Hi Experts,
    I am facing an issue with defaluting few of the Wage Type Amount/Percent values in Infotype 8 when PAI gets triggered while chnaging the record.
    I have implemented the custom logic and updating Wage Type amount for IT0008 sturcture in PAI ( PBAS0001 -> EXIT_SAPFP50M_002) and again rewriting the data back to screen by using cl_hr_pnnnn_type_cast=>pnnnn_to_prelp. But the changed data is not getting shown on the screen. Can some one help me out on this issue.
    I have tried with SHOW_DATA_AGAIN = 'X', but this is leading to non functioning of SAVE button. No BADI will suit for this requirement. How to acheive the solution for this issue?.
    This is an high priority issue for us and would appreciate your help in resolving this issue.
    Thanks and regards,
    Srikanth Reddy.

    Hi Srikanth
    Try updating IT0008 by submitting a report, as mentioned below:
    IF
    UR CONDITION
    SUBMIT ZHR0008 (for example)
    ENDIF.
    In ZHR0008
    CALL FUNCTION 'HR_EMPLOYEE_ENQUEUE'
    CALL FUNCTION 'HR_INFOTYPE_OPERATION'
    CALL FUNCTION 'HR_EMPLOYEE_DEQUEUE'
    Hope this helps
    Best Regards
    Reddy

Maybe you are looking for

  • Made a mistake and don"t know how to undo it

    i use my iPod nano soley for listening to talking books while at the gym. Copy books from cd to itunes library. Books vary from four to twenty disks. Disks run approx one hour and consist of 18 to 22 tracks each. At some place my computer asked if I

  • Read-only CIFS share--5320 NAS Gateway Cluster

    Is it possible to share CIFS shares read-only using Active Directory authentication, then revert to normal read-write operation? We would like to make information available while we are finishing an incremental copy from an old data source.

  • Personalization change font size

    Hi, i create new item using Personalization with Item Style Static Styled Text. I need to change font size. How to perform this. Thank you.

  • How to program the daq card to route signals?

    Hi, I would like to program the daq card to route signals, for example from DIO0 to DIO1. All this should happen without Labview, directly on the board. Is this possible? What I want to do, is to get a lot of signals as inputs and output those signal

  • Cproject's candiate can't assign to resoure section

    I tried to assign the candiate ,edwin-01, to project role at cproject's resource tab's staff section, but it show the error message which is "person edwin-01 is not known in WFM core. and then it can't assign the employee to the resource. I had check