How to get the latest and valid BOM item entry from STPO

hi,
may i know with what condition we can get the latest and valid BOM item entry from STPO table?
i have STLNR and IDNRK as a input. But i realized that it would return multiple entry due to the combination of  valid-from and valid till date.
can i use stlnr,idnrk and stpoz (with the latet counter) to get the latest and valid BOM entry?
thank you.

Hi
You can get the latest BOM either by using the latest valid from date DATUV or latest internal counter STPOZ
Regards
Shiva

Similar Messages

  • How to get the latest credit limit values per each customer in the report.

    Hi All,
    Can anybody give me an idea on how to get the latest credit limit values per each customer in the report.
    I have below requiremnt.
    I have cube which is having transactional data on document and customer level .and it also having master data info object in the cube which is credit management view having all the customer numbers .
    This credit management view is master data info object having credit limit key figure as attribute.These credit limit are per each customer.
    So we need these credit limits in the report as dynamic values .(I mean whatever be the current credit limit in the master data table for that paricular customer that should show up in the reporting).
    one more thing these credit limits should roll up correctly at the HTR level.
    One HTR having number of customers .
    for example HTR 100 can have customer number 200,300,400.
    Those 200,300,400 customer credit limits should roolup correctly at the HTR 100 level.
    Example below :
    Cube DATA :
    HTR Customer Doct number Credit managment view
    100 200 10001 200
    100 200 10002 200
    100 300 10004 300
    100 300 10005 300
    100 400 10006 400
    100 400 10007 400
    100 400 10008 400
    Master data tabel (P Table)(Credit managment view)
    Credit managment view Credit limits
    200 1000.00
    300 50000.00
    400 90000.00
    Please remeber :
    We can not make these credit limits as navigational becasue these are keyfigure attributes not characteristics.
    one more thing we can not make them as charatistics because we need use these credit limits to derive other calkculation. so it is not possibel to derive calculations on charactristics .

    Create a formula variable of type replacement path with reference as attibutes of Credit management view and choose your key figure credit limit,say zcredit.
    Now create a formula or CKF and use zcredit.
    This should display the credit limit in your report as normal key figure.
    I didnot get this part "one more thing these credit limits should roll up correctly at the HTR level.", may be the above will solve this too.Try it.
    Hope this helps.

  • How to get the latest creditlimits in the reporting

    Hi All,
    Can anybody give me an idea on how to  get the latest credit limit values per each customer in the report.
    I have below requiremnt.
    I have cube which is having transactional data on document and customer level .and it also having master data info object in the cube  which is credit management view having all the customer numbers .
    This credit management view is master data info object having credit limit key figure as attribute.These credit limit  are per each customer.
    So we need these credit limits in the report  as dynamic values .(I mean whatever be the current credit limit in the master data table for that paricular customer that should show up in the reporting).
    one more thing these credit limits should roll up correctly at the HTR level.
    One HTR having number of customers .
    for example HTR 100 can have  customer number 200,300,400.
    Those 200,300,400 customer credit limits should roolup correctly at the HTR 100 level.
    Example below :
    Cube DATA :
    HTR         Customer     Doct number  Credit managment view
    100            200                10001             200
    100            200                10002             200
    100            300                10004             300
    100            300                10005             300
    100            400                10006             400
    100            400                10007             400
    100            400                10008             400
    Master data tabel (P Table)(Credit managment view)
    Credit managment view       Credit limits
    200                                           1000.00
    300                                           50000.00
    400                                           90000.00
    Please remeber :
    We can not make these credit limits as navigational becasue these are keyfigure attributes not characteristics.
    one more thing we can not make them as charatistics because we need use these credit limits to derive other calkculation. so it is not possibel to derive calculations on charactristics .
    Edited by: sirisha Nekkanti on Oct 30, 2008 6:27 PM
    Edited by: sirisha Nekkanti on Oct 30, 2008 6:35 PM

    This is duplicate of
    how to get the latest credit limit values per each customer in the report.
    thread.

  • How to get the latest versions of Internet Explorer t

    We are running Single Primary Site with SCCM 2012 R2. 
    I
    cant seem to find out how to get the latest versions of Internet Explorer to be included in software updates?  Do you have to download this separately and install manually?

    Like Henrik said, make sure you have the Classifications selected that you want to address. IE 11 is the current browser, that was added to the catalog a few months back. If you are searching for this month you wont find it.

  • How to know the balance and validity of internet data in iPad

    How to know the balance and validity of internet data in iPad?

    Sir I m using internet in ipad4 with airtel network
    They provide me 2gb data with the amount of 255 rupees
    And now I inserted the sim in my ipad4
    And start the surfing on safari n all
    And now I wanted to know how much data is balance.

  • How to get the latest procured value of a spare updated in material master

    How to get the latest procured value of a spare updated in material master

    J S S PRASAD
    See table MBEW via transaction SE16.
    However, you may need to look at the last PO created for that material.
    PeteA

  • How to get the latest update for the phone?

    hey does anyone know how to get the latest upgrade for my phone? 3230 nokia

    http://www.nokia.co.uk/nokia/0,,58162,00.html
    Gadget
    Remember to mark all correctly answered questions as Solved. A forum is only as great as the sum of its parts, together we will prevail.

  • I have an Apple I Phone 4S which is great but, can someone help me how to get the photos and videos to my PC which runs on MS XP. I would like to be able to edit and copy to a DVD.

    I have an Apple I Phone 4S which is great but, can someone help me how to get the photos and videos to my PC which runs on MS XP. I would like to be able to edit and copy photos and videos to a DVD.

    Connect your iPhone to your computer. Tp your pc should recognize your iPhone as a camera. Use what ever application you have on the pc to transfer files from a camera to your computer.

  • HT1222 how I get the latest airport software update?

    How i get the latest airport software update?

    Marlon brown wrote:
    I been trying to get this update off my phone but can not
    I been trying to figure out what you're talking about but can not

  • How to get the latest Change date and time of a M.O. from View VIAUFKST

    Hi All,
    I want to get the latest date and time of a M.O. from view
    VIAUFKST. I have written the query like this...
      SELECT AUFNR
             AEDAT  " Changed Date
             AEZEIT " Changed Time
        FROM VIAUFKST
        INTO TABLE I_VIAUFKST
       WHERE AEDAT >= W_LASTRUN_DATE
       ORDER BY AEDAT DESCENDING.
    but its not giving me right results... Pls help me out on this or suggest me the right approach to achieve the same...As this is very critical issue...
    Advance Thanks and Points Gauranteed...
    Suresh

    > SELECT AUFNR
    >          AEDAT
    >          AEZEIT
    >     FROM VIAUFKST
    >     INTO TABLE I_VIAUFKST
    >    WHERE AEDAT >= W_LASTRUN_DATE.  
    >
    >   IF NOT I_VIAUFKST[] IS INITIAL.
    >    SORT I_VIAUFKST BY AEDAT AEZEIT DESCENDING.
    >    READ TABLE I_VIAUFKST INDEX 1.
    >   ENDIF.
    >
    > The above statement is giving me different results...
    > such as...
    >
    >  1. 30/11/2005 19:20:11
    >  2. 29/11/2005 22:10:09
    >  3. 30/11/2005 20:56:09
    >  4. 28/11/2005 23:10:09
    >
    > by using the above SORT statement i am getting the
    > fourth record as the latest, where as it should give
    > me the third record....
    >
    > Please advise,
    > Suresh.
    Hi Suresh,
    The reason why you are getting this result is because the system is interpreting the DESCENDING only for AEZEIT not for both. Change it to
    SORT I_VIAUFKST BY AEDAT DESCENDING AEZEIT DESCENDING

  • Master Child tables how to get the latest rows from both

    Hi,
    Need some help with the sql. I have two tables Master & Child. In my Master table I have multiple rows for the same record and in the child table also multiple rows for the same master row how can I get the latest one's from both.
    For example Data in my Master table looks like
    CONT_ID                  SEQ_NUM        DESCRIPTION
    1                         189             Update 2
    1                         188             Update 1
    1                         187              NewNow in the child table for the same CONT_ID I may have the following rows
    CONT_ID                   UPDATED_DATE                                     STATUS
    1                        3/16/2010 2:19:01.552700 PM                          P
    1                        3/16/2010 12:29:01.552700 PM                         A
    1                        3/16/2010 12:29:01.552700 PM                         P
    1                        3/16/2010 12:19:01.552700 PM                         NIn my final query how can I get the row with seq_num 189 as it's the latest in Master table and from child table the row with status of P as it's the latest one based on the time. Here is the query i have but it returns the latest row from the child table only and basically repeats the master table rows as opposed to one row that is latest from both:
    Thanks

    Hi,
    You can use the analytic ROW_NUMKBER function to find the latest row for each cont_id in each table:
    WITH     got_m_rnum     AS
         SELECT     cont_id,     seq_num,     description
         ,     ROW_NUMBER () OVER ( PARTITION BY  cont_id
                                   ORDER BY          seq_num     DESC
                           ) AS m_rnum
         FROM    master_table
    --     WHERE     ...     -- any filtering goes here
    ,     got_c_rnum     AS
         SELECT     cont_id, updated_date,     status
         ,     ROW_NUMBER () OVER ( PARTITION BY  cont_id
                                   ORDER BY          updated_date     DESC
                           ) AS c_rnum
         FROM    child_table
    --     WHERE     ...     -- any filtering goes here
    SELECT     m.cont_id,     m.seq_num,     m.description
    ,     c.updated_date,     c.status
    FROM     got_m_rnum     m
    JOIN     got_c_rnum     c     ON     m.cont_id     = c.cont_id
                        AND     m.m_rnum     = c.c_rnum
                        AND     m.m_rnum     = 1
    ;If you'd like to post CREATE TABLE and INSERT statements for the sample data, then I could test this.
    If there happens to be a tie for the latest row (say, there are only two rows in the child_table with a certain cont_id, and both have exactly the same updated_date), then this query will arbitrarily choose one of them as the latest.

  • Urgent !!!  How to get the Latest Exchange Rate from a list

    Helo Gurus,
    I want to get the latest exchange rate for all currencies in BI 7.0. Now when I checked in the table its showing all the exchange rates for various currencies according to the date. My client want the latest exchange rate in the report for all currencies. Now when I generating the currencies into the report the rate getting cumulated.
    For certain currencies the rate is updated very recently. But for others two months back.
    <b>How it is possible to take only the latest exchange rate for all currencies and can generate the report.</b>
    I am working in BI 7.0 and the BEx using is of version 3.5.

    Mathew,
    usually the currenies and other settings will be loaded nightly, but in your case if you want it urgently you can do this.
    RSA1->Source System>Transfer Exchange Rates. This will open up a screen with two options Simulation and Update. You can verify with SImulation and needed you can update. It will not create any issues.
    Hope this helps.
    Alex (Arthur Samson)

  • How to get the values and attributes of Longlived processes by using ProcessID.

    Hi Experts,
    For  every process we creates, LC ES2 creates processID.
    we know that if you creates  a long lived process, all  the  values which are in proces will be stored some where  in DB.
    Here my requirement is by using  processID I need to get all/some values/variables stored in database.
    I am not able to get values using processID. Here I don't have clue on  how to get the values.
    Please tell me  how to get the same by using  Process Management. Link/guide would be helpful
    Thanks
    Praveen.

    Searchable means you can put a filter criteria on it (e.g. where amount > 50000)
    Visible means you can add have this column returned as an output (and therefore you can add it as column in listview and see it in Task Details).
    These two attributes were provided so that queries could be done against the process variables, but the exact contents of the variables are not allowed to be seen.

  • How to get the latest filename in a specify directory in client's machine

    Hi all,
    I've created a web application which user need to input some text and upload a file to server, It's simple that user just need to browse the directory to select the file. submit the form to server then ........
    However, after user's review and they prefer the system can upload the latest file in a directory in the cilent's computer (as all files are stored in the same directory) and upload to server after user click submit button automatically. User only input the text in the form, no need to search the picture in the computer (can save time) .
    I understand that there has some security issue. but just want to know is it possible to do this?
    The question I would like to ask is
    Can Java (servlet / jsp) can get the latest file in a pre-defined directory in client's machine?
    pls help
    thanks a lot.
    Kin.

    JSP and servlets run on the server, not the client. The client receives the output of the JSP/servlet, usually as an HTML page. Your question is: can an HTML page read a directory on the user's computer. The answer is obvious: no, it can't.
    You may be able to work around this problem with some kind of plug-in, but this would likely create more inconvenience for the user, not less.

  • How to get the recipient and Note for recipient in Medium 7 Simple Mail?

    Dear friends,
    I'm trying to send the shipment in the form of PDF attachment to the assigned user. I'm wondering how can I get the receiver and the note(which should be the content of the email) which can be configured in the "Communication Method"?
    Thanks,
    YiNing

    Well, the maintained text doens't  show up as the text of the mail content. So I'm actually asking how can I (from which variant in program) I can get this text. Or is there any standard program shows me how to do this?
    Thanks!

