I need a logic immediately

There are four tables for me
Table_A TAble_B TAble_C TAble_D
Table_A
ID number
mn_nbr Varchar(8)
Table_B
ID number
sec_NBR varchar(3)
Table_C
MN_NBR VArchar(8)
SEC_NBR VArchar(3)
m_mn_nbr Varchar(11)
m_sec_nbr VArchar(3)
Table_D
m_mn_nbr VArchar(11)
m_sec_nbr VArchar(3)
extn varchar(4)
For every record from TAble_A and TAble_B
we have to find record in TAble_C and pickup m_mn_nbr,m_sec_nbr
If we find it is fine else we will expand mn_nbr to be like m_mn_nbr by appending 000
then with m_mn_nbr and m_sec_nbr we have to find a record from table_d
if it is not found then we have to check with m_mn_nbr and m_sec_nb = 'XXX'
else the value of EXTN will be '0000'.
Please can some one help me in gettin this logic.
Thanks

Like currently I am dealing with the first three tables
And the rows I had inserted as follows
Table A
ID --- mn_nbr
1111 11112222
2222 22221111
3333 33332222
Table B
ID --- sec_nbr
1111 031
2222 041
3333 021
Table C
mn_nbr -- sec_nbr m_mn_nbr m__sec_nbr
11112222 031 10111112222 031
So with my query I am able to pick up the record from Table C
Query is as follows
select a.MN_NBR,a.SEC_NBR,a.m_mn_nbr ,a.m_sec_nbr
from table_C A,TABLE_A B,TABLE_B C
where B.Id = C.ID
and A.MN_NBR= B.MN_NBR
and A.SEC_NBR= C.SEC_NBR
But there are no records corresponding to 2nd and 3rd rows of Table A and Table B
As the data will not be found I need to expand myself and pick it up
when evver record is not found I want to get m_mn_clm_nbr as mn_nbr||'000'
This one I am not getting.
Now combinedly I need to pick up three records from TAble_C
One record is existing and the other two as expanded records
THanks

