Function Module HR_BEN_ESS_GET_PARTICIPATION untuk Get Enrolled Benefit

FM HR_BEN_ESS_GET_PARTICIPATION digunakan untuk get data benefit karyawan yang sudah di-enrollment.

Berikut ini adalah contoh code untuk mendapatkan benefit apa saja yang didapatkan pekerja, serta list anggota keluarga yang mendapatkan benefit.

  DATA: lt_part   TYPE hrben00_gen_plan_info,
        lt_miscel TYPE STANDARD TABLE OF rpben_de,
        lt_depend TYPE STANDARD TABLE OF rpbenddp.

    CALL FUNCTION 'HR_BEN_ESS_GET_PARTICIPATION'
      EXPORTING
        pernr          = pernr
        reaction       = 'S'
      IMPORTING
        part_condensed = lt_part
      TABLES
        miscel_displ   = lt_miscel
        depend_displ   = lt_depend.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s