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

Similar Messages

  • Problem with decimal fields using BADI For PD Infotypes

    Hi,
    I'm implementing BADI  HRBAS00INFTY.
    For reading the fields of infotype , I'm using the substring
    of the field NEW_INNNN-VDATA .
    I have a problem with fields of type DEC.
    In field NEW_INNNN-VDATA it looks like this :  '####'
    I believe that the possible reason for this is conversion from DEC to CHAR
    But I don't know how to fix it.
    Thank you .
    Message was edited by: Alon Lozinsky

    Hi Alon,
    We had same issue. Use following code.
    data: hri1011_str type hri1011.
    move new_innnn-vdata to hri1011_str.
    HRI1011_STR fields will have decimal values.
    Let me know if you still have any issues. If solution works, kindly do Point Recognition.
    -Bharat

  • 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

  • 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

  • FM for read cost center distribution infotype 1018

    Hi Gurus,
    Can anybody provide FM for read OM Infotype 1018 - cost center distribution.
    Note : Requirement is get cost centers which are maintained in 1018 as POSITION based.
    Regards,
    Ranjith

    Hi Ranjith,
    Read a infotype record via  RH_READ_INFTY_NNNN
    then use RH_READ_INFTY_TABDATA to read additional data.
    Best,
    Sergey

  • 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

  • Enhance screen for standard infotype

    I need to enhance screen for standard infotype. I follow docs but nothing happens.
    Here is my process by steps:
    1. PM01 - select infty number
    2. PM01 - generating CI_PXXXX (customer include)
    3. create structure for this include
    4. create customer screen for this include
    5. PM01 - generate objects.
    Then I am redirected to SE19 - BAdI-Builder. What should I do follow?
    Created screen hasn't appear in se80 (MPXXXX00).
    Thank you in advance!

    I suggest you place your question in [ERP HCM forum|SAP ERP Human Capital Management (SAP ERP HCM);,

  • Delete cost distribution data(infotype 1018)

    hi all,
    i have a requiremment. i have to Delete Cost Requirement Data (infty 1018) at mass level.
    how would i do that?
    thanks
    Sachin

    Hi Sachin,
    To delete Infotype Data from the Personnel Planning Database... You can use the Program RHRHDL00 (Last two Characters are zero)
    Go to SE38 >> RHRHDL00 >> Execute
    CAUTION:
    On the Screen,
      1. Mention the Plan Version
      2. Mention Object Type - You can MAINTAIN THE LIST HERE.... (As IT 1018  can be maintained for Work Center, Org Units, Position)
      3. Maintain the Infotype you want to delete  (In your Case it is 1018).
      4. If this was used for any other infotype which has a Subtype, then maintain the subtype (For Eg: For Relationships INfotype, you want to delete A008 relationship then maintain 1001 in Infotype and A008 in subtype).
    ****IT WORKS PERFECT... BUT DO THIS AT YOUR OWN RISK.....ONE HAS TO BE VERY CONFIDENT WHILE EXERCISING THIS PROGRAM.....
    MASS DELETION.. Done !!!
    All the Best !!!
    Kumarpal Jain.

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

  • Updating infotype 1018 automatically

    Is it possible to update automatically infotype 1018 for position after creating a record on employee's infotype 0027?

    it will not update IT1018 but if you maintain IT 27 then while posting to FI system will take the cost element from IT27.
    the value of IT27 will overwrite the value of IT1018 while posting to FI.
    It is bettter to maintain either one place.

  • USer-exit for Custom Infotype

    We have a custom Infotype 9001.
    I need to do some validations for this Infotype.How do I find a user-exit for this.
    We are on ECC6.0.
    Thanks
    Kiran

    Hi,
    I have the same requirement. Can you please help me out. How to find user exit or badi or Enhancement Spot for the custom infotype.
    Thanks & Regards,
    Prabu

  • E-Recruiting : Creation of Search Profile for custom infotypes

    Dear experts,
    Can anyone let me know if you have created search profiles for custom infotypes in eRecruiting?
    The requirement is for the TREX to be able to search for Candidates based on the fields which are defined in this custom infotype. This infotype (9999) is completely custom defined mapped to object NA.
    In the IMG,
    I don't have to change the search profile type
    I created a new Z Information category.
    Here, i have to specify an extraction class for this Z Information Category.
    Can anyone please tell me what this should be? Can i give it as "CL_HRRCF_CEC_INFOTYPE" ?
    Also, can anyone please mention the significance of the table "T77RCF_SPT_INFTY " and how we should be handling the entries here for our custom infotype ? Should we create a custom class to specify here? How should we do this ?
    Any inputs & thoughts regarding this will be invaluable.
    Needless to say, i created the Z information category with the class CL_HRRCF_CEC_INFOTYPE but when i run the report RCF_RECREATE_SEARCH_PROFILE,It is giving me a lot errors.
    Please help.
    Regards,
    Sowmya

    Sowmya,
    To answer your question, Yes, automatic generation of NA for newly hired/created PERNR (P) is because of the integration you have activated between PA and eRecruit via BADI implementations. Look at OSS note 997181 for details on how integration works.
    If you dont need integration between PA and eRecruit on PA40 then you may have to tweak the BADI's.
    regards
    Sridhar Kandisetty

  • BAdI UC_DATATRANSFER for BCS Mapping in "Load from Data Stream" method

    Hello Everyone,
    I need some help on finishing up the code for the UC_DATATRANSFER BAdI.
    I have looked up in the SDN and other places, but could not get comprehensive breakdown of documentation except for the "F1" documentation available on the BAdI.
    So, any help would be appreciated.
    The Steps so far completed,
    1. Have activated the BAdI and have created the filter value for the BAdI.
    2. After the BAdI has been activated, I was able to go into the MAP method and have written the logic for profit center derivation from consolidation hierarchy.
    The issue is there are four components for the Map method,
    IT_DATA_SOURCE
    IS_DATA_TARGET
    ES_DATA_TARGET
    ET_DATA_TARGET
    The data is available from Source system in the table IT_DATA_SOURCE.
    But this is not changeable as it is "Importing" type. Whereas the actual ET_DATA_TARGET which is passed over into FINALIZE method of the BAdI is not filled initially.
    When I try to do a MOVE-CORRESPONDING from the IT_DATA_TARGET into ET_DATA_TARGET I continuously am getting the short dumps as both the tables length is not the same.
    Did anyone else face the same issue as above when trying to do the BAdI implementation for Mapping.
    I will really appreciate if any one can provide me a sample code if possible.
    Let me know if you need additional information.
    Thanks
    Dharma.

    Hello,
    Thanks for looking into the question.
    I already had tried doing that, I get the Short dump stating the object tables are not convertible.
    When I looked into the table structures, I found out that the table structures "IS_DATA_TARGET", "ES_DATA_TARGET" & "ET_DATA_TARGET" belong to the same category in terms of these structures being flat structures or tables of length 484 as per the debugger.
    Whereas the structure "IT_DATA_SOURCE" has the length 404.
    Due to this reason when I say,
    ET_DATA_TARGET = IT_DATA_SOURCE, I keep getting the short dumps.
    Also, is your consolidation process legal or managerial.
    Our Consolidation process is legal and we have the Company and Profit Center fields assigned to the Consolidation Unit role in the Data Basis definition.
    Can you please let me know what is the structures length in your system.
    Thanks
    Dharma.

  • Mkfs: bad value for nbpi: must be at least 1048576 for multi-terabyte, nbpi

    Hi, guys!
    *1. I have a big FS (8 TB) on UFS which contains a lot of small files ~ 64B-1MB.*
    -bash-3.00# df -h /mnt
    Filesystem Size Used Avail Use% Mounted on
    /dev/dsk/c10t600000E00D000000000201A400020000d0s0
    8.0T 4.3T 3,7T 54% /mnt
    *2. But today I noticed in dmesg such errors: "ufs: [ID 682040 kern.notice] NOTICE: /mnt: out of inodes"*
    -bash-3.00# df -i /mnt
    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/dsk/c10t600000E00D000000000201A400020000d0s0
    8753024 8753020 4 100% /mnt
    *3. So, I decided to make file system with new parameters:*
    -bash-3.00# mkfs -m /dev/rdsk/c10t600000E00D000000000201A400020000d0s0
    mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=8192,cgsize=143,free=1,rps=1,nbpi=997778,opt=t,apc=0,gap=0,nrpos=1,maxcontig=128,mtb=y /dev/rdsk/c10t600000E00D000000000201A400020000d0s0 17165172656
    -bash-3.00#
    -bash-3.00# mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=1024,cgsize=143,free=1,rps=1,nbpi=512,opt=t,apc=0,gap=0,nrpos=1,maxcontig=128,mtb=f /dev/rdsk/c10t600000E00D000000000201A400020000d0s0 17165172656
    *3. I've got some warnings about inodes threshold:*
    -bash-3.00# mkfs -F ufs -o nsect=128,ntrack=48,bsize=8192,fragsize=1024,cgsize=143,free=1,rps=1,nbpi=512,opt=t,apc=0,gap=0,nrpos=1,maxcontig=128,mtb=n /dev/rdsk/c10t600000E00D000000000201A400020000d0s0 17165172656
    mkfs: bad value for nbpi: must be at least 1048576 for multi-terabyte, nbpi reset to default 1048576
    Warning: 2128 sector(s) in last cylinder unallocated
    /dev/rdsk/c10t600000E00D000000000201A400020000d0s0: 17165172656 sectors in 2793811 cylinders of 48 tracks, 128 sectors
    8381432.0MB in 19538 cyl groups (143 c/g, 429.00MB/g, 448 i/g)
    super-block backups (for fsck -F ufs -o b=#) at:
    32, 878752, 1757472, 2636192, 3514912, 4393632, 5272352, 6151072, 7029792,
    7908512,
    Initializing cylinder groups:
    super-block backups for last 10 cylinder groups at:
    17157145632, 17158024352, 17158903072, 17159781792, 17160660512, 17161539232,
    17162417952, 17163296672, 17164175392, 17165054112
    *4.And my inodes number didn't change:*
    -bash-3.00# df -i /mnt
    Filesystem Inodes IUsed IFree IUse% Mounted on
    /dev/dsk/c10t600000E00D000000000201A400020000d0s0
    8753024 4 8753020 1% /mnt
    I found http://wesunsolve.net/bugid.php/id/6595253 that is a bug of mkfs without workaround. Is ZFS what I need now?

    Well, to fix the bug you referred to you can apply patch 141444-01 or 141445-01.
    However that bug is just regarding an irrelevant error message from mkfs, it will not fix your problem as such.
    It seems to me like the minimum value for nbpi on a multi-terabyte filesystem is 1048576, hence you won't be able to create a filesystem with more inodes.
    The things to try would be to either create two UFS filesystems, or go with ZFS, which is the future anyway ;-)
    .7/M.

Maybe you are looking for

  • How to define a scalable font in SmartForms

    I am a newbie in SAP. I am using Zebra printer. I need to define a scaleable font, 12point for the font height and 18 point for the character width. Please give me step by step on how this can be done. Please help and I promise points

  • Threaded Blocking FTP Call

    Hello all I've recently implemented a program that will FTP some files across a network using the com.enterprisedt.net.ftp.FTPClient class and package from www.enterprisedt.com. Thus I know this might be a question for them but I was wondering why my

  • HD Errors - how to fix?

    So, I've got a new Mac Pro but it runs incredibly slow. I ran disk pemissions and verify disk but I get an error when running verify disk: It says 'Volume Bit Map needs minor repair' 'Invalid Volume free block count' 'The volume OSX needs to be repai

  • Urgent: English sort orders

    (yes, i posted this in another group as well. i'm desperate, ok?) I have SQL database in which one table is sorted using english sorting (EN_US, EN_UK, whatever) rather than dumb ASCII sorting. For reasons that would take far too long to explain, i n

  • Using config files to setup front panel objects and DAQ info.

    I am trying to write a program that condenses 5 versions into one. I need to be able to load a configuration file based on the users choice of which machine they are using and use that information for my dropdown boxes and for what was constants in a