Skip to Content

Wage Type: /700

Hi Gurus,

I need to read a value that appears at:

Transaction: pc_payresult >> table: RT >> wage type: /700 (Wage/salary + ER contrs)

Is there any function module to read this information from the cluster?

Thanks in advance.

Bruno Silva

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Dec 20, 2008 at 07:20 AM

    Hi,

    I hope following code is usefull.

    CALL FUNCTION 'CU_READ_RGDIR'

    EXPORTING

    PERSNR = I_PERNO-PERNR

    TABLES

    IN_RGDIR = I_SEQNO

    EXCEPTIONS

    NO_RECORD_FOUND = 1

    OTHERS = 2.

    *----


    • GETTING THE SALARY DETAILS

    LOOP AT I_SEQNO WHERE FPBEG BETWEEN W_STYEAR AND W_CURRENT AND SRTZA = 'A'.

    CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'

    EXPORTING

    CLUSTERID = 'IN'

    EMPLOYEENUMBER = I_PERNO-PERNR

    SEQUENCENUMBER = I_SEQNO-SEQNR

    READ_ONLY_INTERNATIONAL = 'X'

    CHANGING

    PAYROLL_RESULT = LSX_RESULT

    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

    OTHERS = 8.

    PERFORM BIFURCATE_RT.

    ENDLOOP.

    *----


    • FORM

    *----


    FORM BIFURCATE_RT.

    CLEAR: HEADER,W_BETRG.

    LOOP AT LSX_RESULT-INTER-RT INTO HEADER WHERE ABART = '3' AND LGART = '8LTA'.

    ENDLOOP.

    ENDFORM.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Dec 19, 2008 at 05:24 PM

    Please check my reply for this thread

    a®s

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.