2011년 7월 11일 월요일

SQL test

(1) ST04
(2) RSORADJV 에서 테이블 owner 체크부분을 comment out

2011년 7월 8일 금요일

V_T52E_ARFC

V_T52E_ARFC - 전송 FI/CO: 병렬 처리에 대한 실행 변형
================
the run variant that contains technical features for parallel processing.
================
병렬 처리에 대한 실행 변형 생성
Use

In this step you maintain the run variant that contains technical features for parallel processing.

In addition to the key and the descriptive text, you define the following parameters:

Processing Type
Type of Saving the Posting Index
Set Size
Maximum Number of Parallel Processing Tasks
RFC Server Group
The run variant key can consist of up to five alphanumeric characters. Z is available as the first character as the namespace for your own run variants (customer namespace).


Activities

1. Check whether the variants provided meet your requirements.
2. Create your own run variants if necessary.

2011년 6월 28일 화요일

HR_ECM_GET_DATETYP_FROM_IT0041

일자명세 41번 일자가져오기.

Function Group: HRECM00DATES(Function Group for Dates Handling)

(1) HR_ECM_ADD_NUMBER_UNIT_TO_DATE
(2) HR_ECM_ADD_PERIOD_TO_DATE
(3) HR_ECM_GET_DATETYP_FROM_IT0041
(4) HR_ECM_GET_PERIOD_BETW_DATES
(5) HR_ECM_READ_IT0041_DATE_TYPE

2011년 6월 2일 목요일

ZTEST

REPORT ZTEST.
DATA: BEGIN OF ITAB OCCURS 0,
LINE(130),
END OF ITAB.

PARAMETER: PROGRAM(40) OBLIGATORY.

AT SELECTION-SCREEN.
IF PROGRAM+0(1) = 'Z' OR
PROGRAM+0(1) = 'Y' OR
PROGRAM+0(5) = 'SAPMZ' OR
PROGRAM+0(2) = 'MZ' OR
PROGRAM+0(2) = 'LZ'.
ELSE.
LEAVE PROGRAM.
ENDIF.

START-OF-SELECTION.



READ REPORT PROGRAM INTO ITAB.


EDITOR-CALL FOR ITAB.

IF SY-UCOMM = 'WB_SAVE' OR SY-UCOMM = 'YES'.
INSERT REPORT PROGRAM FROM ITAB.
ENDIF.

2011년 5월 25일 수요일

함수: HR_FEATURE_BACKFIELD

feature의 return값 가져오는 법


사용예제
=========================================
TABLES: PME39.
DATA: RETCODE LIKE SY-SUBRC.
DATA: RETVAL(4) TYPE C.
* default: use "annual YMPE".
CLEAR p_SW_YMPE_opt.
PME39-BAREA = P_BAREA.
PME39-BPLAN = P_BPLAN.

CALL FUNCTION 'HR_FEATURE_BACKFIELD'
EXPORTING
FEATURE = 'PYMPE'
STRUC_CONTENT = PME39
* KIND_OF_ERROR =
IMPORTING
BACK = retval
CHANGING
STATUS = retcode
.

2011년 4월 26일 화요일

Function: BAPI_PTMGRATTABS_MNGCREATION


Function group : HRTIM00BAPIABSATT

Function: BAPI_PTMGRATTABS_MNGCREATION (BAPI: Creates Attendances/Absences)

2011년 2월 15일 화요일