Skip to Content
avatar image
Former Member

Reset Input table (IT) within a Rule (Tcode PE02)

Hello!!

I need to reset the input table (IT) if a condition is true.

After executing WPBP, the IT table has these entries:

3 1000 SUELDO BASE01 1.754,98

3 1001 25% PLUS RE01 438,75

3 1002 20% PART. E01 351,00

3 1004 PLUS DE ACT01 123,21

3 1005 DEVOLUCION 01 68,69

3 1008 PLUS LINEAL01 212,12

In a SubSchema ZANT I introduce a line similar to this one to call the rule ZSTR for reseting the inputs in the IT TABLE:

PIT ZSTR NOAB ¿Salarios de Tramitación?

I have a rule ZSTR edited with the PE02 similar to this:

ZSTR SALARIOS DE TRAMITACION (TRATAMIENTO)

*

****

STAB I530B Lectura I530B

VARGBMASSN Cmpo-tab.VVVVV ArgVa

**

Z3

GCY ZST1 Por CC-nómina

This rule call this one ZST1 :

ZST1 COMPARACION MOTIVO MEDIDA SALARIOS TRAMITACION

*

****

STAB I530B Lectura I530B

VARGBMASSG Cmpo-tab.VVVVV ArgVa

**

09

ZERO= NRA AmtNumRteZeit = 0

ADDWT * OT Output table

After executing the payroll In the log I can see that the subschema ZANT is executed. Inside the subschema there are more rules that are working fine, but the new rule ZSTR do not reset the table, It seems that it is not executing.

I need to put the IT with 0 values if a Reason for Personnel Action is true.

Thanks in advance,

Julian.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • Sep 21, 2010 at 04:05 AM

    Hi Julian,

    It seems that entry is not read correctly from table T530B. Please check your configurations in tables T530C and T530B, as well as the wage type in IT, and table SP.

    The WBPP split indicator(APZNR) and C3 indicator(CNTR3) of the wage type in IT are used to find the entry in table SP. Then the data of the selected SP entry is used to find the data in table T530C and further T530B.

    Please check all the data above and configure tables T530C and T530B accordingly so that the expected action type/reason can be returned.

    Best Regards,

    Li

    Add comment
    10|10000 characters needed characters exceeded