Skip to Content
0
Former Member
Sep 20, 2011 at 10:26 AM

PA0027 Subty 01(wage/salary) record save where PA0027-BUKRS = PA0001-BUKRS

40 Views

Hi all,

At record creation of infotype PA0027 and subtye '01' ( WAGE / SALARY), i want to set condition that whenever we want to create record it must be equal the company employee belongs to . ( Means PA0027-BUKRS = PA0001-BUKRS )

Otherwise it should give some error message.

I have differnet cost center for the same company (BUKRS). i want to store % in the same company code with different cost centers available for the company.

Default setting in the system.

CoCo CostCnt Name *pct *

3028 3028860 L S 25,00

3128 3028861 L S1 25,00

3428 3028863 L S3 25,00

3400 3028862 L S2 25,00

My requirement: ( e.g. Only possible enteris are pa0027-BUKRS = pa0001-BUKRS )

CoCo CostCnt Name *pct *

3028 3028860 L S 25,00

3028 3028861 L S1 25,00

3028 3028863 L S3 25,00

3028 3028862 L S2 25,00

What to write in the BADI to accomplish above requirement.