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: 

Reg : Payroll calculation

Former Member
0 Kudos

Hi,

while using the function module PYXX_READ_PAYROLL_RESULT, what is the clear purpose of using the parameter VERSION_NUMBER_PAYVN . and what is the value to be passed to the parameter? If the data is read from the cluster using a buffer, then is it necessary to use this parameter?

Where to find out the version no ?

Here payvn is a type group . But when I give the name in se11 under typegroup , It is giving the message that payvn does not exist.

Pls help me.

Thanks in anticipation

sowmya.

1 REPLY 1

Former Member
0 Kudos

Hi

I have commented that and i used the FM .Check this may be it will be useful.

CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'

EXPORTING

  • CLUSTERID =

EMPLOYEENUMBER = WA_FINAL-PERNR

SEQUENCENUMBER = V_NUM

  • READ_ONLY_BUFFER = ' '

READ_ONLY_INTERNATIONAL = 'X'

  • ARC_GROUP = ' '

  • CHECK_READ_AUTHORITY = 'X'

  • FILTER_CUMULATIONS = 'X'

  • CLIENT =

  • IMPORTING

  • VERSION_NUMBER_PAYVN =

  • VERSION_NUMBER_PCL2 =

CHANGING

PAYROLL_RESULT = I_PAYROLL

EXCEPTIONS

ILLEGAL_ISOCODE_OR_CLUSTERID = 1

ERROR_GENERATING_IMPORT = 2

IMPORT_MISMATCH_ERROR = 3

SUBPOOL_DIR_FULL = 4

NO_READ_AUTHORITY = 5

NO_RECORD_FOUND = 6

VERSIONS_DO_NOT_MATCH = 7

ERROR_READING_ARCHIVE = 8

ERROR_READING_RELID = 9

OTHERS = 10

.

IF SY-SUBRC <> 0.

MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO

WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.

ENDIF.

Thanks