Application Development 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: 

dump when we call RFC

Former Member
0 Kudos

we have a function module , and getting dump when we execute in our ECC6 system. "RPERF_ILLEGAL_STATEMENT' any idea

CALL FUNCTION 'Z_SD_CM_READ_FI'

STARTING NEW TASK GTX_FI_RFC-TASK_NAME

DESTINATION IN GROUP P_GROUP

PERFORMING CALLBACK_RFC ON END OF TASK

EXPORTING

I_TIME = P_TIME

TABLES

IT_RFC_FI = GT_FI_RFC[]

IR_ZUONR = R_ZUONR[]

ET = LT_POSNR[]

ET_LOG_MSG = GT_LOG_MSG_RFC[]

EXCEPTIONS

SYSTEM_FAILURE = 1

COMMUNICATION_FAILURE = 2

RESOURCE_FAILURE = 3.

1 ACCEPTED SOLUTION

former_member188685
Active Contributor
0 Kudos

Mat,

That Destination Group might be not available, so comment that and test it.

Are you doing any parallel processing..

CALL FUNCTION 'Z_SD_CM_READ_FI'
STARTING NEW TASK GTX_FI_RFC-TASK_NAME
"DESTINATION IN GROUP P_GROUP
PERFORMING CALLBACK_RFC ON END OF TASK
EXPORTING
I_TIME = P_TIME
TABLES
IT_RFC_FI = GT_FI_RFC[]
IR_ZUONR = R_ZUONR[]
ET = LT_POSNR[]
ET_LOG_MSG = GT_LOG_MSG_RFC[]
EXCEPTIONS
SYSTEM_FAILURE = 1
COMMUNICATION_FAILURE = 2
RESOURCE_FAILURE = 3.

8 REPLIES 8

former_member188685
Active Contributor
0 Kudos

Mat,

That Destination Group might be not available, so comment that and test it.

Are you doing any parallel processing..

CALL FUNCTION 'Z_SD_CM_READ_FI'
STARTING NEW TASK GTX_FI_RFC-TASK_NAME
"DESTINATION IN GROUP P_GROUP
PERFORMING CALLBACK_RFC ON END OF TASK
EXPORTING
I_TIME = P_TIME
TABLES
IT_RFC_FI = GT_FI_RFC[]
IR_ZUONR = R_ZUONR[]
ET = LT_POSNR[]
ET_LOG_MSG = GT_LOG_MSG_RFC[]
EXCEPTIONS
SYSTEM_FAILURE = 1
COMMUNICATION_FAILURE = 2
RESOURCE_FAILURE = 3.

0 Kudos

it is part of our month end processing. SAP created this particular Zprogram for us. there is a huge number of records processing, looks like they are spliting into small groups sending it into different servers. if we comment this particular line, is that casue any issue.

0 Kudos

To Test, No to Comment it permanently. Once i too faced the similar problem. In my DEV there is no Group so it keeps giving Short Dump. In Dev I commented and Tested it, Then when i move to QA i uncommented and send it to QA.

If you are checking or Testing Comment in Dev environment then you can Comment that line and check.

0 Kudos

we were thinking the same, so we moved to production. but in Production, it is dumping.no idea

0 Kudos
"DESTINATION IN GROUP P_GROUP

is the P_GROUP is maintained.

and also i want to know are you using parallel processing..?

0 Kudos

we have this P_group. we are executing this job once in a month in production, not clear what you mean by parallel processing? sorry for that

0 Kudos

when exactly you are getting that error..?

During Debug time..?

Search with this keyword RPERF_ILLEGAL_STATEMENT in market place , and SDN too.

https://www.sdn.sap.com/irj/sdn/advancedsearch?cat=sdn_all&query=rperf_illegal_statement&adv=true&sd...

0 Kudos

it is happening not in debugg, happening in regular run and thanks for the links. let me checck it and will update you