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

Similar Messages

  • Travel Privilege Infotype (0017)

    Dear All,
    On trying to create Travel Privilege Infotype (0017)  I am getting the following error:
    Table V_T702N_A, argument 40 is not fully maintained
    When I checked the table for variant 40, Industry field is blank (there is no value for this).
    How to solve the problem?
    Regards
    Astha

    Hi Astha,
    the field must not be set blank. If you do not use it, you must at least set it to '0'. '0' is not the same as blank.
    Cheers, Lukas

  • 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

  • Defaults on Infotype 0017

    Hi
    Can you guys pls help.
    How can i get the follwing fields: company code, Business area, cost center to default in Infotype 0017?
    Thank you in advance.

    Hi
    Write a dynamic action on IT0001, so that it can have the values from Org Assignment IT and can default in IT0017.
    If you have any further queries do let me know
    Hope this will be of help
    Regards,
    Guds

  • 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

  • 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

  • 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!

  • 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

  • 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.

  • 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

  • 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

  • HR-ABAP-Infoset-creation-getting default value-standard-ss

    Hi All,
    Here I am having the requirement that I need to create a new infoset with specified infotypes in the HR-ABAP .For this I have used SQ01,SQ02,SQ03 T.C's and I have selected tables-fields whatever I required. But I am not able to get a default value in the Selection-Screen. And I need to get SAP Sandard selection screen related to HR-ABAP.
    Please do me favour to solve this problem. I am very much thankful for reading this query.
    Advance thanks for the help.
    Regards,
    Prakash

    Hi
    Look out for the error in the flat file which you are uploading. I have seen this error and I found it in Flat file. its a conversion error.
    Just copy few lines from the original file, make a new file and upload it. In this way, you will be able to say whether there is an error in file or in code.
    Regards
    Waz

  • Infotype 0017 changes

    Hello All,
    I have one query from Infotype 0017 (Travel management). How to edit or select the indicator Trip Assigned under Employee has trips in Infotype 0017 as my user was able to select this before but now not.
    Please suggest.
    Thanks & Regards,
    Esha

    Hello Esha,
    The report RPRFLDEL reset the status of field 'has trips assigned' IT017. It will be make the field "blank". When you create a trip for a personnel number for the first time it will marked the field 'has trips assigned' in IT0017 automatically.
    To reset this field the report RPRFLDEL is executed.
    Hope the above should help.
    Best Regards,
    Deepak..

  • Default values in CAT2

    Hello All!
    I'm configuring a data entry profile CATS for HR and CO. I'm using Infotype 315 for default values in CAT2 (activity type and cost centre), but when I enter the target hours in CAT2 the only field that get defaulted is A/A type. I have made the proper customization in tranzaction CAC1 (configuration of data entry profile) and I have entered data in 315.
    Can you please help me?
    Tks

    Hi,
    I hope you got his id. Anyway, his id is [email protected] Your query will end up with him. He is genious in CATS.
    Meanwhile, you can find his connection from my ittoolbox profile.
    http://ittoolbox.com/profiles/omprakash_hr
    Let me know the status, once you posted your query to him. I will help you, if you couldn't catch him.
    Good Luck.
    Om.

  • Default values for service provider in transaction TRIP

    Hello Gurus...
    We are implementing travel management and I have a problem... here's the scenario
    Tha gl account that should be used for a specific trip recepit depends on the following:
    The expense type
    The company specific type of trip
    The Employee grouping for Travel Management
    What we have done so far is :
    create a service provider for every combination of trip_type/employee_grouping
    create entries in V_T706B4 for every valid combination of expense_type/service_provider
    configure transfer to accounting
    With this configuration the gl account is determined correctly. However this way of solving the situation means that the user must enter the service provider for every recepit entered in the expense report. Given that in our particular scenario the service provider depends on data that has been already entered (type of trip) or that "the system should know" (employee grouping), users are not happy about having to enter the service provider.
    ¿Is there a way to assign default values to the service provider, and would it be possible to code/configure somewhere how to set those default values? I tried doing it through the trip schema, but apparently it is not possible to set a default service provider that way. I also tried setting the values in the user exit (b4 assigning trip number) but this doesn't work since the user exit is called after the standard validation. I also tried implementing subroutine USER_EVAL_RECEIPT, but this doesn't seem to work in transaction TRIP.
    Thanks in advance for any help you may provide!
    Juan Ramon

    Hello AP.
    Thogh your suggestion is helpful (I might use profile parameters somewhere else) thre is no parameter for the field I need. In any case It wouldn't have solved the issue completely, since the default value I need depends on both the employee(user) and the type of trip that's selected.

Maybe you are looking for

  • Cannot get 959c deskjet to load or printer to spool

    deskjet printer 959c will not load in windows 8.1 message printer not spooling

  • PDF as a Collection Media Format

    What do we do with channels/collections that are in PDF format? Our Education and Outreach Office was planning to upload lesson plans in PDF format. And I noticed that PDF was not one of the Collection Media Formats, only SD video, HD video and audio

  • HT204053 Is it possible to merge two Apple ID's?

    I have an apple ID for iTunes music and purchases and another for iCloud.  It's a long story.  I would now like to have a single account but don't want to lose all my apps and music and stuff on my iTunes

  • Unable to test Adobe interactive form from webdynpro

    This is the out put i get when i test run the report 'FP_TEST_IA_01'.As suggested in SAP NOTE : 999998 ADS: com.adobe.ProcessingException: Could not retrieve a password for credential: ReaderRights(200.101). Actually i was trying my first Adobe inter

  • Additional page that is not required is printed

    hi experts, i have created a sartform and when i print it there is an additional page with the username that is printed and that is not required.  has anybody got this problem before?  how can i avoid this additional page? thanks, vitz.