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

Read parameter with type ref to

Former Member
0 Likes
472

Hi,

I am implementing BADI "HRPAYFR_N4DS_CUST". In this, in one of the method there is a parameter (importing) "IO_N4DS_DAQ" type ref to "IF_HRPAYFR_N4DS_DAQ".

Can you please let me know how to read PROCESS_EMPLOYEE-IO_EMPL -> CONSTRUCTOR-IV_PERNR value.

Thanks,

Satish

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
445

Hi Sathish,

In BADI implementation try to get the PERNR like

LV_PERNR = IO_N4DS_DAQ->MO_EMPL->MV_PERNR.

Hi,

I am implementing BADI "HRPAYFR_N4DS_CUST". In this, in one of the method there is a parameter (importing) "IO_N4DS_DAQ" type ref to "IF_HRPAYFR_N4DS_DAQ".

Can you please let me know how to read PROCESS_EMPLOYEE-IO_EMPL -> CONSTRUCTOR-IV_PERNR value.

Thanks,

Satish

2 REPLIES 2
Read only

Former Member
0 Likes
446

Hi Sathish,

In BADI implementation try to get the PERNR like

LV_PERNR = IO_N4DS_DAQ->MO_EMPL->MV_PERNR.

Read only

0 Likes
445

HI,

To retrieve pernr :

l_pernr = io_n4ds_daq->ms_codaq-pernr.