cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

JCo RFC call inputs not appearing in called system

Former Member
0 Likes
256

Hello All,

We are experiencing an odd issue with some custom RFCs.

We are on MII version 12.0.6 build(15)

and calling an R/3 4.7 system.

We are able to generate the RFC prox and assign our input values. We are able to receive output data from our RFC, but our input values are not getting passed into the function.

These custom RFC inputs are SAP range tables.

I couldnt find any notes related and just wanted to see if anybody else has come across this issue before we submit a ticket.

Regards,

Christian

Accepted Solutions (1)

Accepted Solutions (1)

agentry_src
Active Contributor
0 Likes

Hi Christian,

Its an obvious question, but does RFC_READ_TABLE or similar standard RFC work correctly? I am pretty sure that RFC was around in 4.7 and would be a good reality check. My guess is that there is something not set correctly in the custom RFC, but don't know enough at this point to have any surety. I have not run into the issue in 4.6B or 4.6C with standard RFCs/BAPIs.

Regards,

Mike

Former Member
0 Likes

Yes we tried RFC_READ_TABLE and it works fine. We have also tried from an 11.5 system with the same results so the issue must be with R/3 or the RFC's. We are also having the same results with both dev and qa r3 systems.

Former Member
0 Likes

Christian,

did you trace the JCO-Function.Response? Can you see the values that you set up, before calling

the JCO-Function? Which RFC you are using?

Regards

Pedro

Edited by: Pedro Iglesias on Apr 29, 2009 9:44 PM

Former Member
0 Likes

We solved it.

The issue was caused by bad table assignments not using the brackets '[]' in the ABAP code which apparently worked fine in sm37 but not when the RFC's were called via BAPI. This also made it look like there was no data in the input tables when we tried to log the values.

Regards,

Christian

Former Member
0 Likes

Hi Christian,

it seems that we have the same problem like you.

But i am not able to follow your solution. Would you be so kind to post some concrete information (some lines of ABAP code where you are using the brackets).

In which form do you overgive the table to the RFC: import, changing or tables parameter at ABAP side ?

When i define the table as import or changing parameter at ABAP the nodes of the parameter are displayed at INPUT section of the JCO-request tree. Only if i define it as tables parameter the nodes appeare at JCO>request>tables. But in ABAP this way ist recognized as obsolete. Is there a way to do this correctly using changing-tables or is there no other possibilty to tables-tables?

Although i searched a lot, i found neither a forum entry nor a sample at SDN describing table data transfer to custom RFC. Perhaps somebody knows a concrete example.

Regards,

Andreas

Answers (0)