Author |
Message
|
matuwe |
Posted: Fri Aug 17, 2012 12:57 am Post subject: SAP Input Adapter - RFC |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Hi
I am trying to use SAP Input node. I have created my adapter and set the program ID to getDataRFC. On the SAP Gateway it does show that the programeid is registered.
My question now is, Does it mean from SAP when they need to call broker they have to specify the programeID as the RFC name?
Currently they are using another name(ZSD_INT_GET_SOURCE_DATA ), I can see on the syslog they are hitting my server and I am getting an error.
Code: |
Aug 17 10:29:44 jhb-ibmstest WebSphere Broker v8000[25443]: (INT.TESTSAP)[6]BIP3455E: Adapter input node 'SAP Input' in message flow 'TestAdapter' encountered an error when trying to determine the operation name. : INT.7697d129-3901-0000-0080-d08b9d413715: MbErrorHandler.java: 146: getMethodName: :
Aug 17 10:29:44 jhb-ibmstest WebSphere Broker v8000[25443]: (INT.TESTSAP)[6]BIP3450E: An adapter error occurred during the processing of a message. The adapter error message is 'Business object definition for 'SapZsdIntGetSourceDataWrapper' in namespace 'http://www.ibm.com/xmlns/prod/websphere/j2ca/sap/sapzsdintgetsourcedatawrapper' not found.. The adapter has not been configured for the BAPI ZSD_INT_GET_SOURCE_DATA '. :INT.7697d129-3901-0000-0080-d08b9d413715: MbErrorHandler.java: 310: throwableToMbException: :
Aug 17 10:29:44 jhb-ibmstest WebSphere Broker v8000[25443]: (INT.TESTSAP)[6]BIP3453E: Adapter input node 'TestAdapter' failed to process an event called 'SapZsdIntGetSourceDataWrapper' from adapter component 'SAPAdapter_Input.inadapter'. : INT.7697d129-3901-0000-0080-d08b9d413715: /build/S000_P/src/DataFlowEngine/NativeTrace/ImbNativeTrace.cpp: 717: MbAdapterInputNode.failureProcessing: :
|
|
|
Back to top |
|
 |
fjb_saper |
Posted: Fri Aug 17, 2012 1:40 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
No the name they are hitting is the one defined in SAP.
The definition is multistage but eventually the port links to the port defined to the application server for your registered connection.
Typically in a multi-server environment, the registered outbound connection is defined to a specific server and locked in SAP to that server. So all RFC's to that destination are attempted against the server with the registered connection...
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
matuwe |
Posted: Fri Aug 17, 2012 2:02 am Post subject: |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Hi
So sorry , I am a little confused...
So the RFC name ZSD_INT_GET_SOURCE_DATA do I need to define it somewhere on my flow, adapter, or SAP InputNode--properties..
It looks like the error above expect the RFC name or operation name to exist on the message broker...
We are not using multi server environment.  |
|
Back to top |
|
 |
marko.pitkanen |
Posted: Fri Aug 17, 2012 6:28 am Post subject: |
|
|
 Chevalier
Joined: 23 Jul 2008 Posts: 440 Location: Jamsa, Finland
|
Hi matuwe,
Did you use wizard in the toolkit to fetch message definiton and to create adapter instance for the particular rfc -call? Did you use particular adapter instance in your flow?
--
Marko |
|
Back to top |
|
 |
matuwe |
Posted: Fri Aug 17, 2012 8:34 am Post subject: |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Hi
I used the wizard to create my adapter, on the list of RFC it didn't show so I selected SAP INTERFACE name BAPI, the first RFC Name on the list to be able to continue.. then on the next screen we select retrieve and
operation name selected retrieve
namespace http://www.ibm.com/xmlns/prod/websphere/j2ca/sap
synchonous rfc
next page
operation name changed it to ZSD_INT_GET_SOURCE_DATA |
|
Back to top |
|
 |
marko.pitkanen |
Posted: Fri Aug 17, 2012 10:20 am Post subject: |
|
|
 Chevalier
Joined: 23 Jul 2008 Posts: 440 Location: Jamsa, Finland
|
I'm not sure if you should change operation names manually. I think you should spend some time with wizard and use filter to find used function / operation / IDoc from the SAP's repository and use it to generate adapter and message definiton.
--
Marko |
|
Back to top |
|
 |
fjb_saper |
Posted: Sat Aug 18, 2012 7:36 am Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
When you create the adapter you need to download the metadata for the RFC call from the SAP server... If you fail to do that, your SAP RFC call to the adapter will most likely fail...
Do not change the name on the call as you will not have the corresponding metadata. Make sure you download the metadata for the call you expect to service.
Have fun  _________________ MQ & Broker admin |
|
Back to top |
|
 |
matuwe |
Posted: Mon Aug 20, 2012 12:43 am Post subject: |
|
|
 Master
Joined: 05 Dec 2007 Posts: 296
|
Hi
When creating the adapter , while selecting the RFC, the RFC that I am looking for is not on the list... Is there anything the SAP Admin needs to do to have the RFC listed on my options... the filters button is disabled.... All I can see id /ISDFPF/ALE *******
On SAP interface I selected BAPI and gthe two options I had was RFC or BOR.
Thanks |
|
Back to top |
|
 |
smdavies99 |
Posted: Mon Aug 20, 2012 3:18 am Post subject: |
|
|
 Jedi Council
Joined: 10 Feb 2003 Posts: 6076 Location: Somewhere over the Rainbow this side of Never-never land.
|
I've been frustrated by this in the past. The BAPI is there but SAP keeps hiding it until you can give it the right search name.
I've even had occurrences where specifying the name in full still returned no results.
So I resorted to creating a text file with the search strings that 'worked'. Thankfully I no longer have to work with the beast.
Remember the golden rule about SAP.
It lies to you. It does not want to give up its secrets that easily.
'Ve have ways of not telling you anything' (said with a german accent) _________________ WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995
Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions. |
|
Back to top |
|
 |
mb01mqbrkrs |
Posted: Mon Aug 20, 2012 4:08 am Post subject: |
|
|
Apprentice
Joined: 18 Nov 2011 Posts: 48
|
Pretty basic, I know...but make sure the function is "Remote RFC" enabled in SAP. |
|
Back to top |
|
 |
|