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: 

CALL TRANSACTION code in RFC

Former Member
0 Kudos

Hi Experts,

I've created RFC function module that make use of CALL TRANSACTION code. This function module is being called in CRM system. However I encountered a short dump CALL_FUNCTION_RECEIVE_ERROR. Kindly help to determine if CALL TRANSACTION code is possible in RFC function module?

Thanks in advance!

1 ACCEPTED SOLUTION

Clemenss
Active Contributor
0 Kudos

Hi Rous Elle,

should work but the RFC user must have the authorization. Check the CRM system if you can find the dump there.

Regards,

Clemens

8 REPLIES 8

Former Member
0 Kudos

Hi

Please paste the detailed short dump details using transaction ST22.

Hope this will help.

Regards

- Atul

Former Member
0 Kudos

Hello,

Here's the detailed error analysis found in ST22:

Error analysis

An error occurred when executing a Remote Function Call.

"Exception condition "CNTL_ERROR" raised. "

Status of connection.... " "

Internal error code.... "RFC_GET3"

Log error: No end marker in data container.

Thanks!

0 Kudos

Hi

This is not the detailed one.

Please download the complete error using ST22 transaction by displaying the error (double-click) and then

Choose System -> List -> Save -> Text file (say Abc.txt)

Hope this will help.

Regards

- Atul

0 Kudos

Bingo!

CNTL error means that the system tries to communicate via SAPGUI with a screen. RFC is background processing. If you use CALL transaction this is only possible supllying all screens with values using itab.

Regards,

Clemens

0 Kudos

Hi

Please check RFC user have SAP_ALL access in that system and this user in both these systems have the same password.

Hope this will help.

Regards

- Atul

Former Member
0 Kudos

hi,

I think it is not possible to do the call transaction which have output screens. Function module will try to create place for writing output.

I guess better to fetch data in the function module and

and write a program to call that remote function take

the data into one itab ..

have a look at the below thread

Regards

Sudheer

Clemenss
Active Contributor
0 Kudos

Hi Rous Elle,

should work but the RFC user must have the authorization. Check the CRM system if you can find the dump there.

Regards,

Clemens

Former Member
0 Kudos

Hi Rous,

I know it aint answering your question, but just incase you haven't looked preferrably use a BAPI call to perform the transaction in the remote system, if it exists @ all.

You can search by looking at the function modules (within the function groups) attached to the package of the transaction you are working with.

Regards,

Aditya