on 2009 Apr 29 6:30 PM
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
Request clarification before answering.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
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
| User | Count |
|---|---|
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.