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

RP_FILL_WAGE_TYPE_TABLE function module is not working

satish_kumar127
Participant
0 Likes
2,607

Hi experts,

   I'm developing a HR report  . In my report i'm using  'RP_FILL_WAGE_TYPE_TABLE'  function module for get the data of table pa0014. it's not working.

but the same fm using for pa0008. it's working fine. could any one please help me out in this issue.

Thanks in advance.

Thanks & Regards,

Satish Kumar.

1 ACCEPTED SOLUTION
Read only

former_member188827
Active Contributor
0 Likes
1,453

Make sure that you have rights to read infotype 14, then try as follows.

CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE'

  EXPORTING

*     APPLI                              = 'E'

    begda                              = p_begda

    endda                              = p_endda

    infty                              =    '0014'

*     OBJPS                              = '  '

*     TCLAS                              = 'A'

    pernr                              = pernr-pernr

*     SEQNR                              = '   '

     subty                              = subty                    "Pass subtype"

*     DLSPL                              = 'X'

*     MSGFLG                             = ''

*     NORDCT                             = ''

*     CONV_CURR                          = 'X'

*     FLAG_NO_DB_READ                    =

  TABLES

    ppbwla                             = ppbwla

*     PP0001                             =

*     PP0007                             =

*     PP0008                             = pp0008

*     PP0014                             = pp0014

*     PP0015                             = pp0015

*     PP0052                             =

*     PP0230                             =

*     PP0267                             =

*     PPNNNN_TAB                         =

  EXCEPTIONS

    error_at_indirect_evaluation       = 1

    OTHERS                             = 2

    .

Incase your issue is not resolved, paste your code.

Make sure that you have rights to read infotype 14, then try as follows.

CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE'

  EXPORTING

*     APPLI                              = 'E'

    begda                              = p_begda

    endda                              = p_endda

    infty                              =    '0014'

*     OBJPS                              = '  '

*     TCLAS                              = 'A'

    pernr                              = pernr-pernr

*     SEQNR                              = '   '

     subty                              = subty                    "Pass subtype"

*     DLSPL                              = 'X'

*     MSGFLG                             = ''

*     NORDCT                             = ''

*     CONV_CURR                          = 'X'

*     FLAG_NO_DB_READ                    =

  TABLES

    ppbwla                             = ppbwla

*     PP0001                             =

*     PP0007                             =

*     PP0008                             = pp0008

*     PP0014                             = pp0014

*     PP0015                             = pp0015

*     PP0052                             =

*     PP0230                             =

*     PP0267                             =

*     PPNNNN_TAB                         =

  EXCEPTIONS

    error_at_indirect_evaluation       = 1

    OTHERS                             = 2

    .

Incase your issue is not resolved, paste your code.

2 REPLIES 2
Read only

former_member188827
Active Contributor
0 Likes
1,454

Make sure that you have rights to read infotype 14, then try as follows.

CALL FUNCTION 'RP_FILL_WAGE_TYPE_TABLE'

  EXPORTING

*     APPLI                              = 'E'

    begda                              = p_begda

    endda                              = p_endda

    infty                              =    '0014'

*     OBJPS                              = '  '

*     TCLAS                              = 'A'

    pernr                              = pernr-pernr

*     SEQNR                              = '   '

     subty                              = subty                    "Pass subtype"

*     DLSPL                              = 'X'

*     MSGFLG                             = ''

*     NORDCT                             = ''

*     CONV_CURR                          = 'X'

*     FLAG_NO_DB_READ                    =

  TABLES

    ppbwla                             = ppbwla

*     PP0001                             =

*     PP0007                             =

*     PP0008                             = pp0008

*     PP0014                             = pp0014

*     PP0015                             = pp0015

*     PP0052                             =

*     PP0230                             =

*     PP0267                             =

*     PPNNNN_TAB                         =

  EXCEPTIONS

    error_at_indirect_evaluation       = 1

    OTHERS                             = 2

    .

Incase your issue is not resolved, paste your code.

Read only

0 Likes
1,453

Hi,

  My issue got resolved. Thank you very much. Actually i didn't pass the parameter 'subty' . if i'm passing subty as null also it's working. once again thank you very much for your help.

Thanks & Regards,

satish kumar