NetWeaver RFC and IPv6
One of the main benefits with the new-ish NetWeaver RFC SDK over its older librfc sibling is that the newer has support for IPv6 according to<a href="https://websmp101.sap-ag.de/~form/sapnet?_SHORTKEY=01100035870000701311&">the connectors page</a>
Based on my limited understanding of IPv6 compliant development, one has to move away from using the old IPv4 APIs such as gethostbyname() and its peers and instead use the IPv6-aware getaddrinfo()
I'm on WinXP x64 and I'm dumpbin'ing sapnwrfc.dll to see what it's importing from the windows socket implementation (still in ws2_32.dll) and was somewhat surprised to see that the ostensibly IPv6 capable NW RFC still only imports IPv4 APIs and not getaddrinfo().
It's of course possible to dynamically bind to that API and it wouldn't show up in dumpbin's output, but I would consider that unlikely.
Am I missing something? Has anyone verified that the NW RFC works in a pure IPv6 environment?
Thanks,
/Henrik
Thanks Benny for your prompt response. That is of course a rather safe assumption.
I'm still not sure why the x64 version (that doesn't have to work with Win2000 and its questionable IPv6 support) of sapnwrfc.dll still appears to be using old IPv4 socket APIs and does not appear to be using getaddrinfo().
getaddrinfo() works with both protocols and gethostbyname() etc are not capable of handling IPv6.
Thoughts?
Cheers,
/Henrik
Similar Messages
-
Ruby and Perl NetWeaver RFC Connector
This thread follow Piers blog <a href="/people/piers.harding/blog/2007/02/28/netweaver-rfc-gives-the-next-generation-ruby-and-perl-connectors RFC gives the Next generation Ruby and Perl Connectors</a>
Post your comments, troubles and recommendations.
Greetings,
Blag.Ok....First problem -:'( I download and install the following gem...
<b>sapnwrfc-0.07-mswin32.gem</b>
Then....I create the .yml file...
[code]
ashost: Huroncebrio
sysnr: "00"
client: "000"
user: bcuser
passwd: minisap
lang: EN
trace: 2
[/code]
Then....My lovely <b>SE16</b> example....
[code]
specify a YAML base config file or pass connection
parameters directly to rfc_connect()
require 'sapnwrfc'
SAPNW::Base.config_location = 'sap.yml'
SAPNW::Base.load_config
conn = SAPNW::Base.rfc_connect
get the system and connection details
attrib = conn.connection_attributes
$stderr.print "Connection Attributes: #{attrib.inspect}\n"
lookup the dictionary definition of an Function Module
fds = conn.discover("RFC_READ_TABLE")
$stderr.print "Parameters: #{fds.parameters.keys.inspect}\n"
create an instance of a Function call
fs = fds.new_function_call
populate the parameters - structures and table
#rows now take hashes of field name/value pairs
fs.IMPORTSTRUCT = { 'query_table' => 'SPFLI',
'delimiter' => '|'}
execute the RFC call
fs.invoke
$Fields = Array.new
$Data = Array.new
$Data_Fields = Array.new
$Data_Split = Array.new
itab.fields.hashRows {|field| $Fields.push(field) }
$Fields_Len = $Fields.length
itab.data.hashRows {|field| $Data.push(field.to_s.strip!) }
$Data_Len = $Data.length
for i in 0...$Data_Len
$Data_Fields = $Data<i>
$Data_Split = $Data_Fields.split("|")
for i in 1...$Fields_Len
print $Data_Split<i>.to_s.strip, "|"
end
print "\n\n"
end
print "Exit"
[/code]
However....I getting the following error...
<i>
cannot load C Ext nwsaprfc.c
</i>
Greetings,
Blag. -
Crash in SAP NetWeaver RFC SDK DLL
Hello community,
I have a problem with the SAP NetWeaver RFC SDK. Once in a while I get a crash with such error message:
Unhandled exception at 0x000007FEF1D3DD6E (sapnwrfc.dll) in bridgeserver.exe.22108.dmp: 0xC0000005: Access violation reading location 0x0000000000000008.
Basically I get function metadata, set the call parameters using the API calls and call RfcInvoke. It crashes. The callstack is:
sapnwrfc.dll!000007fef1d3dd6e()
sapnwrfc.dll!000007fef1d56613()
msvcr80.dll!_CallSettingFrame ()
msvcr80.dll!__CxxCallCatchBlock ()
ntdll.dll!RcConsolidateFrames ()
sapnwrfc.dll!000007fef1d5653a()
sapnwrfc.dll!000007fef1d2c4f7()
call RfcInvoke from my code
I've got the call stack from one of the two crash dumps I've got. I took a look on the registers and assembly of the top frame and it looks like an indirect acces to a field of a structure but the pointer to structure is NULL.
Is there any way I can debug it further? I'm already pretty sure that the parameters to RfcInvoke are correct (no messed-up pointers).Thanks Mike,
For example we want to executie Function Module and need to prepare/allocate TABLE parameter.
In doing so we need to invoke function RfcGetStructureDescHandle is described in doc.
However, we cannot find it anywhere in H files under SAP NW SDK 7.10 dir structure.
Do you have an example of how to create a TABLE parameter (export for example).
We are going to reproduce the symptom with the demo source distributed with the SDK.
Any help/suggestions is greatly appreciated,
Alfonso -
Hello!
I'm looking for the new NetWeaver RFC SDK for AIX 5.3 (64bit) for compiling the sapnwrfc perl module.
According the following note it should be available: https://service.sap.com/sap/support/notes/1025361
However i can not find a downloadable file in the service marketplace.
Is the AIX version not available right now?
thanks in advance
WilliHi again,
the Sap note I've mentioned in the original post is not the right one. The correct Sap note is 1025361 "Supported platforms for the NetWeaver RFC library and SDK".
Sorry. -
SAP Netweaver RFC SDK bindings for Node.js
Hi all,
I have just completed a first version of bindings to the SAP Netweaver RFC SDK for [Node.js|www.nodejs.org].
You are encouraged to inspect and download the source code on [https://github.com/jdorner/node-sapnwrfc|https://github.com/jdorner/node-sapnwrfc]. For further convenience, I have also supplied a package for use with the node package manager (npm). Nevertheless, you will have to download the SAP NW RFC SDK beforehand. Thus, you should carefully read the README on GitHub for more detailed instructions.
Please let me know if you have problems installing/compiling the module. At the moment it has only been tested on a x86_64 linux platform.
Regards,
JoachimThanks Mike,
For example we want to executie Function Module and need to prepare/allocate TABLE parameter.
In doing so we need to invoke function RfcGetStructureDescHandle is described in doc.
However, we cannot find it anywhere in H files under SAP NW SDK 7.10 dir structure.
Do you have an example of how to create a TABLE parameter (export for example).
We are going to reproduce the symptom with the demo source distributed with the SDK.
Any help/suggestions is greatly appreciated,
Alfonso -
Are all RFCs and BAPIs automatically exposed as web services?
Hello,
Our product helps business users exchange data with SAP. We use standard RFCs and BAPIs to communicate with SAP. This is a .NET application although my question is not specific to .NET.
It seems SAP obsolete their .NET connector in near future. The emphasis is on web services. This is a great move. We can simply drop using the .NET connector and start using the web services. However, I have a few doubts:
1. RFCs and BAPIs are automatically exposed for remoting. When the customer installs our application, it just works out of the box. Customers do not have to make any configuration changes to SAP to expose RFCs and BAPIs.
In the new world, are all RFCs and BAPIs automatically exposed as web services or one has to go through each RFC/BAPI and expose it explicitly?
2. Is there a comprehensive WSDL schema available anywhere for all the RFCs/BAPIs?
3. Are there any other web services (besides RFCs/BAPIs) that SAP Netweaver exposes? Where can I get more information?
Thank you in advance for your help.
Regards,
PradeepDarryl,
Thank you for your help or at least trying to help me. However, you left me with more questions than answers:-(.
1. "Old" does not mean "bad." Each RFC/BAPI serves a specific function. If some RFC is being obsoleted, there must be a replacement documented somewhere. Is there one?
2. I can look into SE80 (and other transactions) to see what is exposed. However, what I need to understand is what is SAP's stance on exposing standard web services.
Can others please share your thoughts?
Regards,
Pradeep -
Diff b/w netweaver platform and exchange infrastructure.
Dear SDNers,
I am new to net weaver.first of all what is the diff b/w netweaver platform and exchange infrastructure.
i want to learn more about net weaver.if anybody give me the links, i would be grateful to them.
reward sure...
Senthil kumarHi
N/W is a set of new dimensional products that SAP uses for Integration of different Business entities like the "People" , "Information" and "Process"
XI is part of the Process Integration layer.
Regards
krishna -
What is the diffrence between BAPI and RFC and business object
Hi Experts,
Can anybody tel me what is the diffrence between RFC and BAPI , and also what is ther relation with business object?
Thanx in advance.
Nilesh HiwaleHi,
BAPI's are associated with Business Objects and also they are RFC enabled.
But RFC's are the FM's which can be called from external systems, those FM's can be used in many places based on the applications..
Check these Links
whats the difference between BAPI and RFC??
Diff. Between BAPI and RFC
Regards
Kiran -
Monitoring of remote system's Transactional RFC and Queued RFC
Hello,
In our production system, in rz20- CCMS monitor templates- Communication-Transactional RFC and Queued RFc- outbound queues- Queues otherwise not monitored we can see blocked queues for each client.
System is connected to solution manager and we wish the central auto reaction is implemented in solution manager
However i am unable to find Transactional RFC and Queued RFC for the remote system, they exist only for solution manager itself
Tell me how can i do the central monitoringHello,
First you need to check with your Landscape in solman in order to monitor any kind of activities to do so pls follow these steps.
Go to SMSY in solman under Landscape components>Product systemsselect you satellite system example SAP ECC.
On the main screen you will find client for which you have generated RFC connection. Please check though connection are working fine, Go to edit mode and try to click on generate button there will be a pop-up, which gives a clear picture of RFC connection which already exists, and you can also re-generate this RFC connection by clean it up when you re-generate pls select under Actions after generation assign RFC dest for system monitoring.
But make sure there is no project impact on this RFC, like they are not using any logical components and already have some projects running on this RFC connection.
I would advise you to first you the option of assign and check RFC button which is next to generate icon.
Regards
JUDE -
Among the Netweaver XI and the Enterprise Portal.
Hi,
I am new to the Netweaver Technology and would like to know the following.
1. Which among the both i.e. Netweaver XI and the Enterprise Portal is better in terms of fetching the job and making a bettre career in it.?
2. Also which one is more in Demnad within and outside India ?
Any other Information on these topics would definitely help.
Regards,
Deepak.Hi Deepak,
I agree with Subbarao. If u have gud command on ABAP then go for XI.And if u r technically sound in JAVA then go for EP which comprises of Knowledge Management and collaboration, portal and webdynpro.Both have gud value in the market right now.
For learning material in EP plz go through the below mentioned threads:
Re:basic material for development of portal application in NWDS
Beginner to Portal
Regards
Priya
plz reward point if this helps -
File to RFC, and through RFC response i am trying to trigger the Mail adapt
Hi All,
Right now i am doing File to RFC, its working fine but now the requirement is when xi connect to ftp and picks the file need to send one success mail after the file pickup and data sent to BW system again i need to send one mail and also error alerts to inbox.
Till now i am not using BPM, can we do this without BPM pls let me know
now i am trying to achieve this in File to RFC, and through RFC response i am trying to trigger the Mail adapter.
or else i need use only BPM pls share the steps which i need to be configure.
Am i correct or pls suggest me some idea to achive this and also pls share some smaple ones in BPM .
Thanks in advance
VenkatWith BPm, follow this:
/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit
Instead of receiving the response in file, use mail adapter
Regards,
Prateek -
Hello......is it necessary to have RFC and Logical system name for the connected system to be identical?Is there any explanation behind this if thats true....
Hi Gaurav,
It is recommended, but not mandatory, right, Muthuraman?
The system uses some transactions to determine which RFC will be used for the communication between one system and another, for example, in transaction 'Define backend systems' in SPRO, you can define that the current SRM client has an ECC backend system named X and the RFC destination for this X system is Y (not necessarily the same name).
Regards, -
Difference between NetWeaver 2004 and NetWeaver 7.0 or 7.1
I am little confused and curious to know the recent changes happening in SAP.
Can you please tell me the differences between NetWeaver 2004 and NetWeaver 7.0 or 7.1
NetWeaver 2004 is named because SAP has released it in 2004
and then we have XI 3.0, XI.7.0(that is PI right) , EP6.0 etc as individual components have different versions released in NewtWeaver suite.
But what is this NetWeaver 7.0.
We have EE5 or ECC6 and WebAs 6.4 or GUI 6.4 or recently GUI 7.o or WebAs 7.0.
How does all these differe, is individual component of NetWeaver upgraded with higher versions or total NetWever is upgraded with a higher version.
Can any one please tell me the exact difference between versions.
If some one has ECC6 installed in their environment does it mean that they have Netwaver components like XI, EP, MDM.. etc are installed or its only R/3, BI etc...
How it works exactly?
Thanks,
Kiran.Pretty much everything is explained in here:
<a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/706005a3-3bd6-2910-91ae-a2016239bdcf">SAP NetWeaver Process Integration 7.1 Overview of New Capabilities</a>
I think there's a weblog with a concise list somewhere, but I dont have the link saved.
Hope that helps.
James. -
How to enable RFC and how to use it in Report..please tell its very urgent
Dear Techie's,
Please tell its very urgent..
How to enable RFC and how to use it in Report. ??
Virendrahi,
pls chk any of these links.
http://help.sap.com/saphelp_46c/helpdata/en/9b/417f07ee2211d1ad14080009b0fb56/frameset.htm
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
Checkout !!
http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
http://techrepublic.com.com/5100-6329-1051160.html#
http://www.sap-img.com/bapi.htm
http://www.sap-img.com/abap/bapi-conventions.htm
http://www.sappoint.com/abap/bapiintro.pdf
http://www.sapgenie.com/abap/bapi/example.htm
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
rgds
Anver -
Exception handling in rfcs and bapis
exception handling in rfcs and bapis
Hi Jayakrishna,
In General , there are non execptions in BAPIs, because of the reason, that the exception raised in a SAP envoronment may not mean anything for a non SAP initiator. All the exception situations would only fill the return table(TYpe BAPIRET2 or something like that). If you read that table after the call to the bapi, you can understand what has gone wrong.
Regards,
Ravi
Maybe you are looking for
-
Photoshop CS6 performance on new Macbook Pro Retina Late 2013
Hi guys, Just bought the new 13" Macbook Pro Retina Late 2013 with 8GB RAM and 256SSD. Installed CS6 with all patches and retina update but performance is appaling. Im editing a Nikon D800 file which I know is heavy, but when zoomed in at 100% and us
-
Need exit to add new fields for Vendor master creation
Hi All, I have to add a new screen with some fields in Vendor master (Xk01) creation. Can any one suggest me any screen exit / user exit through which I can add these fields. Please explain the procedure to add the fields through exit.
-
I am trying to accept the new terms and conditions on itunes but everytime I click agree it makes me do it over and over again and it wont let me buy music what is wrong?
-
heyy recently iv tryed to create a new slidedshow on iphoto but when i try to add my own music it wont populate my itunes. iv just updated to lion. and i use a sonos system which i think might be part of the problem, but i have no clue what is actual
-
Using Database Configuration Assistant
hi i m using Database Configuration Assistant in Windows2000....when i try to create a new template using the structure of a current running database(ORCL)...i m having a problem....it asks for a DBA usernam,e and password and Service name to connect