Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

tcodes

Former Member
0 Likes
809

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

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
782

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....

5 REPLIES 5
Read only

Former Member
0 Likes
782

Hi,

Any enhancements u can view with the tcode SMOD and CMOD.

Corresponding to each enhancement, u can also view the Components.

Regards,

Himanshu

Read only

Former Member
0 Likes
782

Hi,

User Exit IWO10009 is for "PM Order: Customer Check for 'Save' Event".

Regards,

Padmam.

Read only

Former Member
0 Likes
783

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....

Read only

Former Member
0 Likes
782

thnks

Read only

0 Likes
782

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>