Stock viewing on a selected date for Valuated materials

Dear all
I have materials which are split maintained with 4/ valuation type. I want to view the stock on a particular date for recon. activities for each valuated tyepe material, how to find it  / what is the Txn code for that. MB5B does not solve the issue.
Thanks
sam

Hi Samuel
If you want to view the  stock on a particular date  for each of the Valaution type
Then use the  transaction MB5B
1. Donot select anything in the SETTINGS area of the transaction
2.execute the transaction (F8)
3.Select current display variant (Ctrl+F8)
4.from the hidden fields get the Valuation type shifted  to the left hand column
5. copy
You will find the valuation type against the posting dates
Hope this helps
Regards
Vikrant

Similar Messages

  • Accounting Views To Be Made Mandatory for Valuated Materials

    Hi Experts,
    I want to make accounting views to be maintained mandatorily while creating or extending valuated materials.
    Please suggest how it can be achieved...
    Rgds

    Hi,
    It is very much subject to the way how effective your material master data maintenance procedure is.  The fact is that once extending your material master record, there is not any particular validation that SAP has made to ensure the entire accounting view is required (of course, if a certain view is selected, then by configuration you can set up if a certain field shall be mandatory).  The only workaround solution is to activate the field exit.  We have had the similar requirement whereupon any change in the material group shall require end users to make necessary update into the Valuation Class field.
    Cheers,
    HT

  • Upload SNP master data for future Materials

    Hello Everybody,
    I am working on SCM 2007 and due to client's business requirements, I need to load the SNP master data of the new materials which presently do not exist in my R/3 system and will be produced/introduced after six months.
    Client wants to do the forecasting for such materials from now onwards. Since, these materials do not exist in R/3, I cannot CIF and bring the master data in my APO system. Please suggest, how can I load SNP master data for such materials. Is there any standard tool available for the same?
    Kind Regards,
    Rahul

    Hi,
    If you require product locations only for forecasting I guess you will require only products and locations to be define in APO. I would suggest that you can create a seperate Model for this product locations which is not their in ECC and do the forecasting if it satisfies your business requirement, the reason being once you create master data directly in APO it will not be possible to CIF the master data fom ECC which will create inconsistency.
    You can use LSMW also to upload product and location if you are not defining comples parameters like Time phase cost in Product location & their are not many validation which I assume will be the case.
    Thanks,
    Sanjog

  • Query - Stock Value (On a Selected Date)

    Hi all
    I came up with the below query to display the stock value at a given date in the past.The total value is correct as per the Inventory Audit report. However, it displays the total value for the two warehouses that we have, yet I want it to display the value separately per warehouse. My chart of accounts has only one (general) account defined.
    SELECT T0.[Debit]-T0.[Credit] FROM [dbo].[JDT1]  T0 WHERE T0.[Account] ='XXXX' AND  T0.[RefDate] <='%0'
    Anyone with an idea about how I can I can display the values separately? Thank you.
    Regards,
    Henry

    Hi Gordon,
    Many thanks, it worked great.. I'm able to include warehouse selection too.
    out of curiosity, what does the T0.Cogsval contain?
    Regards,
    Henry

  • How to edit data selection(Date) for an Init Delta Infopackage

    Hi Experts,
    We have a Process Chain which contains an Delta Infopackage.
    This Delta Infopackage has a Data Selection (Date) condition which is till 12/2008. As well the same date selection is present in the init method as 12/2008.
    Also we need to change the date selection in the data sources in R/3 side.
    *Is there a way to edit the Init condition so that we can pull 2009 data without deleting the present Init and recreating a new Init?????? please suggest us with the procedure for the same.
    Also could you tell us the impact of changing the date selection in BW and R/3 side??
    Appreciate your response.
    Thanks
    Vivek Das Gupta

    Hi Ajeet,
    I followed the steps you mentioned.
    I created a new infopackage, gave the condition (01/2009 to 12/2999) and did a Init without Data transfer.
    1. Now if we do a Delta load, will the loading be based on both Init Selections (01/2004 to 12/2008 and 01/2009 to 12/2999)  or will it take the recent Init condition only(01/2009 to 12/2999)??
    2. After doing the New Init(01/2009 to 12/2999), the Delta InfoPackage still shows the old Data Selection (01/2004 to 12/2008) In Selection Tab of IP, do we need to change the Date Selection  as 01/2009 to 12/2999?
    3. Where can we the Data selection in R/3 (TCODE)??
    Vivek Das Gupta

  • Auto-fill calender date and validate other fields depending upon selected date for infopath forms

    I have a calender box in infopath form which i want to autoselect when user opens the form..Ex..i am opening form on 14th march the calender should show as 19th march and also i have to perform few validation and action such as if i am selecting date with
    more than 5 days gap should open other field which is a dropdown..How can i perform this..

    Do you have Excel Services? if so, this article may be of use to you:
    http://sergioblogs.blog.co.uk/2013/01/08/infopath-2010-and-excel-services-in-sharepoint-15407321/
    You can configure an excel workbook to validate if a date is a working day and then use formulas to workout the working date for 5 days after the date you enter, then link your InfoPath form to connect to the excel workbook and return the result of your
    calculation.
    Regards
    Sergio Giusti
    http://sergioblogs.blog.co.uk/
    Whenever you see a reply and if you think is helpful, click " Vote As Helpful". And whenever you see a reply being an answer to the question of the thread, click "
    Mark As Answer".

  • Urgent!How to set the default selected date for an OAMessageDateFieldBean

    Hi,
    There is messagetextinput on the page.the dataType is Date.
    if I do not input anything on this messagetextinput ,when I click on the date icon,the default selected date is today.
    But I want to set the default selected date base on another messagechoice.
    Is that possible?
    binghao.

    Sumit/Binghao,
    When u set deafult date in the OAMessageDateFieldBean, the OAInlineDatePickerBean (which are referring as datepicker popup windows), takes the default value from OAMessageDateFieldBean.
    If you explore OAMessageDateFieldBean in framework, u will find its nothing but a onClick js event is called on the imageicon attached with messagetextinput bean(in case the type is Date) and OAInlineDatePickerBean is opened in a modal js window.
    So, here is code for setting default value both in both in OAMessageDateFieldBean and OAInlineDatePickerBean :
    OAMessageDateFieldBean dateField = (OAMessageDateFieldBean)webBean.findIndexedChildRecursive(<item id>);
    dateField.setValue(pageContext,new Date(100, 06, 04)/* 4th July 2000*/);
    One more important thing, here Date class is java.sql.Date.I hope i am clear.
    --Mukul                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Error while selecting data for mara table from KOTG516 table

    Hello all,
    I am trying to select the data from mara table with respect to KOTG516 table . but i am not getting the value into t_mara table as t_kotg516-matnr is empty . but the t_kotg516 conatins the matnr value . here is the code . i am not getting where i went wrong . please help .
    TYPES: BEGIN OF Y_KOTG516,
            KAPPL TYPE KAPPL,
            KSCHL TYPE KSCHG,
            VKORG TYPE VKORG,
            VTWEG TYPE VTWEG,
            KUNAG TYPE KUNAG,
            MATNR TYPE MATNR,
            DATBI TYPE KODATBI,
          END OF Y_KOTG516.
    DATA: T_KOTG516 TYPE STANDARD TABLE OF Y_KOTG516,
          E_KOTG516 TYPE Y_KOTG516.
    TYPES: BEGIN OF Y_MARA,
            MATNR TYPE MATNR,
            MEINS TYPE MEINS,
          END OF Y_MARA.
    DATA: T_MARA TYPE STANDARD TABLE OF Y_MARA,
          E_MARA TYPE Y_MARA.
        SELECT KAPPL
               KSCHL
               VKORG
               VTWEG
               KUNAG
               MATNR
               DATBI
         FROM KOTG516
         INTO TABLE T_KOTG516
       WHERE VKORG IN S_VKOR
         AND VTWEG IN S_VTWE
         AND KUNAG IN S_KUNAG.
            IF NOT T_KOTG516[] IS NOT INITIAL
                    and SY-SUBRC EQ 0.
              SELECT MATNR
                     MEINS
                FROM MARA
                INTO TABLE T_MARA
               FOR ALL ENTRIES IN T_KOTG516
               WHERE MATNR EQ T_KOTG516-MATNR
                 AND MEINS EQ 'CS'
                  OR MEINS EQ 'IT'.
              ENDIF.
      FOR T_KOTG516 I HAVE VALUE but matnr is not getting selected from mara table as i cheked t_kotg516-mara is empty . i cant use with header line . please advise .
    Regards

    hi,
    SELECT KAPPL
                 KSCHL
                  VKORG
                 VTWEG
                KUNAG
               MATNR
                DATBI
               FROM KOTG516
              INTO TABLE T_KOTG516
              WHERE VKORG IN S_VKOR
               AND VTWEG IN S_VTWE
                 AND KUNAG IN S_KUNAG.
    if sy-subrc = 0 .
    SELECT MATNR
    MEINS
    FROM MARA
    INTO TABLE T_MARA
    FOR ALL ENTRIES IN T_KOTG516
    WHERE MATNR EQ T_KOTG516-MATNR
    AND MEINS EQ 'CS'
    OR MEINS EQ 'IT'.
    ENDIF.
    regards
    deepak .

  • How to select data for nested object (Object based on another objects)

    Hi,
    I have written the following code, but I am not able to fetch data as I fetch from normal table, Plz help.
    Following is the sample code -
    CREATE TYPE A_OBJ IS OBJECT (
    A_NAME VARCHAR2 (100),
    A_DESC VARCHAR2 (100)
    CREATE TYPE A_TAB IS
    TABLE OF A_OBJ
    CREATE TYPE B_OBJ IS OBJECT (
    B_NAME VARCHAR2 (100),
    B_DESC VARCHAR2 (100)
    CREATE TYPE B_TAB IS
    TABLE OF B_OBJ
    CREATE TYPE H_OBJ IS OBJECT (
    A A_TAB,
    B B_TAB
    create type H_TAB is table of H_OBJ
    -- Created the function to fill the data into my objects.
    Create or Replace Function ABC RETURN H_TAB IS
         l_data H_TAB := H_TAB();
         v_loop_count BINARY_INTEGER := 1;
         obj1 A_TAB;
         obj2 B_TAB;
    begin
         for i in(SELECT AG_PROD_MOD_NR, COMM_NM FROM BV_PRODUCT WHERE AG_PROD_MOD_NR = 'E4440A') loop
              obj1 := A_TAB();
              obj1.extend;
              obj1(obj1.last) := A_OBJ(i.AG_PROD_MOD_NR, i.COMM_NM);
              obj2 := B_TAB();
              obj2.extend;
              obj2(obj2.last) := B_OBJ(i.AG_PROD_MOD_NR, i.COMM_NM);
              l_data.extend;
              l_data(l_data.last) := H_OBJ(obj1,obj2);
         end loop;
         Return l_data ;
    end;
    -- used this SQL for fetching the data using the function -
    select *
    FROM the ( SELECT cast(ABC ()
    as H_TAB) FROM dual )
    the above SQL not gives me the data in the as a normal table returns, plz suggest me how to write SQL for above case.
    Thanks in Advance,
    Deepak

    First try to move your obj1 and obj2 initialization outside of the for loop. Not sure if this is even the issue, but it can't be helping.
    obj1 := A_TAB();
    obj2 := B_TAB();
    for i in(SELECT AG_PROD_MOD_NR, COMM_NM FROM BV_PRODUCT WHERE AG_PROD_MOD_NR = 'E4440A')
    loop
      obj1.extend;
      obj1(obj1.last) := A_OBJ(i.AG_PROD_MOD_NR, i.COMM_NM);
      obj2.extend;
      obj2(obj2.last) := B_OBJ(i.AG_PROD_MOD_NR, i.COMM_NM);
      l_data.extend;
      l_data(l_data.last) := H_OBJ(obj1,obj2);
    end loop;

  • Selecting data for analysis

    I have a column of conductivity measurements overtime at 1/10 s intervals. In preparation for data analysis I isolate each individual event which begins when at the point dye is introduced to the system, the pulse then travels to the measuring device and the recorded conductivity values increase until they peak and then decline back down again. Finally, the event "ends" when the next pulse is introduced. The problem is that the dye input time was not at regular intervals, so the tails of the events are of varying lengths, thus I need to truncate the data in a more systematic manner.  I would like to truncate the data at a point after the peak, somewhere in the tail when the average of 5 consecutive values are < 0 (I need to specify after the peak because sometimes negative values occur before the peak and I need to keep this information). I think using a while loop and running it until the criteria is reached is the way to do it. But I am not sure how to structure my criteria.
    thanks
    PS I am using Labview 8.6
    Solved!
    Go to Solution.

    I have attached an example of the data from one event. The graph shows a plot of the data and ~ where I would like to truncate it (done in excel). Hope this clarifies things.
    Attachments:
    test_data.txt ‏17 KB
    Graph.pdf ‏166 KB

  • Selecting Dates for a  Restore

    In looking at the time line in the TM window, I see that it has back-ups for every day from Aug 1st onward. Everything before that is weekly back-ups. Is there a way to access a day between them? For example, I wanted to restore a document that was on my machine on July 23rd and 24th, but the backups are July 22, and July 29th. I don't see any way to pull up anything in between. The item was deleted later on.

    Uncle Otto wrote:
    I've also watched the tutorial for TM, and it is mute on the issue too. Maybe the missing dates can't be accessed any more once it goes to weekly backups?
    Correct. Time Machine "thins" your backups, per the schedule on the TM Preference Window:
    |

  • Cannot view photos to select photos(for sharing with Facebook)...after upgrading to Lion

    So your on Facebook and you want to change your photo or just share a photo; well in Lion that is not happening (or any other sharing site). When I am in the box from Facebook where it is asking to select photo...I click pictures...then I am offered iPhoto Library. If I click it then (ofcorse Safari stalls or crashes) because it is trying to open up the entire App iPhoto. Before the Lion upgrade I clicked photos and scrolled to the iPhoto file and it presented me with a ist and I chose the photo I wanted.
    Need some help here...

    When in an upload window use the media browser - look in the lower left under Media ==> photos ==> iPhoto - you do not go directly into the iPhoto library
    LN

  • Select data from  view ( V_T856 ).

    Hi All,
    i need to download transaction type and text from V_T856 ,  but the data is not selected from V_T856 view.
    how to select data from a view, is there any special conditions.
    i declared V_T856 in tables statement, even though select statement not exicuted.
    pls suggest me with relevant information..
    thank you
    Regards
    Ramesh.

    hi ramesh,
    using Select statement you cannot retrieve the data from view.
    use the FM - VIEW_GET_DATA.
    call function 'VIEW_GET_DATA'      " func. mod to get data from maintenance view.
        exporting
          view_name = view
        tables
          data      = gt_data.
    Regards,
    Sakthi.

  • How to send PR & PO data for materials through IDOC in XML

    Hi Experts,
    I am looking for a solution to send open PR & open PO related data for diffrent materials through as IDCO in XML file.
    Scenario is i have to show a report in a 3rd party system for open PR & open PR that too will come after selection some materials. That means select a materials & it will show all the open PO & related data in a report.
    The rough idea for the solution i got is I can save the data in XML file in the system. For this i have to send IDOC. but the problem is there is no message type for PR. IF i am not wrong i can extend the MATMAS05 for a segment that will have PR related info.
    Now what to do with that how to send the IDOC do i need to create another report to send IDOC or i can send the extended one through BD10. I tried it but it shows error message "0 communication idoc sent" so I dont no y such error is coming i think i am not filling the extended idoc. But again my QUestion is how to do that. If anyone have any other solution Please help me out of this.
    Regards,
    Nik

    Hi Alpesh,
    Thanks for your reply.
    My requirement is bit different. i have to send Open PR data for diffrent materials. In a 3rd party application user will search for few materials which will generate a report that will show the PR related data for those material.
    Same thing i have to do for PO & Sales order also.
    Can u please help me to provide the solution how can i proceed for it. U have given the Message type & a bapi how it will help in my issue?
    I got a suggesion from someone that extend message type matmas for PR, PO, SD related data & send the idoc. but i am confused how to pass that much data ina single IDOC.
    Regards,
    Nik

  • Creating report based on user selected Date Range

    Hello.
    I am trying to display an Apex report that selects data for the report based on a user entered date range.
    It's a simple page with two date picker fields (p18_start and p18_end).
    The report region SQL looks like this:
    SELECT *
    FROM prj_items
    WHERE LM_DT BETWEEN :p18_start AND :P18_end
    One table, one field on the table to search and two Apex variables.
    I thought this would be fairly simple, but I am obviously missing something.
    I not even sure what other information is needed to help me figure this out.
    -Jody

    Hi,
    You can set defaults for the datepickers if you need to - this could be done in a computation on the page for each item and conditional on the item being null.
    When I've done something similar to this, I've created two hidden page items - eg, :P19_FIRST_DATE and :P19_LAST_DATE and populated these with the earliest/latest date that the user could reasonably select (perhaps, in your case, the MIN(LM_DT) and MAX(LM_DT) values).
    Then your SQL would be:
    select * from PRJ_ITEMS
    where LM_DT BETWEEN TO_DATE(NVL(:P19_START,:P19_FIRST_DATE), 'DD-MON-YY')
    AND TO_DATE(NVL(:P19_END,:P19_LAST_DATE), 'DD-MON-YY')If you don't want to set default dates, you could do something like:
    SELECT * FROM PRJ_ITEMS
    WHERE (:P19_START IS NULL AND :P19_END IS NULL)
    OR (:P19_START IS NOT NULL AND :P19_END IS NULL AND LM_DT >= TO_DATE(:P19_START,'DD-MON-YY'))
    OR (:P19_START IS NULL AND :P19_END IS NOT NULL AND LM_DT <= TO_DATE(:P19_END,'DD-MON-YY'))
    OR (LM_DT BETWEEN TO_DATE(:P19_START,'DD-MON-YY') AND TO_DATE(:P19_END,'DD-MON-YY'))There are various reasons why your two dates are being cleared when the page is reloaded. Firstly, you should check the branch that returns to the same page - make sure you are not clearing the cache for the page. Then, have a look to see if there is a "reset page" process (usually created for you when you create a form page). Then, check the Source settings for the items. Typically, these would be "Only when current value in session state is null" and a Source Type of "Static Assignment" with the "Source Value or Expression" left empty.
    Andy

Maybe you are looking for