2013년 9월 30일 월요일

[Function] RH_COST_DISTRIBUTION_OF_OBJECT

사원의 비용오브젝트 읽어오는 함수


RH_COST_DISTRIBUTION_OF_OBJECT


2013년 9월 11일 수요일

Delete Payroll Results

RPUDEL20 : Delete Payroll Results

2013년 8월 22일 목요일

비용정보 읽어오는 로직관련

급여결과 C0의 비용오브젝트(코스트센터, 오더, WBS) 적용 우선 순위

(1) OM에 있는 조직도 < (2) PA에 있는 인포타입 0027 < (3) PA에 있는 인포타입 0014 혹은 0015

LBD PNPCE에서 P0027에서는 (1) < (2) 순으로 우선순위를 적용한 결과가 들어 있다.


추후 확인할 예정.



[Function] HR_TIME_RESULTS_IN_INTERVAL

근태결과 읽어오는 가장 기본 함수

  CALL FUNCTION 'HR_TIME_RESULTS_IN_INTERVAL'
    EXPORTING
      INT_PERNR             PERAS-PERNR
      INT_BEGDA             PNPBEGDA
      INT_ENDDA             PNPENDDA
    TABLES
      INT_TIME_RESULTS      GT_TIME_RESULTS
    EXCEPTIONS
      NO_PERIOD_SPECIFIED   1
      WRONG_CLUSTER_VERSION 2
      NO_READ_AUTHORITY     3
      CLUSTER_ARCHIVED      4
      TECHNICAL_ERROR       5
      OTHERS                6.

[Function] HRCM_EMPLOYEE_INFO_GET

PNPCE 사용할 때 사원정보 가져올 때

  CALL FUNCTION 'HRCM_EMPLOYEE_INFO_GET'
    EXPORTING
      EMP_PERNR PERAS-PERNR
      PLVAR     '01'
      BEGDA     PNPENDDA
    CHANGING
      EMP_INFO  HRCM_EMPINFO.

2013년 8월 1일 목요일

RPTQUOTA_CHECK, 근태의 쿼터설정 확인하는 리포트

RPTQUOTA_CHECK

Short text
Overview of Customizing Settings for Quota Generation

Purpose

You can use this report to check your Customizing settings for the calculation of absence entitlements. In the case of errors, the report helps you to identify incorrect or incomplete Customizing settings.
It displays an overview of all Customizing settings that the system uses to generate absence quotas for one employee or a time-management grouping. The report processes the rules that are valid for the selected employee or time-management groupings on a specified key date.
The report displays all relevant data in a tree structure according to the selection rule for absence quota types. This includes, for example, the regulation for the base entitlement, the reduction rule determined, and the rounding rule. For a better overview, and an accessible version of the data, you can output a detailed display. For more information, see below.
While the report does not actually simulate time evaluation, it processes the same Customizing settings as for the real generation of quotas and displays the settings. The report does not carry out plausibility checks.

Prerequisites

You have completed the Customizing settings for quotas for the required employee groupings.

Selection

You have the following options for checking the Customizing settings:
  • Selection by employee
    You have two options here:
  • You enter an employee's personnel number.
    The report determines the corresponding time-management groupings for that personnel number. It determines the applicable quota type selection rule group on the basis of the settings in the QUOMO feature.
  • You enter the personnel number and the quota type selection rule group
    The report determines the applicable time-management groupings for the personnel number. The report does not determine the quota type selection rule group from the QUOMO feature, and uses the one that you entered in the selection screen.
    You can use this form of selection if the employee's quota type selection rule group is not determined using the QUOMO feature in normal absence quota generation, but errors occurred in quota generation for this employee.
  • Selection using time-management groupings
You can restrict the selection by entering the following data:
  • Selection rule for absence quota types
  • Absence quota type
  • Generation method


Output

