2008 Nov 18 10:36 AM
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..............
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..............
2008 Nov 18 10:42 AM
use this include also ..
include rpppxm00. " Buffer handling routine
2008 Nov 18 10:44 AM
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..........
2008 Nov 18 10:46 AM
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
2008 Nov 18 10:58 AM
2008 Nov 18 12:34 PM
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |