Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Infotype-8 screen

Dear ALL

We are using 10 to 12 wagetypes for infotype - 8 through BADI implementation. But there is a place to enter max 5 to 7 wage types in grid for remaining we have to scroll down the grid.

The issue is that Indirect Valuation wage types are not getting calculated because of less space on grid. Is there any way to increase the grid hight or calculating wagetypes even if there is no space left on screen.

Former Member replied

" With this FM you can Get the PERNR CU

CALL FUNCTION 'CU_READ_RGDIR'

EXPORTING

persnr = l_pernr

TABLES

in_rgdir = ti_rgdir

EXCEPTIONS

no_record_found = 1

OTHERS = 2.

" After you have to do a Loop at ti_rgdir:

LOOP AT ti_rgdir WHERE srtza EQ 'A' AND .

" Get wage result

CALL FUNCTION 'PYXX_READ_PAYROLL_RESULT'

EXPORTING

clusterid = 'VE'

employeenumber = l_pernr

sequencenumber = ti_rgdir-seqnr

CHANGING

payroll_result = it_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

error_reading_archive = 8

error_reading_relid = 9

OTHERS = 10.

" Check the it_result deep structure to watch the wage results.

ENDLOOP.

Hope it helps you...

--

Alexis Sánchez N.

SAP ABAP Development Consultant

Edited by: Thomas Zloch on Apr 13, 2010 10:50 PM

0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question