Display of organizational assignments
If you entered a personnel number in the selection screen, the report outputs in the header area the key date, the employees key organizational assignments, entry date, and, for part-time employees, the employment percentage. You can then compare this data with the results of quota generation. This enables you to identify quickly whether an error situation may be caused by groupings that were incorrectly assigned.
You receive this information only if you select one personnel number. If you used time-management groupings for the selection, only the key date is displayed in the header.
Customizing settings displayed
The selection rules determined are displayed in a tree structure. The report displays the following data for each selection rule:
  • Quota type (T556A)
  • Generation quota: Absence quota to be accrued using the selection rule
  • Reduction quota: The reduction quota is displayed only if a reduction quota is used in the selection rule.
  • Validity and deduction intervals
    The report displays the validity and deduction interval for each quota type determined. It also displays the Customizing step it used to determine the validity interval.
  • Absences that can cause a reduction (T554S): See also Define Rules for Reducing Quota Entitlements
    The absences are displayed only if a reduction rule is used and there are absences that could cause a reduction for the relevant groupings.
  • Rounding rule for the accrual entitlement: The rounding rule is displayed only if the accrual entitlement was rounded.
  • Rounding rule for the total entitlement: The rounding rule is displayed only if the total entitlement was rounded.

Activities

Display error list
If you choose the Error List pushbutton, you can display errors that prevented an absence quota being generated for an employee, for example. The following messages are displayed in the error list for all selected quota selection rules together, for example:
  • Periods cannot be determined for an employee because the records of the following infotypes were not available for the employee on the key date:
  • Monitoring of Tasks (0019)
  • Date Specifications (0041)
Display detailed data
You can branch to a detailed table display of the data of one row by:
  • Double-clicking on the sheet of paper icon in a row or
  • Selecting a line and choosing Detail.
The report opens a dialog box. In the third column of the table, the report displays the periods it could interpret (such as the accrual period) in date form or an error message. If the selected row does not contain any periods that the report could interpret (such as is the case for the rounding rule), the third column is not displayed.
Print data

For technical reasons, you cannot currently print the tree with all Customizing settings displayed. You can however, print the individual rows from the dialog box with the detailed data.

2013년 7월 26일 금요일

RS_ABAP_SOURCE_SCAN: Source Scan ABAP Report

RS_ABAP_SOURCE_SCAN: Source Scan ABAP Report

2013년 7월 23일 화요일

RPDLGA40: T512W: Cumulations, Evaluation Classes and Processing Classes

RPDLGA40: T512W: Cumulations, Evaluation Classes and Processing Classes

==============================================

Short text

T512W: Cumulations, Evaluation Classes and Processing Classes

Description

Report RPDLGA40 can be used to set up and manage wage types. It provides information on
  • the cumulation wage types and evaluation and processing classes of the individual wage types
  • the wage types of each cumulation wage type and the processing or evaluation class.
The report can therefore be used to answer the following questions:
  • Which cumulations and evaluation and processing classes are available for a particular wage type or group of wage types?
  • Which wage types use a specific cumulation wage type or specification of an evaluation or processing class?
Report RPDLGA40 uses table T512W 'Wage Type Valuation'. Wage type texts are read from table T512T.

Basic List

The basic list shows an overview of the selected wage types. If the 'Text for cumulation wage types' parameter is set, the report lists the cumulations for each wage type. If not, the report displays a string of processing classes and, if available, cumulations for each wage type. Additional information can be displayed using the function keys.
  • Evaluation classes of each wage type
    F5 allows you to display the evaluation classes for the selected wage type.
  • Processing classes of each wage type
    F6 allows you to display the processing classes for the selected wage type.
  • Overview of the cumulation wage types that have been read
    F7 allows you to display the wage types that have been read for each cumulation.
  • Overview of the processing classes that have been read
    F13 allows you to display the wage types that have been read for each processing class. The list contains only those processing classes and features for which at least one wage type was read.
  • Overview of the evaluation classes that have been read
    F8 allows you to display the wage types that have been read for each evaluation class. The list contains only those evaluation classes and features for which at least one wage type was read.

Report parameters


  • Automatic or interactive mode of operation
    If you require the function keys for requesting additional information, you must use the interactive mode (enter ' '). If you want an extended basic list in which the function keys are deactivated, use the automatic mode (enter X). The latter can be used to print lists.

2013년 3월 28일 목요일

2013/01 Jeju





2013/01 Hongkong







죽기전에 꼭 먹어보고 싶었다.

먹어보니 맛있긴 하군.







2013년 3월 22일 금요일

RPUSCC00


[내역]

스키마 비교

Description

