Skip to Content
0
Former Member
Oct 11, 2006 at 11:11 AM

Doubt s in ABAP HR -Enhancements

24 Views

Hi Experts,

I am working in enhancements, I have some doughtes in that ,so plz do help to me,

””””My enhancement is,

Whenever we enter data such as Emp Firstname, emp.lastname,empdate of birth, in ‘pb10’ this data should check in PAP database tables and if he is previous employer of the that company it should give his ‘Emp.id’.

And also it should check ‘how many months back he worked in this company ‘ if that period is less than r equal to 3monthes’

We have to send the message that he is not eligible for attending interview. if that is greater than 3 months he is eligible for attending interview.

For this I am trying in ‘cmod’ transaction code in EXIT of ‘pbs0001’.

CLASS CL_HR_PNNNN_TYPE_CAST DEFINITION LOAD.

CASE INNNN-INFTY.

WHEN '4000'.

data : p0002 like p0002.

data : p4000 like p4000.

call method CL_HR_PNNNN_TYPE_CAST=>PRELP_TO_PNNNN

EXPORTING

PRELP = INNNN

IMPORTING

INNNN = p0002.

if ( IPSYST-IOPER = 'INS' OR IPSYST-IOPER = 'MOD' )

**and sy-ucomm = 'UPD' .

CLEAR SY-UCOMM.

ENDIF.

BUT WHENEVER I SEE IN DEDUGGING MODE ,I am not getting any data in that mode ,

Where I am doing mistake I am not getting so plz do help on this.

Thank you very much,

Krishna.