System function call  'TPD_CONTRL'

HI All,
What is the work of System function call  'TPD_CONTRL'. Please suggest me how to get the all the informaion regarding any system function?
Can they dubuged also?
Regards,
Anj jain

There were several discussions before like the one SAP R/3 : System Functions.
Please check...

Similar Messages

  • Call a System Function: CALL 'XXPASS'

    Hi All,
    I would like to know more about the System Function CALL 'XXPASS' and where does it resides in ABAP any transaction we can have a look into and understand the system functions. Please do suggest me ASAP.
    Thank you.
    Best Regards, Satya

    Hi,
    you can check the functions, acessing the kernel file sapactab.h.
    best regards,
    Pedro Rosa

  • Tables used in the system function call

    Hi expert,
    I want to find out which are the tables used to extract data using system function call on SAP 3.1h system.
    here is my specification.
    I am using "AUTH_FIELD_GET_INFO" function module to get describtion of attribute
    say for example
    import parameter to this function module
    Fieldname : VIEW
    langu     : E
    and return parameters are DATEL,INTTYPE,LNG,RC,TEXT.
    where in this function module there is system funcation call which return text for fieldname pass to this function
    system function name:<b>C_DD_READ_FIELD</b>
    can any one tell me which are tables used in the above system function.
    Regards
    John.

    hi,
    goto: system-utilities- debug system
    A.
    Message was edited by: Andreas Mann

  • Please send me some good links on System Function Calls

    Hi,
    I want to know more about System Function calls. Please send me some good links on the same.
    Eg : CALL 'C_DIR_READ_NEXT'
          ID 'TYPE'   FIELD file-type
          ID 'NAME'   FIELD file-name
          ID 'LEN'    FIELD file-len
          ID 'OWNER'  FIELD file-owner
          ID 'MTIME'  FIELD file-mtime
          ID 'MODE'   FIELD file-mode
          ID 'ERRNO'  FIELD file-errno
          ID 'ERRMSG' FIELD file-errmsg.
    Rgds,
    Raghavendra.

    Hi,
    <u><b>CALL - Call a System Function:</b></u>
    <b>Note</b>
    This statement is for internal use only.
    It cannot be used in application programs.
    As of Release 6.20, you should use Kernel Methods instead of system functions.
    <b>Syntax</b>
    CALL cfunc.
    Addition:
    ... ID id1 FIELD f1 ... ID idn FIELD fn
    <b>Effect</b>
    Calls the system function cfunc. The relevant function must exist in the file sapactab.h. If you change or recreate a function, you have to compile and link the SAP kernel again. For this, you need the C source code files.
    Normally, external programs should be called by RFC with CALL FUNCTION ... DESTINATION.
    <b>Addition</b>
    ... ID id1 FIELD f1 ... ID idn FIELD fn
    <b>Effect</b>
    Passes fields to the called program by reference. With "ID id1", you specify the name of a formal parameter, and with "FIELD f1" the relevant field from the ABAP/4 program. If a formal parameter expects an internal table, the latter is passed in the form "FIELD tab[]".
    Example
    DATA RESULT(8).
    CALL 'MULTIPLY' ID 'P1'  FIELD '9999'
                    ID 'P2'  FIELD '9999'
                    ID 'RES' FIELD RESULT.
    <b>Note</b>
    With some critical C functions, the system automatically performs an authorization check. If the user does not have the appropriate authorization, a runtime error occurs. You can check the authorization with the function module AUTHORITY_CHECK_C_FUNCTION.
    <b>Exceptions</b>
    Non-Catchable Exceptions
    Cause: You do not have the authorization to call this C function.
    Runtime Error: CALL_C_FUNCTION_NO_AUTHORITY
    Cause: The system function specified is unknown.
    Runtime Error: CALL_C_FUNCTION_NOT_FOUND
    Cause: The system function SYSTEM is deactivated (in CALL 'SYSTEM')
    Runtime Error: CALL_SYSTEM_DISABLED
    Regards,
    Bhaskar

  • System Function Calls

    Hi Everyone,
    How to see all system functions in SAP ??..
    For  example:
    CALL 'RSPOAOSD'
          ID 'ID'     FIELD IDENT
          ID 'TYPE'   FIELD TST05-DTYPE
          ID 'RECTYP' FIELD 'VYL----'
          ID 'RC'     FIELD RC
          ID 'ERRMSG' FIELD ERRMSG.
    Here RSPOAOSD is a system function.I want to find the repository of all such System Functions in SAP.
    Regards,
    Rajeev.N

    Hello Rajiv,
    These are the System functions but i never try these functions.
    ABAP_CALLSTACK
    ABAP_CRC64
    ABAP_PRECOMPILED_HEADER_USAGE
    ABSTOR_TEST AB_CALL_LITL_CHECK AB_CALL_STACK_TRACE
    AB_CREATE_SAPHFILE
    AB_DELETE_ALL_MEM
    AB_DELETE_ALL_SHARED
    AB_DELETE_MEM AB_DELETE_SHARED
    AB_FIELD_CHECKWRITEADDRESS
    AB_FIELD_INFO
    AB_FRAG_VIEW_TO_ITAB
    AB_GET_CALLER AB_GET_COUNTRY
    AB_GET_CX_DATA
    AB_GET_CX_FOR_CUSTOMIZE
    AB_GET_C_PARMS
    AB_GET_DIRECTORY_DB
    AB_GET_DIRECTORY_MEM
    AB_GET_DIRECTORY_SHARED
    AB_GET_GLOBAL_FIELDS
    AB_GET_KEYS_MEM
    AB_GET_KEYS_SHARED
    AB_GET_NEXT_LEVEL_SHARED
    AB_GET_TEXT_FROM_CLUSTER
    AB_GET_VIEW_TO_ITAB AB_IMPORT_DECOMPRESS
    AB_PRINT
    AB_PROGTEXT
    AB_P_A_CALC
    AB_READTABLE_TRACE_GET AB_READTABLE_TRACE_ON
    AB_READ_TEXTPOOL
    AB_RFC_STATISTIC_TID
    AB_RFC_X_SCRAMBLE_STRING
    AB_RTM_DUMP
    AB_RTM_LOAD_FILE
    AB_SET_CODEPAGE_IN_CLUSTER
    AB_SET_CX_DATA
    AB_SET_C_PARMS
    AB_SET_PRINT_PARAMS
    AB_STRUC_INFO
    AB_STR_GET_REFCOUNT
    AB_TEST_CONV_EX
    AB_TEST_KRN
    AB_TEST_RPERF
    AB_VALIDATE_STRREFS
    AB_VALIDATE_TABREFS
    AB_WORKINGSET
    AB_WRITE_TEXTPOOL
    ADD_ENTRY_TO_RTM
    ALERTS
    ANALYSE_USERBUFFER
    APPC_HD
    ARCHIVE_JOB_DONE
    AS400_API
    AS4_FREE_STOR
    ASIAN_CHAR_WIDTH
    ATRA_DECOMPRESS
    ATRA_GET_CLOCK_INTERVAL
    ATRA_GET_STATE
    ATRA_INIT ATRA_INIT_DEFAULT
    ATRA_SET_CLOCK
    AUDIT_GET_INFO
    AUDIT_SET_INFO
    AUDIT_WRITE_ENTRY
    AUTH_CHECK_TCODE
    AUTH_CHECK_USER
    AUTH_TRACE
    AbGetXtypInfo
    BDC_CLOSE_GROUP
    BDC_DYNPRO BDC_OPEN_GROUP
    BDC_RUNNING
    BDC_START_GROUP
    BDC_TCODE
    BREAK_LINE
    BTC_CALL_KERNEL
    BUILD_DS_SPEC
    BatchDebugging
    CAL_BUFSIZE
    CAL_CHECK_FOR_HOLIDAY
    CAL_CONVERT_DATE_TO_FDATE CAL_CONVERT_FDATE_TO_DATE
    CAL_EASTERDATE
    CAL_LOAD_NEW
    CAL_SYNC
    CCMS_MONI_INFRA CCMS_MONI_SYST
    CHECKSUM
    CHECK_ACCESS_KEY
    CHECK_DEVELOPER_KEY
    CHECK_LOCALE
    CHECK_REFERENCE
    CHECK_SECRET_AUTHORITY
    CHECK_TADIR_ACCESS_FREE
    CHECK_TADIR_ACCESS_KEY
    CLOCK CONT_LOC_TIM CONVERSION_EXIT_ALPHA_INPUT
    CONVERSION_EXIT_ALPHA_OUTPUT
    COV_GET_DATA
    COV_INFO COV_MAINTAIN_TESTKEYS
    CREATE_DYNAMIC_TYPE
    CUADELETE
    CUR_LCL C_CAL_GENERATE C_CAL_GET_TIMESTAMP
    C_CHAR_CODE_CONV
    C_CVT_HOST_TO_NEUT
    C_CVT_NEUT_TO_HOST
    C_DB_EXECUTE
    C_DB_FUNCTION
    C_DD_CHECK_VAL
    C_DD_COUNT_VAL
    C_DD_HEADER
    C_DD_H_ADD_V
    C_DD_H_DEL_V
    C_DD_H_GET_V
    C_DD_H_PUR_V
    C_DD_H_PUT_V
    C_DD_READ_FIELD
    C_DIR_READ_FINISH
    C_DIR_READ_NEXT C_DIR_READ_START
    C_END_SPOOL_JOB
    C_ENQUEUE
    C_ENQ_WILDCARD
    C_FILE_ATTRIBUTES
    C_GETENV C_GET_BUFSIZE
    C_GET_CPU_ID
    C_GET_FILEPOS
    C_GET_FILESET
    C_GET_FLUSHLEVEL
    C_GET_MOD_TIME
    C_GET_PROCESS
    C_GET_ROOT
    C_GET_SWITCH
    C_GET_SYSLOG_POS
    C_GET_SYSTEM_NUMBER
    C_GET_TABLE C_GET_TASK
    C_GET_TIMEZONE
    C_GET_TRNA
    C_GET_USER
    C_GUI_SUPPORT
    C_GUI_VERSION
    C_LOG_ROOT C_MAKE_TEXT_DELTA
    C_MG_MCIDGEN
    C_MG_MCIDREM
    C_MG_MCOGEN
    C_MG_MCOREM
    C_MOD_TABLE
    C_PRINT_LINE
    C_PRINT_NORMAL_LINE
    C_PRINT_OBJECT
    C_PRINT_OTF
    C_PRINT_PAGE_BREAK
    C_REMOVE C_RSPO_ASK_FOR_PRIO
    C_RSPO_CHECK_TAB_IN_DD
    C_RSPO_LAST_ERROR
    C_RSPO_PRINTJOB_STATE
    C_RSPO_PROCESS_DIALOG
    C_RSPO_SPOOL_MESSAGE
    C_RSPO_TEST
    C_RSTRB_READ_BUFFERED C_RSTRDURA_TO_P6_P6
    C_RSTRTIME_TO_P6_P6
    C_RSTS_CCC_STAT
    C_RSTS_CHECK_TAB_IN_DD
    C_RSTS_CLOSE C_RSTS_CREATE_OBJ_FOR_FILE
    C_RSTS_INVALID_CCC
    C_RSTS_LAST_ERROR
    C_RSTS_OBJ_INFO
    C_RSTS_OPEN_READ
    C_RSTS_OPEN_WRITE
    C_RSTS_READ
    C_RSTS_REMOVE
    C_RSTS_REPAIR_OBJ
    C_RSTS_WRITE C_SAPGALLPARAM
    C_SAPGDEFPARAM
    C_SAPGPARAM
    C_SET_FILESET
    C_SET_MOD_TIME
    C_SET_PROCESS C_SET_SWITCH
    C_SET_TASK
    C_SET_TRNA
    C_SET_USER
    C_SIZEOF
    C_START_PRINT_JOB
    C_START_SPOOL_JOB C_SWITCH_MCID
    C_TO_HEX
    C_TRADR
    C_UINT_TO_P5
    C_UPDATE_PRINT_JOB
    C_UPDATE_SPOOL_JOB C_USE_FLOPPY
    C_USHORT_TO_P5
    C_WRITE_PRINT_CONTROL
    C_WRITE_SYSLOG_ENTRY
    CheckLogFile CleanZombieLog
    CreateNewBIProt
    DATE_CONV_EXT_TO_INT
    DATE_CONV_INT_TO_EXT
    DBCUADEL
    DBG_DELETE_TAB_DATASET
    DB_BMN_TEST
    DB_CLUSTER_BUFFER_FLUSH
    DB_CUA_RESET
    DB_C_GET_EXPLAIN
    DB_DUMMY
    DB_EXPLAIN_PLAN
    DB_GET_REL
    DB_MAP_DDTYPE
    DB_NTABSTA
    DB_OBJ
    DB_RD_NTABHDR
    DB_RM_NTAB
    DB_RSQLSTA
    DB_SLCCSTA
    DB_SYNC_DISPL
    DB_SYNC_SWITCH
    DB_SYNC_WRITE
    DB_TBL_RESET
    DB_TBP_RESET
    DB_TBX
    DB_WR_NTABHDR
    DEBUG_CNTL
    DELETE_PXA_OBJECT
    DIAG_COMBOBOX_SET_SIGTABLE
    DIAG_START_PM
    DIAG_XMLBLOB_GET_SENDSTRING
    DIAG_XMLBLOB_RECEIVE
    DIAG_XMLBLOB_SEND
    DIAG_XMLBLOB_STATUS
    DYCUAGEN
    DYNP_CONTAINER_POSITION
    DYNP_DELETE_PROPERTY
    DYNP_GET_DSTATE DYNP_GET_FIRSTDYNPROELEMENT
    DYNP_GET_INFO
    DYNP_GET_LPCN
    DYNP_GET_NEXTDYNPROELEMENT DYNP_GET_PROPERTY
    DYNP_GET_PROPERTYSUPPORT
    DYNP_GET_STATUS
    DYNP_GET_SUBSCREEN DYNP_INIT_LOCTIM
    DYNP_OKCODE_GET
    DYNP_OKCODE_SET
    DYNP_SET_CURSOR
    DYNP_SET_PROPERTY DYNP_SET_STATUS
    DY_CHECK_TRANSACTION
    DY_COMPOSITES_GET
    DY_DOCKING_SIZE_NOTIFY DY_GET_COMBOBOX_FOR_HELP
    DY_GET_CURRENT_TRANSACTION
    DY_GET_DYNPRO_EVENT
    DY_GET_DYNPRO_INFOS DY_GET_ELEMENTS_TO_TRANSLATE
    DY_GET_EXT_VID
    DY_GET_FIELD_VID
    DY_GET_FOCUS DY_GET_FOCUS_CONTROL
    DY_GET_LOCAL_PARAMETER
    DY_GET_MODAL_LEVEL
    DY_GET_PROPERTY_BAG_STRING
    DY_GET_SET_FIELD_VALUE
    DY_GET_S_MESSAGE
    DY_GET_TC_LOOPSIZE
    DY_GET_TX_VARIANT DY_INVISIBLE_SCREEN
    DY_MODIFY_SCREEN_TX_VARIANT
    DY_OBJ_DIFF
    DY_OBJ_GET
    DY_OBJ_GETALL DY_OBJ_SET
    DY_RESET_COMPRESSION
    DY_SET_DISPL_AGAIN
    DY_SET_DYNPRO_VARIANT DY_SET_FIELD_ATTRIBUTES
    DY_SET_FOCUS_CONTROL
    DY_SET_PROPERTY_BAG_STRING
    DY_SET_TX_VARIANT EG_MEM_MGT
    EMPTY_C_CALL
    EmInfo
    EsMemMgt
    ForceCloseJoblog
    GET_ABAPTYPE
    GET_ACCESS_INFO GET_ACCESS_KEY
    GET_BPABLE_STATEMENTS
    GET_CURRENT_MAINSCREEN
    GET_DEFAULT_SYSTEM_DEBUGGER_TOOL
    GET_DEVELOPER_KEY
    GET_DYNP_FIELD_VALUE
    GET_ENDOFPAGE_SIZE
    GET_KEYWORDS
    GET_LAST_RABAX GET_LOG_LINESIZE
    GET_MESSAGES
    GET_NEXT_PARAMETER
    GET_NUM_OF_FSREGS
    GET_PARAM_TCOD GET_PATTERN
    GET_PREDEF_TYPES
    GET_PXA_HASH
    GET_RTM_TABLE
    GET_SHLIB_VERSION GET_SOURCE_POSITION
    GET_STORAGE_COSTS
    GET_SWITCH_TXEND
    GET_SWITCH_UTASK
    GET_TADIR_ACCESS_KEY GET_WINDOW_DATA
    GUESS_CODEPAGE
    Get1NetData
    Get1PerfData
    GetNetData
    GetPerfData GetRuntimeInfo
    HELP_CHECK_FIELD
    HELP_GET_FIELD
    HELP_GET_FIELDLEN
    HELP_GET_FIELDS
    HELP_PUT_FIELD
    HOLD_UPDATE_TASK_LOCAL
    ICF_DISPATCH
    ICT_DISPATCH
    IMPORT_DYNPRO
    IMPORT_PROCLOG
    INTERNET_USER_LOGON
    IPL_SYSTEM
    IS_ABAP_DEBUGGER_ACTIVE
    IS_DEBUGGING_POSSIBLE
    IXARCHIV IXARCHIV_RECEIVE
    IXARCHIV_SEND
    IXML_DISPATCH
    LCL_FOR_LANG
    LISTMGR_CONTROL LOAD_PROGRAM_TO_PXA
    LOGIN_FOR_SNC_SERVER
    LOGIN_INFO
    MOVE_NTABS
    MULTI_LOGIN_ALLOWED
    NEWCKSUM NLS_BIDI_CONVERT
    NLS_BIDI_SAP_TO_MS
    NTAB_RESET
    O2_CONVERT
    OBJMGR_CONTROL
    OBJMGR_GET_INFO
    OMRT_DISPATCH
    OMS_DEVICE_QUERY
    OMS_GENERIC
    OMS_JOB_CANCEL
    OMS_JOB_QUERY
    OTF_LAYOUT_RTL OTR_SYNC_BUFFER
    OVERWRITE_PXA
    PASSWORD
    PRINT_COVER_PAGE
    PROVIDE_SORT_CHECKS_ENABLED
    PR_CHECK PR_DECLIT
    PR_RESOL
    PXA_TEST
    PfCall
    QUERY_LIST_TO_MEMORY
    QUEUE_CLOSE
    QUEUE_DELETE
    QUEUE_ERASE QUEUE_GET
    QUEUE_OPEN
    QUEUE_PUT
    READ_ACCESS_KEY
    REINIT_LANG_CP_LOC
    RESET_PROGRAM_TIMESTAMP
    RFCControl
    RFCSystemInfo
    RMCControl
    ROUND_F_TO_15_DECS
    RSCPF1
    RSCPF4
    RSCPICT
    RSCP_CCC_STAT
    RSCP_COBJ_CREATE
    RSCP_COBJ_DESTROY
    RSCP_COBJ_USE
    RSCP_GENERIC
    RSCP_ICONS RSCP_NAME_OF_CODEPAGE
    RSCP_TCP0F
    RSEC_AB_ACCESS
    RSEC_AB_RCHECK
    RSEC_GEN_PASSWD
    RSEC_GEN_RAND RSPOA1DIR
    RSPOA1JDIR
    RSPOA1PDIR
    RSPOA2DIR
    RSPOA2JDIR
    RSPOA2PDIR
    RSPOA9DIR
    RSPOA9JDIR RSPOA9PDIR
    RSPOACSD
    RSPOADP
    RSPOAEPJ
    RSPOAIP
    RSPOAOSD
    RSPOAPCC
    RSPOARNS
    RSPOARPAB
    RSPOARSD RSPOAWSD
    RSPOVERSION
    RSPO_ABAP_DUMMY
    RSPO_CACHE_CONTROL
    RSTGTEST
    RSTR_FUNC
    RTM_GET_DATA RTM_INFO
    RaiseEvent
    ReadLogDirA
    ReadLogPartitionA
    Reentrance_Ticket
    RemoveLogPartitionA RemoveOldBIProt
    ReorgLogFile
    RfcImport
    RstrDateConv
    SAPCORE
    SAPTUNE
    SAVEONERROR
    SAVE_BREAKPOINTS
    SC_SYMBSTRAT_INIT
    SEL_PAR_UC_CONV_CHECK
    SEMSTA SET_ACCESS_KEY SET_DEFAULT_DEBUGGER_TOOL
    SET_DYNP_FIELD_VALUE
    SET_EXPECTED_RABAX
    SET_LIST_SIZE SET_LOG_LINESIZE
    SET_MAX_RUDILOCKS
    SET_P_A_TYPE
    SET_SWAP_ALL
    SET_SWITCH_TXEND SET_SWITCH_UTASK_OFF
    SET_TRANS_VAR
    SET_WINDOW_DATA
    SHMINFO
    SHM_MODELOCKREF_INFO SNC_ABAP_INFO
    SNC_ABAP_SERVICE
    SSF_ABAP_SERVICE
    STORAGE
    STORAGE_SET
    SUSR_USER_BUFFER SYNTAX_TRACE
    SYSTEM
    SYST_LOGOFF
    SelectionRectangle
    SendSubmitReq
    SetNetData
    SetPerfData TABLEVIEW_GET_INFO
    TABLEVIEW_UPDATE
    TEST_LANG_CP_LOC
    TOUCH_PXA_OBJECT
    TOUCH_REPORT TPD_CNTRL_MISC
    TPD_CONTROL
    ThCPICCall
    ThDisplay
    ThGwMon
    ThNoCall
    ThNoGet
    ThNoRead ThSndDelUser
    ThSysInfo
    ThTest
    ThUsrInfo
    ThVBCall
    ThVersion
    ThWpInfo
    TrCall
    TranslateSource TriggerBtcAction
    UMG_CP_FOR_TEXT
    UMG_WORD_SEP
    UNSET_PARAMETER
    VMIT_GET_MEASUREMENT_RESULTS VMIT_START_MEASUREMENT
    WriteExtLog
    WriteTrace
    XRfcConverter
    XTC_DISPATCH
    XXPASS
    XXPASSNET ab_SetVisibleCx

  • CALL system functions

    Hi,
       is there any docu or list from SAP about system functions, and how to call such function?
    thx
    Mario

    hi,
    use S_A.SYSTEM
    Check out this document...
    <a href="http://www.auditnet.org/docs/SAP_Security.doc">http://www.auditnet.org/docs/SAP_Security.doc</a>
    regs,
    jaga

  • RFC Function Call - System not available

    Hello,
    in my own program i´m using an RFC function call to get data out of our BW - System like this:
    CALL FUNCTION 'RRW3_GET_QUERY_VIEW_DATA' DESTINATION i_dest
        EXPORTING
          i_query               = i_query
          i_view_id             = i_view_id
          i_t_parameter         = i_t_parameter
        IMPORTING
          e_axis_data           = gt_axis_data
          e_cell_data           = e_cell_data
        EXCEPTIONS
          system_failure        = 1
          communication_failure = 2
          OTHERS                = 3.
    This works fine and fast as long the BW System is up and running. If the BW system is for some reason down my program has very bad performance because this RFC function call is trying for about 10 seconds every time.
    Is there a way to avoid this long waiting time? A kind of parameter?
    If there is no answer after one or two seconds the programm should continue.
    Any ideas for this?
    Thanks a lot.
    Best regards
    Manfred

    try the following like look for TTL(time to live) in the doc
    http://www.google.co.in/url?sa=t&source=web&cd=5&ved=0CDkQFjAE&url=http%3A%2F%2Fwww.erpgenie.com%2Fsapgenie%2Fdocs%2FSAP%2520Connectors.doc&rct=j&q=ttl%20for%20rfc%20call%20in%20sap%20abap&ei=DShnTv7VGYbWrQeYgPXcCg&usg=AFQjCNGvnINnxj8kYx9IeelUHy0dQPmuMA&cad=rja

  • After a function call values in the system sy-msgty.........

    After a function call values in the system sy-msgty,sy-msgit and sy-msgno are getting empty. And the program dumped suddenly with showing a message_type_unknown message.
    Here i wanted to know y these values are becoming empty
    Pls help me out here

    The first Idoc has two line items and the second idoc has 7 line items. As the split is per 5 line item- the target has 3 Idocs.
    Now the problem is that the header value in the target: REF_DOC_NO has to be created as per the number of line items and doesnt come from header record directly.

  • NiRFSA_Rea​dPowerSpec​trumF64 function call in TestStand 4.5.1 cause system error

    I am using TestStand with niRFSA.dll to call the function niRFSA_ReadPowerSpectrumF64. This function will make the NI RFSA takes a spectrum sweep and return an array of amplitudes, as well as a structure that contains the frequencies information. My teststand sequence file is attached. The sequence editor will execute this function call, and actually retrieve correct data from the RFSA, I can see all the data in the Locals variables. The data are correct. However, the sequence editor also throws out system error, with no further details.
    See the error window also attached.
    Once in a while, the sequence editor will work just fine, executing the same function call without throwing out error, this is less than 10% of the time.
    I am using this on Windows 7.
    Let me know if you have any insight.
    Attachments:
    RFSA Sequence.seq ‏7 KB
    Capture.JPG ‏33 KB

    Hi Doug:
    Yes this is what I suspected also. Since the container type was a TS custom type I created to accept the C struct from the instrument. But when the data come back from the dll is a C struct, and there lays the conflict, I think its the packaging layer semantics have some conflict, even though each of the element in the C struct matches the TS type definitions, as I received all that data correctly in TS.
    Thanks,
    Juswanto

  • Getting Return values from RFC function call with visual basic

    Hi,
    I am creating a sample app to connect to a SAP system which call its RFC functions created with ABAP. It was known that the function will return more than 1 return values.
       SAP Function name ==> "ZFMTP_RFC_GET_RESULT"
            Export parameters (to SAP):
                    - Student Name [char 10]         ==> "STUNAME"
                    - Student ID         [char 20]        ==> "STUID"
           Return values (From SAP):
                    - Results [char 10]        ==> "RESULT"
                    - Remarks [char 200]        ==> "REMARKS"
    i have managed to get sample codes for connecting and call a RFC function with vb but they only get a return value. How do i retrieve multiple return values like the above function "RESULT" and "REMARKS"?
    Here's my vb code to accessing the function
            Dim R3 As Object
            Dim FBFunc As Object
            Dim returnFunc As Boolean
            Dim connected As Boolean
            R3 = CreateObject("SAP.Functions")
            R3.Connection.Client = "000"
            R3.Connection.User = "BCUSER"
            R3.Connection.Password = "minisap"
            R3.Connection.Language = "DE"
            R3.Connection.System = "dtsystem"
            R3.Connection.Applicationserver = "xxx.xxx.xxx.xxx" 
            connected = R3.Connection.Logon(0, True)
            If connected <> True Then
                MsgBox("Unable to connect to SAP")
            End If
            FBFunc = R3.add("ZFMTP_RFC_GET_RESULT")
            FBFunc.exports("STUNAME") = "Jonny"
            FBFunc.exports("STUID") = "12345"
            returnFunc = FBFunc.Call() <<== How do i get the return value? or RESULT and REMARKS of the RFC Function?
    thanks alot.
    Edited by: Eugene Tan on Mar 4, 2008 7:17 AM

    Hi Gregor,
    Thanks for the link....i am having some doubts with the codes, hope you can clarify them for me if you know the codes..
    Below is the code snippet.
    Set impReturn = CHPASS_FN.Imports("RETURN")  <<=== is RETURN the standard keyword to get a                                                                                return object?
      expPassword.Value = currpass
      expNewPass.Value = newpass
      expFillRet.Value = "1"
    ''' Call change password function
      If CHPASS_FN.Call = True Then
        outFile.Write (", Called Function")
        Message = impReturn("MESSAGE") <<==== So if i have 3 return values..i just replace with the return                                                               value variable names?
        outFile.WriteLine " : " & Message
      Else
        outFile.Write (", Call to function failed")
      End If
    thanks alot...all your help is very appreciated.

  • CALL_FUNCTION_REMOTE_ERROR when calling a remote function call through PI

    Hello.  Thanks in advance for your perspective on this.
    We are developing an interface that runs in an R/3 system and is suppossed to perform a lookup in another R/3 system via a PI 7.0 system.
    Here's what we are trying to do, let's call these systems "A", "B", "C" respectively.
    R/3  ->  PI   -> R/3
    The R/3 system (A) executes code, which calls this function module like this:
          CALL FUNCTION 'Z_CHK_MAT' DESTINATION 'XI_RFCADAPTER'
            EXPORTING
              iv_region           = lv_region
              iv_matnr            = ls_matnr-matnr
            IMPORTING
              ev_flg_is_purchased = e_flg_is_purchased.
    This code, is set via the "DESTINATION" parameter to use the RFC destination 'XI_RFCADAPTER'.  This destination, points to the PI (B) system above.
    Anyhow, we're getting a short dump in the R/3 (A) system, which is like this:
    CALL_FUNCTION_REMOTE_ERROR
    "JCO.Server could not find server function 'Z_CHK_MAT'"
    From my analysis, I believe this is because the remote function module Z_CHK_MAT does not exist, in the PI (B) system.
    Our developer, believes this should just "pass through" the PI (B) system, and call the function module in the R/3 (C) system.
    Any insight on this?  In this scenario, does this Function Module need to exist in the PI abap side?  Can you give perspective / guidance on this?
    Thanks a lot
    Steve

    No need to exist in PI ABAP side.
    Just make sure that:
    1. as Michal said, you import it in Integration Repository (and use it in your configurations);
    2. the RFC Destination type that points to XI is of type T, not 3;
    3. both the RFC Destination & the Sender RFC Adapter (and only them) are using the same Program Id.
    Regards,
    Henrique.

  • Java function call from Trigger in Oracle

    Moderator edit:
    This post was branched from an eleven-year-old long dead thread
    Java function call from Trigger in Oracle
    @ user 861498,
    For the future, if a forum discussion is more than (let's say) a month old, NEVER resurrect it to append your new issue. Always start a new thread. Feel free to include a link to that old discussion if you think it might be relevant.
    Also, ALWAYS use code tags as is described in the forum FAQ that is linked at the upper corner of e\very page. Your formulae will be so very much more readable.
    {end of edit, what follows is their posting}
    I am attempting to do a similar function, however everything is loaded, written, compiled and resolved correct, however, nothing is happening. No errors or anything. Would I have a permission issue or something?
    My code is the following, (the last four lines of java code is meant to do activate a particular badge which will later be dynamic)
    Trigger:
    CREATE OR REPLACE PROCEDURE java_contact_t4 (member_id_in NUMBER)
    IS LANGUAGE JAVA
    NAME 'ThrowAnError.contactTrigger(java.lang.Integer)';
    Java:
    CREATE OR REPLACE AND COMPILE JAVA SOURCE NAMED "ThrowAnError" AS
    // Required class libraries.
    import java.sql.*;
    import oracle.jdbc.driver.*;
    import com.ekahau.common.sdk.*;
    import com.ekahau.engine.sdk.*;
    // Define class.
    public class ThrowAnError {
    // Connect and verify new insert would be a duplicate.
    public static void contactTrigger(Integer memberID) throws Exception {
    String badgeId;
    // Create a Java 5 and Oracle 11g connection.
    Connection conn = DriverManager.getConnection("jdbc:default:connection:");
    // Create a prepared statement that accepts binding a number.
    PreparedStatement ps = conn.prepareStatement("SELECT \"Note\" " +
    "FROM Users " +
    "WHERE \"User\" = ? ");
    // Bind the local variable to the statement placeholder.
    ps.setInt(1, memberID);
    // Execute query and check if there is a second value.
    ResultSet rs = ps.executeQuery();
    while (rs.next()) {
    badgeId = rs.getString("Note");
    // Clean up resources.
    rs.close();
    ps.close();
    conn.close();
    // davids badge is 105463705637
    EConnection mEngineConnection = new econnection("10.25.10.5",8550);
    mEngineConnection.setUserCredentials("choff", "badge00");
    mEngineConnection.call("/epe/cfg/tagcommandadd?tagid=105463705637&cmd=mmt%203");
    mEngineConnection.call("/epe/msg/tagsendmsg?tagid=105463705637&messagetype=instant&message=Hello%20World%20from%20Axium-Oracle");
    Edited by: rukbat on May 31, 2011 1:12 PM

    To followup on the posting:
    Okay, being a oracle noob, I didn't know I needed to tell anything to get the java error messages out to the console
    Having figured that out on my own, I minified my code to just run the one line of code:
    // Required class libraries.
      import java.sql.*;
      import oracle.jdbc.driver.*;
      import com.ekahau.common.sdk.*;
      import com.ekahau.engine.sdk.*;
      // Define class.
      public class ThrowAnError {
         public static void testEkahau(Integer memberID) throws Exception {
         try {
              EConnection mEngineConnection = new EConnection("10.25.10.5",8550);
         } catch (Throwable e) {
              System.out.println("got an error");
              e.printStackTrace();
    }So, after the following:
    SQL> {as sysdba on another command prompt} exec dbms_java.grant_permission('AXIUM',"SYS:java.util.PropertyPermission','javax.security.auth.usersubjectCredsOnly','write');
    and the following as the user
    SQL> set serveroutput on
    SQL> exec dbms_java.set_output(10000);
    I run the procedure and receive the following message.
    SQL> call java_contact_t4(801);
    got an error
    java.lang.NoClassDefFoundError
         at ThrowAnError.testEkahau(ThrowAnError:13)
    Call completed.
    NoClassDefFoundError tells me that it can't find the jar file to run my call to EConnection.
    Now, I've notice when I loaded the sdk jar file, it skipped some classes it contained:
    c:\Users\me\Documents>loadjava -r -f -v -r "axium/-----@axaxiumtrain" ekahau-engine-sdk.jar
    arguments: '-u' 'axium/***@axaxiumtrain' '-r' '-f' '-v' 'ekahau-engine-sdk.jar'
    creating : resource META-INF/MANIFEST.MF
    loading : resource META-INF/MANIFEST.MF
    creating : class com/ekahau/common/sdk/EConnection
    loading : class com/ekahau/common/sdk/EConnection
    creating : class com/ekahau/common/sdk/EErrorCodes
    loading : class com/ekahau/common/sdk/EErrorCodes
    skipping : resource META-INF/MANIFEST.MF
    resolving: class com/ekahau/common/sdk/EConnection
    skipping : class com/ekahau/common/sdk/EErrorCodes
    skipping : class com/ekahau/common/sdk/EException
    skipping : class com/ekahau/common/sdk/EMsg$EMSGIterator
    skipping : class com/ekahau/common/sdk/EMsg
    skipping : class com/ekahau/common/sdk/EMsgEncoder
    skipping : class com/ekahau/common/sdk/EMsgKeyValueParser
    skipping : class com/ekahau/common/sdk/EMsgProperty
    resolving: class com/ekahau/engine/sdk/impl/LocationImpl
    skipping : class com/ekahau/engine/sdk/status/IStatusListener
    skipping : class com/ekahau/engine/sdk/status/StatusChangeEntry
    Classes Loaded: 114
    Resources Loaded: 1
    Sources Loaded: 0
    Published Interfaces: 0
    Classes generated: 0
    Classes skipped: 0
    Synonyms Created: 0
    Errors: 0
    .... with no explanation.
    Can anyone tell me why it would skip resolving a class? Especially after I use the -r flag to have loadjava resolve it upon loading.
    How do i get it to resolve the entire jar file?
    Edited by: themadprogrammer on Aug 5, 2011 7:15 AM
    Edited by: themadprogrammer on Aug 5, 2011 7:21 AM
    Edited by: themadprogrammer on Aug 5, 2011 7:22 AM
    Edited by: themadprogrammer on Aug 5, 2011 7:23 AM
    Edited by: themadprogrammer on Aug 5, 2011 7:26 AM

  • "R6025 -pure virtual function call" Error While Use Adobe Media Encoder

    I'm trying to use Adobe Media Encoder (CS3) to output a project to H.264. I have about 3 minutes of footage on the Premier Pro CS3 Timeline, all of it in Cineform AVI intermediate format. When I export the movie through AME and select 2-pass VBR, it gets through the first pass, but crashes at 50% on the second pass with the error:
    "Microsoft Visual C++ Runtime Library
    Runtime Error!
    Program E:\Progra...
    R6025
    -pure virtual function call"
    Any ideas what may be causing this error?

    Point taken...
    I'm on a Dell XPS 720 Windows XP (32-bit) system, with all up-to-date service packs and patches. I have 4GB RAM installed, and Production Premium CS3, TMPGEncXPress and Cineform's Neo Scene. Neo Scene is a recent addition and the problem existed prior to its installation. I have two 7900GS graphics cards (each with 256MB video RAM), running in SLI mode.
    I dual boot Windows XP: One system is "Messy" with all kinds of stuff installed. The other is "Clean" and has virtually nothing installed, except for the three suites previously mentioned. No anti-virus or anti-spyware software is installed on the Clean system. I get the error on both systems.
    I saw the post from September 2007 reference vcredist_x86. I'll be trying that at my next opportunity, however, I'm not sure that will fix it, as I don't see why both systems would suffer from the same corruption. I'll also be swapping out RAM to see if that fixes the issue.

  • Illegal use of nonvirtual function call

    I'm trying to run this program....
    import java.io.*;
    import java.util.*;
    import java.util.Properties;
    import javax.mail.*;
    import javax.mail.internet.*;
    import sun.net.nntp.*;
    import lotus.domino.*;
    public class WriteNewsFile implements Constants{
         private Store store;
         private Database db;
    public Store createNNTPConnection(String host, String protocol) throws Exception{
    // Create empty properties
    Properties props = new Properties();
    // Get session
    javax.mail.Session session = javax.mail.Session.getInstance(props, null);
    // Get the store
    Store store = session.getStore(protocol);
    store.connect(host, null, null);
    return store;
    public Vector getForumNames(String root) throws Exception {
    Vector result = new Vector();
    NntpClient nc = new NntpClient(NNTP_HOST);
    String line;
    nc.serverOutput.println(NNTP_COMMAND_LIST_ACTIVE);
    BufferedReader br = new BufferedReader(new InputStreamReader(nc.serverInput));
    while ((line = br.readLine()) != null) {
    if (line.equals("."))
    break;
    if (line.startsWith(root)) {
    result.add(line.substring(0, line.indexOf(" ")));
    nc.closeServer();
    return result;
    private void init(String root) throws Exception {
    Vector forums = getForumNames(root);
    for (Enumeration e = forums.elements(); e.hasMoreElements();) {
         System.out.println(readWriteNewsgroup((String)e.nextElement()));
         System.gc();
    public static void main(String args[]) {
         WriteNewsFile wns = new WriteNewsFile();
         try{
              wns.db = wns.openNotesDB(DOMINO_HOST, DOMINO_USER, DOMINO_PASSWD,
    DOMINO_DB);
              wns.store = wns.createNNTPConnection(NNTP_HOST, NNTP);     
              //wns.init("forums.software.");
              wns.init("forums.hardware.");
              //wns.init("forums.services.");
              wns.store.close();
         }catch(Exception e){
              e.printStackTrace();
    * Insert the method's description here.
    * Creation date: (12/10/2001 9:51:20 AM)
    * @param s java.lang.String
    public Database openNotesDB(String host, String user, String passwd, String dbName) throws
    NotesException {
    lotus.domino.Session session =
    NotesFactory.createSession(host, user, passwd);
    db = session.getDatabase(session.getServerName(), dbName);
    if (db == null)
         throw new NotesException();
    else
         return db;
    public String readWriteNewsgroup(String newsgroup) throws Exception {
    // Get folder
    Folder folder = store.getFolder(newsgroup);
    folder.open(Folder.READ_ONLY);
    // Get directory
    Message messages[] = folder.getMessages();
    for (int i = 0, n = messages.length; i < n; i++) {
    //System.out.println( i + ": " + messages.getFrom()[0] + "\t" +
    messages[i].getSubject());
    Document doc = db.createDocument();
    doc.replaceItemValue(MESSAGE_NUMBER,new Integer(messages[i].getMessageNumber()));
    doc.replaceItemValue(MESSAGE_ID, messages[i].getHeader(MESSAGE_ID)[0]);
    doc.replaceItemValue(DATE, messages[i].getReceivedDate());
    doc.replaceItemValue(FROM, messages[i].getFrom()[0].toString());
    doc.replaceItemValue(SUBJECT, messages[i].getSubject());
    doc.replaceItemValue(NEWSGROUPS, messages[i].getHeader(NEWSGROUPS)[0]);
    doc.replaceItemValue(ORGANIZATION, messages[i].getHeader(ORGANIZATION)[0]);
    RichTextItem rtitem = doc.createRichTextItem(BODY);
    try{
         rtitem.appendText(messages[i].getContent().toString());
    }catch(UnsupportedEncodingException e){
                   System.out.println("Could not convert body to String");
    //rtitem.recycle();                                   
    if (!doc.save())
    System.out.println("Did not save the document");      
    // Close connections and files
    folder.close(false);
    return newsgroup;
    but getting this runtime error.....
    C:\$user\java>java WriteNewsFile
    Exception in thread "main" java.lang.VerifyError: (class: com/ibm/CORBA/iiop/Gen
    ericServerSC, method: dispatch signature: (Lcom/ibm/CORBA/iiop/IIOPInputStream;L
    com/ibm/CORBA/iiop/IIOPOutputStream;)V) Illegal use of nonvirtual function call
    at java.lang.Class.forName1(Native Method)
    at java.lang.Class.forName(Class.java:134)
    at com.ibm.CORBA.iiop.ORB.registerSubcontracts(ORB.java)
    at com.ibm.CORBA.iiop.ORB.<init>(ORB.java)
    at java.lang.Class.newInstance0(Native Method)
    at java.lang.Class.newInstance(Class.java:254)
    at org.omg.CORBA.ORB.create_impl(ORB.java:306)
    at org.omg.CORBA.ORB.init(ORB.java:355)
    at lotus.domino.cso.Session.OREFtoSession(Session.java:703)
    at lotus.domino.cso.Session.<init>(Session.java:57)
    at lotus.domino.cso.Session.createSession(Session.java:36)
    at lotus.domino.NotesFactory.createSession(NotesFactory.java:67)
    at WriteNewsFile.openNotesDB(WriteNewsFile.java:88)
    at WriteNewsFile.main(WriteNewsFile.java:66)
    and don't understand the nature of the error...... Can anyone help or direct me to some information that might help me understand?
    Thanks,
    Heather

    you have used a method that was implemented in JRE1.2 -- IE's native JVM 1.1.4 or 1.1.5 . You can do one of two things:
    1) convert your html file to make it use a new Java plug-in, or
    2) change your code to call a comparble method that is available before 1.2
    V.V.

  • An error occurred when executing a REMOTE FUNCTION CALL.

    Dear all,
    We have two syetms called DXD and GRD , we have a remote enabled function module in the DXD system , when i am trying to call this Function module from
    GRD system it is going for the short dump, and giving the follwing error,
    <b>Error analysis
        An error occurred when executing a REMOTE FUNCTION CALL.
        It was logged under the name "RFC_NO_AUTHORITY"
        on the called page.</b>
    But i do have the access for the DXD system also, i am really struggling to solve this problem, if any lights are there to help me , i will be thank full for then,
    some body suggested for me that we need to maintain the Trusted system tables in the target system.
    Thanks & regards
    Satya.

    first u( user id ) have to get the Authorizations to use RFC ?
    object will be  like S_RFC or some thing like this.
    when u get this kind of error just call /NSU53 then u will come to know which Authorization Object is missing from ur User Profile.
    Regards
    Prabhu

Maybe you are looking for