Skip to main content
Kofax

Unable to establish an RFC connection between SAP and MarkView

3018121

Question / Problem: 

This is normally happens If there have been some configuration changes on SAP system by the system admin, or could be related to an SAP system update.
And can also be related to starting the MarkView server under OS user account that doesn't have the required privileges.

When you try to establish an RFC connection between SAP and MarkView, you might get any of the errors below:

1- If you try to test the RFC connection from SAP to MarkView ( TCode: SM59 > TCP/IP Connections > MarkView > Connection Test Button ), you get the error below:

ERROR: Transaction program not registered
1.png
 

2- Also might get the error below when try to access the web inbox in MarkView.
myt_web_display_ul.GetMainDataRecords : ORA-20006: Status return of:500 Internal Server Error BAPI /5170/GET_WEB_INBOX_DATA: java.lang.NoClassDefFoundError: com/sap/conn/jco/lCoException at corn 239)
 

3- Unable to find the MarkView server registered in SAP:
Login into SAP > Run the TCode: SMGW > Select GoTo from the Menu > then Logged on Clients > Unable to find the connection below:2.png

Answer / Solution: 

1- Go to Markview Home > Administration -> Module Admin-> Gateway Admin > Click Configure BAPI connection > Check the connections details and make sure that you use the correct fully qualified host name.
 

2- Go to Markview Home > Administration -> Module Admin-> Gateway Admin > Click Configure RFC Server > Check the server details and make sure that you use the correct fully qualified host name.


3- Login into Sap > Run the TCode SM59 > TCP/IP Connections > MarkView > Check the connection details specially the ones under the Technical Settings tab.


4- Login into SAP > Run the TCode: RZ11 and check the value of the parameter below:
gw/acl_mode
If its 0 then all connections are allowed, so go to the next check point.
If its 1 it means that the connection is allowed only to a set of hostnames defined in the files below, make sure that markviewsvr01 (or your TP Name for MarkView) is one of them.
reg_info
sec_info

Note: You can get the location of these files, by running the TCode RZ11 and enter the parameters : gw/reg_info and gw/sec_info.


5- Check If the SAP server gateway name is defined correctly.
Login into MarkView server >  open the file (If Linux /etc/services , If windows C:\Windows\System32\drivers\etc\services)  and check If the SAP service entry is defined correctly in the file with the name that is shown in the screen below (Markview Home > Administration -> Module Admin-> Gateway Admin > Click Configure RFC Server)
3.png

 4.png
Also verify that the port used is not blocked by a firewall.


6- Make sure that the application server ( e.g. WebLogic and Node Manager) is started under the correct OS account and got the required permissions.

Applies to:  

Product Version
MarkView for SAP Any