PERNR in PC00_M99_Cwtr

Hi
How can i get PERNR in Wage type reporter?
Thanks in advance

Hi Martin,
Please try adding it via Object Selection pushbutton.
Regards,
Dilek

Similar Messages

  • How to know "pernr" after creation of employee with HR_MAINTAIN_MASTERDATA

    Hello,
    Anybody any idea how you can know the pernr of the employee you created with HR_MAINTAIN_MASTERDATA?
    Problem I am facing:
    I create a new employee using HR_MAINTAIN_MASTERDATA.
    As I do not have all information required yet, I only  update/insert IT0000.
    (otherwise the program asks me to "Fill in all required fields")
    Then I want to fill up the other IT with HR_INFOTYPE_OPERATION, but I don't know the number that was created.
    Can anybody help me?
    Thanks.

    Have you checked the exporting parameter from the fm call?
    EXPORTING
    *"             VALUE(RETURN) LIKE  BAPIRETURN STRUCTURE  BAPIRETURN
    *"             VALUE(RETURN1) LIKE  BAPIRETURN1 STRUCTURE  BAPIRETURN1
    *"             VALUE(HR_RETURN) LIKE  HRHRMM_MSG STRUCTURE  HRHRMM_MSG

  • Hiring action with reference Pernr via HR_MAINTAIN_MASTERDATA

    Ciao,
    I need some help to solve the following problem:
    I get all needed data for an hiring action via external interface and need to perform the hiring action with HR_MAINTAIN_MASTERDATA by passing a reference personel number to the function.
    my problem: theres no chance to pass the parameter RFPNR to HR_MAINTAIN_MASTERDATA and so the function does not link the new PERNR to the CP of the RFPNR
    therefore, the function creates a new employee with a new central person (CP) instead of linking the new employee to the central person of the passed RFPNR and copying the relevant infotypes
    my question: does somebody know how to make HR_MAINTAIN_MASTERDATA work with the reference Pernr (RFPNR) ?!
    alternatively I could delete the link between the new employee and it's (new) central person, insert a new link between the central person of the referenced employee and the new employee and delete the crfeated central person of the new employee.
    as result I would have correct links to the CP BUT I'm facing the problem, that the infotypedata of the CP was not taken over to the new linked employee ...
    is there any function or report, that copys relevant data (infotypes) from a central person to it's linked employees (PERNRs) ?!
    would be nice if anyboday could help me or give me a small hint
    thanks,
    Markus

    I found the solution by myself ....
    Problem: hr_maintain_masterdata crashes with shortdump while writing an hiring action.
    Cause: we implemented infotype enhancements via userexit where parameter VIEKN is queried. The parameter VIEKN is saved in infotype 3.  In LUW-mode 3 theres no existent IT0003 when hiring a person (because nothing is written to database) that causes the shortdump ...
    solution (workaround): First I have to call maintain_masterdate just with infotype 0000 (without reference pernr!) ... that triggers the creation of it0003 by the system itself ... then I have to call a second maintain_masterdata with all the other infotypes of the action and everything works fine! Now the new person is in the system and while creating the person, the system also created a new central person and a link between the new CP and the new person.
    after doing this (and did'nt get any failure!) I have to determine the central person (CP) of the referenced person, making a new link between the new person and the referenced persons CP, deleting the link between the new person an d the new CP, deleting the new cp and every thing works fine!!!! the reason for this is: infotype 31 just shows the "links" that are defined in OM
    if anybody is interested in more details, just contact me
    Edited by: Raabiat on Apr 4, 2011 11:35 AM

  • PERNR - Personnel Number on vendor line item of the FI document Posting

    After posting a time sheet (PR05, PRFI, PRRW), the FI document created (display via FB03) has the personnel number on each of the GL line items, but the field is blank on the vendor line item.  Does anyone know how to get this to be populated with the same data as being populated on the GL line items (it's the same field BSEG-PERNR)?  I've made the field optional on the vendor reconciliation account as well as on the posting key, but no success yet.  thanks.

    Thanks all for responding. 
    The vendor master was populated.  The strange thing is that the GL line item gets populated but not the vendor line item in BKPF/BSEG.  We talked to SAP and to get the vendor line item to populate we would have to do an SAP coding change.
    I created a quickview (SQVI) between the appropriate tables to get the report out that we needed (a bit easier than an ABAP) - but nontheless it worked.
    thanks again.

  • Class or Function Module to display PERNR based on OBJECTID

    Hello All,
    I have a requirement where i need to find out the Personnel Number based on the ObjectID provided in the HRP5102 infotype table.
    I have tried with the CLASS   CL_HRRCF_CANDIDATE and method used is GET. But the PERNR Number gettng after the execution of method is not avaialble in the database.
    Could anybody help me out in finding the relationship.Any FM or Class provided is helpful.....
    Thanks

    Hi Sravan,
    You can get data from a cube,with mere database 'SELECT' statements. please find the following suggestions,
    All Cube related data, you can find in the tables with the naming convention ' /BIC/F*CUBENAME'. Typical nomenclature of the database table is '/BIC/F' followed by name of the cube. if your cube name is 'ZALMPOS' then the corresponding name of the fact table will be /BIC/FZALMPOS.
    The data is stored in this table with all keys of DIMENSION tables. If you have to map the keys to dimension tables to get the values of the characteristics. Typical, nomenclature of Dimension tables is '/BIC/D*Characteristicname'.
    Note: Check in RSA1 if all your characteristics are mapped as dimensions in your cube.
    Thanks,
    Santosh KB.

  • How to get PERNR from employee search(teamviewer) iView in to a WD-4-ABAP.

    Hello All,
    I had developed a new Web Dynpro for ABAP (WD4A) component for updating a custom Infotype. This application is meant for the manager to maintain some specific data through portal for his employees in the team.
    WD4A application is built based on the employee number it receives from the portal.
         How could I get PERNR from employee search(teamviewer) iView in to my WD4A component?
    In portal I had developed a test page by copying the standard page from MSS com.sap.pct.erp.mss.general_information, and added my WD4A application through an iView into this page.
    Then I hided all the other iVews in the page except (1) employee search and (2)my WD4A iVew. On the preview everything appears fine.
    During the preview of this page it triggers the WDDOINIT of WD4A component main view and then the WDDOMODIFYVIEW. When I select an employee from the employee search, then it triggers only WDDOMODIFYVIEW in the WD4A application and not the WDDOINIT anymore.
    In my  WDDOMODIFYVIEW I had inserted the following code:
      DATA lo_api_component TYPE REF TO if_wd_component.
      DATA lo_portal_manager TYPE REF TO if_wd_portal_integration.
      lo_api_component = wd_comp_controller->wd_get_api( ).
      lo_portal_manager = lo_api_component->get_portal_manager( ).
      DATA lo_api_controller TYPE REF TO if_wd_view_controller.
      lo_api_controller ?= wd_this->wd_get_api( ).
      CALL METHOD lo_portal_manager->subscribe_event
        EXPORTING
          portal_event_namespace = 'urn:com.sap.mss.employeesearch'
          portal_event_name      = 'selection_changed'
          view                   = lo_api_controller
          action                 = 'GET_SELECTED_PERNR'.
    And in the action: 'GET_SELECTED_PERNR'
    METHOD onactionget_selected_pernr .
      DATA lv_str_pernr TYPE string.
      DATA lv_strlen TYPE i.
      DATA lv_pernr TYPE pernr_d.
      DATA lv_offset TYPE i.
      wdevent->get_string(
      EXPORTING
      name = 'PORTAL_EVENT_PARAMETER'
      RECEIVING
      value = lv_str_pernr ).
      lv_strlen = STRLEN( lv_str_pernr ).
      lv_offset = lv_strlen - 8.
      lv_pernr = lv_str_pernr+lv_offset(8).
    ENDMETHOD.
    This is not functioning form me. The action is not getting trigged with the code in WDDOMODIFYVIEW.
    I had gone through several threads in u2018SDN say:
         Pass pernr to WebDynro
         MSS - General Information - Related Activities Links persnr.
         SAP Note: 1112733.
    Most of the threads are answered but incomplete. In some threads people shared document personally which had been helpful.
    I am stuck with this scenario of handling the employee number from employee search iView. Helpful suggestions will be rewarded for sure.
    Thanks in advance.

    Do i understand you correctly that you are not getting the portal event ?
    This can be several reasons ?
    Both portal system and WDA server has to be in same domain and same proptocol to communicate with Portal event.
    Please check in that direction and search posts on this topic.

  • Not able to get the PERNR Details in the LOG overview

    Hi,
    I have uploaded the data into info types 0000 and 0001 through PA30 transaction using LSMW,Recorging,Batch input method.
    once LSMW is executed,PERNRs are getting created successfully in the ECC with in the Internal number range.(We are giving PERNRs in the input file).
    I want to get a list of PERNRs which are generated by me after executing the LSMW (I do not want to refer PA0000 table to get the details). Actually I am not able to check the PERNR details in the LOG overview.
    Please help me.

    Try this way..
    goto tcode SM35
    select the session name  and press the LOG button
    and again select the session name in log overview press the dispaly button or press the double click the session name.
    after this press the print button or CTRL+P
    there you have option to download the log to excel file , after downloading the log , select based on message number which are created ....

  • How to get all records of 0041 for a given PERNR

    I have to display Most Recent Hire and Original Hire date.
    So I am using this below code:
      0041 - Date Specifications
        rp_provide_from_last p0041 space pn-begda pn-endda.
        IF pnp-sw-found EQ '1'.
          MOVE: p0041-dat01 TO wa_final-dat01,
                p0041-dat03 TO wa_final-dat03,
                p0041-dat02 TO wa_final-dat02.
    But for few PERNRs we are having wrong data and below is the explanation from my functional guy:
    I figured out the above when I ran the report for all employees and noticed some dates were out of sequence.  The reason for the code change is because Payroll has to input NR in the P0041-DAR** field (used in payroll calculations to allow additional contributions to Savings Plans for employees who are near retirement) and it automatically places this future retirement date in P0041-DAT01.
    So if I see at PA0041 for a given few PERNRS, am having couple of records and the last record is for the retirement calculations and hence am getting wrong dates into my display. I need the first record for this kind.
    Thanks
    Kiran

    Hi,
    here is the piece of code using field symbols for accessing dates from pa0041....
      FIELD SYMBOLS
    FIELD-SYMBOLS:<f_dar01> TYPE ANY,
                            <f_dat01> TYPE ANY,
                             <f>       TYPE ANY.
    form read_pa0041 .
      DATA:    l_date               TYPE dardt,
               l_date_type          TYPE datar.
      CLEAR : v_data  ,
              v_date  ,
              v_days  .
      v_cnt = 1.
      DO 12 TIMES.
        CONCATENATE 'p0041-dar' v_cnt INTO v_data.
        CONDENSE v_data NO-GAPS.
        ASSIGN (v_data) TO <f_dar01>.
        IF <f_dar01> = 'U5'.
          CONCATENATE 'p0041-dat' v_cnt INTO v_data.
          CONDENSE v_data NO-GAPS.
          ASSIGN (v_data) TO <f_dat01>.
          v_date = <f_dat01>.
          EXIT.
        ENDIF.
        v_cnt = v_cnt + c_1.
      ENDDO.
    then you can use the date fetched in v_date  as per your requirement..
      IF NOT v_date IS INITIAL.
    I hope u will get some help
    Thanks & Regards
    Ashu SIngh

  • Is there a way to use 'GET PERNR' without the selection screens?

    I would like to use the GET PERNR event in a batch program without using the default selection screens.  I would like to be able to use my own selection screen and parameters, but only get them along with the default selection options for payroll period.  I've tried removing the screen number from the attributes screen, but still get these options.  Is this possible?

    hi Kiran,
    report Category is a Pushbutton on the Attributes popup, it only appears if you use PNP logical DB.
    this is from SAPHelp: "Report Category
    Category used for HR reports that use the PNP logical database. It controls the type and number of fields that appear on the selection screen of an evaluation report."
    hope this helps
    ec

  • How to find out who deleted the central person ID of a pernr.

    Hi,
    I have a pernr 100 whose central person ID is deleted. I would like to know how can i find out who deleted it. Which table gives this information.
    Thanks & Regards,
    Soumya.

    It is stored as a relationship in HRP1001 & unless you have table logging turned on for this db table, I don't think you will be able to find out who deleted the Central Person. You can try running the Report RHCDOC_DISPLAY .
    ~Suresh

  • Is it possible to add PERNR field to MIGO or MB1A transaction screens?

    Hi,
    Ours is a service industry with @ 10000 employees and we have implemented SAP with MM & HR module. We issue uniforms to all the employees when they join (new Joinee) and again once in January every year as reissuance. We intend to keep size information in employee masters in HR along with station code, designation, department and cost centers.
    At present we are using two fields goods recipient and unloading point to mention employee code and type of issue (new joinee or reissuance). This is because employee code (PERNR) field is not there in MIGO_GI screen or MB1A screen.
    Is it possible to add PERNR field to any of these transaction screens?
    If added then we can fetch the relevant information about issuance of information along with station code, designation, department in Z report.
    If possible, then how it can be done?
    Thanks in advance,
    Satish

    Hi ,
    as i understand we can add new fields in a transaction through user exit /field exit. so please discuss with your ABAP consultant & try to find out all the exit available for MIGO/ MB1A. then you have to decide which one will suit you. here you have to consider some factors like whether you need to enter values in the field or the field needs to fatch any value from any other table & should populate here.
    the ABAPer can then write the code & add your required logic here.
    i am not very good in this subject. just tried to share what ever i knew.
    regards,
    anubhab

  • Search help for PERNR select options in Webdynpro

    Hi,
    I am using the method: lv_r_helper_class->add_selection_field
    and passing the value:
    i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
    to get search help for pernr select option in the webdynpro application.
    But can anyone please tell me what value i have to pass to
    i_value_help_id              =  ??

    hi,
    pass your search help name there so that your desired search help ll come there..
    use this,
    i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_SEARCHHELP
    i_value_help_id              =  'SEARCHHELPNAME'
    if you want standard SH means comment this stmt,
    if you dont want SH means,
    use tis,
    i_value_help_type            = if_wd_value_help_handler=>CO_PREFIX_NONE
    hope this helps,
    Mathan R.

  • Bapi for creation of employee(pernr)?

    Hi,
    Is there any Bapi with which we can create an employee(Pernr)?
    I need to call this BAPI from .net connecctor.
    We have BAPI_APPLICANT_CREATE for applicant creation. Like this, do we have any thing for employee creation?
    Thanks in advance,
    RSS.

    You could have a look at the function modules starting with HR_INFOTYPE* especially HR_INFOTYPE_OPERATION.  However, I've only used this to create things such as absences and absence quotas for an existing employee and it may not be possible to use it to create an employee from scratch.

  • How to populate PERNR while posting with BAPI_ACC_INVOICE_RECEIPT_POST

    HI,
    I am not able to pass Personal Number(PERNR) while posting with BAPI_ACC_INVOICE_RECEIPT_POST. Is there any enhancement which will help to solve this.
    << Moderator message - Everyone's problem is important. But the answers in the forum are provided by volunteers. Please do not ask for help quickly. >>
    Regards,
    Sini
    Edited by: Rob Burbank on Nov 2, 2011 12:04 PM

    Hi,
    I am faceing this problem in standard program which is sa AirPlus Invoice Record (LARS).
    NEME:RPR_AIRP_LRS_TO_FI.
    Please help on this..
    Regards,
    Srini

  • How to use the class CL_PT_EMPLOYEE with GET PERNR?

    Hi,
    I saw this sample code on the forum.
    Is it more performant than using the "RP-PROVIDE-..." macros?
    Does the employee instance needs to be killed after each pass? How does it affects memory?
    start-of-selection.
    GET pernr.
    <b>* Create employee instance</b>
      gif_employee = cl_pt_employee=>get_employee( pernr ).
      go_employee ?= gif_employee.
    <b>* Append all other required infotypes to itab</b>
      APPEND '0003' TO gt_infotypes.
      CALL METHOD go_employee->get_infotypes
        EXPORTING
          i_itlist      = gt_infotypes
          i_fromdate    = id_fromdate  " start date
          i_todate      = id_todate    " end date
    *      I_FILTER      =
          i_noauthcheck = 'X'
        IMPORTING
          e_result      = gt_infty_request
          e_retcd       = gd_retcd.

    I think it that way. You are trying to compare and analyse old (don't say bad) programming school with a new (OO one) approach. Although, I am OO enthusiast and in any case I will try to convice you that OO aproach is better than classical one, you should know what SE30 was designed for. If you want to stress on OO design, use the one you mentioned, otherwise stick what SAP recommmends (please note, that I am "middle" school pupil, so I tried to learn all courses with my own experience and feelings from OO).
    IMHO, OO aproach is a way of thinking, not something we can messure in sec. and compare to old school teaching. Some of your report should be desinged in classical way, some should be pure OO. Which one you choose, is up to you, your conclusions, your percives of ABAP language. For me OO was not injected in ABAP enough, to affect developers or to convince them using it in any case w/o doubts you have.
    Regards
    Marcin

Maybe you are looking for

  • Can I use the Airport Time Capsule Wirelessly without being connected to my router/mac by ethernet?

    Hey I've recently bought a 3TB Airport Time Capsule, with the sole intention of being able to perform wireless backups. Is it possible to perform these wireless backups without being connected by ethernet to my modem/existing router?  I don't want to

  • Cannot display pdf form with Adobe Reader 9.1.3

    Since the last update of my Reader (last version is 9.1.3), I can't display pdf form in the workspace. I got a blank page. Is anybody have the same problem?

  • Analysis Services Execute DDL Task Internal error

    Hi all, I need help in solving this sporadic problem...  the dimension below (blanked out as xxxx) is based on a view.  The cube processes fine many times - but fails - abruptly once a week... it's being called from a sql job. Any ideas?  Thanks in a

  • MacBook Pro Displayport driver

    Hi folks, I've been trying to connect two external monitors to my MacBook Pro from mid 2012 via Displayport's MST (Multi-Stream Transport) feature. Nvidia lists the integrated GeForce GT 650M chipset as supporting Displayport 1.2. So, let's give it a

  • Cisco Security manager syslog.log file problem

    Hello I have this problem with the CSM, the next file Syslog.log  (C:\Program Files\CSCOpx\log\Syslog.log  ), this file grows very fast to fill the hard disk and saturates the server, I have tried the log rotation of the cisco works but it doesnt wor