Personnel number in CATS_DA with BAdI

I would like to fill the personnel number automaticly in transaction CATS_DA.
Re: Select-options in CATS_DA using BAdI gave me some hints, but it's still not working the way it should.
Does anyone has some example code for the method INITIALIZATION and how to pass values like PERNR?

I would like to fill the personnel number automaticly in transaction CATS_DA.
Re: Select-options in CATS_DA using BAdI gave me some hints, but it's still not working the way it should.
Does anyone has some example code for the method INITIALIZATION and how to pass values like PERNR?

Similar Messages

  • Is vendor number should linked with all personnel numbers in lfa1?

    Hi
    I have one vendor Number 2063893. This number has only linked in Lfa1 table with the personnel number 105373. But where as in PA20, the same personnel number is assigned with three more per numbers. i repeat again i cant see these 3 numbers in lfa1 table.
    My question is -- Is it require to add all the personnel assignments in Lfa1 table?

    not required.
    Regards
    peram

  • Personnel number searcg help, PA30, problems with STAT2

    Hello,
    our Human Resources deparment wants, that in search help for personnel number in table with selected employees on tab Last name - First name is added new column STAT2. which will display employment status of employee. We tried to do this  in program SAPLWDTM with customizing of selection method ZM_PREMN1 and we get new column STAT2 in table but we didn't get any value in fields. STAT2 is already in join table with values.
    In customizing are checkbox fields in columns IMP, EXP and M. For STAT2 we put check in checkbox field EXP and M, which should export value into table into column STAT2 and displayed it. But it's not working that way.
    Does anybody know, how to customize this?
    Thank you in advance,
    David

    Sorry,I´ve not seen your response before.I´ve tried it now but it doesn´t works.I think doing this you only can restrict the number of entries for the payroll area,and I don´t want this,I want to select a payroll area and after that (after press "Start search") I want that appear a list with the employees who belong to this payroll area.
    If I press F4 on the personnel number,don´t appear a pop up,and then I can´t restrict the number of entries.
    Thank you very much for your response!!!!
    Emi DF
    Message was edited by:
            Emi DF

  • MIRO invoice creation with the Personnel Number in account assignment

    I am using BAPI_INCOMINGINVOICE_CREATE for creating an Invoice using MIRO transaction.
    In MIRO transaction-> PO reference-> Multiple account assignment-> we have the personnel number: In BAPI table-parameter ACCOUNTINGDATA and ITEMDATA is used to populate the account assignmet data but this structure doesn't have the Personnel Number field (PERSON_NO).
    How can i create an Invoice with the Personnel Number in Account assignment, Is there any Userexit or BADI is available ?
    Thanks,
    Fract
    Edited by: fract_get on May 23, 2011 6:49 PM

    You can use EXTENSIONIN parameter from tables. There are BADI's related to this but don't know the name of badi. Please search forum for or use transaction code SE84 to search the BADI's/
    you can check the badi: INVOICE_UPDATE and method 'before_save or something similar to map to db table fields.
    See this thread to understand how extension parameters works.
    bapi_salesorder_simulate extension bape_vbap standard field
    Edited by: Sampath Kumar on May 23, 2011 11:28 AM

  • Infotype to link Personnel Number with Vendor Master Record

    Hi All,
    pls help me what infotype to link Personnel Number with Vendor Master Record in AP module.
    Customer require when Create Employee then system automatic gernerate Vendor Master.
    pls help us.
    Thanks

    Hi,
    PRAA works absolutely fine. I have external number range for vendors.
    There is an option so that you can create HR accounts in vendor accounts
    Path:Accounting> Financial accounting>Travel
    management>Personal-Related Master Data> Create Vendors (tr.code PRAA)
    Look at this description:
    From the HR master data, this program creates a batch input session for
    maintaining person-specific vendor master records.
    The report can process vendor master records as follows:
    o Initial set up (create/add missing company code segment)
    o Uupdate (change completely according to vendor and HR reference)
    o Change (only according to HR master data, for example, name
    Block
    The following infotypes from HR master data are taken into account for
    the key date specified:
    o Actions (Infotype 0000)
    o Organizational Assignment (Infotype 0001)
    o Personal Data (Infotype 0002)
    o Permanent Residence (Infotype 0006 Subtype 1)
    o Bank Details (Infotype 0009 Subtype 0 or 2)
    All other required data is taken from a reference vendor that you can
    specify as a parameter when you start the program. Note that for the
    reference vendor, reference data must exist for all company codes that
    are applicable according to HR master data. Since program RPRAPA00 cannot
    assign vendor master record numbers externally when creating
    vendor master records, you must be sure that the reference vendor is
    assigned to an account group that requires internal number assignment.
    If no house bank is specified in the reference vendor, this is
    determined via feature TRVHB (Implementation guide for 'Travel Expenses'
    -> Transfer to Data Medium Exchange -> Set up Feature for Determining
    House Bank according to the employee's organizational situation.
    The link between the HR employee's master record and the corresponding
    vendor master record is set up by entering the personnel number in the
    company code segment of the vendor master record.
    General program flow
    Program RPRAPA00 creates a sequential work file in the specified
    directory. Ensure that you use a global directory that can be accessed
    by all application servers; a directory is automatically proposed. The
    work file is later transformed into a batch input session by the
    subsequent program RFBIKR00, which is started automatically.
    In test run mode this program delivers information messages which
    document the creation of a batch input session. Since each information
    message must be confirmed manually, the test run should only be
    performed for a small number of personnel numbers.
    In productive run mode, however, the program RFBIKR00 is automatically
    started as a job; the information mentioned above is stored in the job
    log in this case.
    Initial setup of vendor master records
    Corresponding vendor master records are created from the infotypes
    listed above and the non-HR-specific information from the reference
    vendor. During the process, the personnel number is stored in the
    company code segment of the vendor master record. Persons who already
    have a vendor master record with corresponding personnel number are
    rejected in this run.
    If a vendor master record already exists for a personnel number, but
    without a company code segment for the company code in which the
    employee exists at the key date entered, the program adds the required
    company code segment to the vendor master record. You must however
    activate the checkbox "Create new company code segment for existing
    vendor master records".
    The HR master data used is the info type record valid on the key date
    entered.
    Update of vendor master records
    The corresponding vendor master records are updated from the infotypes
    listed above and the non-HR-specific information from the reference
    vendor. Persons who already have a vendor master record with
    corresponding personnel number are rejected in this run. The system uses
    HR master data from the infotype records valid for the key date.
    Change vendor master records according to HR master data
    All HR-specific data is changed in the vendor master records for
    personnel numbers that have changes since the date recorded under '...
    with last change since'. The system uses HR master data again from the
    infotype records valid for the key date specified.
    Block vendor master records
    All vendor master records which correspond with the selected personnel
    numbers are blocked for posting.
    User exits
    For the following situations, two empty routines are supplied in the
    includes RPRAPAEX and RPRAPAEX&H5F001 which you can adapt to your
    requirements.
    o The employee's last name is entered in the sort field in the vendor
    master record. If you do not want this to happen, you can program
    the situation you want in the user exit routine
    'set&H5Fmc&H5Ffield&H5Fby&H5Fuser'.
    o If the address editing in the vendor master record does not suit
    your requirements, it can also be changed. For this purpose you have
    the user exit routine 'set&H5Faddress&H5Fby&H5Fuser'.
    o If you want to assign numbers to the vendor master records to be
    created via external number assignment (for example, vendor master
    record number &H3D personnel number), you can adjust the user exit
    routing 'SET&H5FVENDOR&H5FNO&H5FBY&H5FUSER' (in include RPRAPAEX&H5F00). Note
    that
    the account group of the reference vendor must also have external
    number assignment.
    Note that in each case a thorough knowledge of the programming
    language
    ABAP/4 is necessary.
    Set up vendor master records in a separate system
    The distribution of personnel master data from a HR system to an FI
    system is a prerequisite for creating, changing, and blocking vendor
    master records.
    In the section Master Data Distribution (link to separate HR unit) of
    the ALE IMG, an explanation is given regarding the way in which the
    FI
    System is supplied with the relevant employee data from the HR System
    In the FI System, report RPRAPA00 described here can be used to
    create,
    change, and block vendor master records.
    Other wise try with VPE1 t.code.
    Regards
    Devi

  • EIC: Employee search - wild card search with personnel number

    Hi,
    The employee search functionality in EIC employee-search screen allows to search an employee through wild card search. We had set up this and everything was working fine, but suddenly the functionality to search an employee by giving part of personnel number as wild card search is not working, surprisingly other search criteria are listing employee list. For example, if i need to search an employee with personnel no 30000111, then i can give 30* in search criteria and employees starting with 30XXXXXX would be listed. This is the functionality not working at the moment.
    Can anybody please help - what could be the probable cause or where should i look to fix this? Any documentation in this regard would really be helpful.
    Thanks in advance.
    Sujit

    hi,
    Probably u can set a debug point in the bsp application and ask your abaper to debug the same.
    check if any patch application has been done after you saw the functionality working fine.
    Regards
    Sameer

  • Ifconfig pcelx0 plumb fails with Bad file number error

    Hi,
    I installed solaris 8 (x86) on a Toshiba Tecra 8000.
    The Tecra uses Neomagic NM2200 chipset for it's display.
    Even though it is not supported by the Sun Drivers, getting xfree86 for sun fixed the display problem for me.
    Now according to the various sources that guided me in this task seemed to point at a few things that I had to do in order to make the Tecra work okay with Solaris 8 :
    1)Change the PCMCIA mode in the BIOS from automatic to PCIC mode
    2)Make sure that there were no IRQ conflicts on the system.
    3)Install the OS.
    Once the OS was installed, I ran prtconf -D and saw that the network instance #0 pcelx0 was showing up under pcic.
    I did not have to install the xig init-pcic patch.
    But it did not create an entry in /devices or /dev (as a link) with the error
    "pcelx0 requested IRQ failed 6".
    Also, I suppose that is the reason why when pcelx0 is plumbed, it comes out with the error message:
    ifconfig pcelx0 plumb : "bad file number"
    Any help will be greatly appreciated.
    Thanks,
    Dwai.

    Thanks Alex,
    I found out -
    ifconfig adapter plumb will fail with Bad File number error when the device file that is being referred to is missing.
    I checked and found that the pcelx link is not being made in the /dev directory and the file not created in /devices.
    I also found that when /reconfigure is run, it tries to create the device for pcelx but fails with this eror message:
    pcelx : RequestIRQ fail 6
    I am assuming that there is some IRQ conflict with some other device.
    Thanks,
    Dwai.

  • Network confirmation with Personnel number

    Hi,
    In project systems, While confirming the Network with personnel number, the planned cost is calculating based on Activity rate maintained in KP26. However for actual costs, the calculation is from HR I assume. Am I right?
    If it is from HR,  where in HR the time sheet rate is maintained for the personnel number?
    Thanks,
    Prabha

    Hi,
    I got the answer.
    FYI
    If the network confirmation is entered with the personnel number, the system is looking for the "Position" in HR master and based on that it is picking the workcenter assigned with this resource. So the cost is from the activity assigned in the workcenter even though the network is confimed with a different work center.
    Thanks for your responses, it helped me in tracing out this issue.
    Regards,
    Prabha

  • Assign personnel number with workcenter.

    I want to assign employee ID number with maint. work center. It will be helpful in completion confirmation.
    How can we do this ? I have clicked on HRMS in work center(change screen), but after this where do we enter the personnel number ?
    Regards,
    VM

    Done. We will have to goto capacity header. Then click HRMS, then click on person and enter the employee ID. Similarly we can enter position also.
    Regards,
    VM

  • Solaris boot images fail with bad magic number

    hi guys, have had Solaris on boxes for allmost 10 years. I have never installed sol10, and I have a problem
    1. I download the zip file, then use winrar to unzip them..
    2. burt the image with nero 7
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt
    I do boot cdrom
    this fails with "bad magic number" I have redown loaded it and reburnt it with nero reinstalled
    and also changed out the DVD on SunBlade
    3 I found a copy of Solaris 8 and the I got back a 'bitch' where is Solaris 9 so, most likely the drive is OK
    HELP
    Cris Harrison

    Hello Cris,
    unfortunately I don't understand your last sentence !
    I found a copy of Solaris 8 and the I got back a '*****' where is Solaris 9 so, most likely the drive is OK
    If this was a Solaris 8 (7/01 or later) DVD that did successfully boot, your DVD drive firmware (assuming that this is the Sun Toshiba SD-M1401) is up-to-date. If the DVD drive has firmware 1007, an update to 1009 is required to boot from DVD. otherwise you won't be able to boot from DVD (boot from CD works and a DVD can be automounted/mounted).
    Partial output of probe-scsi
    Before update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011007
    After update:
    Unit 0 Removable Read Only device TOSHIBA DVD-ROM SD-M14011009
    [*Patch 111649-04 - Toshiba DVD 1401 firmware update*|http://sunsolve.sun.com/search/advsearch.do?collection=PATCH&type=collections&queryKey5=111649&toDocument=yes]
    when my SunBlade 1000 comes up I do the Stop-A, and from the Ok promt ...
    Instead of trying to directly boot, disable auto-boot and retry after a clean power-on.
    Break with Stop-A
    setenv auto-boot? false
    reset-all
    boot cdrom
    Michael

  • Filter Accounts With Required Personnel Number Field

    Hello, SAP experts.
    I have a task to make a report which will list all the G/L accounts which have required Personnel Number field.
    I know one way to do this:
    First of all, I run SE16N , enter table name T004F, and then I can see all the field status groups.
    My company has a field status variant with 3 field status groups which have mandatory Personnel Number field - Z040, Z073 and Z074
    I can see that all the three groups have the + sign at the 18th place in the Field Selection field. This marks the Personnel Number field.
    Then I go back to the beginning of SE16N, choose the table SKB1, enter those three groups in the Field Status Group multiple selection screen, and hit the Execute button. Now I have the list of the accounts that I was looking for.
    I was wondering if there is simpler way to do this. It would be perfect if I could make a custom report (using SQVI for example) with the algorithm which will do something like this:
    FOR ALL G/L ACCOUNTS
         GET THE ACCOUNT'S FIELD STATUS GROUP
         IF FIELD_SELECTION[18]=='+' THEN
              ADD THE ACCOUNT TO THE LIST;
         END IF;
    END FOR;
    Thank you very much for any help you can provide

    Thanks for your answer, Vikas.
    Of course, I don't insist on using SQVI. I could as well make a custom report using SQ01..03, but I'm not sure how to check if a particular field_selection character is equal to '+'. To be more precise, I would like to know how to translate the pseudo-instruction...
         IF FIELD_SELECTION[18]=='+' THEN
              ADD THE ACCOUNT TO THE LIST;
         END IF;
    ...into "real" ABAP instructions.
    If you or anybody else can help me with that ABAP part, I'd be grateful

  • Delete Position with an Inactive Personnel Number

    I have a position active in OM.  The pernr tied to the A 008 relationship does not exist.  How this happened is unsure, but I need to remove the position or the A 008 relationship as it is affecting reporting.
    I've tried a PO13 to simply delete the relationship and have also tried program RHRHDL00 to remove the relationship, and the position object itself.
    I'm given the error that "Personnel Number does not exist" when I try all methods of deletion.
    Thoughts?
    Cheers,
    Stephen

    I thought of that too, but there is no maintenance dialog for HRP1001 or did I miss something?
    If your referring to get an ABAPer or a DBA to do it I could of course got that route.
    I was trying to solve this functionally.
    Thanks.
    Stephen

  • Linking personnel number with vendor master data

    Hello,
    When i am created vendor master data,that time Personnel number field is showing "No values found"
    What does it mean?
    Thanks.

    Hi Pari,
    It appears that you are treating employee as vendor. You have not maintajned the personnel number of employees (in HR Module). The personnel number is the only feature within a client which is unique to an employee. You have to enter a personnel number before you can display and maintain an employee's master data and time data.
    Thank You.

  • Problem with personnel number

    Hi all,
    I deleted all the personnel number using the Report RPUDELPN  but know when I tried to generate the hiring process again I get the personnel number from the position where it was deleted.Let me explain this....
    Suppose I deleted the number from 2-30 now when I start the hiring process again I just get the personnel number starting from 31 but I need to get it generated from the very beginning .
    Thanks all
    Regards
    Navratan

    Hi Navratan
    You will have to reset your Number Range status for this. Basically change the next number to be generated by the number range.
    SPRO --> Personnel Management --> Personnel Administration --> Maintain number range intervals for personnel numbers --> NR Status
    Reset the NR Status number to 4

  • Select-options in CATS_DA using BAdI

    How do you alter the selection screen options in CATS_DA?  I am using the CATS_REPORT BAdI and implemented a class ZCL_IM_CATS_REPORTING_01 using the interface IF_EX_CATS_REPORTING.
    The documentation states that the methods GET_SELECTION_VALUE and SET_SELECTION_VALUE should be used in BEFORE_CATS_DATA_SELECTION, but I have not found any examples.
    Points will be rewarded.

    Hello Brian
    Perhaps the following sample implementation gives you an idea how to influence the selection screen of transaction CATS_DA.
    BAdI CATS_REPORTING -> implementation ZUS_SDN_CATS_REPORT -> implementing class ZCL_IM_US_SDN_CATS_REPORT -> implemented method IF_EX_CATS_REPORTING~LOAD_OF_PROGRAM :
    METHOD if_ex_cats_reporting~load_of_program.
    * define local data
    **  data: ls_fieldsel   like line of im_report_manager->gt_modify_selscreen.
      DATA: ls_fieldsel   TYPE field_selection,
            ld_comp(30)   TYPE c,
            lo_obj        TYPE REF TO object.
      FIELD-SYMBOLS:
        <lt_modify_selscreen> TYPE HASHED TABLE. " of field_selection
                                                 "with unique key mfeld.
      " NOTE: For a more detailed explanation of the following lines of coding see
      " ' Accessing the Inacessible - Local Classes within Global Classes'
      " https://wiki.sdn.sap.com/wiki/display/ABAP/Accessing+    _continued
      "        the+Inacessible+-+Local+Classes+within+Global+Classes
      lo_obj ?= im_report_manager.  " casting to generic root object !!!
      ld_comp = 'GT_MODIFY_SELSCREEN'.
      ASSIGN lo_obj->(ld_comp) TO <lt_modify_selscreen>.
      CHECK ( <lt_modify_selscreen> IS ASSIGNED ).
      " Hide selection field for personnel number
      CLEAR: ls_fieldsel.
      ls_fieldsel-mfeld   = 'PNPPERNR'. " personnel number
      ls_fieldsel-visible = abap_false.  " -> type-pool: ABAP
      INSERT ls_fieldsel INTO TABLE <lt_modify_selscreen>.
      " Make selection field for company code mandatory
      CLEAR: ls_fieldsel.
      ls_fieldsel-mfeld    = 'PNPBUKRS'. " company code
      ls_fieldsel-visible = abap_true.
      ls_fieldsel-required = abap_true.
      INSERT ls_fieldsel INTO TABLE <lt_modify_selscreen>.
      " Make selection field for cost center read-only
      CLEAR: ls_fieldsel.
      ls_fieldsel-mfeld    = 'PNPKOSTL'. " cost center
      ls_fieldsel-visible = abap_true.
      ls_fieldsel-readonly = abap_true.
      INSERT ls_fieldsel INTO TABLE <lt_modify_selscreen>.
    ENDMETHOD.
    " NOTE: Definintion of gt_modify_selscreen in include CATS_REPORT_MANAGER:
    **  data: gt_modify_selscreen    type hashed table of field_selection
    **                                    with unique key mfeld.
    * Structure of FIELD_SELECTION:
    **MFELD
    **VISIBLE
    **REQUIRED
    **READONLY
    Further reading:
    [ Accessing the Inacessible - Local Classes within Global Classes|https://wiki.sdn.sap.com/wiki/display/ABAP/AccessingtheInacessible-LocalClasseswithinGlobalClasses]
    Regards
       Uwe

Maybe you are looking for

  • Importing files from imovie 08

    I have a panasonic sdr-h40 cam. Eventhough it is not listed as compatable with 08 I was able to import clips into 08. when i watch the clips in 08 the quality is very poor. I have read that the quality of footage is 08 is poorer than imovie HD. If i

  • AR Consolidated Billing Process - Receipt Write Off

    Hi, 1. How are the begining ane ending balances are calculated in AR_CONS_INV table ? 2. Are Receipt Write Off transactions included in the Consolidated Billing process? If not what all AR transactions are included in the Consolidated process? Thanks

  • Difference between SAP BI in an exiting client VS as a standalone ?

    Bonsoir a tous et a toutes ! I have 2 quick questions 1) I have seen an SAP BI installation into an existing client (i.e.: 120) of an existing ECC 6.0 server ... What is the difference between this type of install VS an installation of an SAP BI/BW a

  • ORA-12504 in an Oracle 9.2.0.1 RAC  setup

    Hi I keep getting the following error when connecting to either nodes in a RAC setup: ORA-12504: TNS:listener was not given the SID in CONNECT_DATA I tried different permutations for the tnsnames.ora but keep getting this error. Does anybody know how

  • Incremental Backup in SAP

    Hai Friends, We Planned to take a remote backup in production server. For that we are using brtools for backup and edit the initSID.ora file. We are planned to copy the files to the remote server for every one hour. ie we planned to take incremental