Maybe you are looking for

  • Can I integrate HTML DB with 11.5.8 applications/9.2.0.6 database

    We are using Oracle applications 11.5.8. We have 9iAS 1.0.2.2 Our database is 9.2.0.6 I see that you can use HTML DB/ application express with 9.2.0.6 database. I am unsure if i would install it in my 9iAS home or if i would install it in a new home?

  • New selection disappears from sectionlist when I add rules (was: New section in CSS)

    When I try to make a nex CSS for a section it disapeasr from the sectionlist before I start to add rules. Why? And why does my (succeded) CSS rules not show up in the codesection? <!doctype html> <html> <head> <meta charset="UTF-8"> <title>ATL Websid

  • Rman script clarification

    Hi gurus, Im new to rman and im configuring it from EM. My strategy is disk-based. I don't backup with rman on tape. Im sending it on tape from another program. The generated script is: [BEGIN SCRIPT] $rman_script="backup device type disk tag '%TAG'

  • Screen freezing

    Hi there, I have a problem in that recently whenever I scroll with my mouse, the content on the screen starts to double up. By that I mean that text will look like this: "The quick brown fox blah blah"      and then below will be "The quick brown fox

  • Automatic Forwarding of Messages -SMIN_STD_MSG_DISPATCH

    Hi, In SMIN_STD_MSG_DISPATCH action definition in SMIN, i am trying to forward the message to 2nd or 3rd level support for BRFplus to rule AGS_ICT (35000139).As mentioned in the the below Dolores Correa Incident Management: Support team determination