" IF 1 = 2 ", what make this condition sense here?

Hello Gurus,
        I have a excerpt from function module used for sap bw extraction from generic datasource.
CASE i_dsource.
WHEN 'ZMOZ_DELTA_OPEW'.
WHEN OTHERS. IF 1 = 2. MESSAGE e009(r3). ENDIF.
for "  IF 1 = 2. MESSAGE e009(r3). ENDIF",  condition "IF 1 = 2" is always false, so I suppose statement after this condition will not be excuted, so what does this conditional statement really mean putting here?
Many thanks

Hi,
One reason i could think off is, usually we don't directlt throw the error messages in BW extraction FMs, BAPIs etc. Collect the messages into return tab and show at the end. But if some one wants to know where exactly the message is coming from, probably they could search with this message ID and number ( Where used list from SE91) and can easily find instead of debugging the entire code.
Also, many times messages are logged to message log using standard FMs insted of displaying on the screen. Here also same thing applies.
You can see similar condition in smartforms also. But here we have another reason. SF doesn't have versions. So if some noded needs to be commented, then placing the node condition 1 = 2 is the best option. If we delete the node and if you want to check in future about what nodes you had, its not possible without above logic unless you download and store the XML file.
Thanks,
VInod.

Similar Messages

  • What makes this a Key Figure Model (and not Account Model in BW) ?

    I am reviewing a document on Key Figure Model versus Account Model in BW.
    this example is said to be "Key Figure" Model
    Customer     Revenue     Deductions     COGS
    A            100 DM      390 DM         50 DM
    What makes this a Key Figure Model (and not Account Model in BW)

    Hi Amanda,
    Consider the simplified a company income statement:
    Sales
    COGS
    -- Gross profits
    Selling and Administrative expense
    Deperication expense
    -- Operating profit
    Interest expense
    -- Earnings before taxes
    Taxes
    -- Earnings after taxes
    Each of this lines is represented in BW as a key figure (lines with '--' represented as calculated KFs).
    Different persons or companies may use their own details of income statement. For example, someone want to see instead of one line "Selling and Administrative expense" two - separatly selling and administrative expenses, or even break down of these expenses by category. In the KF model every new introducted line should be represented by a new KF.
    In the Account Model every line is represented by one KF only. Let name it as 'Amount'. Another characteristic is telling us what kind of amount it is. Imagine that you have accounting trial balance that lists accounts, starting and ending balances, and debit and credit turnovers for each account.
    An accountant will tell you that a credit turnover in account #XXXX represent the company revenue (sales), a debit turnover in account #YYYY - cost of goods sold etc.
    Simplified inflow of transactional data will consist of:
    Account Amount
    XXXX    -12345
    YYYY    8765
    etc.
    In this model (assuming that you load data for all accounts) you can easily change the scheme of calculations and their presentations (groupping, regroupping etc.) in reports without creating new KFs.
    In your example you provide a KF model because every distinct type of amounts is represented by its own KF.
    Best regards,
    Eugene
    Message was edited by: Eugene Khusainov
    Message was edited by: Eugene Khusainov

  • Could use help to make this conditional script auto play at makers

    I'm taking apart the timeline example animation to learn edge.
    There are 4 buttons for 4 different labels on the stage timeline. Each labels starts at a new symbol.
    The symbol's timelines have animations within them.
    Right now clicking the button sets a variable that moves the playhead to the corresponding label. Also there are forward and back arrow buttons.
    But it does a "go to and stop"  right now. I just want to make that "go to and play" so that the animation cycles automatically if the buttons are not being clicked.
    Button code:
    mouse over:
    // insert code for mouse enter here
    this.circleBtnSymbol = sym.getSymbol('btn_circle1');
    this.circleBtnSymbol.stop('on');
    mouse out:
    // insert code for mouse leave here
    if( this.activePanel != 1 )
        this.circleBtnSymbol = sym.getSymbol('btn_circle1');
        this.circleBtnSymbol.stop('off');
    click:
    // insert code for mouse clicks here
    this.onClickCircleBtn( 1 );
    stage timeline:
    // turn "on" first circle btn
    this.circleBtnSymbol = sym.getSymbol('btn_circle1');
    this.circleBtnSymbol.stop('on');
    // insert code for compositionReady event here
    // global vars
    this.activePanel = 1;
    this.prevPanel = 1;
    this.panelCount = 4;
    this.panelObject;// panel
    this.circleBtnSymbol;// circle btn
    this.arrowBtnSymbol;// arrow btn
    // turn "on" first circle btn
    sym.getSymbol('btn_circle1').stop('on');
    // called internally only
    this.changePanel = function()
        //-- change panel
        this.stop('panel'+this.activePanel);
        this.panelObject = sym.getSymbol('panel'+this.activePanel);
        this.panelObject.play(0);
        //-- set states of circle btn
        // deactivate all btns
        var i=1;
        for( i=1; i<=this.panelCount; i++ )
            this.circleBtnSymbol = sym.getSymbol('btn_circle'+i);
            this.circleBtnSymbol.stop('off');
        // set active btn
        this.circleBtnSymbol = sym.getSymbol('btn_circle'+this.activePanel);
        this.circleBtnSymbol.stop('on');
        //console.log('this.activePanel = '+this.activePanel);
    this.onClickCircleBtn = function( arg )
        //console.log('onClickCircleBtn');
        if( arg != this.activePanel )
            this.activePanel = arg;
            this.stop('panel'+this.activePanel);
            this.panelObject = sym.getSymbol('panel'+this.activePanel);
            this.panelObject.play(0);
            this.changePanel();
    this.onClickLeftArrow = function()
        //console.log('onClickLeftArrow');
        if( this.activePanel > 1 )
            this.activePanel--;
        }else{
            this.activePanel = this.panelCount;
        this.changePanel();
    this.onClickRightArrow = function()
        //console.log('onClickRightArrow');
        if( this.activePanel < this.panelCount )
            this.activePanel++;
        }else{
            this.activePanel = 1;
        this.changePanel();
    thanks.
    sorry for pasting all the code.

    Code is correct but timeline isn't correct.
    Timeline before:
    Timeline after:
    You can download here the new file: https://www.box.com/s/simhjfjh2ch072roobz5
    I changed timeline by dragging and dropping elements [panel1, panel2, panel3, panel4].

  • What is this none sense !!!!!!!!!!!!!!!!!!!!!!!!!!!!

    i wrote the following code to connect to an accessdb:
    package SSDB;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    import java.sql.*;
    import java.awt.print.*;
    import java.util.*;
    public class ViewAll extends JPanel implements Printable
         JFrame jf;
         JPanel jp;
         JPanel north;
         JComboBox columns;
         JComboBox items;
         JButton butn;
         JTable table;
         Connection con;
         Statement state;
         ResultSet rs;
         ResultSetMetaData rsmd;
         String [][] rowdata;
         String [] columnNames;
         Printable prnt;
         JMenuBar mb ;
         JMenu m;
         JMenuItem mi1;
         Container c;
         String cb;
         int rows ;
         int col;
         public int x;
         ViewAll()
         jf = new JFrame("����� ��������");     
         jp = new JPanel();
         north = new JPanel();
         butn = new JButton("��� ��������");
         mb = new JMenuBar();
         m = new JMenu("�������");
    mi1 = new JMenuItem("�����");
         int j,i=0;
         try{     
                   Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
                   con = DriverManager.getConnection("jdbc:odbc:ssdb","","");
                   state = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
                   rs = state.executeQuery("Select * from SSDB");
                   rsmd = rs.getMetaData();
                   col = rsmd.getColumnCount();
                   columnNames = new String[col];
                   for (int c = 0;c<col;c++)
                   columnNames [c] = rsmd.getColumnName(c+1);
              while (rs.next())
              rows++;
              rs.beforeFirst();
              rowdata = new String[rows][col];
         j=0;     
              outer: while(rs.next())
              inner:for(i = 0 ; i<col ; i++)
                   String type = rsmd.getColumnTypeName(i+1);
              String colName = rsmd.getColumnName(i+1);
              if (type.equalsIgnoreCase("COUNTER"))
              String nocell = rs.getString(colName);
              rowdata[j] = nocell;
              if (type.equalsIgnoreCase("VARCHAR"))
              String cell = rs.getString(colName);
              rowdata[j][i] = cell;
              j++;
         }catch (ClassNotFoundException cnfe){cnfe.printStackTrace();}
         catch (SQLException sqle){
         sqle.printStackTrace();
         System.out.println(sqle.getSQLState());
         columns = new JComboBox(columnNames);
         items = new JComboBox();
         public int print(Graphics graphics,PageFormat pageFormat,int pageIndex) throws PrinterException
              Graphics2D g2 = (Graphics2D) graphics;
              g2.translate(pageFormat.getImageableX(),pageFormat.getImageableY());
              paint(g2);
              return Printable.PAGE_EXISTS;
    public void gui()
              actionLis al = new actionLis();
              actionLis2 al2 = new actionLis2();
              table = new JTable(rowdata,columnNames);
              c = jf.getContentPane();
              c.setLayout(new BorderLayout());
              m.add(mi1);
              mi1.addActionListener(al);
              mb.setAlignmentX(JFrame.RIGHT_ALIGNMENT);
              mb.add(m);
              jf.setJMenuBar(mb);
              jp.setLayout(new BorderLayout());
              columns.addActionListener(al2);
              north.add(butn);
              north.add(items);
              north.add(columns);
              jp.add(north,BorderLayout.NORTH);
              jp.add(new JScrollPane(table),BorderLayout.CENTER);
              c.add(new JScrollPane(jp),BorderLayout.CENTER);
              jf.setBounds(0,0,(int)Toolkit.getDefaultToolkit().getScreenSize().getWidth(),(int)Toolkit.getDefaultToolkit().getScreenSize().getHeight());
              jf.setIconImage(Toolkit.getDefaultToolkit().getImage("cross1.gif"));
              jf.setVisible(true);
         public static void main(String[]args)
         ViewAll g = new ViewAll();
         g.gui();
         class actionLis implements ActionListener
         public void actionPerformed(ActionEvent ae)
              JMenuItem jmi = (JMenuItem)ae.getSource();
              if (jmi.equals(mi1))
              ViewAll a = new ViewAll();
              PrinterJob pr = PrinterJob.getPrinterJob();
              PageFormat LandS = pr.defaultPage();
              LandS.setOrientation(PageFormat.LANDSCAPE);
              Book b = new Book();
              b.append((Printable)a,LandS);
              pr.setPageable(b);
              try{
                   pr.print();
    }catch (PrinterException pe) {System.out.println(pe.getMessage() );}
    class actionLis2 implements ActionListener
         public void actionPerformed(ActionEvent ae)
         cb = (String)columns.getSelectedItem();
    try{
         state = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
         rs= state.executeQuery("Select'"+cb+"' from SSDB");
    while(rs.next())
              items.addItem(rs.getString(cb));
                   }catch(SQLException sqle){System.out.println("sqle2");sqle.printStackTrace();}     
    in the class actionLis2 i fill a jcombobox by getting the content of a column of the table.
    this causes runtime error (too much code to realize).I DO NOT WHY?
    can anyone help????????????????????????????????

    which runtime exception do you get? try posting code within "code" blocks so it's easier to read. when you hit reply there is a link at the top of the reply page called "special tokens" that tells you how to use this.

  • What is this link doing here?

    Here is something weird I noticed whilst using Vimperator's hint navigation. Screenshot follows:
    Upon further investigation, it was revealed to be a link. The contained text originally had the CSS 'display' attribute set to 'none', which is why it was invisible. I disabled it for the purpose of the next screenshot:
    What is the point of this? Would it not be more sensible to include the image with a normal <img ... /> tag and then wrap it in <a>...</a>? Or am I missing something here?

    I tried to make the Arch Linux logo clickable, it is set through a CSS style not with <img>, so that was the best way I thought.
    But that caused a problem into the admin page, so I reverted the commit for the moment.
    I do not want to edit the html code because Thayer is working on a new style and, when it will be ready, we will replace only a .css file.

  • What makes the separation in VL10X ?

    Hi !
    It would be big help if you could help me with stock transfer document
    (sorry, I don't know how to say in English)
    made by ME21N.
    I made 2 stock transfer documents by ME21N ,and tried to make delivery document by VL10X,
    with the idea that I could make 1 delivery document.
    (as 2 stock transfer documents has the same delivery point, plant as Vendor, etc.)
    But  there are 3 delivery document generated by VL10X.
    I wonder what makes this separation !?
    thanks in advance.

    Dear wazukanahikari,
    This delivery split would have happened because of different warehouse number. Warehouse number is assigned to the combination of Plant and Storage Location. Therefore, even if plant is same, there could be delivery split based on warehouse number.
    So kindly check if warehouse number is same or different. The setting for the same can be checked using OVLP i.e. delivery item category
    Kindly let me know if you get different solution
    regards,
    sagar

  • What makes the SBO-COMMON_log grow...

    Does anyone know what makes this file grow?
    We have a client with only a handful of users and not much data. Their production database is only 433 MB, but their common log grew to 25 GB (it was set to restrict growth to 26 GB).
    On the other hand, we have another client with 16 users and a decent amoung of data being entered. Their production database is 2.5 GB, and even though their common log file was set to restrict growth to 2048 GB (that is not a typo and has been changed), it was only at 1.27 GB.
    What would make one grow that much bigger than another?
    Thanks for any help.

    Dear Vaughn,
    Please check the SAP note 1002099 at first and apply the suggestion from
    there.
    If still you will get the same issue, then run the following query according
    SAP note 625546:
    DBCC SHRINKFILE ('sbo-common_log', 10)
    This should shrink the log file.
    To prevent this situation in the future you have to set the recovery
    model of the SBO-Common to simple:
    Open the MS Enterprise Manager and right-click on the database
    SBO-Common   > Properties   > Options   > Recovery Model   > Simple
    For the SBO-Common it not necessary to use the log file.
    For detailed information regarding issue please refer to:
    http://channel.sap.com/sbo/documentation -> Support for SAP Business One
    -> Archive: Empowerment Sessions -> SYSTEM / SDK - Installation,
    Upgrades etc. -> Basics for Optimizing Performance from 07.11.2006.
    Regards,
    Rakesh Pati
    SAP Business One Forum Team

  • S.M.A.R.T. status message-what is this?

    S.M.A.R.T. status changed  messsage appeared on desktop. What does this mean?

    Here are links to Apple Knowledge Base articles on S.M.A.R.T. status:
    http://docs.info.apple.com/article.html?artnum=88410
    http://docs.info.apple.com/article.html?artnum=152349

  • What does this mean? drive reported error: sense key = medium error, etc,

    What does this error message mean and what can I do about it?
    While trying to burn a CD, about 15 seconds after the burn started, I got this error message:
    The drive reported an error:
    Sense Key = MEDIUM ERROR
    Sense Code = 0x73, 0x03
    What does this mean and what can I do about it? Any help greatly appreciated. TIA, Bill

    I have no idea what the error means. However, need a little more info from you.
    What type of CD are you using, audio or data? -R, -RW?
    Any problems previously?
    Try a different brand. Top forum favorites
    CDs
    FUJI
    TDK
    Verbatim
    DVDs
    Maxell
    Make sure the DVDs are not dirty, smudged and/or scratched.
    http://docs.info.apple.com/article.html?artnum=50448 How to Handle and Clean CD and DVD Discs
    Your drive may need cleaning. Cleaning kits can be purchased from any store that sells CD/DVDs.

  • Something keeps trying to download on my mac and I don't know what it is. It is not in the apple store and just comes out nowhere and request for my password to download something and I don't know what it is. How to make this stop?

    Something keeps trying to download on my mac and I don't know what it is. It is not in the apple store and just comes out nowhere and request for my password to download something and I don't know what it is. How to make this stop? It pops up every single day.

    Erica,
         I can, with 99.99% certainty, tell you that you are absolutely right in not wanting to download or install this "Helper," whatever it is (but we can be equally certain it would not "help" anything).
         I cannot comment as to Oglethorpe's recommendation of 'adwaremedic'; I am unfamiliar with it.  His links to the Apple discussion and support pages warrant your time and attention.
         It might be really simple -- Trying looking in your Downloads folder, trash anything that you don't know with certainty is something you want to keep, and then Secure Empty your Trash. Then remove the AdBlock extension, LastPass, and Web of Trust extensions to Safari and re-boot. If the issue goes away, still be extraordinarily careful in the future.
         Unfortunately, it's probably not going to be that simple to get rid of, in which case I'd then try the line by line editing in HT203987. 
         I have no further suggestions (other than a complete wipe and re-install...but that's a pain because trying to restore from Time Machine would simply ... restore the Mal).
       For the rest of us, please post when you find a solution.
         Best.
         BPW
      (Also, try to edit your second post -- black out your last name on the screenshot and re-post it for others)

  • My childs ipod touch is missing, someone tried to reset the password around the same time it "Vanished" is there a way to track what WIFI network was used to make this attempt?    We think it was taken at her school and any small info would help!

    Trying to find my daughters ipod touch,  the last we saw it was around thursday and strangly I recieved an email that the apple id was attempting to be changed and or reset...this was not by me or my wife and my daughter is 7 so i dont think it was her...we think it may have been taken at her school but not sure so what i was wondering was is there a way to pinpiont the wifi network that was used to make this attempt??      If it is then it will be a huge help,              This was a gift from "santa" and finding would really make us happy!!    Thanks for any and all help!!

    Trying to find my daughters ipod touch,  the last we saw it was around thursday and strangly I recieved an email that the apple id was attempting to be changed and or reset...this was not by me or my wife and my daughter is 7 so i dont think it was her...we think it may have been taken at her school but not sure so what i was wondering was is there a way to pinpiont the wifi network that was used to make this attempt??      If it is then it will be a huge help,              This was a gift from "santa" and finding would really make us happy!!    Thanks for any and all help!!

  • Do you have any idea, what makes to fix this error in creating PO.

    The error is u201CDocument 101600 does not existu201D
    Do you have any idea, what makes to fix this error in creating PO.The error is u201CDocument 101600 does not existu201D  Here the 101600 is PO no.

    Hi
    Please check in t.code: RZ20 .
    You can find out the nature of this error
    Regards
    G.Ganesh Kumar

  • My Iphone5 won't switch to landscape view when I turn my phone to the side...what am I missing and how do I make this happen

    My Iphone 5 won't turn to landscape view when I turn it to the side...what am I missing and how do I make this happen...it used to happen automatically...I thought.

    I had the same problem but it wasn't because the orientation was locked .
    Mine was some kind of glitch that was resolved by holding down the home key and the button on top until the white Apple appeared on the screen .

  • My ipad2 makes this gong sound sound every so often.  What is this.

    My apad makes this gong sound every so often.  What is this?

    Tap Settings / General / Sounds.
    Might have a sound turned on that you are hearing.

  • My mac makes a typewriter sound when I use my mouse.  It is not speaker related, the sound continues after I turn the volume down.  What is this and how do I make it stop?

    My mac has just started making a sound similar to an old fashioned typewriter while I an on line using the mouse.  It does not seem to make this sound while I am using the keyboard.  It is likely electrical because it continues even when I have turned the speaker volume down.  Does anyone know what may be causing this and how it can be stopped.
    Thanks

    Open your mac pro and listen carfully.  It could be coming from a failing hard drive or a bad fan.  If you have more than one drive you could remove the ones you are not currently using and add them back one by one to try to localize or eliminate the sound.  Caution though, only remove drives when your machine is off.  You cannot hot swap the drive bays.

Maybe you are looking for

  • Request: UEFI/GOP vBIOS for GT640

    Hi folks, I need UEFI BIOS for my GT640 in HTPC. I have MSI H61M-P22 (B3) motherboard. I would appreciate it if anybody could inject UEFI support and sign for BIOS (see attachment), please. :-) Model: Asus GT640-1GD3-L P/N: 90-C1CSJ0-L0UAN0YZ S/N: CA

  • Sufficient access privileges?

    OK, this is driving me nuts. I upgraded to Leopard a month ago and all of a sudden I have lost privileges. I had moved the local files from all of my web sites to the "Sites" folder under my user account. Yesterday, I was going to make a copy of one

  • Flash Player not working for Youtube

    I have Windows Me (yes im very old school) and am using Internet Explorer and for some reason flash player 9.0 will not work for youtube. I was just on youtube, watching some video, listening to music and it was working perfectly fine. I clicked on a

  • 802.11n Enabler Doesn't Want To Install

    I have a new MacBook 2.0 GHz Intel Core 2 Duo and when I downloaded the new Airport Extreme 802.11n Enabler it tells me that my computer doesn't have the correct hardware. I am missing something here? Everything I have read tells me that this should

  • Listing files without locking

    My problem is this: I want to list all the files in a directory and then check if the files are locked Here's what I'm doing path = "C:\\TEMP"; // path to dir dir = new File( path ); files = dir.list();  // get files try { fileName = path + "\\" + fi