Skip to Content
0
Former Member
Mar 21, 2006 at 06:28 AM

Includes hclpaydata , hgbpaydata.

30 Views

hi abappers,

i have in my code two includes "rpc2rgg0" and "rpc2rkk0" inside which there are two more includes "hclpaydata" and "hgbpaydata" respectively. There are three variables "cumul_tab_filter" , "cumul_tab_all", "payresult_addcu" which are declared in the include "hgbpaydata" and once again the same variables are declared in the include "rpc2rkk0", this gives a syntax error. all these includes are sap std and i am using this within my program. is there any way i can work my way around this problem.

main program

rpc2rgg0

hgbpaydata.

DATA: cumul_tab_filter TYPE PAYGB_RESULT .

DATA: cumul_tab_all TYPE PAYGB_RESULT .

DATA: payresult_addcu TYPE PAYGB_RESULT .

rpc2rkk0

hcapaydata

DATA: cumul_tab_filter TYPE PAYCA_RESULT .

DATA: cumul_tab_all TYPE PAYCA_RESULT .

DATA: payresult_addcu TYPE PAYCA_RESULT .

the above code gives the syntax error.

plz can anybody hlp me out?