Prob with formula column plz help!!!!!

hi
iam working on a finance report
where there is a need for opening balance and closing balance colum, i have designed the column the out put comes but the prob is after displaying the opening balance closing balance it again displays a nil opening balance and closing balance for all the values given as input
its liek this
opening balance=0.00
closing balance=0.00
i have attached the formula which i have written pls help me wats wrong in the formula column
for opening balance
function CF_total_dr1Formula return Number is
begin
IF :cf_total_dr - :cf_total_cr > 0 THEN
RETURN(:cf_total_dr - :cf_total_cr);
ELSE
RETURN( 0 );
END IF;
end;
similarly for closing balance too

cf_total_dr is again calculated using a formula.. similarly cf_total_dr
i have specified the formula below, again this debit balance is a formula column
function CF_total_drFormula return Number is
v_bal NUMBER;
BEGIN
v_bal := debit_balance(:p_from_date);
RETURN(v_bal);
END;

Similar Messages

  • Wat is wrong in this formula column pls help me..

    wat is wrong in this formula column pls help me..
    function CF_BEGIN_BALFormula return Number is
    cr number;
    dr number;
    begin
         select begin_balance_cr,begin_balance_dr into cr,dr from gl_balances
         where gl_balances.period_name=:from_period
    and gl_balances.code_combination_id= :ccid;
    if ( abs(CR) > abs (DR) ) then
    return nvl((CR - DR ) , 0) ;
    else return nvl((DR - CR ) , 0) ;
    end if;
    end;

    Without any error message, it's guess work, but one thing - where do you expect those bind variables will come from?
    FUNCTION cf_begin_balformula
       RETURN NUMBER
    IS
       cr   NUMBER;
       dr   NUMBER;
    BEGIN
       SELECT begin_balance_cr, begin_balance_dr
         INTO cr, dr
         FROM gl_balances
        WHERE gl_balances.period_name = :from_period
          AND gl_balances.code_combination_id = :ccid;
       IF (ABS (cr) > ABS (dr)) THEN
          RETURN NVL ((cr - dr), 0);
       ELSE
          RETURN NVL ((dr - cr), 0);
       END IF;
    END cf_begin_balformula;

  • Suppress Missing Data not work in web form with formula column inside

    Dear All,
    I've a planning web form with formula column inside to calculate the variance and % variance. But missing cell can't be suppressed, although I've checked the 'Suppress Missing Blocks' and 'Suppress Missing Data' options.
    Anyone have face the same problem..?? and how to fixed it..??
    thanks.
    Regards,
    VieN

    There is a known issue that sounds like the problem you are experiencing
    10358200 - If a formula column exists in a data form, selecting the Suppress missing option does not hide rows that do not contain data.
    Cheers
    John
    http://john-goodwin.blogspot.com/

  • My tutors won't help me with my assignment plz help!!

    im trying to build a website and im struggling with the flare bit i put in my original plan. the plan s for two turntables with a mixer in the mddle to act as a navagation bar.
    I want to make the mixer so when the user rolls over the "home" button the word home scrolls over the led display on the top of the mixer.
    I've created the mixer, buttons, and the motion tweens but i have no idea how to link the start of the motion tween to rollover of the button plz help my tutors refuse to!!
    Thanks
    Kev

    I can only imagine that your tutors are refusing to help because you are supposed to be doing this to demonstrate that you have learned what they are teaching you.

  • Again got stuck with textpool experts plz help

    hi experts,
    plz help in resolving this issue this is very urgent.
    error is
    The line type of "RPOOL" must be compatible with one of the types
    "TEXTPOOL".
    and its coming in :
    read textpool  rname into rpool language sy-langu.
    FOR YOUR INFORMATION:
    form init_textpool using rname like rsvar-report.
    FYI:
    DATA: BEGIN OF RPOOL OCCURS 20,
    ID(1),
    NAME(8),
    TEXT(80),
    END OF RPOOL.
    and textpool is also a structure u can check the fields in se11.
    as the structure of textpool and rpool are not same
    i cannot declare the type of rpool as textpool because it ill change the functionality of the prog because in the rest of the prog we r using the fields of rpool. 
    plz help me.

    hi atish
    thanks 4 ur rply
    solution provided by you is not giving error but i think it ill change your functionality.
    i did this::::
    data: begin of rpool occurs 20,
                id(1),
                name(8),
                text(80),
          end of rpool.
    data: rname like rsvar-report.
    data : RPOOL_1 LIKE TEXTPOOL OCCURS 0 WITH HEADER LINE.
    TYPEs : begin of RPOOL_1 ,
                id(1),
                name(8),
                text(80),
          end of rpool_1.
    read textpool  rname into rpool_1 language sy-langu.
    MOVE-CORRESPONDING rpool_1 TO rpool.
    write : rpool-id, rpool-text, rpool-name.
    later on in the program we r using name and text fields but in this when i debugged it is nt able to identify name and text fields only showing the value of id bcoz id is also dere in textpool structure.

  • Interfacing NI 5640 with my VI PLZ help

    I am interfacing Ni 5640 PCI with the example VI of the modulation toolkit "QAM transceiver" using the instrument driver of PCI 5640 not the labview FPGA driver
    My final constellation is with lot of errors.
    I am finding problems in setting the parameters of the PCI 5640. I am using the single tone generation VI at transmiter side and Spectrum measurement example Vi at RX side.
    parameters I am setting are
    at TX: 
    sampling rate of the complex cluster I am giving to ni 5640 R write waveform is 1600k S/s
    IQ rate giving to ni 5640 R configure generation is 1600k S/s
    Symbol rate is 100k Hz
    pulse shaping root raised cosine using 16 samples per symbol
    AT RX:
    what should be the span if i see in the example spectrum measurement or the IQ rate at the ni 5640 R configure acquisition
    how much samples to acquire?
    if my transmitted bits are 1044 and applying 4 QAM on them
    how should I resample my received array of IQ data????
    PLZ help or give me any example of a transceiver system interfaced with NI 5640r using instrument driver.

    duplicate post -- continue here

  • Two probs with my imac need help with

    Hi all I bought my first mac for the wife but we have two probs with it we cant get on top of
    One is every time we try to access her mac that is on the same network it asking for a password
    But none of the pcs have a password on
    And the second prob is the mac losers sound on email but we are not on an imap account
    So I have read that it is something to do with the idle setting but we can not find the settings
    Can anybody help and I must say the mac is the best PC I have every used that's if I can get the wife off it

    al22,
    You have 90 days of free AppleCare telephone support. If your machine is within the 90 days or you have already bought AppleCare (STRONGLY recommended) give them a call. The support is excellent, nothing like what you are used to with a PC.
    Because you did not complete your profile we have no idea where you are located, what machine you have or the version of OS X installed. Please complete your profile, you can find it under Your Stuff in the upper right.
    http://support.apple.com/kb/HE57

  • Problems with installing ANT, plz HELP me!!

    I have a problem when I install ANT. I can do the build process but I can't do the install process, I got this msg in the cmd:
    C:\Program\jwsdp-1_0_01-tutorial\jwsdp-1_0_01\docs\tutorial\examples\gs>ant build
    Buildfile: build.xml
    init:
    prepare:
    build:
    BUILD SUCCESSFUL
    Total time: 0 seconds
    C:\Program\jwsdp-1_0_01-tutorial\jwsdp-1_0_01\docs\tutorial\examples\gs>ant install
    Buildfile: build.xml
    init:
    prepare:
    build:
    install:
    BUILD FAILED
    Total time: 1 second
    C:\Program\jwsdp-1_0_01-tutorial\jwsdp-1_0_01\docs\tutorial\examples\gs\build.xm
    l:82: java.io.IOException: Server returned HTTP response code: 401 for URL: http
    ://localhost:8080/manager/install?path=%2FGSApp&war=file%3AC%3A%5CProgram%5Cjwsd
    p-1_0_01%2Fdocs%2Ftutorial%2Fexamples%2FGSApp%2Fbuild
    Any1 know about this problem, PLZ help me!!
    /Thomas

    I think you need to create the build.properties file, as documented in:
    http://java.sun.com/webservices/docs/1.0/tutorial/doc/GettingStarted2.html#73059
    Regards,
    Dale Green

  • Warning I don´t understand while compiling-Prob with .jar... help plz?

    Hello, While I compile my java file I get the :
    I:\............. >javac ObjCreatorV1.java
    Note: Some input files use or override a deprecated API.
    Note: Recompile with -Xlint:deprecation for details.After that : i get the:
    I:\........................>javac -Xlint ObjCreatorV1.java
    ObjCreatorV1.java:40: warning: [serial] serializable class ObjCreatorV1 has no definition of serialVersionUID
    public class ObjCreatorV1 extends JFrame {
           ^
    1 warningWhat does it mean?? It´s ok, I can still run it, and it´s just fine, but I´m wondering if that warning is the reason why I can´t make a .jar out of it.
    Actually I create the .jar file but it doesn´t run, it just makes a ding noise, and nothing more.
    Some help plz... =)

    I just put
    public static final long serialVersionUID = 1L; in all my classes and now I get the following....:
    I:\Documents and Settings\Universidad\Mis documentos\ObjCreator v1.0>javac -Xlint ObjCreatorV1.java
    .\Point.java:58: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Cube.java:38: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\SimpleLine.java:33: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Line.java:35: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Pyramid.java:35: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Cone2.java:80: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Cylinder1.java:88: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Plane.java:35: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\PlaneV.java:33: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\PlaneH.java:33: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\PlaneP.java:31: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Parallelepiped.java:32: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    .\Prisma6.java:31: warning: [deprecation] readLine() in java.io.DataInputStream has been deprecated inLine=dis.readLine();
              ^
    13 warningspfffff
    I also tried to use
    BufferedReader dis = new BufferedReader(new InputStreamReader(in));But that gives me errors that i can´t solve either...
    help...... :S
    Edited by: epp1227 on Mar 18, 2009 4:46 AM

  • How do I create a jtable with horizontalScroll bar,plz help me!

    I created a jtable component,Because my table's columns has 50 items,I must need a horizontalScroll Bar.
    but I find the horizontalScroll don't display,when I add record to the jtable,the verticalScroll Bar is showed.How do I create a jtable with horizontalScroll bar,can u help me!
    thank you in advance!

    Hi,
    This piece of code will help :
         //Get the Component Adapter for taking action against resizing of
    //of Panel
    ComponentListenerAdapter componentAdapter =
    new ComponentListenerAdapter()
    //Get the scrollbar or remove the scrollbar upon resizing
    protected void resizingAction()
    Container tableParent = table.getParent();
    if (tableParent instanceof JViewport)
    //Check if the width of the Table Parent Container
    //is less than the Preferred Size of the Table
    if (tableParent.getSize().getWidth() <
    table.getPreferredSize().getWidth())
    //Yes it is
    //Remove the Auton Resize Function and get the
    //Scrollbar
    table.setAutoResizeMode(JTable.AUTO_RESIZE_OFF );
    else
    //No it is not
    //Get the Auto Resize functionality back in place
    table.setAutoResizeMode(
    JTable.AUTO_RESIZE_SUBSEQUENT_COLUMNS);
    //Add the component Adapter to the Table Header
    table.getTableHeader().addComponentListener(componentAdapter);
    private abstract class ComponentListenerAdapter
    implements ComponentListener
              * The <code>componentHidden<code> method has no implementation
              * @param event The Event occured whenever the Component is Hidden
              public void componentHidden(ComponentEvent event)
                   //No Implementaion - Intentially Left Blank
              * The <code>componentShown</code> method has no implementation
              * @param event The Event occured whenever the Component is Shown
              public void componentShown(ComponentEvent event)
                   //No Implementaion - Intentially Left Blank
              * The <code>componentMoved</code> method has no implementation
              * @param event The Event occured whenever the Component is Moved
              public void componentMoved(ComponentEvent event)
                   //No Implementaion - Intentially Left Blank
              * The <code>componentResized</code> method is invoked whenever the
              * component is resized. The resizing action will set the columns and
              * scrollbar to act properly
              * @param event The Event occured whenever the Component is Resized
              public void componentResized(ComponentEvent event)
                   resizingAction();
    * Subclasses of this override this method to determine what is to be
    * done once the Component has been Resized
    protected abstract void resizingAction();
    Hope this will solve all your JTable horizontal resizing problems
    --j                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • [FlexPMD] flexpmd.html report created with zero bytes [Plz help]

    hi folks,
    initially i integrated FlexPMD with Maven.
    when i tried to build it creates the following:
    two folders:
    * CSS --- contains css files
    * Images --- contains image files
    two files:
    flexpmd.html -- created with zero bytes
    pmd.xml -- it lists the violations.
    my pom.xml
    <plugin>
    <groupId>com.adobe.ac</groupId>
    <artifactId>flex-pmd-maven-plugin</artifactId>
    <version>1.0.RC3</version>
    <executions>
        <execution>
        <goals>
            <goal>check</goal>
        </goals>
        </execution>
    </executions>
    <configuration>
        <ruleSet>${basedir}/pmd-ruleset.xml</ruleSet>
        <outputDirectory>${basedir}/target/pmd</outputDirectory>
    </configuration>
    </plugin>
    then i tried to integrate with Hudson, i configured this pmd.xml with hudson, its showing empty graph(see below)
    could you tell me , why this flexpmd.html is generated with zero bytes and why i'm not able to see plotted graph
    i tried the following version 1.0.RC4,1.0.RC5 and 1.1. but these versions also creating empty html report and some versions not running under hudson.
    please provide the correct version and details to solve this issue.
    please help in this issue, no help except this forum... i googled already did nt get any help.
    correct me if i'm wrong.
    thanks in advance.
    Regards,
    Mani

    Hi,
    What do you have in the console log?
    Please, try with 1.1.
    Xavier

  • I am facing a new problem with xml schema, plz help me

    Hi @,
    I am facing a problem with xml schema validation. Below is my code.
    public void initialize(String cfgFileName) {
    try {
    try {
    DOMParserWrapper parser = (DOMParserWrapper)Class.forName("dom.wrappers.DOMParser").newInstance();
    parser.setFeature( "http://apache.org/xml/features/dom/defer-node-expansion",true );
    parser.setFeature( "http://xml.org/sax/features/validation",true);
    parser.setFeature( "http://xml.org/sax/features/namespaces",true );
    parser.setFeature( "http://apache.org/xml/features/validation/schema",true );
    parser.setFeature( "http://apache.org/xml/features/validation/schema-full-checking",true );
    Document document = parser.parse(cfgFileName);
    System.out.println("Vijay .. code .. damar\n");
    }catch (org.xml.sax.SAXParseException spe) {
    } catch (org.xml.sax.SAXNotRecognizedException ex ){
    } catch (org.xml.sax.SAXNotSupportedException ex ){
    } catch (org.xml.sax.SAXException se) {
    if (se.getException() != null)
    se.getException().printStackTrace(System.err);
    else
    se.printStackTrace(System.err);
    }catch (Exception e) {
    System.out.println("Caught unknown exception : \n");
    e.printStackTrace(System.err);
    System.out.println("Vijay .. code .. success\n");
    DocumentBuilderFactory docBuilderFactory = DocumentBuilderFactory.newInstance();
    DocumentBuilder docBuilder = docBuilderFactory.newDocumentBuilder();
    //docBuilder.setErrorHandler(myErrorHandler);
    cfg = docBuilder.parse(new File(cfgFileName));
    cfg .getDocumentElement ().normalize ();
    } catch (Exception e) {
    e.printStackTrace();
    In the above code I am parsing the xml file and i am doing schema validation. Schema validation is proper and it is validating correctly. Only problem is that, It is validating and showing error correctly correctly but it is not catching that error.
    For clear understanding I am printing one statement before parsing and after parsing.
    SYSTEM.OUT.PRINTLN("Vijay .. code .. damar\n") this is before parsing
    SYSTEM.OUT.PRINTLN("Vijay .. code .. success\n") this is after parsing
    Here what is happening means, It is validating correctly and showing error :
    [Error] nw_layout-new.xml:800:97: Datatype error: Value 'y' does not match regular expression facet 'yes|no'..
    Vijay .. code .. damar
    Vijay .. code .. success
    Here it is showing error and still continueing not catching.
    Plz give solution for this.
    Thanks
    vijay K

    Hello dipthebe,
    Check out the articles below go through troubleshooting steps for your iPhone when the screen is unresponsive. You may want to try and restore your iPhone as a new device and then test out what happens when you miss a call to see if the issue is still present afterwards.
    iPhone, iPad, iPod touch: Troubleshooting touchscreen response
    http://support.apple.com/kb/ts1827
    Use iTunes to restore your iOS device to factory settings
    http://support.apple.com/kb/HT1414
    Regards,
    -Norm G.

  • FloodFill Not working with transparent BirmapData, Plz. help...

    Hello friends,
    I hav a movie [instance name : myObject] clip with some pattern design in it. Now i hav converted it to Bitmap to use FloodFill method on Runtime.
    code in which The floodFill not working:
    Code:
    var bitmapData:BitmapData = new BitmapData(350, 450, true, 0x00FF0000);
    bitmapData.draw(myObject);
    var con:Bitmap = new Bitmap(bitmapData);
    con.smoothing = true;//turn on smoothing
    addChild(con);
    con.x = myObject.x;
    con.y = myObject.y;
    // and called following floodFill function on a button click event
    bitmapData.floodFill(myObject.mouseX, myObject.mouseY,   0x00FF0000);
    code in which The floodFill working
    Code:
    var bitmapData:BitmapData = new BitmapData(350, 450, false, 0x00000000);
    //Next lines as above
    i hav set the transparency to false, it Works. But i hav a object in background that i hav to keep visible to user.

    Hey miah-hamid,
    Welcome to the BlackBerry Support Community Forums.
    Thanks for the question.
    Do you have a BlackBerry data plan with your network service provider?  I would suggest connecting to a Wi-Fi network and then wait for the BBM Setup screen to finish.
    Let me know if the issue still persists after 15 minutes.
    Cheers.
    -ViciousFerret
    Come follow your BlackBerry Technical Team on Twitter! @BlackBerryHelp
    Be sure to click Like! for those who have helped you.
    Click  Accept as Solution for posts that have solved your issue(s)!

  • Applet doesn't work with object tags--PLZ HELP!

    <NOEMBED>
    </NOEMBED>
    </EMBED>
    </COMMENT>
    </OBJECT>

    ooops! The applet is not displayed with object tags generated by HtmlConverter utility, The applet is supposed to display a JTable and connect to Oracle DB using JDBC. The web server is Tomcat 4.1.29
    <OBJECT
        classid = "clsid:CAFEEFAC-0014-0001-0002-BBCDEFFEDCBA"
        codebase = "http://java.sun.com/products/plugin/autodl/jinstall-1_4_1_02a-windows-i586.cab#Version=1,4,1,21"
        WIDTH = 800 HEIGHT = 500 NAME = "Edit Trunks" >
        <PARAM NAME = CODE VALUE = "cbhtolApplet.class" >
        <PARAM NAME = ARCHIVE VALUE = "trnkapplet.jar,ojdbc14.jar" >
        <PARAM NAME = NAME VALUE = "Edit Trunks" >
        <PARAM NAME = "type" VALUE = "application/x-java-applet;jpi-version=1.4.1_02a">
        <PARAM NAME = "scriptable" VALUE = "false">
        <COMMENT>
            <EMBED
                type = "application/x-java-applet;jpi-version=1.4.1_02a"
                CODE = "cbhtolApplet.class"
                ARCHIVE = "trnkapplet.jar,ojdbc14.jar"
                NAME = "Edit Trunks"
                WIDTH = 800
                HEIGHT = 500
                scriptable = false
               pluginspage = "http://java.sun.com/products/plugin/index.html#download">
                <NOEMBED>
                </NOEMBED>
            </EMBED>
        </COMMENT>
    </OBJECT>Appreciate your help!

  • Getting max date and max time column plz help

    hi
    i have a table with suppose 7 columns with date and time column seperate
    i want to design a query which retrieve the current or the maxmum date with the max of time in that date.
    columns a ,b,c, date, time
    22-05-07 20
    23-05-07 50
    24-05-07 40
    25-05-07 30
    22-05-07 20
    ans " suppose current date is 25 "
    a,b,c,25-05-07,40

    try like this..
    SQL> with rt as
      2  (select 1 col1,'22-05-07' dt, 20 tm from dual union all
      3  select 2,'23-05-07', 50 from dual union all
      4  select 3,'24-05-07', 40 from dual union all
      5  select 4,'25-05-07', 30 from dual union all
      6  select 5,'25-05-07', 45 from dual union all
      7  select 6,'22-05-07', 20 from dual)
      8  select col1,dt,tm from
      9  (select col1,
    10      dt,
    11      max(tm) over(partition by to_date(dt,'DD-MM-RR') order by col1 desc) tm,
    12      row_number() over(partition by to_date(dt,'DD-MM-RR') order by col1 desc) rn
    13  from rt where to_date(dt,'DD-MM-RR') in (select max(to_date(dt,'DD-MM-RR')) dt from rt))
    14  where rn = 1;
          COL1 DT               TM
             5 25-05-07         45
    SQL>

Maybe you are looking for

  • Display issues, Mac Pro

    Just got my Mac Pro, and it has a pretty frustrating problem. When waking up from sleep the display (ACD 20") stays black and there's no way of getting a signal without rebooting. If that wasn't annoying enough, the same thing happens about 7-8 times

  • I bought an audiobook and it downloaded to my ipad but not my Gen4 itouch, it doesn't show an audiobook section under purchases, how do I do this?

    I am really upset. I really love my itouch but anything beyond using it as a daytimer, camera and note keeper is shear torture. I post a question, I have to repost it multiple times. I search for a solution to a problem, such as, "How do I download a

  • Rich Client and Security

    Hello, i'm a litte bit confused about security in JEE5. I've searched now for a long time in the web and found nothing which helped me a lot. First I explain what I want to do: I'm writing a client/server application. The server part is done with ses

  • Where can I download the software for premiere elements 7

    I lost the CD software for Adobe Premiere Elements 7.  I searched on the Adobe site for the download and can't find it anywhere. I spoke to Customer service and they told me to come here and someone should be able to help me.  Does anyone know where

  • What is included?

    Just a quick question. If I download an app from the "Mac App Store" does it also include the same app to use on my iPhone? Or are they two different purchases? Thanks Alec