Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

regarding Payroll clusters

Former Member
0 Likes
1,318

Hi Experts....

Iam using includes in top for retrieving the payroll clusters in

INCLUDE RPC2RX09. "Data Definition for Cluster RD in PCL2 (Payroll Results for Germany)

INCLUDE RPC2CD09. "Data, CD-Cluster Directory

Read of cluster CU. Fill ACT_RGDIR with all entries of a person I used the FM:

FM: CD_RETROCALC_PERIOD

But i got error like "Form "PCL2_EXP_IMP"" does not exists.

Any way my code is:

FORM READ_CLUSTER_CU .

DATA: v_CALCD.

CD-KEY-PERNR = PERNR-PERNR.

RP-IMP-C2-CU. "Import macro for payroll directory

IF RP-IMP-CD-SUBRC EQ 0.

IF OCD-VERSION-NUMBER NE CD-VERSION-NUMBER.

PERFORM FILL_ERROR USING PERNR-PERNR

'04'

'CU'

CD-KEY

OCD-VERSION-NUMBER

CD-VERSION-NUMBER.

ELSE.

LOOP AT RGDIR.

CALL FUNCTION 'CD_RETROCALC_PERIOD'

EXPORTING

ENTRY = RGDIR

IMPORTING

CALCD = v_CALCD

EXCEPTIONS

OTHERS = 1.

IF v_CALCD EQ SPACE.

MOVE-CORRESPONDING RGDIR TO WA_ACT_RGDIR.

WA_ACT_RGDIR-PERNR = PERNR-PERNR.

APPEND WA_PERSON TO I_PERSON.

ENDIF.

ENDLOOP.

ENDIF.

ENDIF.

ENDFORM. " READ_CLUSTER_CU

Please help me, what is the wrong..............

5 REPLIES 5
Read only

Former Member
0 Likes
863

use this include also ..

include rpppxm00. " Buffer handling routine

Read only

0 Likes
863

Hi Srinivas..

thank you foe quick reply....

i used this also

INCLUDE rpc2ruu0. "Calc, USA

INCLUDE rpc2rx09. "Calc, international

INCLUDE rpc2cd09. "Data, CD-Cluster Directory

----


  • INCLUDES fuer die Pufferung von PCLx *

----


INCLUDE rpppxd00. "Daten PCLx-Puffer

DATA: BEGIN OF COMMON PART buffer.

INCLUDE rpppxd10. "Daten PCLx-Puffer

DATA: END OF COMMON PART.

Please......any inputs..........

Read only

0 Likes
863

declare the below ...

include rpc2cd09. " Data Definition - CD Cluster

include rpc2ca00. " Import/Export Macros for Cluster CA

include rpc2ruu0. " Data Definition for Cluster RU (USA)

include rpc2rx09. " Cluster RU Data-Definition internat. part

include rpppxd00. " Data befinition buffer PCL1/PCL2

include rpppxd10. " Common part buffer PCL1/PCL2

include rpppxm00. " Buffer handling routine

Read only

Former Member
0 Likes
863

Hi Sai,

Please post your entire code

Read only

Former Member
0 Likes
863

Yes, Its working. Thank you Srini Vas. and friends.....