‎2007 Jun 21 8:09 AM
Hello All,
Pls let me knw for what purpose below enhancements are used, if possible pls tel me the tcode also
HRPBAS01
IWO10009
thanks.
Vibha
‎2007 Jun 21 8:16 AM
Vibha,
IWO10009 --- This is field exit for order(AUFNR)field in PM module.
tcode IW31/IW32
HRPBAS01-----User Exit for HR Master Data
tcodes : PA40 / PA20
Don't froget to reward if useful....
‎2007 Jun 21 8:11 AM
Hi,
Any enhancements u can view with the tcode SMOD and CMOD.
Corresponding to each enhancement, u can also view the Components.
Regards,
Himanshu
‎2007 Jun 21 8:16 AM
Hi,
User Exit IWO10009 is for "PM Order: Customer Check for 'Save' Event".
Regards,
Padmam.
‎2007 Jun 21 8:16 AM
Vibha,
IWO10009 --- This is field exit for order(AUFNR)field in PM module.
tcode IW31/IW32
HRPBAS01-----User Exit for HR Master Data
tcodes : PA40 / PA20
Don't froget to reward if useful....
‎2007 Jun 21 10:23 AM
‎2007 Jun 21 10:34 AM
Tcode in use Here are PA20/PA30/PA40 and below is the sap standard desription (use) of this user exit -
<b>
The function module RP_CHECK_PERNR can be used by other applications to
check personnel numbers. Personnel numbers are checked against the HR
master record.
If you do not want the system to check personnel numbers or if personnel
numbers should be checked against your own tables, you can use the user
exit.
The example below illustrates how a personnel number is checked against
a table. You must create your own database table with the fields you
require and use the name of the table and the fields in the coding.
The input parameters are:
o DATE: key date
o PNR: personnel number
The output parameters are:
o NAME: employee name, 40 characters maximum
o PERSA: personnel area
o MOLGA: country grouping
o BUKRS: company code
o KOSTL: cost center
o RET: return code
The return code can have the following values:
o 0: employee active
o 1: employee inactive
o 2: personnel number unknown
o 3: data inconsistency
o 4: standard check
Personnel numbers can either undergo a standard or user-specific check
depending on the client. The example shows a time-dependent check of a
personnel number against a customer database table; standard checks are
only carried out in client 000.
CASE SY-MANDT.
WHEN 0.
RET = 4.
WHEN OTHERS.
SELECT * FROM "database" WHERE "number" EQ PNR
AND "end_date" LE DATE
AND "begin_date" GE DATE .
EXIT.
ENDSELECT.
IF SY-SUBRC EQ 0.
IF "database-active" EQ 'X'.
NAME = "database-name"
RET = 0.
ELSE.
RET = 1.
ENDIF.
ELSE.
RET = 2.
ENDIF.
ENDCASE.
The designators in quotation marks must be replaced by the current field
names.
</b>