cancel
Showing results for 
Search instead for 
Did you mean: 

Read Custom Infotypes in Payroll Schema using TABLE operation

Former Member
0 Kudos
881

Dear Friends,

i have created a custom infotype 9897 and i am going to enter an 'X' amount in the field . the query is i have to check this infotype and this particular field in Payroll , i have used TABLE operation to read this infotype but its not supporting it .

Please can you suggest me any way whetger we can read custom infotypes in Payroll Schema.

Thanks in advance

Aditya

Accepted Solutions (0)

Answers (3)

Answers (3)

jagan_gunja
Active Contributor
0 Kudos

TABLE operation can work, only if one record exists for an employee.

If multiple records exist, then there must be a way to position a record; then you can use TABLE.

Otherwise, you need to create a custom operation. 

It is also possible to enhance the TABLE operation for specific tables or infotypes - to add positioning the table on a record (for example the record in the current for-period).

Former Member
0 Kudos

Hi friend,

I'm trying to do the same and the partial solution that i found is:

- Declare the internal table

DATA: it_pXXXX TYPE TABLE OF paXXXX WITH HEADER LINE. " Where XXXX is you Infotype

- Use the FM 'HR_READ_INFOTYPE' to read the infotype 9xxx in you program with the table it_pXXXX.

I hope it helps you...

Former Member
0 Kudos

Hi,

you'll need to write a custom payroll function for reading data from a customer infotype into PY.

Wilfred.

Former Member
0 Kudos

can u tell me the procedure for creating custom payroll function?

Former Member
Former Member
0 Kudos

Hi,

I´m having the same problem with the customer payroll infotype, but with a difference. My error became with the wage types....Seems like it doesn´t recognize them, even I have introduce the entries in t512z and t591b...

Please I need help with this issue,

many thanks in advanced,

cheers!

Former Member
0 Kudos

HI

Above link  page not found

i am also have one issue for custom in fotype field

                          

i given custom in fotype technical field name schkz   used operation outwpshift but its not reading

please  give  me solution  to read custom  infotype field

Thankyou

Message was edited by: kuruvella Ramarao

sikindar_a
Active Contributor
0 Kudos

write your logic like the below

OUTWPSHIFT

*

ADDWT  *

**

ADDWT  *

***

ADDWT  *

****

ADDWT  *

*****

ADDWT  *

******

ADDWT  *

*******

ADDWT  *

********

ADDWT  *

*********

ADDWT  *

11111

AMT=   1000  (double space)

ADDWT *

Try this and let us know in case if you find any issue

Former Member
0 Kudos

Hi Sikindar ,

Now iam geting error like please help me

jagan_gunja
Active Contributor
0 Kudos

OUTWP operation can not read custom infotype unless you have modified or enhanced the code.