SAP Knowledge Base Article - Preview

3231944 - Unknown error 902 in SM69/SM49

Symptom

Unknown error 902 occurs whenever you start an external operating system command in the transaction SM49/SM69.

The RFC and Developer traces will be updated with the information below if the trace for external programs is active in the Gateway.

  • Scenario 1

    dev_rfcXX:
    **** Trace file opened at 20220802 153620 UTC, by disp+work
    **** Versions SAP-REL 753,0,1000 RFC-VER U 3 2119750 MT-SL
    ======> CPIC-CALL: 'ThSAPOCMINIT', communication rc: CM_PRODUCT_SPECIFIC_ERROR (cmRc=20), taskhandler rc: GW_SECURITY_ERROR (thRc=676)
    Program cannot be started on the host; no authorization <- root cause
    ABAP Programm: SAPLCRFC (Transaction: SM49)
    User: USER_ABC (Client: <client_number> )
    Destination: %_TCPIP_%2 (Handle: 4, DtConId: 62E9925537BD2511E100000093A7CD41, DtConCnt: 0, ConvId: ,)
    EPP RootContextId: 0050560840551EED84CF1AA4ECFD7F0D, ConnectionId: 00000000000000000000000000000000, ConnectionCnt: 0
    EPP TransactionId: B6648AA4B45A0180E0062E937B625A50
    Error RFCIO_ERROR_SYSERROR in /bas/753_REL/src/krn/rfc/abrfcpic.c : 1780
    CPIC-CALL: 'ThSAPOCMINIT', communication rc: CM_PRODUCT_SPECIFIC_ERROR (cmRc=20), taskhandler rc: GW_SECURITY_ERROR (thRc=676)
    Program cannot be started on the host; no authorization
    DEST =%_TCPIP_%2
    HOST = <host name>
    PROG =/usr/sap/<SID>/<Instance_Number>/exe/sapxpg (Linux)
    or
    D:\usr\sap\<SID>\<Instance_Number>\exe\sapxpg.exe (Windows NT)

    dev_wXX:
    M Tue Aug  2 15:36:20:357 2022
    M
    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Gateway on host <SAPLOCALHOSTFULL> / sapgwXX
    M  *  ERROR       user < USER > is not authorized to start TP
    M  *              /usr/sap/<SID>/<Instance_Number>/exe/sapxpg on host
    M  *             <SAPLOCALHOSTFULL> (SAPLOCALHOST)
    M  *
    M  *  TIME        Tue Aug  2 15:36:20 2022
    M  *  RELEASE     753
    M  *  COMPONENT   SAP-Gateway
    M  *  VERSION     2
    M  *  RC          676
    M  *  MODULE      /bas/753_REL/src/krn/si/gw/gwr3cpic.c
    M  *  LINE        7362
    M  *  COUNTER     791356
    M  *
    M  *****************************************************************************

  • Scenario 2

    dev_rfcXX:
    **** Trace file opened at 2024XXXX XXXXXX UTC, by disp+work
    **** Versions SAP-REL 789,0,212 RFC-VER U 3 LATEST_CHANGE MT-SL
    ======> CPIC-CALL: 'ThSAPOCMINIT', communication rc: CM_PRODUCT_SPECIFIC_ERROR (cmRc=20), taskhandler rc: GW_REM_PRGM_DISABLED (thRc=732)
    You are not allowed to start remote programs
    ABAP Programm: SAPLCRFC (Transaction: SM49)
    User: USER_ABC (Client: <client_number>)
    Destination: %_TCPIP_%1 (Handle: 3, DtConId: 659B4BEA1AB87F86E10000000A7F0A47, DtConCnt: 0, ConvId: ,)
    EPP RootContextId: BD220029253E1EEEABB871A90DB766E8, ConnectionId: 00000000000000000000000000000000, ConnectionCnt: 0
    EPP TransactionId: A82CA3EB1DC701C0E00659B1C231E389
    Error RFCIO_ERROR_SYSERROR in /bas/789_REL/src/krn/rfc/abrfcpic.c : 1816
    CPIC-CALL: 'ThSAPOCMINIT', communication rc: CM_PRODUCT_SPECIFIC_ERROR (cmRc=20), taskhandler rc: GW_REM_PRGM_DISABLED (thRc=732)
    You are not allowed to start remote programs
    DEST =%_TCPIP_%1
    HOST =<host name/IP address>
    PROG =sapxpg

    dev_wXX:
    M  *****************************************************************************
    M  *
    M  *  LOCATION    SAP-Gateway on host <Local hostname> / sapgwXX
    M  *  ERROR       start remote programs is disabled (gw/rem_start=DISABLED)
    M  *
    M  *  TIME        XXX xx XX:XX:XX 2024
    M  *  RELEASE     789
    M  *  COMPONENT   SAP-Gateway
    M  *  VERSION     2
    M  *  RC          732
    M  *  MODULE      /bas/789_REL/src/krn/si/gw/gwr3cpic.c
    M  *  LINE        6704
    M  *  COUNTER     63715
    M  *
    M  *****************************************************************************
    M
    A  RFC 1800  CONVID XXX
    A   * CMRC=20 DATA=0 STATUS=0 SAPRC=732 ThSAPOCMINIT
    A  RFC> ABAP Programm: SAPLCRFC (Transaction: SM49)
    A  RFC> User: USER_ABC (Client: <client_number>)
    A  RFC> Destination: %_TCPIP_%1 (handle: 3, DtConId: XXX, DtConCnt: 0, ConvId: ,)
    L  SXPG:
    L  SXPG: Begin of ABAP Callstack
    L  SXPG: rc = Error 1007

  • Scenario 3 - Download SAP Note using SNOTE transaction = File <Note_number> is inconsistent; check the application log

    SLG1 -> 16.02.2024  15:14:16  USERNAME 2 CWB_DS_Log CWBDS SNOTE R_SCWN_NA_NT_BRWSR Dialog processing 00000000000000827546 
    BTCOPTION
    SAPXPG with parameter UNICODE was not found
    File <note_number> is inconsistent; check the application log

    dev_rfcXX
    **** Trace file opened at 20240216 150159 CET, by disp+work
    **** Versions SAP-REL 793,0,60 RFC-VER U 3 LATEST_CHANGE MT-SL
    ======> CPIC-CALL: 'ThSAPOCMINIT', communication rc: CM_DEALLOCATED_ABEND (cmRc=17), taskhandler rc: GW_CONNECT_FAILED (thRc=236)
    SAP gateway connection failed; is SAP gateway started?
    ABAP Programm: SAPLCRFC (Transaction: SM49)
    User: <username> (Client: 000)
    Destination: %_TCPIP_%2 (Handle: 4, DtConId: 65CF6EBE24241283E10000000A7FB114, DtConCnt: 0, ConvId: ,)
    EPP RootContextId: 27BB730C67301EEEB39A572CA8826B0E, ConnectionId: 00000000000000000000000000000000, ConnectionCnt: 0
    EPP TransactionId: 051F6AA783DF0150E0065CF23F076361
    Error RFCIO_ERROR_SYSERROR in /bas/793_REL/src/krn/rfc/abrfcpic.c : 1815
    CPIC-CALL: 'ThSAPOCMINIT', communication rc: CM_DEALLOCATED_ABEND (cmRc=17), taskhandler rc: GW_CONNECT_FAILED (thRc=236)
    SAP gateway connection failed; is SAP gateway started?
    DEST =%_TCPIP_%2
    HOST =<hostname>
    PROG =/usr/sap/<SID>/D00/exe/sapxpg


Read more...

Product

SAP NetWeaver Application Server for ABAP all versions

Keywords

"Unknown error 902", sapxpg, secinfo, gw/rem_start, unicode, gw/sec_info , KBA , BC-CCM-BTC-EXT , External and Logical Commands , BC-CST-GW , Gateway/CPIC , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.