Cannot set breakpoint because 'main program must be generated '

Hi All,
I was trying to debug a program SAPMZW01. But i am unable to set a breakpoint because it gives the info message - 'Main Program Must Be Generated'.
There was another query related to this in sdn but it relates to some other module and i am not able to fund the relavent note.
I am new to ABAP .
Kindly help.

Hi ESHA,
Some times it stucks with code activation so ones do it forcefully bypassing the warning for both main program and called program .
it will resolve your problem.
Regards,
Gaurav Sood

Similar Messages

  • TS1393 I cannot eject my iPod using either itunes or the eject button on bottom tool bar beacuse it says something is in use by another application or "The device 'generic volume' cannot be stopped because  a program is still accessing it" Synced new iPad

    How can I eject my ipod when neither itunes not the "safe to eject" button will allow it.  Itunes says "...cannot be ejected because it contains files that are in use by another application."  The safe to eject button says "The device 'generic volume' cannot be stopped because a program is still accessing it."  The has never happened before.  The only thing new is that I added an iPad yesterday.  Thanks. 

    Go to your computer's System Tray and try ejecting.  If you can't eject, there is an application that is trying to access your iPod.
    Go to http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx and download ProcessExplorer.
    Go to http://support.microsoft.com/kb/555665 and follow the instructions under Resolution.
    Note that this is a good, general process any time you can't access any file.
    In my case an update to RealPlayer installed a program called RecordingManager that was accessing my iPod.

  • I have a MacBook Pro with Snow Leopard. After connecting my HP Photosmart D110 to it, the printer works but the scanner doesn't. The message is"The scan cannot be performed because another program has control of the HP imaging device". Can anyone help?

    I have a MacBook Pro with Snow Leopard. After connecting my HP Photosmart D110 to it, the printer works but the scanner doesn't. The message is"The scan cannot be performed because another program has control of the HP imaging device". Can anyone help?

    Found the answer on the HP site. It's the original software that works with this printer OS X 10.6!!
    http://h20000.www2.hp.com/bizsupport/TechSupport/SoftwareDescription.jsp?lang=en &cc=us&prodTypeId=18972&prodSeriesId=3558902&prodNameId=3562006&swEnvOID=219&swL ang=8&mode=2&taskId=135&swItem=ma-60835-3

  • ABAP Debugger, Cannot set breakpoints.

    I write a simple program in ABAP like this below.
    I want to set a break point on the Line WRITE 'HELLO'.
    REPORT  Y_TABLES.
    WRITE 'HELLO'.
    WRITE 'WORLD'.
    When I do that, it  says "you can only set breakpoints in active unchanges source.".
    When I go to active the program, the system asks me to save the program and comes up with just the 
    REPORT  Y_TABLES.
    and the following lines are lost.
    WRITE 'HELLO'.
    WRITE 'WORLD'.
    Can any one please let me know what I am doing wrong.. ?
    Thx..

    break-point can not set write statement.
    wrong logic.
    REPORT Y_TABLES.
    WRITE 'HELLO'.
    WRITE 'WORLD'.
    another way.
    internal break-point.
    external break-point.
    example.
    REPORT Y_TABLES.
    WRITE 'HELLO'.
    break-point.
    WRITE 'WORLD'.
    active and run.
    now break point set.
    try it.

  • Photoshop CC2014 does not launch. Error message ' cannot initialize photoshop because of program error

    Hi, I get this error message (cannot initialize) after the splash screen.
    I have chatted with Adobe staff and spoke to one. I have un-installed and re-installed, created new administrator and installed, fixed permissions, deleted preferences, you name it.
    In previous chat on a forum I read about the PsErrorLog.txt file.
    Mine says:
    2014:08:23 10:50:20 : /Volumes/workarea/PS_15_Mac_Daily_Retail/20140730.r.148/photoshop/main/photoshop/sources/ UColorState.cpp : 737 : REQUIRE failed
    2014:08:23 10:54:42 : /Volumes/workarea/PS_15_Mac_Daily_Retail/20140730.r.148/photoshop/main/photoshop/sources/ UColorState.cpp : 737 : REQUIRE failed
    I cannot locate the ColorSettings.csf in the photoshop preferences folder  and my System Preferences / displays / color says iMac.
    Any tips how to solve this issue?

    Either your default color settings files are corrupted, or they are missing (they're in the system application support folder).
    Uninstalling and reinstalling should put the default files back in place.

  • I cannot start iTunes because the program can't find 'My music' folder

    I had a fairly hefty PC crash yesterday, and I cannot now start my iTunes software. The error message is: "The folder 'iTunes' cannot be found or created, and is required. The default location for this folder is inside the 'My Music' folder."
    I had been keeping my library in an external disk drive, that had - until the crash - been my 'G' drive. Post crash it now calls itself the 'K' drive.
    All I can presume is that the software is pointed towards the old 'G' drive.
    My music is still intact, but I just cannot connect to it.
    Can anybody help, please?
    Many thanks.
    iPod 5th Gen 80 gig   Windows XP  

    I had been keeping my library in an external disk drive, that had - until the crash - been my 'G' drive. Post crash it now calls itself the 'K' drive.
    your registry will probably still be looking for the My Music folder on your K drive. (the "My Music" folder has special registry properties.)
    so let's try shifting the drive letter on that drive back to "K". for instructions on shifting drive letters, see the following document. (although it's about changing the drive letter of an iPod, the same basic principle apply to changing the drive letters of other drives.)
    Windows confuses iPod with network drive or hard drive and may keep iPod from mounting or songs may seem to disappear

  • Can U set breakpoint within a batch job and look at variables?

    Hello friends,
    I am trying to solve a problem that occurs within a program / transaction which can only be executed in background. The transaction in question is FPCOPARA and apparently this program cannot be executed in foreground.
    If I understand well, we cannot set breakpoints within a background job and as a result we cannot inspect variable etc. during job execution. So the question is how to achieve the same goal within a batch job? How did you do it? As this is a standard SAP transacrtion, no program modification can be applied.
    Your help is greatly appreciated.

    Hi......
    After u have executed ur batch job..
    go to sm37 >>select ur job using checkbox>>enter 'JDBG' in transaction box and press enter
    now debugger will start ..initial it will go through system code..after after a while the debugger will reach to your code and den you can debug the remaining report....
    all the best
    regards
    vivek

  • How to apply security paramters in a main program to interact with webservi

    Hi ,
    I am working with weblogic 10.1.3 and running build.xml in eclipse for EE
    I would like to know the steps to include security parameters to authenticate with weblogic server and call webservice
    I have written a build.xml that takes input as wsdl , When I run the build.xml it generates
    all the necessary stubs and interfaces
    I have written a main program that imports generated classes and invoke the webservice method
    below are buidl.xml and two classes( main program and one java class) which I used to invoke webservice
    Build.xml
    =====
    <project name="webservices-simple_client" default="all">
         <!-- set global properties for this      -->
         <property name="wls.hostname" value="localhost" />
         <property name="wls.port" value="8002" />
         <property name="example-output" value="output" />
         <property name="clientclass-dir" value="${example-output}/srcclasses" />
         <property name="clientclassfiles-dir" value="${example-output}/classfiles" />
         <path id="client.class.path">
              <pathelement path="${clientclass-dir}" />
              <pathelement path="${java.class.path}" />
         </path>
         <taskdef name="clientgen" classname="weblogic.wsee.tools.anttasks.ClientGenTask" />
         <target name="clean">
              <delete dir="${clientclass-dir}" />
              <delete dir="../src/com/bea/wlcp/wlng/ws/presence" />
              <delete dir="../src/org/csapi/schema/paralyx/common/v2_1" />
              <delete dir="../src/org/csapi/schema/paralyx/presence/consumer/v2_3/local" />
              <delete dir="../src/org/csapi/schema/parlayx/presence/v2_3" />
              <echo message="Cleaning Completed" />
         </target>
         <target name="build-client">
              <clientgen wsdl="http://${wls.hostname}:${wls.port}/parlayx21/presence/PresenceConsumer?WSDL" destdir="${clientclass-dir}" generatepolicymethods="true" packageName="com.bea.wlcp.wlng.ws.presence" />
              <javac srcdir="${clientclass-dir}" destdir="${clientclassfiles-dir}" includes="**/*.java" />
              <copy overwrite="true" todir="../src">
                   <fileset dir="${clientclass-dir}" />
              </copy>
              <copy overwrite="true" todir="../src">
                   <fileset dir="${clientclassfiles-dir}" />
              </copy>
              <delete dir="${clientclass-dir}" />
              <delete dir="${clientclassfiles-dir}" />
              <echo message="Building Completed" />
         </target>
         <target name="all" depends="clean,build-client" />
    </project>
    ======================================================
    import java.net.URI;
    import javax.xml.rpc.Stub;
    import javax.xml.ws.BindingProvider;
    import java.net.Proxy;
    import java.net.InetSocketAddress;
    import java.util.ArrayList;
    import java.util.List;
    import weblogic.webservice.wsdl.WsdlPort;
    import weblogic.wsee.connection.transport.http.HttpTransportInfo;
    import weblogic.wsee.jaxrpc.ServiceImpl;
    import org.csapi.schema.parlayx.common.v2_1.PolicyException;
    import org.csapi.schema.parlayx.common.v2_1.SimpleReference;
    import org.csapi.schema.parlayx.presence.consumer.v2_3.local.SubscribePresence;
    import org.csapi.schema.parlayx.presence.consumer.v2_3.local.SubscribePresenceResponse;
    import com.bea.wlcp.wlng.et.core.module.session_manager.GTUsernameTokenPolicy;
    import com.bea.wlcp.wlng.et.core.module.session_manager.SessionManagerService_Impl;
    import com.bea.wlcp.wlng.ws.presence.PresenceConsumer;
    import com.bea.wlcp.wlng.ws.presence.PresenceConsumerService_Impl;
    import com.bea.wlcp.wlng.ws.sessionmanager.SessionManager;
    import com.bea.wlcp.wlng.ws.sessionmanager.SessionManagerService;
    import weblogic.wsee.security.unt.ClientUNTCredentialProvider;
    import weblogic.xml.crypto.wss.WSSecurityContext;
    import weblogic.xml.crypto.wss.provider.CredentialProvider;
    @SuppressWarnings("deprecation")
    public class Main {
         @SuppressWarnings("unchecked")
         public static void main(String[] args) throws javax.xml.rpc.ServiceException,PolicyException{
         try{
         /*PresenceConsumerService_Impl pcs_impl = new PresenceConsumerService_Impl("http://localhost:8002/parlayx21/presence/PresenceConsumer?WSDL");
         PresenceConsumer pc = (PresenceConsumer) pcs_impl.getPresenceConsumer();
         UserCredentialsvalidation gt = new UserCredentialsvalidation("sdpai","sdp");*/
         SimpleReference rf = new SimpleReference();
         rf.setCorrelator("correlatorid");
         rf.setEndpoint(URI.create("http://localhost:8002/PresenceConsumerService/services/PresenceConsumer"));
         rf.setInterfaceName("PresenceConsumer");
         SubscribePresence sb = new SubscribePresence();
         sb.setApplication("sdp");
         sb.setPresentity(URI.create("tel:1234"));
         sb.setReference(rf);
         System.out.println(" Before calling subscribe presence ==" );
         //SubscribePresenceResponse spr = pc.subscribePresence(sb);
         System.out.println(" Hi There here 2226678565");
         System.out.println(" Hi There here 333");
         //raja
         String strUrl = "http://localhost:8002/parlayx21/presence/PresenceConsumer?WSDL";
         Stub objStub = (Stub) new PresenceConsumerService_Impl().getPresenceConsumer();
         objStub._setProperty(javax.xml.rpc.Stub.USERNAME_PROPERTY,"sdpai");
         objStub._setProperty(javax.xml.rpc.Stub.PASSWORD_PROPERTY,"sdp");
         objStub._setProperty(javax.xml.rpc.Stub.ENDPOINT_ADDRESS_PROPERTY,strUrl);
         PresenceConsumer port = (PresenceConsumer) objStub;
         String returnVal = "";
         System.out.println(" Hi There here 77");
         SubscribePresenceResponse spr = port.subscribePresence(sb);
         System.out.println(spr);
         //ended here
              catch(Exception e)
                   e.printStackTrace();
    =======================================
    UserCredentialsvalidation.java
    import com.bea.wlcp.wlng.et.core.module.session_manager.SessionManagerService_Impl;
    import com.bea.wlcp.wlng.schema.ews.common.ServiceException;
    import com.bea.wlcp.wlng.ws.sessionmanager.SessionManager;
    import com.bea.wlcp.wlng.ws.sessionmanager.SessionManagerService;
    import weblogic.wsee.security.unt.ClientUNTCredentialProvider;
    import javax.xml.rpc.Stub;
    import java.util.ArrayList;
    import java.util.List;
    public class UserCredentialsvalidation implements PolicyBase {
         private String username;
         private String password;
         public UserCredentialsvalidation(String username, String password) {
              this.username = username;
              this.password = password;
              String sessionManagerURL="http://localhost:8002/session_manager/SessionManager";
              SessionManagerService accessservice = null;
              try {
              accessservice = (SessionManagerService) new SessionManagerService_Impl(sessionManagerURL+"?WSDL");
              SessionManager port = accessservice.getSessionManager();
              System.out.println(" port >>>>>");
              System.out.println(" port >>>>>" +port);
              UserCredentialsvalidation pbase = new UserCredentialsvalidation();
              pbase.prepareStub((Stub)port,username,password);
              } catch (Exception e) {
                   System.out.println(" helo helo");
                   // TODO Auto-generated catch block
                   e.printStackTrace();
         public UserCredentialsvalidation() {
              // TODO Auto-generated constructor stub
         public void prepareStub(Stub stub,String username,String password) throws Exception {
              List<ClientUNTCredentialProvider> credProviders = new ArrayList<ClientUNTCredentialProvider>();
              System.out.println(" username >>> " + username.getBytes());
              System.out.println(" password >>> " + password.getBytes());
              credProviders.add(new ClientUNTCredentialProvider(username.getBytes(),
                        password.getBytes()));
              System.out.println("setting standard wssec");
              stub._setProperty("weblogic.wsee.security.wss.CredentialProviderList",
                        credProviders);
              System.out.println("Getting property from stub== " + stub._getProperty("weblogic.wsee.security.wss.CredentialProviderList"));
         @Override
         public void prepareStub(Stub port) throws Exception {
              // TODO Auto-generated method stub
    =========================================
    When I run the main program I am getting below exception
    Before calling subscribe presence ==
    Hi There here 2226678565
    Hi There here 333
    Hi There here 77
    java.rmi.RemoteException: SOAPFaultException - FaultCode [{http://schemas.xmlsoap.org/soap/envelope/}Server] FaultString [Unable to add security token for identity] FaultActor [null]No Detail; nested exception is:
         weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Unable to add security token for identity
         at com.bea.wlcp.wlng.ws.presence.PresenceConsumer_Stub.subscribePresence(PresenceConsumer_Stub.java:37)
         at Main.main(Main.java:62)
    Caused by: weblogic.wsee.jaxrpc.soapfault.WLSOAPFaultException: Unable to add security token for identity
         at weblogic.wsee.codec.soap11.SoapCodec.decodeFault(SoapCodec.java:355)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decodeFault(CodecHandler.java:115)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.decode(CodecHandler.java:100)
         at weblogic.wsee.ws.dispatch.client.CodecHandler.handleFault(CodecHandler.java:88)
         at weblogic.wsee.handler.HandlerIterator.handleFault(HandlerIterator.java:309)
         at weblogic.wsee.handler.HandlerIterator.handleResponse(HandlerIterator.java:269)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.handleResponse(ClientDispatcher.java:213)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:150)
         at weblogic.wsee.ws.WsStub.invoke(WsStub.java:87)
         at weblogic.wsee.jaxrpc.StubImpl._invoke(StubImpl.java:337)
         at com.bea.wlcp.wlng.ws.presence.PresenceConsumer_Stub.subscribePresence(PresenceConsumer_Stub.java:32)
         ... 1 more
    Caused by: weblogic.xml.crypto.wss.WSSecurityException: Unable to add security token for identity
         at weblogic.wsee.security.wss.SecurityPolicyDriver.processIdentity(SecurityPolicyDriver.java:175)
         at weblogic.wsee.security.wss.SecurityPolicyDriver.processOutbound(SecurityPolicyDriver.java:73)
         at weblogic.wsee.security.WssClientHandler.processOutbound(WssClientHandler.java:71)
         at weblogic.wsee.security.WssClientHandler.processRequest(WssClientHandler.java:55)
         at weblogic.wsee.security.WssHandler.handleRequest(WssHandler.java:74)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:141)
         at weblogic.wsee.handler.HandlerIterator.handleRequest(HandlerIterator.java:107)
         at weblogic.wsee.ws.dispatch.client.ClientDispatcher.dispatch(ClientDispatcher.java:132)
         ... 4 more
    ==========================================================
    I am working for 3 days to solve this issue, but helpless :(
    Please tell me I am going in right way , I read many forums and implemented different ways , but getting same problem, that too before calling webservice method .
    Do i need to do anything more apart from adding username and password parameters
    Please tell me the exact steps how to perform authentication with webservices
    Your answer will help me a lot .
    Thanks in Advance
    Regards
    Rajasekhar

    Please ignore this thread

  • CS2 on Windows 8.1 - Can't set-up because of message-missing or invalid personalization message

    I have downloaded CS2 onto Windows 8.1.  I cannot set-up because I get the message:THE INSTALLER COULD NOT START BECAUSE OF THE FOLLOWING REASONS: MISSING OR INVALID PERSONALIZATION INFORMATION. MISSING RESOURCES LIBRARY.  I am a legit licence holder and have an Adobe ID.  Can anyone please help or advise?

    See Error: Activation Server Unavailable | CS2, Acrobat 7, Audition 3

  • Chessmaster 900 chess program. My Apple notebook tells me I cannot open it because it is no longer supported. Must I send it back, or is there another solution?

    My Apple notebook tells me I cannot open it because it (Power PC games/programmes) are  no longer supported. Must I send it back, or is there another solution?

    WOW: It only took you an hour to accept "No" for an answer
                                  [click on image to enlarge]

  • Message: 'You cannot set more than 30 breakpoints' - None set

    Hi,
    I am trying to debug a standard program.
    When trying to set a dynamic breakpoint, I get a small dialog screen asking me for the main program. Once selected, I receive the following message:
    'You cannot set more than 30 breakpoints'
    Debugging using /h from the main program would take a very long time.
    I checked and no breakpoints are set (Utilities > Breakpoints > Display).
    What do I do? Please help.
    Thanks,
    John

    Hi
    check this :
    Re: break points in debugging
    You can not set more than 30 dynamic breakpoints.
    Neha

  • I have several keynote presentations on my computer but now am getting the message that the program cannot be installed "because of a problem." All this started when I bought microsoft office for  University (2011). What is the problem and how can I fix

    I have several keynote presentations on my newish computer but am not unable to open them. I get the message "keynote cannot be installed because of a problem" (unspecified). Does anybody know why this happend? Does it related to using Microsoft "University"  2011? How can I fix it? Thanks!

    Thank you for your reply.
    I just tried the 3-step process suggested on http://support.microsoft.com/kb/2431353
    This all started when my mouse/thumb clicker was going crazy. Found an expanded battery. Obviously need a new battery. Unfortunately must wait 6 weeks to get my new battery. Meanwhile, I'm running my computer on AC only, as there appears to be no other option. I was informed that when using AC only (no battery) some high-energy-use programs like Office might not function.
    Do you know if there is away to use office even when just using AC and not having the battery in? I'm doubting if I have other OSX problems because everything else works: email, safari, itunes, iphoto, quicktime, etc . . . . ?
    ciao,
    Masego

  • This message cannot be displayed because of the way it is formatted. Ask the sender to send it again using a different format or email program. multipart/alternative

    When trying to read messages on one email account I often get the following error message:  This message cannot be displayed because of the way it is formatted. Ask the sender to send it again using a different format or email program. multipart/alternative
    IMAP Email account is with Telus Shared hosting.  I have been through set up with their tech support and everything is set up correctly.
    Of course my gmail account and icloud account works perfectly.
    Any ideas?
    Thank you.

    My iPad not working with hotmail and all Microsoft it working only with icloud ,Google,yahoo mail you andestandyou me or not system not working with this divies

  • Why is it that I cannot uninstall because the program was from an unidentified developer

    Why is it that I cannot uninstall a program because the program was from an unidentified developer?

    Might have an answer for you if I understood what you are asking.
    Uninstalling Software: The Basics
    Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
    Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
    Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
    Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
    Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
    If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, EasyFind, instead.
    Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
    There are many utilities that can uninstall applications.  Here is a selection:
        1. AppZapper 2.0.1
        2. AppDelete 3.2.6
        3. Automaton 1.50
        4. Hazel
        5. AppCleaner 2.1.0
        6. CleanApp
        7. iTrash 1.8.2
        8. Amnesia
        9. Uninstaller 1.15.1
      10. Spring Cleaning 11.0.1
    For more information visit The XLab FAQs and read the FAQ on removing software.

  • I am installing Itunes after a cpu restore and am getting this error reading "the file Itunes cannot be read because it was created by a newer version of itunes. I have downloaded the latest version and this is what i get when i try open the program

    Hi all, please help me reinstall Itunes onto my PC. When i did a pc refresh, it deleted my itunes and microsoft office. I am now trying to reinstall itunes and am getting the following message each time i try run the new downloaded version ( i have tried a few older and the latest one and all show the same message)
    the file Itunes cannot be read because it was created by a newer version of itunes. I have downloaded the latest version
    Cheers
    Andrew

    Tell us some version numbers please, of your Mac OS versions and iTunes versions on both computers (two eMacs yes?).
    dlrobinson49 wrote:
    I guess I must have had a newer version ofiTunes on my defunt eMac....
    That is a pretty good guess.Try updating the second eMac's iTunes to at least the version that was on the first.

Maybe you are looking for