Similar Messages

  • Need of logical database

    Hi,
    Can any one briefly explain what is the need of Logical database?
    In which case , abapers r going for logical database?
    regards,
    Pooja

    Hi Pooja,
    A logical database is a special ABAP/4 program which combines the contents of certain database tables. You can link a logical database to an ABAP/4 report program as an attribute. The logical database then supplies the report program with a set of hierarchically structured table lines which can be taken from different database tables.
    GET will fetch the table data immediately
    GET LATE
    In the LDB when you define the table structure in hierarchy, first it will fetch the higher node data and then all the below node tables data and comes to a second record in the top node table. for this GET Late is used.
    You can create any number of primary keys in a table
    The programmer need not worry about the primary key for each table.Because Logical database knows how the different tables relate to each other,and can issue the SELECT command with proper where clause to retrieve the data.
    i)An easy-to-use standard user interface.
    ii)check functions which check that user input is complete,correct,and plausible.
    iii)meaningful data selection.
    iv)central authorization checks for database accesses.
    v)good read access performance while retaining the hierarchical data view determined by the application logic.
    GO THROUGH LINKS -
    http://www.sap-basis-abap.com/saptab.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9bfa35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/frameset.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/c6/8a15381b80436ce10000009b38f8cf/frameset.htm
    /people/srivijaya.gutala/blog/2007/03/05/why-not-logical-databases
    Re: **LDB**
    www.sapbrain.com/FAQs/TECHNICAL/SAP_ABAP_Logical_Database_FAQ.html
    www.sap-img.com/abap/abap-interview-question.htm
    www.sap-img.com/abap/quick-note-on-design-of-secondary-database-indexes-and-logical-databases.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/9f/db9b5e35c111d1829f0000e829fbfe/content.htm
    http://help.sap.com/saphelp_nw2004s/helpdata/en/9f/db9bb935c111d1829f0000e829fbfe/content.htm
    Reward if useful.
    Regards,
    Hemant

  • I am unable to open my Photoshop program after installing the entire Creative Suite: Premium Production 6. All other programs work, but with Photoshop it says that the program is "locked or in use by another user". I need this fixed immediately.

    I am unable to open my Photoshop program after installing the entire Creative Suite: Premium Production 6. All other programs work, but with Photoshop it says that it "Could not open a scratch file because the file is locked, you do not have necessary access permissions, or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock the file." Then I select "OK" and the next message comes up "Could not initialize Photoshop because the file is locked, you do not have the necessary permissions, or another program is using the file. Use the 'Properties' command in the Windows Explorer to unlock this file. I installed all of the programs on the same day from a CD. I need this fixed immediately.
    I am not interested in switching to Creative Cloud, so don't even suggest it. I spoke to Mashmi (or something to that effect) on the "Support" Chat and there was absolutely no support. Useless actually.
    Thanks in advance.

    Could not open a scratch file because the file is locked or you do not have the necessary access privileges. (…) | Mylen…
    Mylenium

  • Need a Logic for balance

    Hi Experts,
    I have a table
    SSN          data            balance paid_amount rank
    111111111    1st week date   1000     100         1
    111111111    2nd week date   1000     100         2
    111111111    3rd week date   1000     100         3
    111111122    1st week date   1000     100         1
    111111122    2nd week date   1000     100         2
    111111122    3rd week date   1000     100         3
    I want the output as
    SSN          data            balance New_balance
    111111111    1st week date   1000     1000        
    111111111    2nd week date   1000     900        
    111111111    3rd week date   900      800        
    111111122    1st week date   1000     1000        
    111111122    2nd week date   1000     900        
    111111122    3rd week date   900      800        
    For first New_balance values will be same as balance
    for second week balance = new_balance and new_balance = balance-paid_amount
    for third  week balance = new_balance and new_balance = balance-paid_amount
    I am using data service version 4.1
    Need a Logic to perform above
    Thanks
    Madhu

    Hi Mohd,
    It worked Perfect for the new balance field, thank you so much, Also the balance field should change
    In the above result set the 3rd Week balance should be same as 2nd week new balance
    In other words, 2nd Week Balance should be same as first week new balance as shown below
    Input
    SSN
    DATE
    BALANCE
    PAID_AMOUNT
    111111111
    1ST Week
    1000
    100
    111111111
    2nd Week
    1000
    100
    111111111
    3rd Week
    1000
    100
    111111112
    1ST Week
    1000
    100
    111111112
    2nd Week
    1000
    100
    111111112
    3rd Week
    1000
    100
    111111112
    4TH Week
    1000
    100
    output
    SSN
    DATE
    BALANCE
    NEW_BALANCE
    111111111
    1ST Week
    1000
    1000
    111111111
    2nd Week
    1000
    900
    111111111
    3rd Week
    1000
    800
    111111112
    1ST Week
    1000
    1000
    111111112
    2nd Week
    1000
    900
    111111112
    3rd Week
    1000
    800
    111111112
    4TH Week
    1000
    700
    Thanks for your Effort

  • Why do you need a logical plant?

    Hi Guys
    Please explain me with an example, Why do I need a logical plant in SAP. If i decide to have one, can I have a logical plant without a valuation and then on moving the stock to the original plant it should get valuated. I raise this discussion my implentation is affected because of wrong valuation of stock. Please express your confident views regarding.
    Regards
    Pradeep/ICF

    Hi,
    Not sure why you need a logical plant. Normally dummy plants are made to facilitate material movements to cater complex scenarios. In OMS2 you can omit any Material type with regards to the plant as "Value updating" .
    Regards
    Binoy

  • Please help me with portfolio.I am new in graphic design.I need portfolio done immediately soon as possible otherwise my design advisor will not let me register for fall. I need 15 or 10 artworks to show.Please help me

    Please help me with portfolio.I am new in graphic design.I need portfolio done immediately soon as possible otherwise my design advisor will not let me register for fall. I need 15 or 10 artworks to show.Please help me.

    Farooq,
    If you look at the first one, you should be able to align quite easily as follows, View>Smart Guides being your friends:
    1a) ClickDrag the top flower with the Selection Tool (black arrow) so it is clear of the pointy part;
    1b) Click an empty spot on the Artboard to deselect, then ClickDrag the top flower by its bottom Anchor Point (Smart Guides say anchor when you are close enough to grab it) down to snap to the top Anchor Point on the pointy part (Smart Guides say anchor when you are close enough);
    1c) Do the same for the boroom flower.
    If you look at the third one, to get the triangles and the hexagon sized and aligned precisely, you may, creating them with stroke and no fill:
    3a) Click with the Polygon Tool and select a suitable/chosen Radius and 6 Sides, then Object>Transform>Rotate by 30 degrees (or use the Rotate option in the Transform palette), you may Object>Transform>Reset Bounding Box to have it look nicer;
    3b) Click with the Polygon Tool and select the same Radius and 3 sides, then deselect and ClickDrag the top Anchor Point to snap to the top Anchor Point of the hexagon;
    3c) Object>Transform>Rotate by 180 degrees clicking Copy, deselect, and ClickDrag the bottom Anchor Point to snap to the bottomAnchor Point of the hexagon;
    3d) Select all and Ctrl/Cmd+G to Group (for alignment purposes, you will know why if you try without grouping, see below).
    To create full symmetry, you may use circles rather than almost circular ellipses; you may:
    3d) Click with the Ellipse Tool and select a suitable/chosen Width = height;
    3e) Object>Transform>Move a copy vertically by the Height (= Width) twice (or you may Ctrl/Cmd+D to repeat), to get three circles over one another with no gaps;
    3f) Select the topmost and bottommost ones and Object>Transform>Rotate a copy by 120 degrees twice, to have all the seven circles precisley touching one another; you may Group them, but it is not necessary.
    To have everything aligned, just:
    3g) Select everything and click Vertical Align Center and Horizontal Align Center in the Align palette; you may click the pointy group or the circles ojnce more before aligning if you want to keep it in place (that will make it the key object that the other set is aligned to).
    These ways may also help you further.
    Edit: About half an hour after midnight here. High time to attend to other duties, before the sun is up.

  • NEED THE LOGIC TO RETRIVE THE DATA FROM IT2001 SUBTY 0910 AND 0100

    HI ALL,
    ITS URGENT
    NEED THE LOGIC TO RETRIEVE THE DATA FROM IT2001(P2001) SUBTY 0910 AND 0100.
    BEST REGARDS
    SUNIL

    Hi,
    Please find the logic to retrieve the data from IT2001.
    <b>Infotypes : 2001 mode n."Declare the infotype in the infotypes declaration.
    Get pernr.
    RP-READ-ALL-TIME-ITY PN-BEGDA PN-ENDDA."Retrieves all the records of absence
    LOOP AT P2001 WHERE SUBTY = XYZ.
    Write the logic.
    ENDLOOP.</b>
    Regards,
    Pavan Kattamuri.

  • I'm going next week to the usa(I'm from Brazil) and i need the logic board for Apple MacBook Pro 15" A1286 where can i get it?, I'm going next week to the usa(I'm from Brazil) and i need the logic board for Apple MacBook Pro 15" A1286 where can i get it?

    I need to buy a logic board for 
    Apple MacBook Pro 15" A1286, but i couldn´t find online to buy it where can i get one and if it´s possible if i can have it delivered to my hotel

    There are a lot of MacBook Pros with the model # A1286 - which year is your model (e.g., "15-inch Late 2011")?
    The only place that I know that you might could score a specific logic board is www.ifixit.com. They may be able to ship to your hotel.
    Clinton

  • Need to Return immediately and commit the App Module on a different thread

    I have an action that I want to return fast (immediately) but the server processing takes longer than acceptable. The results of the operation don't matter to the page submitting it and I want it to be able to navigate away even if the operation is not complete. I want to either be able to send a non-blocking server event from the browser or on the server side start a new thread that performs the operation allowing the original thread to return immediately. The new thread would need access to an Application Module in order to commit data. How would I go about accomplishing this?
    Some thoughts
    I've tried creating a ConcurrentLinkedQueue and putting the DataControl on the que, then in the other thread I pull it off the que, process and commit the data. This works unless the page is navigated away from. Then calling dc.getApplicationModule(); returns null.
    I thought about using createRootApplicationModule in the new thread (since the new thread has no context) but don't know how that would work
    This is the code in the run method of the new thread. In this example, I'm adding data to the app module in the original thread and committing the data in a new thread.
    (like I said, it works most of the time.)
    Object[] req = (Object[])que.poll();
    DCDataControl dc = (DCDataControl)req[0];
    try{
    ApplicationModule am = dc.getApplicationModule();
    if (am != null){
    am.getTransaction().commit();
    } else{
    System.out.println("AM:null unable to commit ");
    } catch (Exception e){
    e.printStackTrace();
    finally{
    if (dc!= null){ dc.resetState();} // release app module
    }

    Thanks for the replies. I am aware of the inherent risks of running a separate thread within a managed container.
    The use case is a performance logging operation. We have a internal web app used by a network of franchises with over 1000 users. We log response time and performances statistics to the database. When the user clicks to navigate or commit data, the response time that the user experiences is logged after the page has fully rendered either through a PPR or a full submit. This is done by submitting ADFCustomEvent from javascript on the page after rendering is complete.. The event sends up the time difference from when the user first clicked to when the page was fully rendered. This information is then merged with logged events stored on the users Session that shows the name and response time of every query that was executed during the previous request. Depending on the page this could be up to half dozen to a dozen or more queries. The logging operation as experienced by the browser is generally fast (<200ms) but sometimes can be as long as a second or more when the database gets busy. A half second is too long as makes the app appear sluggish if the user can't type or click immediately after the page has finished rendering. The logged data is aggregated so we know exactly how much of the page load was due to a slow browser/network, how much was database time, webservice call time, etc... If it's due to a slow database we can drill down and see which query is the culprit. These performance metrics are critical to operations and are charted throughout the day so we know exactly what our users are experiencing. All of our users use a custom firefox client that we control. Using this logging framework we were able to determine that upgrading to a Firefox 4.0 based client cut browser render time by more than half a second on average. We can also tell what type of hardware the user is running so can place the blame for poor performance where appropriate. We have determined that pages render considerably faster on Windows 7 than on Windows 98 with the same hardware. We are moving the logging tables off of our exadata database to a separate box to remove that load from the application database. Since we expect the other database not to perform as well we don't want it to affect the user experience, hence the need to log asynchronously. I would like to put the data on a queue and have a background daemon process read from the queue and commit to the database. I would like the daemon thread to be able to use BC components. I would prefer not to resort to using a web service because of the inherent overhead. The logging operation is not a long operation but is of high frequency so should be as streamlined as possible. The load is spread over 6 servers with 4 JVM's each (24 weblogic instances). I know it's possible to use BC components from a plain Servlet (which runs on it's own thread) so what I want is to have something like a servlet thread that loops forever processing my logging queue.
    One other method I am investigating is using my own non-blocking ajax call that callls a servlet to perform the logging. I will need to pull out the timestamp contained within a client side ADF component along with the pages ctrl-state variable that is included with every ADF request as it uses this as the key to get to the data on the session. ADF really needs a non-blocking ADFCustomEvent for this type of request. (send and don't care about the response)
    The client component with the server listener looks like this
    <af:outputText value="#{pageFlowScope.perfClientTS}" visible="false"
    id="perfClientTSField" clientComponent="true">
    <af:serverListener type="logPerfData" method="#{perfLog.logPerfDataAction}"/>
    </af:outputText>
    The script that queues the ajax call after the page loads looks like this
    AdfCustomEvent.queue(perfClientTSField, "logPerfData", {
    typeId : typeId,
    subTypeId : subTypeId,
    responseTime1 : new String(responseTime1),
    responseTime2 : new String(responseTime2),
    openedVia: via
    true);
    I also tried calling the noResponseExpected() method on the event before queuing it but it still blocked the UI and caused an additional side effect in that the client sent two ajax requests instead of one. It somehow thought something on the client side needed to be synced with the server.
    email me and I can send a doc with more details about how our performance logging framework works.
    Edited by: Don Kleppinger on Mar 14, 2012 2:52 PM

  • Help needed in Logical Database Programming

    Hello Gurus,
    I am working on a Report on ASSET ACTIVITY BY DATE RANGE .
    The program is copied from std. program S_ALR_87011990.
    The above std. program displays for the whole financial year. This is modified for a particalar period range in the new leveraged program.
    My question is in the below code.
    We are fetching data using LDB ADA. The statement "GET anlcv" works fine here, I mean Sy-subrc is 0 and anlcv structure has some data in it.
    When it comes to statement "GET anepv" in the below code, we are not getting any data into that structure and sy-subrc NE 0. Then it is skipping all the get statements and directly going to statement " PERFORM abga_simulieren.".
    My logic lies in between this Get statement and the perform statement. When i see it in debugging mode my statement is not executed at all.
    What needs to be done. Please anyone help me.
    GET anlcv.
    CHECK select-options.
    MOVE anlcv TO sav_anlcv.
    GET anepv.
    CHECK select-options.
    Nur Bewegungen des Jahres des Berichtsdatums durchlassen.
    CHECK anepv-bzdat GE sav_gjbeg.
    CHECK anepv-bzdat IN so_bzdat. "Added for SIR-3132
    Bewegungen in SAV_ANEPV sammeln.
    MOVE anepv TO sav_anepv.
    APPEND sav_anepv.
    GET anlb LATE.
    Check auf Bestandskonto bei Gruppensummen erst hier, wegen
    fehlender Abgänge/Umbuchungen
    IF NOT summb IS INITIAL.
    IF NOT anlav-ktansw IN so_ktanw.
    REJECT 'ANLAV'.
    ENDIF.
    ENDIF.
    ANLCV aus Save-Area zurueckholen.
    CHECK NOT sav_anlcv-anln1 IS INITIAL.
    MOVE sav_anlcv TO anlcv.
    Abg-Simu: Abgang simulieren.
    PERFORM abga_simulieren.
    Promise to reward points
    Regards
    Mac

    1) delete line  CHECK anepv-bzdat ge sav_gjbeg.
    2) test with an asset , which has movements (purchases) in your intervall so_bzdat.
    otherwise post a movement (e.g. transaction type 100) with tcode abzon
    A.

  • Imac G5 needs new logic board

    Hi,
    My imac G5 was revving up quite a bit and acted like I was downloading something all the time. I thought it might just need the fans to be cleaned but I took it into the genius bar and was told that they guy "thinks" that I need a new logic board but isn't positive and would I like to look at the new imacs. ( I love looking at the new imacs but it's not in my budget). He said it would cost close to $800.00 to repair my imac. I edit video on it and it's also become the family computer. Any suggestions? Do I put the money into replacing the logic board? Do I put money into expanding the memory on my macbook pro that only has 2 gb of memory?

    Has it been shutting down unexpectedly?
    There was a repair extension program for some of these iMacs which suffered from defective capacitors on the Logic Board and the Power Supply. It's been closed since Dec. 08, but I've heard of people appealing to Apple Customer Service anyway and getting the repairs covered. First you should open the computer and determine if the capacitors on the Logic Board are swelling or leaking at all. If so, you might be able to convince Apple to do the repairs. 1-800-275-2273. If at first you get turned down, ask to speak to a higher level rep.
    Tell them how unfair you think it is that those who had the problem before the program closed were covered, and it was just your bad luck that your computer lasted a bit longer. You can also say that had you opened it up earlier, you probably would have seen the bad capacitor issue developing before the program closed. They are numerous little cylinders about 3/4 inch tall. The tops should be perfectly flat. No brownish gunk. Inspect it very carefully.You won't be able to look inside the Power Supply easily, though. If your iMac is not an iSight, it's very easy to open up. Just three screws at the bottom. Have a look here for illustrated instructions for your model. If it is an iSight, probably best not to try; a bit too complicated. Or you might just call the repair service and ask exactly why they thought it needed a new Logic Board. Did they see bad capacitors?
    http://www.ifixit.com/blog/?p=1892
    These were the covered serial #'s
    * iMac G5 Repair Extension Program for
    Video and Power Issues - September 2005
    Computer model: iMac G5, 17-inch and 20-inch
    iMac Serial number range, first 5 digits:
    W8435 - W8522 or
    QP435 - QP522 or
    CK435 - CK522 or
    YD435 - YD522
    Message was edited by: WZZZ

  • Need a logic for Internal table processing

    Hi,
    I have a requirement...an internal table contains three fields material no, bin no, and Quantity
    Mat. No    |         Bin No        |              Quantity
    a              |              x1         |                   10
    a              |              x1         |                   10
    a              |              x2         |                   20
    b              |              x3         |                   10 
    c              |              x3         |                   20
    c              |              x4         |                   30
    c              |              x4         |                   40
    In this I need to append the records to new internal table say itab1 where multiple entries exist for some material no like mat no 'a' and 'c'  and
    if the material no. exist only once in the table, it has to be moved to another new internal table say itab2.
    Pls suggest some logic that does not have performance issues.
    Thanks in advance
    Saravana

    Hi there,
    a solution in brief...
    data: wa_itab1_a like itab1,
             wa_itab2_b like itab1,
             lv_tabix       type sytabix.
    sort itab1 by matnr.
    loop at itab1.
      wa_itab1_a = itab1.
      at new matnr.
        lv_tabix = sy-tabix + 1.
        clear wa_itab2_b.
        READ TABLE itab1 into wa_itab2_b
                            INDEX lv_tabix.
        if wa_itab2_b-matnr ne wa_itab1_a-matnr.
          append wa_itab1_a to itab2.
          delete itab1 where matnr = wa_itab1_a-matnr.
        endif.
      endat.
    endloop.
    Regards
    George Zervas
    Edited by: gzervas on Oct 20, 2010 12:08 PM

  • Is NI Komplete really needed with Logic 8?

    With the current deals in place you can pick up NI Komplete for around $700, which is an amazingly good price considering what is included.
    ...but reading the feature list, there is a fair amount of redundancy for Logic users now that the Jam packs are all bundled. The 3 pianos from Komplete seem to be covered by Logic as would be much of the orchestral, band and rock stuff in the sampler.
    Does anybody run both and what are your opinions?
    Is there enough extra sampled content? Does Battery really nail Ultrabeat?
    There is nothing like Absynth and Reaktor in Logic - maybe these are worth the admission price alone.
    Thoughts?
    Thanks.
    Matt.
    PS. My focus is film and television music with the occasional mix of a recorded song.

    Sampleconstruct wrote:
    Well I use Reaktor 5, Kontakt 2/3 and Massive every day - I didn't buy the Komplete because there is redundant stuff in there I don't want and don't need. But those three Plug Ins (+maybe Absynth) are absolutely unique and nothing inside Logic comes near the capabilities, those apps have.
    I agree with you but I would add GR3 to the list. It's a great general audio FX/destroyer.
    However, after you cross some critical number of NI plugins (3, or 4?), it makes sense to get the Komplete. Upgrading 3, or 4 different plugins separately is similar to cost of upgrading from Komplete X to Komplete X+1. Also, Komplete + Kore is a really nice (Note: Kore has it's issues too).
    I checked the Battery demo intensively and wasn't too thrilled about it. It's more versatile than UB but if you get Kontakt you don't need Battery, apart from the useful samples that come with it maybe.
    Battery is a piece of ****. It is the quintessential example of NI's lackluster quality and design. On the surface it may seem like a cool tool, then you dig just a little bit deeper and you're annoyed by the application at every turn.

  • Need a logic to load a table

    Hi All,
    I am trying to figure out a logic to load a table from 3 differnt tables... below are the tables
    Contact                                                 
    contact_id        DS_ID                          
    (Number)       (Varchar2)                    
    CR_TYpe
    CR_Type_ID          CR_Type 
    (Number)            (Varchar2)
    Source_CR_Type
    S_CR_Type_ID          CR_TYPE
    (Varchar2)             (Varchar2)Contact.DS_ID =Source_CR_Type.S_CR_Type_ID (the relation between contact and Source_CR_Type is 1:M)
    Distinct Source_CR_Type.CR_TYPE = CR_TYpe.CR_Type
    The table that needs to be loaded is MAP_CON_CR_TYPE
    MAP_CON_CR_TYPE
    MAP_ID          COntact_id          CR_Type_ID             
    (Number)        (Number)            (Number)
    sequencecan any one help me with a logic to load this bridge table or suggest me how to approch.
    Edited by: BluShadow on 15-Feb-2013 15:26
    added {noformat}{noformat} tags for readability.  Please see {message:id=9360002} to learn to do this yourself in future.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Need a logic to caluclate l Number of Stores (plant)

    Hello
    I am developing a query. In this query i need to show one KPI known as Total number of Stores (Plant).
    I tried with replacement path using formula variable on char 0Plant  but its not achieving.
    Guys need a formula and logic how to caluclate  number of stores (plant).
    Please can someone tell me how can i do that.
    Regards,
    RK
    Points 100% Assured.

    I think you need to calculate the occurrence of one characteristics with respect to other. If so you can do following:
    Use number of records KF to calculate the the toal and average calculated key figures. For those two key figures use aggregation settings as 'Total' and 'Average' giving reference characteristics (which needs to be counted).
    Now use a formula Total/Average ..It should give you number of occurrences of one char wrt to other.

Maybe you are looking for

  • Can't leave voicemail for users on some servers but not others

    We have 3 Exchange 2010 servers and 3 Exchange 2013 servers (we are in the process of moving everyone over to Exchange 2013.)   When we enable UM on a mailbox that is on one of the Exchange 2013 servers, everything works.  However when we enable UM o

  • HT4614 connecting two displays on mac mini(late 2012)

    I have a mac mini (on order). I want to use two displays as follows: connect one to the thunderbolt port and one to the hdmi port. Can I do it?

  • Ipad mini, ios7 not working

    I have a iPad mini, i downloaded the iOS7, and it then it tried re-starting the device, but since then its not opening. The apple icon appears and goes, appears and goes.  I have no idea how to get back to old one or go ahead. Please help me out.

  • Clean Install of SL, now would like to resume Time Machine Backups

    I recently did a clean install of Snow Leopard in an effort to solve some problems I was having with Aperture. Now that I have the clean install up and running, and have reinstalled most if not all of my apps that I need, I would like to resume using

  • I can't use the context menu

    Hi, everyone. I have seen that many people has some problems with the right click options. In my case, the context menu appears shadowed, so I can't acces any option. I use IExplorer 6.0 (winXP) and looking at the complement configuration, the active