Report RPUSCC00 compares two schemas and displays the differences. Differences are based on the following:
Lines that are to be created are not in schema 1.
Lines that are to be deleted are no longer in schema 2.
If lines are to be changed, those of schema 1 are displayed first followed by those of schema 2. The lines of schema 2 are indented to set them off from those of schema 1.
The comparison generally shows which changes you must make to schema 1 have so that it is identical to schema 2.

RPUGCC00


[내역]

계산룰점검 생성

Description

The report generates diverse members (main report and includes),
depending on parameters, program class and HR country
grouping. These members are required in order to be able to
carry out a check in the cycle editor for the parameter
combinations specified.
The following describes which includes are required for
generating and which member is produced.
  RPCCOa0z    Contains the coding for all international
              operations, independent of program class and
              HR country grouping.       (input)
  RPxCOayz    Contains the coding for all national
              operations, dependent on program class and
              HR country grouping.       (Input + Output)
  RPUCCxy0    This is the main report that is called up
              by the cycle editor.               (Output)
  RPUCOxyz    Contains the coding for all international
              operations that are allowed for the particular
              program class and the particular HR
              country grouping.                   (Output)
    a stands for type of routine,
            a = F: Main routine for the operations,
            a = S: Subroutines for the operations,
    x       for program class,
    y       for HR country grouping indicator which is derived from
            HR country modifier.
    z       for serial numbering.
It may be apparent that another Include is required when calling up
the check. This is generated using a different report.
  RPxOIPy0    Contains the perform indicated.

SELECT-OPTION HR Country Modifier
Test:
If Time Management is given as the program class then no HR country modifier should be entered.
If Payroll is given as the program class then all country modifier entries from table T500L are permitted.
Usage:
The HR country modifiers are used to determine the HR country indicators which are used to name the report to be generated. It is also used in the selection of the valid operations and parameters. A personnel calculation rule is generated for each HR country modifier.

PARAMETER Program Class
Test:
Only 'T' for Time Management and 'C' for Payroll are permitted input values.
Usage:
The program class is used to name the report to be generated and to determine the permitted operations and parameters.

RPUGSC00

[내역]

스키마 점검에 대한 생성 리포트

Description

This report generates reports that check whether a schema has a formal error or whether it is formally correct. The coding is generated using the four tables T52A0, T52B6, T52B7, and T52B5.
By using the Select option and the parameters, you can specify for which program classes and for which countries the reports should be generated. If payroll was chosen as the program class, then those countries specified by means of the HR country modifier are checked for permissibility using table T500L and the feature MOLGA and then the country versions are generated.

H99U_RGDIR_WPBP

[내역]

테이블 HRPY_RGDIR 및 HPPY_WPBP 재구성

Title

Restructuring Transparent Tables for RGDIR and WPBP

Purpose

This report restructures the transparent tables HRPY_RGDIR and HRPY_WPBP for the payroll results. The system needs the information from these tables for the selection of the logical database for payroll results.
The system takes the data records to be created from the cluster CU (payroll directory) and the WPBP (work center/basic pay) table. This means that the information is saved reduntantly and can be reconstructed from the cluster data at any time.

Integration

The functional scope of this help report is also contained in Report RPUDIR00 (New Structure of the Payroll Directory). This report also structures the transparent tables mentioned above.

Prerequisites

Note that for each personnel number selected, the system has to read all the payroll records. This can cause long runtimes when running a large number of personnel numbers.

Selection

You can use the Detail Log switch to display the data records created for each personnel number. The log is switched off in the case of a mass run of 100 personnel numbers upwards.

2013년 2월 19일 화요일

Function: 년월일 구하는 함수

HRVE_GET_TIME_BETWEEN_DATES
HR_HK_DIFF_BT_2_DATES

2013년 1월 8일 화요일

cl_salv_table


TRY.
    CALL METHOD cl_salv_table=>factory
      IMPORTING
        r_salv_table = gr_salv_table
      CHANGING
        t_table      = gt_itab.
  CATCH cx_salv_msg .
ENDTRY.

CALL METHOD gr_salv_table->set_screen_popup
  EXPORTING
    start_column = 1
    end_column   = 100
    start_line   = 1
    end_line     = 20.

gr_salv_table->display( ).

2013년 1월 7일 월요일

SU53: 권한이 없을 경우 점검 오브젝트 조회

SAPMS01G, 권한이 없을 경우 점검 오브젝트 조회
Use the SU53 transaction to see what type of authorization check was carried out.