Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Urgent - STARTRFC

Former Member
0 Kudos

i have an RFC where it updates a table using a message passed by UNIX.

startrfc -3 -d D47 -u USERNAME -p PASSWORD -c 010 -l EN -h r1p1 -s 00 -x sapgw00 -F RFC_NAME -E Parameter

sy-subrc will be 0 so it tells this is successfully executed but it is not updating the table.

Please let me know why it is not triggering the FM else anything is being missed out in the command.

The command to do is STARTRFC, but the parameter is not getting updated in the table.

can anyone help on this issue?, It is very urgent and require earliest response.

2 REPLIES 2

Former Member
0 Kudos

I am not sure if this works but please give a try:

try repeating the unix command(after you give the initial command) but giving the RFC name as BAPI_TRANSACTION_COMMIT then check for the values.

Former Member
0 Kudos

Hi Please note that the language should be E not EN and make the changes according tothis.

bin\startrfc -3 -d DEV -u UNAME -p PASSWORD -c 400 -l E -h devsys -s 00 -g devsys -x sapgw00 -F EDI_DATA_INCOMING -E PATHNAME:
devsys\sapmnt\dev\sys\global\ORDERS.app -E PORT=DEV400ORDI

where

3 no value

d SAP System ID, the value can be found via transaction 'SM51'. The name consists of a field split into 3 by underscores, the second part is the SAP System ID.

u User ID (online user) which is to be used. Enter the name in upper case.

p Password of the user after the -u flag. Enter the password in upper case.

c The client of the SAP system. This is the same value which is put into the field 'MANDT' in the control record (EDI_DC).

l The language to be used for log-on, for example E for English.

h Application server, The value of which can be found via transaction 'SM51'. The name consists of a field split into 3 by underscores, the first part is the application server. Notice the lower case.

s 2-character system ID, the value of which is found via transaction 'SM51'. The name consists of a field split into 3 by underscores, the third part is the system ID.

g Gateway Service machine, the value of which is found via transaction 'SE38'. Enter the program 'RSPARAM' and press 'Execute'. Search with 'rdisp/g' via the menu System -> List -> Search for.... A double-click on the first line takes you into the parameter list. The Gateway Service machine can be found in the line 'rdisp/gateway'. Notice the lower case.

x Gateway Service, the value of which can be found via transaction 'SE38'. Enter the program 'RSPARAM' and press 'Execute'. Search with 'rdisp/g' via the Menu System -> List -> Search for... . A double-click on the first line takes you into the parameter list. You find the Gateway Service in the line 'rdisp/gw_service'. Notice the lower case.

t No value, switches the trace which is written into the current directory on.

F Value 'EDI_DATA_INCOMING' for the inbound processing, Value 'EDI_STATUS_INCOMING' for the status processing.

E Value 'PATHNAME=<pathfile>', where <pathfile> is the path and file name of the intermediate document file (inbound) or status file.

E Value 'PORT=<EDI Subsystem>', where <EDI-Subsystem> is the port from the port definition.

Satish