Application Development 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: 

BAPI to get payslip variants

Former Member
0 Kudos

Hi,

does anybody know how to get a list of the different payslip variants?

Is there a special BAPI call?

regards,

Andre

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi andre,

1. T514V

2. In this table there are different forms.

( filter with language, and country)

regards,

amit m.

3 REPLIES 3

Former Member
0 Kudos

Hi andre,

1. T514V

2. In this table there are different forms.

( filter with language, and country)

regards,

amit m.

0 Kudos

I don't think there is a BAPI for that..You can also read it from the feature (T549D)..pl check the following code in the function module GET_PAYSLIP.


  IF PAYSLIP_VARIANT IS INITIAL.
    CLEAR: PME74.
    MOVE-CORRESPONDING P0001 TO PME74.                      "VKIK040109
    MOVE-CORRESPONDING RGDIR TO PME74.
    PME74-MOLGA = T500P-MOLGA.                              "HKUK066721
* determine payslip variant from feature
    PERFORM RE549D USING 'EDTIN' '1' PAYSLIP_VARIANT RET_CODE.
    IF NOT RETURN_CODE IS INITIAL.
      PAYSLIP_VARIANT = 'SAP&CALC'.
    ENDIF.
  ENDIF.

Regards,

Suresh Datti

former_member181962
Active Contributor
0 Kudos

<Deleted> Sorry it wasn't the correct bapi.