Why do we need to point at main program when activating include?

Hi There Abapers,
Just a quick question, because I faced such issue when implementing OSS notes.
When activating objects I am asked to point out the main program for one of includes changed.
This inclde is used in ~30 programs.
As far as OSS note doesn't say a word about main program in fact I am not able to check it, I need to pick random program from a list up.
The question is...
Why do we need to point at main program when activating include as we are only changing the sub-object (include)?
Will this 'random main program selection' bring some negative effects in the future?
Will be thankful for some expert opinion
Kind Regards,
P.

You should check all main programs when activating an include, to make sure that all main programs are still syntactically correct even with the changed include.
Thomas

Similar Messages

  • Keynote and pages are now free, but why do i need to pay for them still when there now free?!?

    keynote and pages are now free, but why do i need to pay for them still when there now free?!?

    Users can obtain the iWorks and iLife applications free, if they purchased a Mac after the beginning of October 2013.
    Older Mac purchases require a paid purchase of these applications.

  • Why should I need to pay "overseas transaction fee" when I buy an iphone app in Hongkong dollar currency.

    why should I need to pay "overseas transaction fee" when I buy an iphone app in Hongkong dollar currency.

    I have bought some apps in apple store and pay it by Hongkong currency Credit Card. Afterwards I found there has some extra fees on statement and have been clarified as "overseas transaction fee"...

  • Editor: Annoying pop-up for choosing main programs when searching for text

    Hi,
    We're upgrading to ECC60 and are getting frustrated when searching for text in a source code within the ABAP editor.
    For every include contained in the main program you are searching in there is a pop-up asking to choose the main program for that include.
    This can get crazy when searching in a standard SAP program such as SAPMV45A. You'll have to process through 30-40 of these pop-up windows before your search results appear. I each pop-up you have to scroll though dozens of main programs to find the one you are doing the search in.
    Can this be turned of somehow to have the search functionality work as it did in previous version, where the Editor knows that the program you are launching the search from is the main program you want the results from?
    Thanks,
    Peter

    HI Peter
    Please check if program: <b>RPR_ABAP_SOURCE_SCAN</b> can help you...
    Regards
    Eswar

  • Why do I need to pass params. to getConnection when using OracleDataSource?

    Hi,
    I've been experimenting with Tomcat 5.5 and using Oracle proxy sessions. After many false starts, I finally have something working, but I have a question about some of the code.
    My setup:
    In <catalina_home>/conf/server.xml I have this section:
    <Context path="/App1" docBase="App1"
    debug="5" reloadable="true" crossContext="true">
    <Resource name="App1ConnectionPool" auth="Container"
    type="oracle.jdbc.pool.OracleDataSource"
    driverClassName="oracle.jdbc.driver.OracleDriver"
    factory="oracle.jdbc.pool.OracleDataSourceFactory"
    url="jdbc:oracle:thin:@127.0.0.1:1521:oddjob"
    username="app1" password="app1" maxActive="20" maxIdle="10"/>
    </Context>
    In my App directory, web.xml has:
    <resource-ref>
    <description>DB Connection</description>
    <res-ref-name>App1ConnectionPool</res-ref-name>
    <res-type>oracle.jdbc.pool.OracleDataSource</res-type>
    <res-auth>Container</res-auth>
    </resource-ref>
    And finally, my java code:
    package web;
    import oracle.jdbc.pool.OracleDataSource;
    import oracle.jdbc.driver.OracleConnection;
    import javax.naming.*;
    import java.sql.SQLException;
    import java.sql.ResultSet;
    import java.sql.Statement;
    import java.util.Properties;
    public class ConnectionPool {
    String message = "Not Connected";
    public void init() {
    OracleConnection conn = null;
    ResultSet rst = null;
    Statement stmt = null;
    try {
    Context initContext = new InitialContext();
    Context envContext = (Context) initContext.lookup("java:/comp/env");
    OracleDataSource ds = (OracleDataSource) envContext.lookup("App1ConnectionPool");
    message = "Here.";
    if (envContext == null)
    throw new Exception("Error: No Context");
    if (ds == null)
    throw new Exception("Error: No DataSource");
    if (ds != null) {
    message = "Trying to connect...";
    conn = (OracleConnection ) ds.getConnection("app1","app1");
    Properties prop = new Properties();
    prop.put("PROXY_USER_NAME", "xxx/yyy");
    if (conn != null) {
    message = "Got Connection " + conn.toString() + ", ";
              conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME,prop);
    stmt = conn.createStatement();
    //rst = stmt.executeQuery("SELECT 'Success obtaining connection' FROM DUAL");
    rst = stmt.executeQuery("SELECT count(*) from sch_header");
    if (rst.next()) {
    message = "# of NJ schools: " + rst.getString(1);
    rst.close();
    rst = null;
    stmt.close();
    stmt = null;
    conn.close(); // Return to connection pool
    conn = null; // Make sure we don't close it twice
    } catch (Exception e) {
    e.printStackTrace();
    } finally {
    // Always make sure result sets and statements are closed,
    // and the connection is returned to the pool
    if (rst != null) {
    try {
    rst.close();
    } catch (SQLException e) {
    rst = null;
    if (stmt != null) {
    try {
    stmt.close();
    } catch (SQLException e) {
    stmt = null;
    if (conn != null) {
    try {
    conn.close();
    } catch (SQLException e) {
    conn = null;
    public String getMessage() {
    return message;
    My question concerns this line of code:
    conn = (OracleConnection ) ds.getConnection("app1","app1");
    Why do I need to pass in the user name/password? Other examples, that I see simply have:
    conn = (OracleConnection ) ds.getConnection();
    But when I use this code, I get the following error:
    java.sql.SQLException: invalid arguments in call
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:146)
         at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:208)
         at oracle.jdbc.driver.T4CConnection.logon(T4CConnection.java:236)
         at oracle.jdbc.driver.PhysicalConnection.<init>(PhysicalConnection.java:414)
         at oracle.jdbc.driver.T4CConnection.<init>(T4CConnection.java:165)
         at oracle.jdbc.driver.T4CDriverExtension.getConnection(T4CDriverExtension.java:35)
         at oracle.jdbc.driver.OracleDriver.connect(OracleDriver.java:801)
         at oracle.jdbc.pool.OracleDataSource.getPhysicalConnection(OracleDataSource.java:297)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:221)
         at oracle.jdbc.pool.OracleDataSource.getConnection(OracleDataSource.java:165)
         at web.ConnectionPool.init(ConnectionPool.java:32)
    ... more follows, but I trimmed to keep posting shorter :-)
    Is there anyway that I can avoid having to pass the user/password to getConnection()? It seems that I should be able to control the user/password used to establish the connection pool directly in the server.xml file and not have to supply it again in my java code. In earlier experiments when I was using "import java.sql.*" and using it's DataSource, I can use getConnection() without having to pass user/password, but then the Oracle Proxy methods don't work.
    I'm a java newbie so I guess that I should be happy that I finally figured out how to get proxy connections working. However it seems that I am missing something and I want this code to be as clean as possible.
    If anyone can point me to a better method of using connection pools and proxy sessions, I would appreciate it.
    Thanks,
    Alan

    Hi,
    Thanks for the replies.
    Avi, I'm not really sure what you are getting at with the setConnectionProperties. I looked at the javadoc and saw that I can specify user/password, but since I'm using a connection pool, shouldn't my Datasource already have that information?
    Maro, your comment about not having set the user/password for the Datasource is interesting. Are you referring to setting it in the server.xml configuration file? As you can see I did specify it in addition to setting the URL. In my code example, I'm not having to respecify the URL, but maybe I have a typo in my config file that is causing the username/password not to be read properly??
    The other weird thing is that I would have expected to see a pool of connections for user App1 in V$SESSION, but I see nothing. If I use a utility to repeatedly call a JSP page that makes use of my java example, then I do see v$session contain brief sessions for App1 and ADAVEY (proxy). The response time of the JSP seems much quicker than I would have expected if there wasn't some sort of physical connection already established though. Maybe this is just more evidence of not having my server.xml configured properly?
    Thanks.

  • Why do I need to provide my phone number when purchasing Lightroom?

    I've never had to provide my phone number before on any other platform which I've ordered other products on. Why do I need to provide such a personal information to Adobe? 

    I can think of two reasons:
    1)  A phone number is typically asked for when purchasing via a credit-card so the card can be validated.
    2)  So Adobe, at some point in the future, can call you to set up a remote session with your computer as part of a technical-support issue resolution..

  • Need help on my main program

    I have created 3 classes,where class Kunde is my base class and class PudsPrAreal and PudsPrTid are derived classes from class Kunde.
    All my classes went through my compiler without error, but my main program is not able to read the methods from my classes.How do I fix that??
    my base class:
    navn = nyNavn;
    adresse = nyAdresse;
    rabat = nyRabat;
    public void readInput()
    System.out.println("Indtast kundens navn:");
    navn = SavitchIn.readLine();
    System.out.println("Indtast kundens adresse:");
    adresse = SavitchIn.readLine();
    System.out.println("Modtager " + navn + " en form for rabat?");
    System.out.println("(j/n):");
    char answer = SavitchIn.readNonwhiteChar();
    if (answer == 'j'||answer == 'J')
    System.out.println("Indtast den procentsats som " + navn + " modtager:");
    rabat = SavitchIn.readLineDouble();
    public void writeOutput()
    System.out.println("Navn: " + navn);
    System.out.println("Adresse: " + adresse);
    if (rabat > 0)
    System.out.println("Rabat: " + rabat);
    public Kunde()
    navn = "no record";
    adresse = "no record";
    rabat = 0;
    public String getNavn()
    return navn;
    public String getAdresse()
    return adresse;
    public double getRabat()
    return rabat;
    derived class # 1:
    public class PudsPrAreal extends Kunde
    private double areal; //i kvadratmeter
    private String kunde;
    private String pudsningsdato;
    private double kvadratmeterPris;
    private double pris;
    public PudsPrAreal()
    super();
    kunde = "no record";
    pudsningsdato = "no record";
    kvadratmeterPris = 0;
    pris = 0;
    areal = 0;
    public PudsPrAreal(String initialKunde, String initialPudsningsdato, double initialAreal,
    String initialNavn, String initialAdresse, double initialRabat)
    super(initialNavn, initialAdresse, initialRabat);
    set(initialKunde, initialPudsningsdato, initialAreal);
    public void set(String nyKunde, String nyPudsningsdato, double nyAreal)
    kunde = nyKunde;
    pudsningsdato = nyPudsningsdato;
    areal = nyAreal;
    public void readInputPrAreal()
    System.out.println("Indtast datoen hvor vinduespudsningen er blevet foretaget:");
    pudsningsdato = SavitchIn.readLine();
    System.out.println("Hvor mange kvadratmeter skal der afregnes for:");
    areal = SavitchIn.readLineDouble();
    public double pris(double areal)
    double pris;
    double kvadratmeterPris;
    if (areal > 100)
    kvadratmeterPris = 7.0;
    else if (areal >= 500)
    kvadratmeterPris = 6.5;
    else
    kvadratmeterPris = 6.0;
    double prisEks = areal * kvadratmeterPris; //pris eksclusiv rabat
    pris = prisEks * ((100 - getRabat())/100); //pris inclusiv rabat
    return pris;
    public void writeOutputPrAreal()
    System.out.println("Dato for vinduespudsning: " + pudsningsdato);
    System.out.println("Navn: " + getNavn());
    System.out.println("Adresse: " + getAdresse());
    System.out.println("Prisberegningsgrundlag: pr kvadratmeter");
    System.out.println("Antal kvadratmeter: " + areal);
    System.out.println("Pris pr kvadratmeter: " + kvadratmeterPris + " kr.");
    if (getRabat() > 0)
    System.out.println("Rabat: " + getRabat());
    System.out.println("Pris for vinduespudsningen: " + pris + "kr.");
    else
    System.out.println("Pris for vinduespudsningen: " + pris + "kr.");
    public String getkunde()
    return kunde;
    public String getPudsningsdato()
    return pudsningsdato;
    public double getAreal()
    return areal;
    derived class # 2:
    public class PudsPrTime extends Kunde
    private int minuter; //tid for vinduespudsningen angives i minuter
    private double tid; //tid for vinduespudsningen i timer
    private String kunde;
    private String pudsningsdato;
    private double pris;
    public PudsPrTime(String initialKunde, String initialPudsningsdato, int initialMinuter,
    String initialNavn, String initialAdresse, double initialRabat)
    super(initialNavn, initialAdresse, initialRabat);
    set(initialKunde, initialPudsningsdato, initialMinuter);
    public void set(String nyKunde, String nyPudsningsdato, int nyMinuter)
    kunde = nyKunde;
    pudsningsdato = nyPudsningsdato;
    minuter = nyMinuter;
    public void readInputPrTime()
    System.out.println("Indtast datoen hvor vinduespudsningen er blevet foretaget:");
    pudsningsdato = SavitchIn.readLine();
    System.out.println("Hvor mange minuter skal der afregnes for:");
    minuter = SavitchIn.readLineInt();
    public double pris(int minuter)
    int kvarter;
    int minuterTilOvers;
    double pris;
    kvarter = minuter / 15;
    minuterTilOvers = minuter % 15;
    if (minuterTilOvers > 0)
    kvarter++;
    tid = kvarter * 0.25;
    double prisEks = tid * 375; //pris eksclusiv rabat
    pris = prisEks * ((100 - getRabat())/100);
    return pris;
    public void writeOutputPrTime()
    System.out.println("Dato for vinduespudsning: " + pudsningsdato);
    System.out.println("Navn: " + getNavn());
    System.out.println("Adresse: " + getAdresse());
    System.out.println("Prisberegningsgrundlag: pr time");
    System.out.println("Antal timer: " + tid);
    System.out.println("Pris pr time: 375 kr.");
    System.out.println("Der afregnes pr p�begyndt 15 minuter.");
    if (getRabat() > 0)
    System.out.println("Rabat: " + getRabat());
    System.out.println("Pris for vinduespudsningen: " + pris + "kr.");
    else
    System.out.println("Pris for vinduespudsningen: " + pris + "kr.");
    public String getKunde()
    return kunde;
    public String getPudsningsdato()
    return pudsningsdato;
    public int getMinuter()
    return minuter;
    my main program:
    public class Glasklart
    public static void main(String[] args)
    Glasklart kunde = new Glasklart();
    System.out.println("Indtast datoen for idag:");
    String dato = SavitchIn.readLine();
    kunde.readInput();
    System.out.println("Hvad er prisberegningsgrundlaget?");
    System.out.println("Skriv 'k' for pr kvadratmeter eller 't' for pr time:");
    char svar = SavitchIn.readNonwhiteChar();
    if (svar == 'k'||svar == 'K')
    kunde.readInputPrAreal();
    System.out.println("Afregningsdato: " + dato);
    kunde.writeOutputPrAreal();
    else if (svar == 't'||svar == 'T')
    kunde.readInputPrTime();
    System.out.println("Afregningsdato: " + dato);
    kunde.writeOutputPrTime();
    else
    System.out.println("Forkert svar. Pr�v igen.");
    System.out.println("Skriv 'k' for pr kvadratmeter eller 't' for pr time:");
    svar = SavitchIn.readNonwhiteChar();
    error message for my main program:
    "Glasklart.java": Error #: 300 : method readInput() not found in class Glasklart at line 10, column 9
    "Glasklart.java": Error #: 300 : method readInputPrAreal() not found in class Glasklart at line 16, column 13
    "Glasklart.java": Error #: 300 : method writeOutputPrAreal() not found in class Glasklart at line 18, column 13
    "Glasklart.java": Error #: 300 : method readInputPrTime() not found in class Glasklart at line 22, column 13
    "Glasklart.java": Error #: 300 : method writeOutputPrTime() not found in class Glasklart at line 24, column 13

    This line:
    Glasklart kunde = new Glasklart();
    creates an instance of an Glasklart object, not a Kunde object. So when you use the line "kunde.readInput();" you are trying to use a method named readInput from the Glasklart class - there isn't one. Your other errors are related. Most likely, you meant
    Kunde kunde = new Kunde();

  • Need to Check whether the program is Active or not

    Is there any statement where i can check  whether the report program is Active or not.
    Using below statement i am  copying the entire Code in internal table it_source.Before copying in the source code in the  internal table  it_source.I need to check that program is Active or not if it is not active and i need to give a pop message and forceliy i need to Active it.
    read report wa_trdir-name into it_source.

    Hi Srini,
    i just checked the table REPOSRC for a program which was not activated, i got two entries for the program one as active and one as inactive ,as soon as i activated the program there was a single entry.
    so is it that we should check if we have any inactive entry in the table for the program?.
    Regards,
    gunjan

  • Main program of a include

    Hi Guys,
    Can anyone of you tell me how can we find the main program of a particular include program.
    Thanks,
    Rajeev

    HI sunderasan,
    Thanks for the reply. I tried doing what you suggested and now the thing is when used the where used list tab it showed few programs but now I am not sure which one is the main one, in my case it showed me one z program and one J_1HKORD, so I am not sure which one to take. The thing is I want to activate few include programs and when I tried doing it asked me the main program .
    Thanks,
    Rajeev

  • Why do apple need to use my credit number when downloading free apps ?

    im about to download a free app - as i have done many times before
    and now itunes needs my creditcard info to be correct .. why ? its supposed to be free ?
    well i filled the forms with a correct credit card number (my mastercard) and still no result - itunes tells med i should enter a valid payment method
    it seems i cant download freee apps when theres not any money on my bank account ? well well ..
    can someone tell me why ?

    Apple wants you to risk your number out on the internet maybe, they don't care about customers. They state that it is for validation of your account, but this make no sense as you already have entered a username and password, which seems to work fine on any other site. They basically want your wallet to be held hostage, even for updating already installed apps (this should make you think). This is bad in my book, and I think Apple should change this action ASAP. It is not right and they know it, but greed seems to be the game for them I guess.  You should not have to risk your credit card number being transmitted across the internet just to update or install a free app. Android market place does not do things this way.
    Just Sad how this is
    TonyTronic

  • Why do I need to open an app/program on my iMac to get it to shut off?

    If i use my mac for a decent amount of time and try to shut it off, all my desktop icons go away and the top bar disappears as well, but the bottom bar stays and it will not shut down. The only way I can get it to shut down is if i open something (Like Chrome) and then shut it down. Its very frustrating and i would just love for my computer to shut down properly. Any ideas?

    The process you describe is the beginning of Shut Down. For some reason it is not going through to completion. The easiest thing to try is resetting the NVRAM.
    Shut down your Mac.
    Locate the following keys on the keyboard: Command (⌘), Option, P, and R. You will need to hold these keys down simultaneously in step 4.
    Turn on the computer.
    Press and hold the Command-Option-P-R keys before the gray screen appears.
    Hold the keys down until the computer restarts and you hear the startup sound for the third time.
    Release the keys.
    If that does not work, please post back. You could try trashing prefeences file.

  • Why does Siri and Maps turn off the phone when activated?

    I have a 4S less than 1.5 years old and  bought it because I wouldn't get any viruses.  I use the phone for calls, e-mail, surfing web and directions.  Now when I engage Siri or Maps for directions/location, my phone turns off and restarts.  I get nothing, nada, black screen and then an Apple log and then I am back to square one.    I think I have a bug of some sort that got in when the web page I went to asked to use my location and wouldn't let me say no.   Has this happened to anyone else?  How can I fix it?  -bam

    Try a reset:
    Reset: Hold down the Sleep/Wake button and the Home button at the same time for at least ten seconds, until the Apple logo appears. Note: You will not lose any data
    Settings > Safari >
         Clear History
         Clear Cookies and Data
    Advanced > Website Data > delete here.

  • Why doesn't my iTunes Remote App point to my iCloud content?  Why does it have to point to my iTunes content on my PC?

    Hi,
    I just set up a 3rd-gen Apple TV.  W/ iTunes Match & Home Sharing, I'm able to play my songs or TV shows on my TV.
    Then, I installed the Apple Remote app on my iPad.  It points to my Apple TV but then can displays & plays only the songs, not the TV shows.
    When I fire up iTunes on my PC, I can point the Remote app to my iTunes library on my PC, which includes both songs & TV shows.  When I close or turn off the PC, then I lose the pointer.
    Questions:
    (1) Why can't I just point the Remote app to iCloud/iTunes Match - and access ALL my content (i.e., both songs & TV shows)?  Why do I need to point to my local PC to access all content?
    (2) Is it that iCloud/iTunes Match store only songs & not TV shows/other content?  Is that why I need to point to a local machine to access TV shows?
    Let me know -

    iTunes match is for music and music video only.

  • Why do we need to soft proof?

    So it occurred to me that when LR soft proofs an image it "knows" how to represent my original image as though it it is printed.  My job then is to get the "Proof image" to look like the original image by tweaking the sliders etc.
    But here's the thing, LR "knows" all of the colours of my original image and the way I want them represented.  It then changes the image to represent how it will be printed, so it "knows" the effect the profile will have.  So why do I need to fiddle with sliders etc when LR has the knowledge to do the tweaking to get the colours via the profile, back to the original?
    Surely the experts could program a function that when I click a button automatically it changes the settings in the proof copy to match as close as possible the original?  I can then make choices from there.
    Any thoughts?
    Peter

    You can assing one there, and / or on dialer interfaces. It depends on what you are doing.
    These will be the address used by PPP when it runs on the B-channels.

  • Why do we need query rewrite enabled for a function-based index?

    Oracle 9i
    ========
    I have searched a few sites but could not find any content on it. The question is why do we need to implement query rewrite enabled when we are trying out a function-based index?
    Thanks in advance.

    You don't, that's a legacy requirement from the early days of function based indexes in Oracle 8i. Here's a quick example running under 9.2.0.6
    drop table t1;
    create table t1 as
    select
    from
         all_objects
    where
         rownum <= 30000
    create or replace function pl_func(i_vc     varchar2)
    return varchar2
    deterministic
    as
    begin
         return soundex(i_vc);
    end;
    -- set the worst case scenario
    alter session set query_rewrite_enabled = false;
    alter session set query_rewrite_integrity = enforced;
    create index t1_i1 on t1(pl_func(object_name));
    execute dbms_stats.gather_table_stats(user, 't1')
    set autotrace traceonly explain
    select
         object_name
    from t1
    where pl_func(object_name) = 'T513'
    set autotrace offResults (after set feedback off)
    SQL> @temp
    Execution Plan
    Plan hash value: 1429545322
    | Id  | Operation                   | Name  | Rows  | Bytes | Cost (%CPU)| Time     |
    |   0 | SELECT STATEMENT            |       |    27 |   675 |    10   (0)| 00:00:01 |
    |   1 |  TABLE ACCESS BY INDEX ROWID| T1    |    27 |   675 |    10   (0)| 00:00:01 |
    |*  2 |   INDEX RANGE SCAN          | T1_I1 |    27 |       |     1   (0)| 00:00:01 |
    Predicate Information (identified by operation id):
       2 - access("TEST_USER"."PL_FUNC"("OBJECT_NAME")='T513')
    SQL> spool offRegards
    Jonathan Lewis
    http://jonathanlewis.wordpress.com
    http://www.jlcomp.demon.co.uk

Maybe you are looking for

  • Facebook video cannot click adobe flash player pop up

    When recording a facebook video on a friend's wall, an adobe flash player message pops up asking if I allow facebook.com to have access to my camera and microphone, with the options of allow or deny.  In order to record a video, I must hit allow, but

  • Recounting  of material in physical inventory

    DEAR ALL, IAM NOT ABLE TO DO RECOUNTING OF PHYSICAL INVENTORY MATERIAL  BY USING  MI11, Can anybody proved me the detail step, how to do the recounting in physcial inventory.

  • Reserve IP address by device?

    I have a variety of Apple devices on my network, using an Airport Extreme router. (Devices include a Mac Mini, MacBook Pro, iPhones, etc.) My Mac Mini (Snow Leopard 10.6.8) acts as an HTPC, and I would like it to always have the same 10.0.1.X address

  • Problems Trying to Save as a Word Document.

    The primary reason I purchased Pages was for it's proclaimed ability to open Word documents, edit them, and resave them as Word documents.  I've managed to open my Word document and edit it, but the only option I have is "Save Version" when trying to

  • Input streams

    What is the difference between taking inputs through DataInputStream statement and the BufferedReader Statement?