Error calling "RfcRegisterServer" with NW or SAP-RFC
Hello,
with our customer upgrading to the EHP 7.0 we run into an erroro while calling the function "RfcRegisterServer"
with SAP-NetWeaver:
Contents of structure “RFC_ERROR_INFO“:
code = 1
message = (0x0A)ERROR service '?' unknown(0x0A)(0x0A)TIME Thu Apr 10 15:24:30 2014(0x0A)RELEASE 711( 0x0A)COMPONENT NI (network interface)(0x0A)VERSION 39(0x0A)RC -3(0x0A)DETAIL NiErrSet(0x0A)COUNTER 120(0x0A)
key = RFC_COMMUNICATION_FAILURE
group = 4
abapMsgNumber =
abapMsgClass =
abapMsgType =
abapMsgV1 =
abapMsgV2 =
abapMsgV3 =
abapMsgV4 =
Function “RfcWaitForRequest“ with classical SAP-RFC:
Contents of structure “RFC_ERROR_INFO_EX“:
key = RFC_ERROR_COMMUNICATION
message = CPIC-CALL: 'SAP_CMACCPTP : rc=20(0x0A)(0x0A)LOCATION SAP-Gateway on host dehensv233.de.henkelgroup.net / sapgw92(0x0A)ERROR registration of tp master.down.wtr from host(0x0A) dewtdbtec03.de.henkelgroup.net not allowed(0x0A)(0x0A)TIME Thu Apr 10 14:33:45 2014(0x0A)RELEASE 740(0x0A)COMPONENT SAP-Gateway(0x0A)VERSION 2(0x0A)RC 720(0x0A)MODULE /bas/740_REL/src/krn/si/gw/gwxxrd.c(0x0A)LINE 3536(0x0A)COUNTER 880458233(0x0A)
Any thoughts of how we can fix this issue?
With king regards.
Hi Jan,
Please go through SAP Note "1850230 - GW: "Registration of tp <program ID> not allowed" and try to again rerun this step where you are getting error.
Regards,
Jitendra
Similar Messages
-
How list idoc / BTCI with a script (sap::rfc) ?
Hello,
as a beginner in SAP,
I'm looking to find a way to list idoc with a perl ( or a php or a VB) script
equivalent to a WE05 transaction and also for the BTCI transaction.
Thank youIt sounds like he has only worked with RESTful interfaces and doesn't remember when the world mostly worked with GET and POST. RESTful interfaces also support PUT, DELETE, and I think some other thing I forget at the moment. Mainly, he just needs to educate himself about how basic form/html sends work and have worked since like the 90's, but here are some things that might help you and him speak to each other.
Flash isn't really able to use anything but GET and POST, so basically it sounds like you just need to tell him "POST" for command type.
Flash can't send headers, so those aren't applicable. If he wants to use an encoding type, he can send "multipart/form-data", though I don't think the back-end cares one way or another about that.
Tell him to send just individual POST variables, and that you're not looking for JSON or anything fancy like that.
If you're not trying to leverage existing back-end code and want to meet him halfway, do a web search on writing RESTful web services in your language of choice. But honestly this is basic stuff he should have learned BEFORE he learned to just call web services. You may also find that the Dreamweaver forum can give you better answers about how to learn to write web services if that's what you want to do. -
RFC Sender Adapter error " Call to messaging failed"
Hi,
I have been trying the RFC-> XI->File scenario.When I execute RFC using se37 transaction
on R/3 box,it gives the error " Call to messaging failed:
com.sap.aii.af.ra.ms.api.DeliveryException".
I have looked at msg in XI server using SXMB_Moni transaction.I found that,program is unable
to find the interface mapping function (Mapping between RFC and Inbound interface).
I have done the following settings:
For Sender :
1.RFC is being used as outbound Interface.
2.Imported RFC from R/3.
3. The R/3 functionality is to retrieve records.
For Receiver:
1.Defined Inbound ,Async. Interface.
2.Defined Data Type and Msg type
3.Defined Fault Message type
Mappings:
1. Message Mapping is defined for Inbound Message(From RFC) and Outbound Message
2. Source Interface(ZRFC) and target Interface(Inbound Interface) mapping is defined.In this mapping I am unbale to defined Mapping for Response and Fault.I have just deifned for Request as tabs are not gettting enabled after click of 'Read Interface'.
All necessary configurations have been done in Intergration Directory.
I am getting XML message at receiver at without data where rfc retireves two records.Why this is not being done?
As there is no mapping for Fault message of Inbound interface with RFC interface,I think mapping no found error is coming.
PS. I have not done the message mapping between ZRFC.Response and Inbound Message.
Please comment,where I have gone wrong.
Thanks & Regards,
HImanshuHi,
I don't know if the info below will solve your problem. Your scenario is an asynch scenario, therefore, the RFC must be executed as a qRFC. SE37 executes the RFC as synch.
To execute the RFC as asynch, you must tested with a report (se38):
The RFC must be executed as a qRFC.
data: DEST LIKE RFCDES-RFCDEST VALUE 'MY_RFC_DEST'.
CALL RFC
IN BACKGROUND TASK
DESTINATION DEST
EXPORTING
COMMIT WORK.
The COMMIT WORK is required to send the RFC.
Regards,
Bill -
Where may I download package for JAVA call SAP RFC
Hi all,
I need to call a RFC in a JAVA based system. I found I need to install two package before I call, such as:
import com.sap.rfc.*;
import com.sap.rfc.exception.*;
import com.ibm.sap.bapi.*;
import com.ibm.sap.bapi.generated.*;
where can I download these 2 package?
Thanks a lot in advance.
NedHai ,
im telling in Eclipse ..
Take a look to see that those packages are listed in the plug-ins under
Windows > Preferences > Target Platform. This should point to an Ecilpse
installation which should have most of those packages.
You will need to install GEF separately. It does not come with Eclpse. Go
to http://www.eclipse.org/gef/ and click on Downloads.
Regards ,
Venkat -
OLE with c# for SAP AL - Error calling application via OLE GUIScanDoc
Hi,
I am creating a small scanning application which should be accessible from SAP. I read the documents from SAP side which says, we need to create an OLE 2.0 Enabled application. I created an OCX application in vb6 and configured with SAP. the call is going to my ocx application but dont know how to implement "GUIScanDoc @AID,N" in my application. I tried to create a function named GUIScanDoc () in ocx but getting the same error stating *"Error calling application via OLE GUIScanDoc".
If anyone has solution then plz plz help me out.
Thanks in advance.
P. Ramesh
Edited by: rapr04 on May 22, 2011 2:37 PMI think you posted this in the wrong section of the forums, this area is just for SDK's relating to the BusinessObjects products.
-
To upload a data into SAP Table with the help of RFC function in BODS
Hi,
Please provide me step-by-step solution to upload data into any SAP table with the help of RFC function in Data Services.
I have created RFC function that upload data into SAP table. RFC Function contains one table that has same structure as my database table.
In the data services how can i filled the table of RFC function, i am using this function in query transform of data services but it gives me error.
I am also follow link http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsDataServicesTipsand+Tricks
but it did not help me.
Thanks,
AbhishekHi Abhishek,
Did you import the function module in the SAP datastore first? When you open the SAP datastore, the function should be listed in the 'functions' section. If not, import it. Make sure your function is remote executable.
Once the function is there, you can use it in a transformation. In 'Schema Out' right-click on 'Query' (top level) and choose 'New Function Call'. You can then select a datastore and a function in the datastore. The wizard will show you which output parameters are available. I believe you have to add at least one and can select as many as you like.
After confirming your selection the function and the output parameters appear in Schema Out. You can then right-click on the function and choose 'Modify function call'. A popup will appear where you can specify the input parameters.
I hope this helps.
Jan. -
Create SAP RFC iView with a structure as import parameter
Hello All,
I'm creating a SAP RFC iView from Portal SAP 7.4.
I try call a RFC that have as import parameter a structure with various fields, but the portal recognizes the structure as string field, then I cannot fill the fields values, and when I do a preview the iview, the following error occurs:
Function execution failed. Exception message: class java.lang.String:null incompatible with class com.sapportals.connectors.SAPCFConnector.execution.structures.RecordWrapper:sap.com/[email protected]MultiParentClassLoader@80d4ed6@alive
And only is possible select a output object.
Exists any way of receive a structure or a table as import parameter?, and as output parameters more of a element?
Thanks for your collaboration.Hello All,
I'm creating a SAP RFC iView from Portal SAP 7.4.
I try call a RFC that have as import parameter a structure with various fields, but the portal recognizes the structure as string field, then I cannot fill the fields values, and when I do a preview the iview, the following error occurs:
Function execution failed. Exception message: class java.lang.String:null incompatible with class com.sapportals.connectors.SAPCFConnector.execution.structures.RecordWrapper:sap.com/[email protected]MultiParentClassLoader@80d4ed6@alive
And only is possible select a output object.
Exists any way of receive a structure or a table as import parameter?, and as output parameters more of a element?
Thanks for your collaboration. -
Hi All,
I am getting error while executing oDATA service from SAP Netweaver Gateway
Error details:
RFC call ended with "Communication Failure" exception (Function call failed; could not find the function
I am using SAP NG 740
Project is created in Gateway system using SEGW having Map to Datasource option used.
in SPRO manage alias, I had seleted Local App option. Screen attached
I had tried all troubleshooting like delete and add service and alias in "/IWFND_MAINT_SERVICE".
but still getting same error for all service.
Kindly advise.
Regards
VivekHello Vivek,
Service builder would have also generated code for RFC Exception handling to catch exceptions raised when communication fails between your GW and BE for some reasons.
Handling is done for 1. System Failure 2. Communication Failure & 3. Business Failure;
Put a BP in your DPC or DP_EXT class where exception code is written to check what exactly is has caused communication failure.
Check if that RFC is existing in that destination or not.
For your reference : Code would be something like this. Put BP here and check the problem.
* Error and exception handling
IF lv_subrc <> 0.
* Execute the RFC exception handling process
me->/iwbep/if_sb_dpc_comm_services~rfc_exception_handling(
EXPORTING
iv_subrc = lv_subrc
iv_exp_message_text = lv_exc_msg ).
ENDIF.
Go inside this method and check to get info on what has to be done to resolve issue.
Check carefully what has gone wrong and fix it accordingly.
No need of adding service & deleting as problem is not because of that.
Regards,
Ashwin -
PowerBuilder call sap rfc.
Hi gurus,
Does anybody tell could PoverBuilder call SAP R/3 FRC? If can, how to call? It's nice if show some code for connect SAP and call one RFC.
Thanks a lot!Hi,
Here is a code, which will help u. Analyse this and use the same.
//Declaration
String ls_app_server, ls_client_id, ls_user_name, ls_user_pass, &
ls_sap_system, ls_appl_lang, ls_sys_num
boolean lb_success = false
integer li_rc
SetPointer(HourGlass!)
dw_1.AcceptText()
// Get Application Server Name
ls_app_server = trim(dw_1.Object.app_server[1])
If IsNull(ls_app_server) or Len(ls_app_server) <= 0 Then
MessageBox("Application Server", "Application Server cannot be blank.")
Return
End If
// Get Client info
ls_client_id = trim(dw_1.Object.client_id[1])
If IsNull(ls_client_id) or Len(ls_client_id) <= 0 Then
MessageBox("Client", "Client Id cannot be blank.")
Return
End If
// Get User Name
ls_user_name = trim(dw_1.Object.user_name[1])
If IsNull(ls_user_name) or Len(ls_user_name) <= 0 Then
MessageBox("User Name", "User Name cannot be blank.")
Return
End If
// Get User Password
ls_user_pass = trim(dw_1.Object.user_pass[1])
If IsNull(ls_user_pass) or Len(ls_user_pass) <= 0 Then
MessageBox("Password", "Password cannot be blank.")
Return
End If
// Get System number
ls_sys_num = trim(dw_1.Object.sys_num[1])
If IsNull(ls_sys_num) or Len(ls_sys_num) <= 0 Then
MessageBox("System Number", "System Number cannot be blank.")
Return
End If
// Create the Sap Connection Object
If Not IsValid(iole_SapConnection) Then
iole_SapConnection = Create OLEObject
// li_rc = iole_SapConnection.ConnectToNewObject("sap.bapi.1")
li_rc = iole_SapConnection.ConnectToNewObject("sap.functions")
End If
// check return code
// -1 Invalid Call: the argument is the Object property of a control
// -2 Class name not found
// -3 Object could not be created
// -4 Could not connect to object
// -9 Other error
If li_rc < 0 Then
MessageBox("SAP Connection Failure","Unable to connect to SAP. " + &
"Please verify that SAP is installed on this machine.rn" + &
"The return code is: " + string(li_rc))
Return -1
End If
// Create the connection object
If Not isvalid(iole_connection) Then
iole_connection = CREATE OLEObject
iole_connection = iole_SapConnection.Connection()
End If
If Not IsValid(iole_connection) Then MessageBox("Error","Error")
// Assign all Sap login connection properties.
iole_connection.applicationserver = ls_app_server
//iole_connection.Destination = "DS6"
iole_connection.User = ls_user_name
iole_connection.Password = ls_user_pass
iole_connection.Client = ls_client_id
//iole_connection.system = trim(dw_1.Object.sap_system[1])
iole_connection.Language = trim(dw_1.Object.appl_lang[1])
iole_connection.systemNumber = trim(dw_1.Object.sys_num[1])
//iole_connection.AutoLogon = True
// logon now (silently)
lb_success = iole_connection.logon(0, true)
// set instance
If lb_success Then
MessageBox("Congrats","Connected with SAP and Login successful.")
Else
MessageBox("Sorry","Login fail, Please check with the SAP Administrator")
If IsValid(iole_SapConnection) Then Destroy iole_SapConnection
If IsValid(iole_connection) Then Destroy iole_connection
Return
End If
OleObject lole_sapfunc, ITAB
lole_sapfunc = Create OleObject
ITAB = Create OleObject
String ls_frdate, ls_todate
Boolean lb_function
If lb_success Then
lole_sapfunc = iole_SapConnection.Add("ZBAPI_TEST_SAL") //'ZBAPIPRACT1'
lole_sapfunc.EXPORTS("IM_FDATE").Value = '05072008'
lole_sapfunc.EXPORTS("IM_TDATE").Value = '07072008'
lb_function = lole_sapfunc.call
If lb_function Then
ITAB = lole_sapfunc.TABLES.Item("T_OUT")
long ll_row = 0
For ll_row = 1 to ITAB.RowCount()
MessageBox(string(ll_row), string(ITAB.cell(ll_row,"MATNR")))
MessageBox(string(ll_row), string(ITAB.cell(ll_row,"EXNUM")))
MessageBox(string(ll_row), string(ITAB.cell(ll_row,"SOLD_TO")))
Next
Else
MessageBox("Error","SAP Function cannot call.")
End If
End If
iole_connection.Logoff
Destroy lole_sapfunc
Destroy lole_sapfunc
Destroy ITAB -
Unknown error calling a RFC Function Module in BODI
Hi all,
I am having an issue identifying the error that my batch job in BODI is giving with regards to a RFC function module call in my query. The value returned by the standard parameter 'AL_RFC_RETCODE' are square characters ( ).
At the completion of the job, the error message 'RFC CallReceive error <Function ZCT_INDSLS_SLS_TRN_INSERT: Invalid request.. Invalid request.>.' is being output.
Correct me if I'm wrong but the parameter 'AL_RFC_RETCODE' should return standard values as per the techical manual provided to undertand any errors that might occur during a RFC FM call.
Can anyone help me on this?
Best regards,
Andrew WongHi Senthil,
I think you answered your query in your question itself
The user ID and password need to be maintained in RFC destination in SM59.
Go to SM59 and then click on test connection..if it does not ask for ID and passwoed that means correct ID and password is maintained in SM59 otherwise maintain it.
Regards,
Atish -
Dear All,
I am getting a below error while doing ehp6 installation on sybase (high availbility )
can any one help me on this..?
An error occurred while processing option SAP Business Suite 7i 2011 > Enhancement Package 6 for SAP ERP 6.0 > SAP Application Server ABAP > SAP ASE > High-Availability System > Database Instance( Last error reported by the step: System call failed. Error 2 (The system cannot find the file specified. ) in execution of system call 'CreateProcessAsUser' with parameter ( , NULL, Program Files/sapinst_instdir/BS2011/ERP606/AS-ABAP/SYB/HA/DB, &StartupInfo, &ProcessInfo), line (646) in file (d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp), stack trace: d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\ejscontroller.cpp: 181: EJSControllerImpl::executeScript() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\ejs\jsextension.hpp: 1059: CallFunctionBase::call() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\osmod\iaxxbprocess.cpp: 423: CIaOsProcess::start_impl() d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 238: CSyChildApplicationImpl::start(false) d:\depot\bas\720_rel\bc_720-2_rel\gen\optu\ntamd64\ins\sapinst\impl\src\syslib\synxcchapp.cpp: 262: CSyChildApplicationImpl::doStart() .). You can no
Regards,
Letz..Hello Mauricio.
Thanks
Two Thinks:
1.- This error appears precisely in the process of creating SAP users including you mention sidadm:
A.- Execute sapinst
B.- Installation option is chosen
SAP NetWeaver CE Production Edition
Installation Options
High-Availability System
Central Service Instance (SCS)
c.- System ID, Next and appear message error
2.- However, the user manually create sidadm, I gave the permissions you indicate, and the error message is the same
Thanks -
Hello All,
Does anyone know what this message means? All our programs using RFC to send data to another system is encountering error below. Please help.
Error in processing caused by: com.sap.aii.af.rfc.afcommunication.RfcAFWException: alternativeServiceIdentifier: party/service from channel configuration are not equal to party/service from lookup of alternativeServiceIdentifier (CPA party/service/channel ''/'ZBS_R3BACKEND2'/'CC_MQ_Rfc_Outbound', lookup of alternativeServiceIdentifier for party '', schema 'TechnicalSystem' with 'QAS#100' returned party/service of ''/'ZBS_R3BACKEND')
Regards,
AlfredHi
have u configured the Bussiness System with correct client which u r trying to connect?
check if u have imported RFC from right client.
rgds
srini -
MII BLS Trasaction calling SAP RFC call - How to pass XML document as input parameter
Hi,
1. I am very new to the SAP and SAP xMII workbench.
I have a webpage with iGrid applet embedded on it. We have multiple rows in the iGrid applet that can be selected by user.
After selecting single or multiple grid rows user clicking a 'button' on the web page.
We are using iCommand applet (ExacuteQuery] to call the BLS transaction.
Using iCommand applet on the webpage we are passing parameters to BLS Transaction.
Would like to pass on the single/ multiple selected grid row values as a XML document to BLS Transaction variable which is an Input parameter for SAP RFC call.
I am using SAP JCo Session to make the RFC call.
Any pointers will be helpful.
2. Which is a best track in SAP training courses to get formal training.
Thanks,
SenthilHi Senthil,
What version of MII (or xMII) are you working with? There are some examples of this type of transaction in the wiki which you may want to download and take a look at.
Regards, Mike
SAP Customer Experience Group - CEG -
How to consume sap xi pi web services or sap RFC with oracle 11g forms.
Dear All
how to consume sap xi pi web services or sap RFC with oracle 11g forms.
or
how to config 11g forms with sap xi....
or how to call sap xi web services in 11g forms....
or can send sample code....
Regards
smfatmi
Edited by: smfatmi on Oct 17, 2011 2:16 AM
Edited by: smfatmi on Oct 17, 2011 2:17 AMDear All
how to consume sap xi pi web services or sap RFC with oracle 11g forms.
or
how to config 11g forms with sap xi....
or how to call sap xi web services in 11g forms....
or can send sample code....
Regards
smfatmi
Edited by: smfatmi on Oct 17, 2011 2:16 AM
Edited by: smfatmi on Oct 17, 2011 2:17 AM -
C# Calling SAP RFC/Web Service Failure
Hi SAP Experts,
I am facing this problem. When an external system is calling my SAP RFC/Web Service, the external system(which is not SAP) is not getting the correct value. But when I test the RFC in SAP GUI It is working correctly. When I test between SAP server A & SAP Server B it is working correctly which is the recepient server is getting the correct value. What might cause this problem ? Urget help is needed here. Thanks.Hi Hadi,
U need to expose a custom RFC as a Web Service. This is a simple web service that returns Customer Data (from kna1) based on the Customer ID which we provide as input.
In the RFC, U have to declare an internal table (G_RET) in the tables section of the RFC.
Now, U have to test the web service, U can see a check box with NULL option beside the G_RET.
cheers,
Hema.
Maybe you are looking for
-
Why do postings to my Ovi email account bounce so frequently? This is not a one-off it happens a lot. Sometimes it works sometimes it bounces. Every time it does this I get annoyed, yet a trial "mail to self" from my ovi account comes through straigh
-
Using the Apple TV can I stream face time though to the TV the apple TV is hooked up to?
Usung the apple TV can I stream face time though to the TV the apple TV is hooked up to?
-
I've managed to get my hands on a 7200 series router at the company I work for that isn't currently being used. Just to test a few things out on pretty much. The flash memory on this router has two versions of the IOS loaded and I want to know how to
-
AME: Reject Invalid Internet Expenses
Hi, If possible, I would like to create a rule in AME that rejects all iExpenses that contain invalid project codes. We currently have cross-validation rules (in GL) that will send the erroneous reports to the sysadmin, but we would like to reject th
-
How to move a Preview digital signature?
I made a digital signature in Preview to use to sign pdfs. I did this on my Air because that has a camera (you have to take a picture of your signature). I want to move this digital signature I made on the Air to Preview on my Mac mini (where I don't