on 05-30-2023 8:40 AM
Does sapjco call RFC_Metadata_Get internally whenever we tries to call any Remote Enabled Function module using jco?
I am able to see RFC_Metadata_Get is getting called for each RFM call.
Is the purpose to fetch the metadata of any RFM? In that case how metadata of RFC_Metadata_Get was fetched in first place.
The answer is "yes" and "no".
JCo fetches the metadata of each RFM only the first time you try to call that RFM, and then caches it in memory. For each following call, it then uses the cached metadata. So no further calls to RFC_METADATA_GET are necessary!
Also it is possible to replace the call to RFC_METADATA_GET with calls to the older function modules RFC_GET_FUNCTION_INTERFACE and DDIF_FIELDINFO_GET by setting the JCo property use_roundtrip_optimization=0. (However, this is necessary only for old R/3 releases, which do not yet have RFC_METADATA_GET.)
And it is also possible to suppress these metadata calls completely, by using one of the two techniques:
> In that case how metadata of RFC_Metadata_Get was fetched in first place.
It's hard-coded into the JCo library.
And as Sandra already guessed correctly: the same mechanisms are also implemented in SAP NCo and the NW RFC library.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
70 | |
9 | |
8 | |
7 | |
6 | |
5 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.