Function call in SAP GUI with errors

Dear All,
             When i am calling FM of Comports using OLE Integration i got " Function call in SAP GUI with errors" error
now my front end version is 6.40. how to solved this problem.
In my Function Module i am creating object like this
CREATE OBJECT O_OBJ 'MSCOMMLib.MSComm.1'.
    IF SY-SUBRC <> 0.
      RAISE NO_CREATE_OBJECT.
    ENDIF.
it raised the sy-subrc = 2 this error is "Function call in SAP GUI with errors"
send to me how to handle this error.
Thank,
Vijay.g

Hi Vijay,
We are facing the same issue.
Interestingly
From program's code only we are facing this issue.
If we display the program and Execute (Direct processing), it is working fine.
Can you please share how you resolved this issue.
Thanks
Sreedhar

Similar Messages

  • Transaction iView( Tcode) Error: Function call in SAP GUI with errors

    Hey Guys:
                  I use Transaction iView to show the ABAP application on Portal. The application works to import data from client to BW. After I fill all the information and execute the application, the system returns the error message " Function call in SAP GUI with errors".
    The ABAP application works fine on SAP GUI, so it should not be the program problem.
    Any Suggestion for this will be nice. Thanks for your help.

    Hey Duy:
            Thanks for your response. I check the servers which i have access, and all of them cannot work correctly.
    First, other iViews(Dynpro,BW Report,BSP,KM...) work fine.
    Second, our backend system is a BW server.
    I try to do so on our EP production and development, also connect them to our BW production and development servers. All of those are failed and have the same problem.
    The t-code comes from our abap program and register on BW server, and hte program works fine when I use SE38 to execute it.
    PS. The Transaction iView works fine before, but I have no idea why it just crash now.
    Please let me know if you have any suggestion about this.

  • Error when calling the SAP GUI

    Hello everybody,
    i have installed the NW2004s SneakPreview on my Notebook. Since then i cant call the sap gui anymore (installed the latest version from SAP Service Marketplace).
    Im getting the error:
    'The procedure entry point 'RfcResetTraceDir' could not be located in the dynamic link library 'LIBRFC32.dll' .'

    Please try coping the LIBRFC32.DLL file from....
    C:\usr\sap\NSP\DVEBMGS00\exe
    to
    C:\WINDOWS\system32
    Regards,
    Rich Heilman

  • Integration of SAP GUI with SAP Web UI in 7.0?

    Hi Everybody ,
    Wanted to ask how do we integrate SAP GUI with SAP Web UI in 7.0?Are these two different logical systems or Web UI is embedded in GUI itself? Will be waiting for the answer very soon.
    Thanks
    Puneet

    Hi,
    in CRM70 the WebUI is the one and only userinterface for the endusers.
    The SAP GUI in CRM is only for administrators.
    You could integrate SAP GUI transactions from different systems (ERP, CRM, RM, etc.) into Webclient UI.
    In standard SAP this is done using the transaction launcher (ITS) - but there are also some concepts from consulting companies to integrate the SAP GUI without ITS.
    Good luck.
    Kind regards
    Manfred

  • How can we make function calls to sap in odi ?

    how can we make function calls to sap in odi ?
    to populate a column i need to make a function call which returns the value.

    There are two ODI SAP adapters available that allows extraction from SAP ERP and SAP BW. For SAP ERP we allow extraction from ERP tables, but not from RFCs/BAPIs.
    You can find details on them at
    http://www.oracle.com/technetwork/middleware/data-integrator/overview/odigs-sapabap-168070.pdf
    http://www.oracle.com/technetwork/middleware/data-integrator/overview/odigs-sapabapbw-168071.pdf

  • ISA5.0 How to know Function called in SAP for ISA.

    Hello everybody,
    I need to know what are the functions called in SAP to get the information or to create the sales document order.
    How could i do to see the functions called?
    Please.
    I'm on Internet Sales 5.0 and i have an ECC6.0 for the backend.
    Thanks

    hi,
    There is no standard process to know the Called Function Module on particualr action.
    The only way most of the developers follow is to see the Log files which displays the Function Module called.
    The other way is you have to debug the class files to know.
    Regards,
    Sateesh Chandra

  • Remember input values as in SAP GUI with Dynpros

    In SAP GUI with Dynpros there is a feature which remembers former inputs (input values). I do not talk about F4 help.
    Is there a way to enable this in WDA as well? As far as I understand the situation, with Dynpros this is a feature of the SAP GUI frontend.
    Rgs. FT

    Hi,
    besides the personal value list on the F4 functionalities,
    there is no history available for the users input
    grtzn
    Koen

  • SAP CE 7.2 works fine is it possible to use sap gui with this version ?

    Hello Dears,
    Just installed CE7.2,
    Very easy install thanks for SAP !!!
    Is it possible to use sap gui with this version ?
    I'm trying to use Sap Gui 7100.3.11.1042 but can't get the prompt.
    Thanks for you help.
    Olivier

    Hello,
    So I tried to find the right software but I found only B1DESetup_2.1.zip.
    https://downloads.sdn.sap.com/BusinessOne/B1DESetup_2.1.zip
    Do you have any idea about the right link to download or this is the right file ?
    Thanks
    Olivier

  • SAP GUI with SNC logon and Hummingbird Exceed - SAP GUI window size issue

    We have discovered an issue when SAP GUI 7.10 is used to logon via SNC and Hummingbird Exceed is used on the same workstation to logon to a UNIX system either via x-windows or telnet.
    When the user logs onto a UNIX system using Hummingbird Exceed, then uses SAP GUI to logon to a SAP system with SNC authentication, the SAP GUI authentication works, but the favourites list is not fully displayed and has to be resized before any of the entries are available.
    Has anybody else seen this issue, and do they know if there is a fix available ? We wondered if there might be an issue with fonts or some other sort of conflict between Exceed and SAP GUI, but it is strange that the problem only occurs if SNC authentication is being used, and when userid+password is used to logon to SAP the problem does not occur.
    Cheers,
    Tim

    Hello Tim and Wolfgang,
    I was curious too as I found it interesting... so I tested a few combinations, but could not reproduce what Tim has described, at least not before my CPU reached 100% and the applications stopped responding (~2GHz processor, 1GB RAM, 48 kbps connection, latency ~ 2 x width of the Pacific Ocean, but Backend 7.00!).
    However I did notice some indications which might be a help (based on 7.00!):
    Back in 4.?? there was a problem in that large menus could not be searched(!). Sorry, I don't have access to SAP now, but from memory the note # was 444043 (or very similar) and introduced a form routine for large menus - from a printscreen I still have the message number which led me to the note - 'I476(S#)'.
    The system certainly distinguishes between MENU_TYPEs and the above note corrections could be found in several locations relating to the SAP menu 'S', the role menu 'A' etc, but I could only see that for favourites 'F' this is implemented for the menu search (when searching, not when loading).
    @ Tim: Ask you customer to create a favourites menu which only has 1 node or max 2 (certainly not more than 4!) and ~ 20 executable objects in it (not more than 30!)? Can they under any conditions achieve the described problem with such a menu?
    If not possible to reproduce, then the closest I could guess is a maximum limit of 4 nodes and max 30 objects for a 'F'avourite menu, before it is a minimum candidate for "performance problems" and consideration to be converted to a role ('A'ctivity group) menu instead.
    Sorry that I can only help by speculating, because I could not reproduce what you have described.
    Hopefully this problem will not happen to me in the New Year, and hope you will solve it for the rest of the year
    Cheers,
    Julius
    Updated memory (not RAM) by: Julius Bussche on Jan 3, 2008 9:07 AM

  • SAP Gui Logon Error - 0942

    Hi,
    We done system copy from SAP ECC6 windows to unix environment.It sucessfully installed.
    while we logon(SAPGUI) the Unix system  Error message Occurs "SQL Error 942 When
    accessing program SAPM".
    Kindly advice to us.
    regards
    senthil

    > No problem in System copy method. I login to my unix system(root user) i sucessfully started database & cI.
    > by using commands lsnrctl start & startsap sap. Server works fine.My problem is SAP GUI Login only
    The SAPGUI Logon problem is a symptom of the problem. The system doesn'T find a specific table it looks for. Even if the system is up and running this doesn't mean anything. You can't logon since a program can't be loaded because the table is not existing.
    Check your dev_w* traces, I'm sure you find a LOT of errors.
    Markus

  • SAP GUI logon error

    HI Friends,
       I installed SAP Gui in my system, I had issues and I downloaded again and installed when I tried to connect I am getting an error as " Could not initialize Context Management Library".
    I tried the steps given OSS note 561557 and still getting the same issue. Then Uninstall and installed again. Still trying to fix the same issue.
    Any suggestions Please
    Thanks - Swarna

    Hi Swarna,
    Try this option.
    In your system > goto > Control Panel > Double click on SAP Configuration icon > Select - User Accessibility mode.
    http://forums.sdn.sap.com/thread.jspa?threadID=2137296
    Br,
    Venky

  • What is the best approach for QA testing of SAP Gui with mercury

    Hello,
    I have to create a testplan for a SAP Gui QA with Mercury's Quality Center.
    Does anybody have experience in doing similar or has recomendations for a good testing scope or useful testing requirements ?
    Any help would be appreciated.
    Thanks

    Hi Michel,
    Go thru the following links which might be helpful for u:
    mercury test director
    http://www.mercury.com/us/products/quality-center/testdirector/
    Regards,
    Anuradha.B

  • I fail to start the sap server with error:Operating system call recv failed

    I fail to start the sap server in SAP R3 Management Console and the message in the syslog was :
    R/3 Basis System: Operating system call           recv failed (error no. 10053)
    Is there any one could tell me how to resolve the problem or give me some advice?I will appreciate him/her very much.Thank you.

    trc file: "dev_disp", trc level: 1, release: "620"
    Sun May 07 13:14:30 2000
    kernel runs with dp version 3(ext=1) (@(#) DPLIB-INT-VERSION-3)
    length of sys_adm_ext is 304 bytes
    systemid   560 (PC with Windows NT)
    relno      6200
    patchlevel 0
    patchno    674
    intno      20020600
    pid        3628
    ***LOG Q00=> DpSapEnvInit, DPStart (00 3628) [dpxxdisp.c   978]
         shared lib "dw_xml.dll" version 674 successfully loaded
         shared lib "dw_xtc.dll" version 674 successfully loaded
         shared lib "dw_stl.dll" version 674 successfully loaded
    Sun May 07 13:14:32 2000
    WARNING => DpNetCheck: NiAddrToHostCanon() took 2 seconds
    Sun May 07 13:14:37 2000
    WARNING => DpNetCheck: NiAddrToHost(1.0.0.0) took 5 seconds
    ***LOG GZZ=> 2 possible network problems detected - check tracefile and adjust the DNS settings [dpxxtool2.c  3212]
    MtxInit: -2 0 0
    DpShMCreate: sizeof(wp_adm)          12784     (752)
    DpShMCreate: sizeof(tm_adm)          1690816     (8412)
    DpShMCreate: sizeof(wp_ca_adm)     18000     (60)
    DpShMCreate: sizeof(appc_ca_adm)     6000     (60)
    DpShMCreate: sizeof(comm_adm)     192000     (384)
    DpShMCreate: sizeof(wall_adm)     (22440/34344/56/100)
    DpShMCreate: SHM_DP_ADM_KEY          (addr: 001E0040, size: 1977824)
    DpShMCreate: allocated sys_adm at 001E0040
    DpShMCreate: allocated wp_adm at 001E0560
    DpShMCreate: allocated tm_adm_list at 001E3750
    DpShMCreate: allocated tm_adm at 001E3778
    DpShMCreate: allocated wp_ca_adm at 00380438
    DpShMCreate: allocated appc_ca_adm at 00384A88
    DpShMCreate: allocated comm_adm_list at 003861F8
    DpShMCreate: allocated comm_adm at 00386210
    DpShMCreate: allocated ca_info at 003B5010
    DpShMCreate: allocated wall_adm at 003B5018
    MBUF state OFF
    Sun May 07 13:14:38 2000
    EmInit: MmSetImplementation( 2 ).
    <ES> client 0 initializing ....
    <ES> InitFreeList
    <ES> block size is 1024 kByte.
    Using implementation std
    <EsNT> Memory Reset enabled as NT default
    <EsNT> EsIUnamFileMapInit: Initialize the memory 2458 MB
    <ES> 2457 blocks reserved for free list.
    ES initialized.
    ***LOG Q0K=> DpMsAttach, mscon ( db01) [dpxxdisp.c   9115]
    CCMS: Initalizing shared memory of size 20000000 for monitoring segment.
    CCMS: start to initalize 3.X shared alert area (first segment).
    DpMsgAdmin: Set release to 6200, patchlevel 0
    MBUF state PREPARED
    MBUF component UP
    DpMBufHwIdSet: set Hardware-ID
    ***LOG Q1C=> DpMBufHwIdSet [dpxxmbuf.c   941]
    DpMsgAdmin: Set patchno for this platform to 674
    Release check o.K.
    Sun May 07 13:15:18 2000
    ERROR => W2 (pid 4776) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W2
    Sun May 07 13:15:38 2000
    ERROR => W5 (pid 4548) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W5
    ERROR => W8 (pid 4592) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W8
    ERROR => W9 (pid 4584) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W9
    ERROR => W12 (pid 4676) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W12
    ERROR => W13 (pid 4272) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W13
    my types changed after wp death/restart 0xbf --> 0xb7
    Sun May 07 13:15:58 2000
    ERROR => W4 (pid 4888) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W4
    ERROR => W6 (pid 4788) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W6
    ERROR => W15 (pid 4596) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W15
    Sun May 07 13:16:18 2000
    ERROR => W1 (pid 4892) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W1
    ERROR => W3 (pid 4904) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W3
    ERROR => W7 (pid 4000) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W7
    ERROR => W10 (pid 4864) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W10
    my types changed after wp death/restart 0xb7 --> 0xb5
    Sun May 07 13:16:38 2000
    ERROR => W0 (pid 4900) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W0
    ERROR => W11 (pid 4500) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W11
    ERROR => W14 (pid 4636) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W14
    ERROR => W16 (pid 3532) died [dpxxdisp.c   11523]
    force unlock of wp_adm mutex W16
    my types changed after wp death/restart 0xb5 --> 0x80
    DP_FATAL_ERROR => DpEnvCheck: no more work processes
    DISPATCHER EMERGENCY SHUTDOWN ***
    DpModState: change server state from STARTING to SHUTDOWN
    Sun May 07 13:16:42 2000
    ***LOG Q0M=> DpMsDetach, ms_detach () [dpxxdisp.c   9341]
    MBUF state OFF
    MBUF component DOWN
    ***LOG Q05=> DpHalt, DPStop ( 3628) [dpxxdisp.c   7883]

  • JRA Function Call to BW produces INVALID_VARIABLE_VALUES error

    I'm working on a dashboarding project using MII to display data sourced from BW. When I use a JRA connector to try and get the data, I get an error:
    [ERROR]: SAPJRAFunction: com.sap.mw.jco.JCO$AbapException: (126) INVALID_VARIABLE_VALUES: INVALID_VARIABLE_VALUES
    The thing that gets me is that I get the same error regardless of whether or not the BAPI has any parameters associated with it. Is there some sort of configuration on BW or MII that I need to put in place in order to successfully get this data?
    Thanks,
    Adam Doyle

    The BASIS team set up a JCo connector. I created an MII transaction that ran a SAP-BI call that required no additional variable input.
    u2022     [INFO ]: Execution Started At: 18:08:36
    u2022     [ERROR]: RFC Function Error: INVALID_VARIABLE_VALUES
    u2022     [ERROR]: ACTION FAILED: End Action SAP_JCo_Function_0 : ( )
    u2022     [INFO ]: Tracer0, Response:
    u2022     [INFO ]: Execution Completed At: 18:08:38 Elapsed Time was 2266 mS
    Again with a different SAP-BI call,
      [INFO ]: Execution Started At: 18:14:30
    [ERROR]: RFC Function Error: INVALID_VARIABLE_VALUES
    [ERROR]: ACTION FAILED: End Action SAP_JCo_Function_0 : ( )
    [INFO ]: Tracer0, Response: <?xml version="1.0" encoding="UTF-8"?>
    <RS_VC_GET_QUERY_VIEW_DATA_FLAT><TABLES><E_T_ATTR_DATA_COLUMNS><item><TUPLE_ORDINAL/><CHANM/><ATTRINM/><ATTRIVL/><CAPTION/></item></E_T_ATTR_DATA_COLUMNS><E_T_ATTR_DATA_ROWS><item><TUPLE_ORDINAL/><CHANM/><ATTRINM/><ATTRIVL/><CAPTION/></item></E_T_ATTR_DATA_ROWS><E_T_AXIS_ATTRS><item><AXIS/><CHANM/><ATTRINM/><CHAPRSNT/><CAPTION/></item></E_T_AXIS_ATTRS><E_T_AXIS_CHARS><item><AXIS/><CHANM/><CHAPRSNT/><CHATYP/><CAPTION/></item></E_T_AXIS_CHARS><E_T_AXIS_DATA_COLUMNS><item><TUPLE_ORDINAL/><CHANM/><CAPTION/><CHAVL/><CHAVL_EXT/><NIOBJNM/><TLEVEL/><DRILLSTATE/><OPT/></item></E_T_AXIS_DATA_COLUMNS><E_T_AXIS_DATA_ROWS><item><TUPLE_ORDINAL/><CHANM/><CAPTION/><CHAVL/><CHAVL_EXT/><NIOBJNM/><TLEVEL/><DRILLSTATE/><OPT/></item></E_T_AXIS_DATA_ROWS><E_T_AXIS_DATA_SLICER><item><TUPLE_ORDINAL/><CHANM/><CAPTION/><CHAVL/><CHAVL_EXT/><NIOBJNM/><TLEVEL/><DRILLSTATE/><OPT/></item></E_T_AXIS_DATA_SLICER><E_T_AXIS_INFO><item><AXIS/><NCHARS/><NCOORDS/></item></E_T_AXIS_INFO><E_T_CELL_DATA><item><CELL_ORDINAL/><VALUE/><FORMATTED_VALUE/><VALUE_TYPE/><CURRENCY/><UNIT/><MWKZ/><NUM_SCALE/><NUM_PREC/><CELL_STATUS/><BACK_COLOR/></item></E_T_CELL_DATA><E_T_MESSAGES><item><ZEILE/><MSGTY/><TEXT/><ARBGB/><TXTNR/><MSGV1/><MSGV2/><MSGV3/><MSGV4/></item></E_T_MESSAGES><E_T_TEXT_SYMBOLS><item><SYM_TYPE/><SYM_TIMEDEP/><SYM_NAME/><SYM_FS/><SYM_BEGIN_GROUP/><SYM_CAPTION/><SYM_VALUE_TYPE/><SYM_VALUE/><SYM_OUTPUTLEN/></item></E_T_TEXT_SYMBOLS><I_T_PARAMETER><item><NAME/><VALUE/></item></I_T_PARAMETER></TABLES></RS_VC_GET_QUERY_VIEW_DATA_FLAT>
    [INFO ]: Execution Completed At: 18:14:33 Elapsed Time was 2469 mS
    I'm getting the same error with both JRA and JCo connectors. Should this be this difficult?
    Adam

  • Custom function call results in 403 Forbidden error

    Hi,
    I use an custom function to show images from blob columns in a report (as shown in Re: How to Display image, that is stored in database This run fine with Apex 2.2.
    After a new installation on an other server - now with Apex 3.1 - everything is ok, but instead of the images only the broken image is displayed.
    Clicking on "show image" calls this URL http://-bla bla- /pls/htmldb6/UNTERSCHRIFTEN.uv_blob_download?p_file=1002401114659435
    and results in this error:
    You don't have permission to access /pls/htmldb6/UNTERSCHRIFTEN.uv_blob_download on this server.
    On the same Installation the sample application runs fine, also the images are displayed correctly. Also the "show image" call http://- bla bla -/pls/htmldb6/apex_util.get_blob_file?a=103&s=805871757194874&p=6&d=476144746179567984&i=176988523388974647&p_pk1=1&p_pk2=&p_ck=DE4CD5C7A077B26C18DDBF429D62F8D5
    works correct.
    I think there is something wrong with some settings.
    Any ideas?
    Thanks for your help,
    Frank

    Hello Vidar,
    I got it: The solution is in wwv_flow_epg_include_mod_local
    I had to put my function in here.
    See also: http://daust.blogspot.com/2006/04/xe-calling-stored-procedures.html
    or in my blog: (in german) http://frankschmidt.blogspot.com/2008/07/apex-blob-direkt-im-report-anzeigen.html
    Thank's for you ideas!
    Regards,
    Frank

Maybe you are looking for