on 02-10-2010 11:44 AM
Hi all!
I'm connecting from SAP to MII using an RFC. I'd like the RFC to place the XML data in a folder. "Category". So I thought I'd set up a test to try and find out if everything was set up correctly. I'm running MII 12.0.
I believe the RFC connection is set up correctly on SAP. It pings the MII system without a problem. I think the IDOC listener is set up correctly on MII. I've looked at the guide a several times. I have a function module that I am calling via ABAP program. The message that I get is: JCO.Server could not create server function 'Z_Name_of_function_module'.
Here's my code to call the function module.
call function 'Z_MMC_TEST_MII'
destination 'XMX_JCO'
tables
i_table = i_lbl
return = i_bapireturn
exceptions syst_except = 1
system_failure = 2 message msg_txt
communication_failure = 3 message msg_txt.
commit work.
Any ideas on what I could have done wrong?
I've used:
http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/9f101377-0c01-0010-269f-c3ee905d5... for the coding. This may be a little old it is for 11.5.
and
How to send an IDOC from SAP R/3 Enterprise to the SAP xMII Listener
Thank you!
Michelle
And I used my ID and password on the MII side. So I'm pretty sure it is not an ID/Password problem.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I work with Michelle. The MII listener is registering itself in ECC (checked this using instructions shown below). Since the listener is registered, is this enough to know that our client properties are setup correctly? Or is it possible that our client properties may still have issues even though the listener registered itself?
Thank you!
-
Testing the Gateway Monitor
The Gateway Monitor is used to analyze and administer the SAP Gateway in SAP R/3 Enterprise. The initial screen of the gateway monitor shows all the active gateway connections on this instance. You can launch the Gateway Monitor via transaction SMGW or by choosing the following menu path Administration u2192 System Administration u2192 Monitor u2192 System Monitoring u2192 Gateway Monitor.
3.1.5 Displaying Clients Currently Logged On
You can display a list of systems that are currently logged on via Goto u2192 Logged on systems.
The problem ended up being authorization. My user id didn't have the authority it needed. When we switched it to a different user, it worked perfectly. We are still looking to find out what was different between the users, but data is moving!
Thank you all for your help!
Michelle
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Michelle,
if you have the chance use SAP tran ST01 to do an authorization trace to find out what authorizations are missing. Configure MII to use your own user, start the trace for this user in ST01 and send the IDoc. Afterwards ST01 may tell you what is exactly missing in your authorization.
Michael
Hi Michelle,
Try using this document as your guide for setting up the IDOC Listener.
[MII 12.0 to ECC 6.0 IDOC Listener|https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/bpx-community/manufacturing/how%20to%20send%20an%20idoc%20from%20sap%20ecc%20to%20the%20sap%20mii%20idoc%20listener.pdf]
A new version for 12.1 should be coming out soon.
Regards,
Mike
Edited by: Michael Appleby on Feb 12, 2010 2:57 PM
I think you need to try to narrow down where the error is.
Did you try sending an idoc using this destination? If you get a similiar error that check you client properites in MII, most likely the user or password. Did you test both of these functions in se37? Did you make sure they where activated?
Regards,
Jamie
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I have set up the Message Listener in MII, enabled it, and started it.
In SAP the connection test in SM59 works great.
There are no messages in the Netweaver log on the MII server.
I set up and sent an IDOC via POIT. I looked at the IDOC via WE02. It has a status 03. So I went to SM58. There is an error. This error is: "The meta data for IDOC type "LOIPRO01" is unavailable.".
There still aren't any messages in my MII server.
Any other suggestions? I'm open to trying anything at this point.
Thank you!
Michelle
Michelle,
to start with,
- you have set up the Message Listener in MII, enabled it and get the status running, right?
- in SAP you did a connection test in SM59 and it was ok?
Please check if there is an error in the NetWeaver Log:
- start the Netweaver Admin (http://<server>:<port>/nwa)
- open Monitoring - Logs and Traces
- show predefined view Expert
- display log file dev_rfc.trc
- scroll to bottom
Are there any error messages?
Michael
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
We can send IDocs from SAP ERP to SAP MII using standard SAP transactions such as POIT, POIM and so on or by executing function modules to create IDocs.
We can also send RFC data to SAP MII by executng it as tRFC or from standard SAP transactioons such as Control Recipe Monitor (CO53). we can execute tRFC by ABAP statement as follows:
CALL FUNCTION 'RFC_FUNCTION_MOD_NAME'
IMPORTING
PARAM1 = VAL1
PARAM2 = VAL2
TABLES
TABLE1 = TAB1
DESTINATION 'MII_RFC_DESTINATION'
IN BACKGROUND TASK.
Hope it Helps
Thanks
Rajesh.S
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
12 | |
7 | |
3 | |
2 | |
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.