cancel
Showing results for 
Search instead for 
Did you mean: 

SAP RFC connection to Vertex

Former Member
0 Kudos

Hi All,

We are facing a problem in getting RFC connection to the Vertex from SAP. We have set up Vertex and we want to make a physical connection through RFC but we are facing erros when we test the RFC connection. Can any one please let me know how to establish the RFC connection between VErtex and SAP. Please provide me the Values for all the field in SM59.

These are the values that we are maintaining :

Connection Type : TCP/IP Connection

Activation type : Start on Application Server

Program : /SAPVERTEX/translink/verrfc.csh.sh

Start type of External Program : Default Gateway Value

Please let me know if these are wrong and let me know what are the values that I want to change

I got a document and I followed the below steps but still we are getting errors and please let me know the solution.

Communications between R/3 and a sales/use tax package are established using SAP RFC (Remote Function Calls). You must create an RFC destination that specifies the type of communication and the directory path in which the tax package executable or shell scripts program is installed. You must set up the RFC destination as a TCP/IP communication protocol. The destination name is user defined.

IMG Path: Financial accounting>Financial accounting global settings>Taxes on sales/purchases>Basic settings>External tax calculation>Define physical destination

1. Choose Execute.

2. Choose Create.

3. Select and input a logical name for the RFC Destination, for example, u201CSABRIXu201D or u201CTAXWAREu201D or u201CVERTEXu201D

4. Under Connection type enter T.

5. Enter a short description text.

6. Choose Enter.

7. Define the directory path.

This is the directory path in which the tax package executable or shell script program is installed.

There are two recommended methods to define the directory path:

u2022 SAP and Tax Software Package reside on the same server

If R/3 and the external tax package are to reside on the same server, click Application Server to select as the program location. In the field Program, the external tax packageu2019s executable or shell script program, along with the directory path in which it was installed, must be specified. Click Save.

u2022 SAP and Tax Software Package reside on different servers

If R/3 and the external tax package were to reside on different servers, then this would be an explicit communication setup. Click Explicit host. In the field Program, input the external tax packageu2019s executable or shell script program along with the directory path in which it was installed. In the field Target Host, enter the host name of the server where the external tax package resides. Click Save.

8. If necessary, set up the correct SAP gateway host and gateway service. This setup is frequently an area of concern. An understanding of the directory path is of utmost importance. SAP Labs, Inc. u2013 Tax Interface Group 12

R/3 Tax Interface Configuration Guide Release 4.6x

2. Test the connection

To test the connection between R/3 and the external tax system, choose the Test connection button in the upper left-hand corner of the screen.

If any error occurs, verify that:

1. The connection type is TCP/IP.

2. Program location and host name are correctly specified.

3. The directory path and the name of the executable program are correct.

4. The gateway host and service name is correctly specified

5. The external tax package has been installed correctly and is the correct version.

6. The external tax packageu2019s API for the R/3 tax interface is installed correctly and is the correct version.

7. The R/3 RFC libraries are the correct version.

8. The correct permissions are set for the user account.

9. The user has read/write authority.

If this test fails, halt the installation! This test must be successful in order for R/3 to communicate with the external tax package.

If the connection is successful, also verify that the external tax package installed supports the R/3 4.6 version of the API. You do that by going to:

System Information􀃆Function List

Check if the following functions are listed:

u2022 RFC_CALCULATE_TAXES_DOC

u2022 RFC_UPDATE_TAXES_DOC

u2022 RFC_FORCE_TAXES_DOC

u2022 RFC_DETERMINE_JURISDICTION

If one ore more of these functions are missing please contact your external tax system vendor for their latest version. Please note: as Sabrix has been certified as an external tax vendor for releases 4.6C and higher, they do not list these functions explicitly in the RFC Function List!

Thaks and Regards,

Ramesh.

Accepted Solutions (0)

Answers (1)

Answers (1)

markus_doehr2
Active Contributor
0 Kudos

We are facing a problem in getting RFC connection to the Vertex from SAP. We have set up Vertex and we want to make a physical connection through RFC but we are facing erros when we test the RFC connection.

If you would have given us the error message it´s much more likely that we would be able to suggest something. A wrong RFC configuration can lead to a hundred different errors so giving the exact error message really speeds up things

Markus

Former Member
0 Kudos

hi,

these are the errors.

Logon Cancel

Error Details timeout during allocate / CPIC-CALL: 'ThSAPCMRCV' : cmRc=20 thRc=456 Timeout dur

Error Details ERROR: timeout during allocate

Error Details LOCATION: SAP-Gateway on host zepsapd1.zep.asproot.com / sapgw00

Error Details DETAIL: no connect of TP verrfc.csh.sh from host zepsapd1 after 60 sec

Error Details COMPONENT: SAP-Gateway

Error Details COUNTER: 2246

Error Details MODULE: gwr3cpic.c

Error Details LINE: 6178

Error Details RETURN CODE: 242

Error Details SUBRC: 0

Error Details RELEASE: 700

Error Details TIME: Thu Jul 10 10:04:41 2008

Error Details VERSION: 2

Please let me know for any more information.

thanks and Regards,

Ramesh.

markus_doehr2
Active Contributor
0 Kudos

> Error Details ERROR: timeout during allocate

> Error Details LOCATION: SAP-Gateway on host zepsapd1.zep.asproot.com / sapgw00

> Error Details DETAIL: no connect of TP verrfc.csh.sh from host zepsapd1 after 60 sec

System zepsapd1 is trying to execute a script verrfc.csh.sh - is that script in the given directory? How is your RFC configured?

Markus

Former Member
0 Kudos

Hi Ramesh,

my experience is that even the higher level gateway trace does not provide much information about what's happeneing on Vertex side. Only the fact that the Vertex program could not been started on server side.

I suggest you to do the following.

Check if the vertex prograg is started at all. You can do this by installing the process explorer (in case of a Windows program. AFAIK it is free and easy to install). If you see that the vertex will be started on server side you have to set the RFC trace on

Vertex side by setting the environment variables RFC_TRACE=2 and RFC_TRACE_DIR=<path> and reproduce the problem.

If this was successful you will get some RFC traces like rfcxxxxx_yyyyy.trc (xxxxx stands for the process and yyyyy stands for the thread ID of the operating system). You have to check these traces.

br,

Endre