ABAP Debug Mode in SAP and webMethods

HI,
Can anyone help resolve why I am receiving this message when I set the ABAP debug mode to yes on the SAP server? com.sap.mw.jco.JCO$Exception: (105) ERROR_NO_DIALOG_USER: ERROR_NO_DIALOG

HI,
Very possibly the webMethods generic "SAP User" is set up as a "CPI-C" user in SAP. This means that this user can never log directly onto the SAP system, or participate in a 'dialog process' (actual GUI interraction). This is a common approach to ensure that no one can actually log onto the SAP system using this user id (other licensing issues may apply).
Reward Points if found helpfull..
Cheers,
Chandra Sekhar.

Similar Messages

  • Enable the Debug mode for Dispatcher and Server0.

    Hello All,
            In our EP server 7.0(stand alone java) apart from SDM we need to enable the Debug mode for Dispatcher and Server0.I tried to do it from mmc but cannot do so.When I try to right click & enable from mmc the "Enable Process" is not highlited,it is disabled.How Can I enable the the Debug mode for Dispatcher and Server0?

    Hi
    Goto Configtool Select Instance_IDxxxxx on the right side you can see "Servers Debug" tab, select that and choose, enable debug and debuggable options.
    Save the settings.
    Then expand the above mentioned node and select Server_IDxxxxxxx , you will see a tab Debug select it and choose, enable debug and debuggable options.
    Save the settings.
    After it is done, take a restart of the instance. This should help you.
    Regards
    Rahul

  • Connection mode between SAP and PI

    Hi Experts,
    i now have the below question.
    we know normally there are three ways of connection between SAP ECC and PI.
    1. proxy
    2. RFC
    3. IDoc
    then what is the connection mode for these three connections?
    eg. ABAP connection, HTTP connection, TCP/IP connection?

    Hi Aditya,
    As far as I know:
    1. proxy    uses type 3 connection (ABAP)
    2. RFC       uses type T connection (TCP/IP)
    3. IDoc      uses type 3 connection (ABAP)
    However, let us wait for the response of others.
    Regards,
    Mark

  • Debug mode for WD app in CE 7.1 EHP1

    Hi experts,
    I need to debug a WebDynpro application that I have created in my CE7.1 EHP1 environment.
    In the config tool for the Java instance, I have set "Debug Mode" to true and checked the "Enable Debug node" checkbox.
    I restarted the server after this and in SAP MMC Snap In, found that the server0 is running and the Debug column also shows a stauts of Switched on(<<port number>>)
    When I try to create a new Debug Configuration using the Debug Dialog in NWDS, I select SAP Application and attach the appropriate WD app to the configuration.
    At this point, the server instance is automatically selected, but I get the following error message:
    Runtime: No debuggable node available. Open a debug session in SAP Management Console first
    What might I be missing?
    Regards,
    Puja

    Hi guys,
    about one year later I had the same problem as Puja Malhotra.
    Gopala Krishna gave the correct answer but unfortunately he missed to offer the suitable help. So I will catch up
    You have to set the values "debuggable", "debug mode" and "debug port" with the Config Tool to edit the JVM Settings for a Specific Instance.
    Have a look at:
    [http://help.sap.com/saphelp_nwce71/helpdata/en/39/7796e0a7be604ab63c2924045710a8/content.htm]
    After restart it should work!
    Best regards

  • J2ee server doesn't started in debug mode

    Hi.
    I set J2EE server debug mode using configtool and I try to start J2EE.
    At that time, dispatcher, SDM process started successfully but server process doesn't start.
    SAP MMC has "waiiting for start" status for server process.
    Any ideas ?
    Regards, Arnold.

    Right aside the Enable Debugging checkbox in the configtool, there's a 'Restricted Load Balancing' checkbox. As I remember, in some version of the J2EE engine, you need to invert its state in order to get debugging to run.
    Regards,
    Armin

  • BEX Report Veriable is goin in Debug Mode

    Dear Experts,
    Hi
    I created BEX Report on Multiprovider, for this report input veriable is Key date & Company Code. When I am executing this report from RSRT input screen is comming & Key date selection is properly working but when I clicking on Comp Code slelction button it is going in ABAP Debug mode & I am executing this ABAP coding screen with F8 key report is showing below error.
    An error occurred when getting data from the processor.
    >> Row: 83 Inc: LRRMSU13 Prog: SAPLRRMS
    Please provide solution it is very very urgent basis..
    Thanks & Regards,
    Sayyad Irfan

    Hi,
    Try giving a input on comapny code variable instead of selection a value form selection and also check the properties of that variable.
    Also see if its giving any error message while saving the query in designer.
    Hope it helps.
    Regards,
    AL

  • CRM_ORDER_SAVE works properly only in debug mode

    I have a scenario where I'm creating two order documents (using CRM_ORDER_MAINTAIN and CRM_ORDER_SAVE), then linking them with function module CRM_CREATE_BREL_TO_CONTRACT.  After calling CRM_ORDER_SAVE and before CRM_CREATE_BREL_TO_CONTRACT, I "commit work and wait" and call CRM_ORDER_INITIALIZE.  When I set a breakpoint immediately before CRM_CREATE_BREL_TO_CONTRACT (and thus have to pass through debug mode), CRM_CREATE_BREL_TO_CONTRACT works with no problem.  If I don't pass through debug mode, it fails and returns the flag EV_LOCKING_PROBLEM = true.
    I have added "wait X seconds" and have even added a while loop that calls CRM_ORDER_CHECK_CHANGE_ALLOWED.  But when I don't enter debug mode, this while loop runs forever.
    Does anybody know what's happening here?  I suspect there is some kind of problem with document distribution, but I'm not sure.
    Many thanks,
    Tom Peng

    Hello Tom,
    As you may already known, the lock is added in FM CRM_CREATE_BREL_TO_CONTRACT with the following coding:
          IF ls_active_switch-lock_contract <> gc_act_switch-inactive.
    *       Lock contract
            CALL FUNCTION 'CRM_ORDER_ENQUEUE'
              EXPORTING
                iv_guid           = iv_contract_header
              IMPORTING
                ev_already_locked = lv_already_locked
              EXCEPTIONS
                foreign_lock      = 1
                system_failure    = 2
                distributed_lock  = 3
                no_change_allowed = 4
                transferring      = 5
                OTHERS            = 6.
            IF sy-subrc <> 0.
    Here system checks whether activ_switch is active. If yes, the error issued.
    Thus you need to pass the parameter t_active_switch with value false when call FM crm_order_save.
    Hope this information could be helpful.

  • Running smq2 queues in debug mode

    Hi,
    Can anyone tell me how to successfully run an inbound queue in debug mode.
    Following are the steps undertaken.
    I locked the queue in SMQ1. The Queue is set to STOP state.
    I then triggered an sBdoc flow into CRM.
    I am expecting the sBdoc to be in an intermediate state, but to my surprise it is coming as Fully Processed.
    At this point, setting Debug mode in smq2 and Unlocking the queue does not help me analyse the bdoc/process flow as the bdoc is allready processed.
    Any inputs in this regard would be helpful.
    Thanks & Regards
    Ron.

    Hi Ron,
    Please check below blog, hope it helps u.
    Regards,
    Deven
    /people/lokesh.aggarwal/blog/2008/02/27/debugging-crm-middleware--sales-document

  • Stopping a program in debug mode

    Hi all,
    i have am having a intermitent issue with a program. first let me give you the issue and then the specs.
    This is an inconsistant program lockup. when the program runs in an, .exe format it runs fine for an hour to a couple of days and then goes to a white screen and freezes. the program is basically just continiously reading a DAQ card and comparing readings to set values.
    if i have the program running in Debug mode thru CVI and it freezes, CVI sees it as running (in top left hand corner of CVI interface), if i push the stop button (break execution) the break execution dims but the program never stops and the Running indication is still active.
    question--- is there another way to stop the program while it is in this frozen state to see where the issue is hanging up. like a hard stop command ????
    I can only stop the program by using task manager and ending CVI there. which does me no good in finding the freezing point.
    CVI 2012 sp1
    with a PCI 6071E DAQ

    There isn't an easy way to debug this kind of events. 
    The behaviour you are seeing (stop button dimmed after click but program that soesn't stop) normally happens when the program is stuck in a operation waiting for it to finish before breaking into the IDE. It may be a popup message waiting for user input, a I/O operation with a long or infinite timeout...
    To deal with such a kind of thing you can for example write operations to a log file -one line before each critical call and one after that- so that you can at least see where it hanged. Alternatively you can use DebugPrintf to write messages to the debug output window: if in the IDE you have this window listed in Windows menu, if an .exe you can use utilities like DebugView to receive those messages. Another alternative can be to use Remote Debugging.
    However, this is only a list of possible instruments and techniques: solving these problems usually ends up in a boring task of trial and error to narrow down to the critical situation and trying to overcome it.
    Proud to use LW/CVI from 3.1 on.
    My contributions to the Developer Zone Community
    If I have helped you, why not giving me a kudos?

  • Detect DEBUG mode in ABAP code

    Hi all,
    Is there a way to detect that we are in DEBUGGING mode in ABAP code.
    I need to determine this, because we have function modules that will be runned in a separate process in the background. If i could detect DEBUG mode, i could choose not to run these modules in the background, making debugging them possible.
    Regards,
    Rob.

    When you debug a program that calls function modules using the IN BACKGROUND TASK addition, they are processed in a background work process (additional internal session). If you set the In background task: Do not process option, the system collects the function calls, but does not start the background work process. The Debugger assigns a transaction ID, which identifies the background work process uniquely. You can now start the Debugger for the background work process using transaction SM58. You can select the function module concerned here, and then execute it via the Edit menu.
    http://help.sap.com/saphelp_47x200/helpdata/en/c6/617d0ce68c11d2b2ab080009b43351/frameset.htm
    There is a system variable SY-DEBUG, not sure if it works, though.
    Regards,
    Subramanian V.

  • Problem with Debug mode and SLD

    Using the config tool, we have turned the Debuggable flag to 'yes' and set the Debug mode to OFF.   Now from the studio, when I enable debugging for the process, the server0 stops successfully and restarts successfully. However, during the restart, the SLD service errors out and does not get started. It encounters the following exception. I can verify the error in std_server0.out
    With erred SLD service, when I try to deploy and run the webdynpro application from studio, the deploy fails with the same exception.
    We tried all kinds of restart (of the engine\server instance), debuggable and debug mode setting permutations, but not successfull.  (debug port is 50021)
    We are having remote debug server setup (not local).
    Does anybody have any suggestions???
    The exception we get is:
    Finished with warnings: development component 'CreateOrder'/'local'/'LOKAL'/'0.2007.11.26.14.33.54':Caught exception during application startup from SAP J2EE Engine's deploy service:java.rmi.RemoteException: Error occurred while starting application local/CreateOrder and wait. Reason: Clusterwide execption: server ID 3775750:<Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Implied start failed for dependency :local/CreateOrder -> service:sld', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Implied start failed for dependency :local/CreateOrder -> service:sld', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key com.sap.engine.services.deploy.container.DeploymentException: <Localization failed: ResourceBundle='com.sap.engine.services.deploy.DeployResourceBundle', ID='Implied start failed for dependency :local/CreateOrder -> service:sld', Arguments: []> : Can't find resource for bundle java.util.PropertyResourceBundle, key Implied start failed for dependency :local/CreateOrder -> service:sld (message ID: com.sap.sdm.serverext.servertype.inqmy.extern.EngineApplOnlineDeployerImpl.performAction(DeploymentActionTypes).REMEXC)

    Hi Michael,
    one way is to enhance the server go.bat with debug parameters. Under c:\usr\sap\<SID>\j2ee\<INSTANCE>\cluster\server\go.bat define the following params
    set DEBUG_PORT=5000
    set DEBUG_PARAMS=-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=
    and add both params to the java arguments (e.g. behind the -classpath): %DEBUG_PARAMS%%DEBUG_PORT%.
    Regards,
    Stefan

  • Remote Enabled function module of SAP working - debug mode but not run mode

    Hi,
    When a remote function module is called from Java a message should get thrown from the function module which the FM is throwing but Java is not able to fetch the error. This problem is coming in execution mode but if we are in debugging mode and go to the function module  remotely the error is getting triggered.
    Please suggest the solution to the problem.
    Thanks,
    Abhishek

    Hello
    try something like this
    try {
       JCO.Client.execute(myFunction)
    } catch (JCO.AbapException ex) {
       System.out.println ("ABAP Exception: " + ex.getKey() + " " + ex.getMessage());
    the problem is, that JCo ABAP Exceptions are subclasses of java.lang.RuntimeException so the Java Compiler doesn't force you to catch them
    regards franz
    reward points if useful

  • Extract data from SAP and send to external system via Webmethods & IDOC's

    Hi,
    We need to Extract data from SAP and send to an external system via Webmethods middlewear using IDOCs. I have never used webmethods before and would like to know more about how to implement this scenario. I have used IDOCS in an EDI scenario before but not used it along with WebMethods.
    Any pointers would be of great help. Thanks

    If you have already ABAP programs /BAPI's in place then try to develop RFC interface and write some back ground programs to scheudl BAPI's and develop scenario but you need to implement error handling , data validation in PI mapping level.
    or
    take help from ABAPer to design in ABAP like writing Proxy program to pull data and send it PI.
    if you are dealing with master data bit risky(correctness) but can be achived using PI.

  • What is the utility of watch point and break point in ABAP DEBUGGING !

    What is the utility of watch point and break point in ABAP DEBUGGING !
    PLEASE TELL ME IN DETAILS AND IF POSSIBLE WITH SCREEN SHOTS !

    Hi,
    Breakpoints, Watchpoints, and Checkpoints
    Summary
    The standard Breakpoints tool is always located on the Breakpoints desktop. With this tool, you can manage breakpoints, watchpoints and checkpoints. In addition, you can monitor the current status of the different breakpoint types.
    Detailed Description
    Breakpoints
    In the Breakpoints area, you will see a list of all the breakpoints set so far. If one of the breakpoints has just been reached, this is marked with a yellow arrow. The visibility (Debugger, session, user) and type (line, ABAP command, …) is displayed for each breakpoint.
    If you double click the Navigation() column, the system will display the breakpoint in the respective source code.
    The visibility of a breakpoint can be changed through the dropdown list. To change the visibility of several breakpoints, mark them and select the pushbutton Save as Session Breakpoint or Save as User Breakpoint.
    You can change the visibility of all Debugger breakpoints using the menu path Breakpoints-> Save Debugger BPs as -> ....
    In addition, you have functions for creating, changing, activating and deactivating breakpoints at your disposal.
    Watchpoints
    In the Watchpoints area, you will see a list of all the watchpoints set so far. The watchpoint last set is highlighted with a yellow arrow.
    For each watchpoint you will see not only the current value but the value before the last changed. (Technically speaking, each time you create the watchpoint and each time the watchpoint variable is changed, a clone of this variable is created.)
    In this way, you can always determine what changes have been made to the monitored variable. For complicated data structures, such as internal tables or structures, select the pushbutton „Compare Variables“( ) and choose the Diff tool to compare the old and new variable values.
    In addition, you have functions for creating, changing, activating and deactivating watchpoints at your disposal.
    Checkpoints
    In addition, you can edit conditional and unconditional checkpoints using the Breakpoints tool. This function is provided in the new Debugger only. Conditional checkpoints are set first in the source code using the ASSERTstatement; unconditional checkpoints are set using the BREAK-POINT statement. These have the effect that programs will be continued only if a preset condition is fulfilled. In the following window, these checkpoints can be searched for, activated, or deactivated.
    Pls refer to :
    http://help.sap.com/saphelp_nw70/helpdata/en/e2/5f5a42ed221253e10000000a155106/frameset.htm
    Regards,
    Renjith Michael.

  • Customer Exit var (basedOn 0P_KEYDT) ABAP error - Going into Debug mode

    Hello All,
    I have created a BEX Query based on Infoset, so i couldnt use '0P_KEYDT' SAP Exit in a variable.
    Instead i created a Z 'Customer exit' with the same code.
    But when i execute query in RSRT, query is going into Debug mode.
    InfoProviders are all active, when i remove the Z 'Customer Exit' from the query then query is running fine. So i see that the problem is with the Z 'Customer exit' code.
    Here is the 0P_KEYDT code:
    FUNCTION RSVAREXIT_0P_KEYDT.
    *"*"Lokale Schnittstelle:
    *"  IMPORTING
    *"     VALUE(I_VNAM) LIKE  RSZGLOBV-VNAM
    *"     VALUE(I_VARTYP) LIKE  RSZGLOBV-VARTYP
    *"     VALUE(I_IOBJNM) LIKE  RSZGLOBV-IOBJNM
    *"     VALUE(I_S_COB_PRO) TYPE  RSD_S_COB_PRO
    *"     VALUE(I_S_RKB1D) TYPE  RSR_S_RKB1D
    *"     VALUE(I_S_RKB1F) TYPE  RRO01_S_RKB1F
    *"     VALUE(I_THX_VAR) TYPE  RRO01_THX_VAR
    *"     VALUE(I_STEP) TYPE  I DEFAULT 0
    *"  EXPORTING
    *"     VALUE(E_T_RANGE) TYPE  RSR_T_RANGESID
    *"  EXCEPTIONS
    *"      UNKNOWN_VARIABLE
    *"      UNEXPECTED_VARTYPE
    *"      VARIABLE_INITIAL
      DATA:
          LS_RA_SID  TYPE   RSR_S_RANGESID.
      IF I_STEP EQ 0 OR                    " without popup or
         I_STEP EQ 1.                      " before popup
        REFRESH E_T_RANGE.
        CLEAR: LS_RA_SID.
        LS_RA_SID-SIGN = 'I'.
        LS_RA_SID-OPT = 'EQ'.
        LS_RA_SID-LOW = SY-DATUM.
        APPEND LS_RA_SID TO E_T_RANGE.
      ENDIF.
    ENDFUNCTION.
    Here is Z 'Cusotmer Exit Code:  (Defined I-STEP and E_T_RANGE)
    method ZPKEYDT.
      Data: ls_var_range TYPE rrs0_s_var_range,
            l_s_range TYPE rsr_s_rangesid.
      IF  I_STEP EQ 1.                  
    REFRESH e_t_range.
        CLEAR: l_s_range.
        l_s_range-SIGN = 'I'.
        l_s_range-OPT = 'EQ'.
        l_s_range-LOW = sy-datum.
        APPEND l_s_range TO e_t_range.
      ENDIF.
    endmethod. 
    I could really appreciate your help!
    Thanks in advance,
    DC

    Hi DeeCh.
    If you want to populate the value before the variabel screen input.then please follow below code
    case i_vnam.
      when 'ZPKEYDT'.
      if i_step = 1.
        l_s_range-low  = sy-datum..
          l_s_range-sign = 'I'.
          l_s_range-opt = 'EQ'.
          APPEND l_s_range TO e_t_range.
          clear l_s_range.
              endif.
              endcase.
    Regards,
    Nanda.S

Maybe you are looking for

  • How to find out in GUI if my blade has a sd card or not.

    Hi .. am doing a remote installation of UCS with onsite support---- the blades are shipped with the sd cards but the team cannot see in from the front view. Where exactly will this sd card be located and how to verify the same in UCSM 2.1(3a). Thanks

  • Java.rmi.RemoteException: Error initializing ejb-module java.lang.NoClassDe

    Hi, I have an ear file which has ejb jar and war file. Application is running fine through Jdeveloper but when am trying to deploy it in Oracle Application Server 10g getting following error. Any help in this would be appreciated. Deployment failed:

  • Reliability of Itunes U  Server

    How reliable is the Itunes U server? Apple says that Itunes U is up 24/7 but how reliable is the server really? Can we depend on Itunes U to really be there even at 3 or 4 in the morning?

  • Illustrator pdf issue

    When attempting to open a pdf in Illustrator CS2 (old I know, only one I have), it greys out the window and never opens the typical box where I select the page. Pressing the escape button returns to an empty illustrator window, but it doesn't open th

  • Default address book

    How can I make address book of my gmail account as default? Secondly if I want to add email address of any downloaded emails or incoming emails then by default they add it to my default address book of my gmail account.