Skip to Content
author's profile photo Former Member
Former Member

Urgent - STARTRFC

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.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 01:47 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Nov 18, 2005 at 01:48 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.