Item transaction date

Hi
what table should i use to calculate the item transaction date?..
Should I be using mtl_material_transactions table or should i be using ar invoices table's transaction date
I need to calculate onhand qty of an item based on a transaction date
thanks
kp
Edited by: user8612301 on Jul 16, 2011 6:55 PM

you have to use the mtl_material_transactions table for quantity and date

Similar Messages

  • AR Transaction Data vs Line Item

    Hello,
    I have need to generate a report with some degree of detail and I am having an issue understanding the correlation between AR Transaction Data and Line Item.  In a report I would like to show sales for the period and AR balances and I need to be able to drill down on these (at Profit center level or Business Area Level both Characteristics have been added to the extractor and are being populated).
    How is Sales for Period derived in Transaction Data?  Can I create this same Key Figure at the Line Item Level?
    Any assistance is greatly appreciated.
    MK

    Sales are derived from the posting key used to post a AR document
    The posting key is either sales/turnover relevant or not
    As peopel use posting keys for all sorts of thingss- this is not the ideal solution to report Sales
    it also includes VAT
    ow ar eyou planning to add Profit Centre -?
    Conside the following document
    Dr Debtors £117.50
    Cr Reveneu Prfit centre 1  £50
    Cr reveneue Profit Centre 2  £50
    Cr VAT £17.50
    how are you going to get the profit centre onto the debtors postings?
    You can't... you can see the data in 0EC_PCA_4 or you can join Ar4 ODS to the GL ODS via an infoset

  • Item details with Last Transaction Date ?

    Hi,
    Please help someone to fine tune this query :-
    Select ILLITM,ILDOC, ILDCT, ILTRDJ
    FROM CRPDTA.F4111
    where ILTRDJ in (Select max(ILTRDJ) FROM CRPDTA.F4111);
    The above query is returning the latest transaction date with Item details.
    But expected output is: Every Item with last transactional date.
    Hope I am clear on the above requirement please.
    Thanks in advance.
    RAM

    you can use table alias for this
    Select ILLITM,ILDOC, ILDCT, ILTRDJ
    FROM CRPDTA.F4111 tab1
    where tab1.ILTRDJ in (Select max(tab2.ILTRDJ) FROM CRPDTA.F4111 tab2);
    or if you are using this query inside any PL-SQL block , you can use a variable to hold max(ILTRDJ) and then use this variable in query.

  • Report showing items without transaction data (materials without sales)

    Hi,
    I need to create a report (in BW for retail), listing all the articles that has not been sold for a given month and store (plant). My thought was to create a report, setting a condition listing quantity = 0 and set Access type for result values to Master data. But this is not working.
    Having tried the standard SAP slow seller query on the material movements qube (0IC_C03), I did not see this giving me materials with no movement.
    Anybody have any tips how to solve a query where you need to list master data that does not have any transactional data in the cube?
    My only thought is to create a new cube, and fill by looping on my material master and looking to the transactional data and if there is not hit, the material has not been sold that month, but I'm hoping for a smoother solution.
    Any help is much appreciated.
    Regards,
    Øystein

    Hi,
    thanks for you reply.
    I have tried the query with show all master data and condition quantity = 0, and this list a huge list of articles, (to me it seems like the whole material master). Luckily it's not a huge retailer, the material master is aprox 50k records. But the output did not seem to be correct. And it was slow. And again, no store will be keeping the whole material master for sale, so this will list everything, not just the ones relevant to the store.
    My second option will require more work, by updating a "no sale" cube/dso and loop on all master data, but this will be done once a month, and then the work is done at evening/nights, and the report should be fast. It's not to much work to create the routine, but running it I assume will be time consuming.
    Regards,
    Øystein

  • Item Transaction History Report - Calculation for creating 'Running Total'

    Hello
    Using Oracle Discoverer, we have written a report that pulls back all Inventory Transactions (by item number). This report lists both transactions IN (e.g. receipts into the store) and OUT (e.g. issues out from the store).
    Our customer would like an additional column, to represent 'Running Total', to be added to the report. This column needs to capture the running 'On Hand Quantity' for the associated Item, as each transaction (both transactions IN and OUT of store) is displayed.
    For example, if the initial/first transaction for an item was a Receipt of 500, then this column (on the first line) should display 500. If the second transaction for the item was an issue of 15, then this column (on the second line) should display 485. If the third transaction was for an issue of 50, then this column (on the third line) should display 435. If the fourth transaction was for a receipt of 20, then this column (on the fourth line) should display 455 etc etc
    I'm not sure how I'd write a calculation to cater for this (within discoverer) - do you know if this is achievable? Any help would be much appreciated. This would be easy enough to do in Excel, but I'm a bit of a novice when it comes to discoverer(!)
    Many thanks
    Ross

    Hi,
    You can generally do this type of calculation using analytic functions. You would partition by the item number and order by the transaction date in the analytic function. You can use SUM function (with an order by) to get a running total of a column in the report. You can SUM a calculation containing a CASE statement which changes the OUT transactions to a negative number. The SUM function will start at zero, so you then can use FIRST_VALUE function to get the first value for the item which you could then add to the totals.
    Rod West

  • Enhance BW Extractor - Transactional data ABAP CODING ERROR

    i need to enhance CRM extractor with additional field.
    This is transactional data so i used Exit_rs_001
    Here is the extractor result -
    Guid...date...........objectid...item guid
    1122......1.1.10....901..........8811
    1122......2.1.10....901..........8812
    1123......1.1.10....902..........8813
    1123......2.1.10....902..........8814
    now i need field Product id in it which is called from DB Table CRMD_SRV_REFOBJ
    itemguid...referencekey...product
    8811............01.................110011
    8812............02.................110012
    8813............03.................110013
    now i want to extract data--
    Guid...date...........objectid...item guid...product
    1122......1.1.10....901..........8811.........110011
    1122......2.1.10....901..........8812.........110012
    1123......1.1.10....902..........8813.........110013
    so i appended the extractor...with field zproduct
    FOLLOWING Code doesnot work:::
    DATA: L_S_INFOSTRU LIKE ziw_orderma_i.
    CASE I_DATASOURCE.
    FIELD-SYMBOLS: <PRO_01> TYPE ziw_orderma_i.
    CASE i_datasource.
    WHEN 'ziw_orderma_i.'. " Upper case
    LOOP AT c_t_data ASSIGNING <PRO_01>.
    SELECT PRODUCT_ID INTO <PRO_01>-zZPRODUCT
    FROM CRMD_SRV_REFOBJ UP TO 1 ROWS
    WHERE ITEM_GUID = <PRO_01>-CRMD_SRV_REFOBJ.
    ENDSELECT. " not whole primary key
    ENDLOOP.
    ENDCASE.

    actually
    coding doesnt give any error
    but in output in rsa3 i dont see any data
    it worked fine wit the same code for master data datasource in exit...2
    now same code different parameters doesnt work in exit..1 for transactional data.

  • In V_V2 the role of Sort Item by date of creation and Sort by delivery date of earliest schedule line for the Sales Orders when Material is out of Stock.

    Hi All,
    Good Morning,
    I am working on once Incident for Re-Scheduling Program V_V2 where the user has requested us to change the criteria for determining the priority of Sales Document based on Sort Item by date of creation. Currently they are using the Sort by delivery date of earliest schedule line in the Variant.
    I would like to know the role these both options play in the Re-Scheduling program V_V2. I would like to know the impact of both of them and the kind of testing I need to perform to study the behaviour of Sales Orders especially when the material is out of stock?
    Please explain with help of examples.
    Thanks
    Farhan.

    This is not that simple that an example would explain how this transaction works but I'll give you some examples.
    Material A has SO1 and SO2 of 10KG each, stock is 20KG so both quantities are confirmed at today. A stock recount determines a reduction to 5KG. This program would change confirmed quantity of SO1 to 5KG and SO2 to 0KG if:
    Creation date of SO1 is older then SO2 in strategy 1
    1st delivery date of SO1 is smaller then SO2 in strategy 2
    Material B has SO1 and SO2 with 10KG each but no quantity confirmed, stock is 0KG. A prodution adds 15KG to stock. The program would change confirmed quantities of SO1 to 10KG and SO2 to 5KG if:
    Creation date of SO1 is older then SO2 in strategy 1
    1st delivery date of SO1 is smaller then SO2 in strategy 2
    I'm assuming a specific configuration, there are many other scenarios possible.
    regards,
    Edgar

  • Upload transaction data for transactions like KSU2/KSU5,KB31N

    We are trying to upload transaction data for transactions like KSU2/KSU5,KB31N etc using batch data processing within LSMW. We are facing couple of problems as mentioned:<br />
    We have to upload data, which has a single header record with 200-300 line items record. How to define target structures to represent header & line items. Currently we are able to upload header data with 1-2 line items depending upon the recording. The present recording gives us option to load 1 line item per document. <br />
    Can excel be used instead of text file for uploading data in LSMW? <br />
    During processing of transaction, User clicks on button and checks a value. Based on this value the future course of action is determined. How can we do the BDC recording or do customization (Write a custom code) <br />
    If errors occur during upload of data, will the processing stop at that line item or will it ignore the error record and continue processing of the remaining data. <br />
    How can we write custom code to modify the data during BDC session and not before session? <br />
    Immediate pointers to this would be very useful. Let me know if more information is required.<br />
    <br />
    Thanks,<br />
    Mehfuze

    hi ali,
    as for your question related to excel upload via lsmw , please find the below links to be usefull
    [Upload of excel file in LSMW]
    [Upload excel by LSMW for FV60 ?]
    [Upload Excel file through LSMW]
    [How upload an excel file using an LSMW.]
    regards,
    koolspy.

  • Unit Price in Item Master Data

    Step no.1) At time of Defining Item Master Data  we are Defining Unit Price say<b> 2,000</b> <b>INR.</b> Data Saved in Price List 01.
    Now with this information I am Preparing Purchase Order.After Selecting Specific Item unit price is reflecting in P.O by default, Then I modified Unit price from 2000 INR to 2500 INR in P.O.
    Step no 2)  I received material by Goods Receipt PO
    Step no 3) When I am posting A/P Invoice based on GoodsReceipt PO in invoice the original Master Data Unit price is Reflecting.
    Now vice versa I made another Transaction also in Another System.
    In Step no 3 it is reflecting the Unit Price of Purchase Order.
    Can I know why it gives different Information for same type of Transaction. Does I followed wrong System.
    Regards
    Narender

    Please confirm the following.
    Once you select a Price in PO it should carry all the way through at the AP Invoice and should not change unless changed manually.
    Are you copying the PO >  Goods Receipt PO > AP Invoice
    And when copying to Goods Receipt PO or Invoice you are not changing the price or Pricelist
    Pls let me know
    Suda

  • How is calculated SC current quantity in item basic data tab ?

    Hello,
    We work on a SRM 7 release with PPS.
    As it is not possible in Extended Classic Scenario to use local contracts (that is not replicated into ECC backend) as sources of supply for "Limit" item Shopping Cart creation, we create "Free text" (Description) SC item.
    For this kind of SC item, according to a specific and dedicated UoM, SC quantity is given as mandatory to be '1'. Then, users populate price. So, in this way, we have an "Amount" SC item being equivalent to standard "Limit" SC item.
    Then, at corresponding PO item creation, SC item quantity ('1') is populated into PO item gross price and SC item gross price is populated into quantity PO item in order to be able to confirm in "quantity" our PO.
    This process is OK.
    Nevertheless, we have two sides effect after PO is generated :
    1- Field "Current quantity" (not sure with the name - i do not have SRM system in front of me)  for SC item basic data tab seems to be populated with value being difference between SC item quantity and PO item quantity.
    For example, if SC item quantity is '1' and PO item quantity is  '20.000' in SC item basic data, order quantity is '1' and ordered quantity is '20.000' with is normal. But "Current quantity" (below "Ordered quantity") is '19.999-' instead of '0'.
    2- After a first confirmation created based on SC (not on PO, this is important), SC POWL button "Create confirmation" is greyed out. This seems to be normal behavior as PO item quantity confirmed first time can not be lower than 1, this confirmed quantity is greater than SC item quantity. So, there is no SC outsanding quantity...
    Our two problems should be linked: this is due to how "Current quantity" for SC is calculated.
    As our customer users do not have access to PO POWL, we can not use create Confirmation transaction in order to use PO as reference document to create confirmations.
    In a technical point of view, field concerned is PS_SC_OUT_QUAN (not sure with this name...) for context ITEM_BASIC_DATA from view V_DODCSC_I_BD (WDC /SAPSRM/WDC_DODC_SC_I_BD ).
    I found enhancement for this field ( /SAPPSRM/WD_SC_I_BD_QUAN ) but this enhancement has no method !
    I tried to debug some methods from Class /SAPSRM/CL_CH_WD_SET_FACADE, but i did not find yet where calculation is done for concerned field.
    My aim is to make an enhancement to overwrite standard calculation.
    An easier way should be to reverse gross price and quantity directly inside SC (to not have difference betwen SC and PO quantities), but our customer does not want.
    Do you have any idea ?
    Regards.
    Laurent.

    Hello,
    We used a workaround to answer to our customer's requirement.
    We ceated two customer fields, one for net price and a second one for the quantity. Using metadata, we hid the two corresponding standard fields and displayed our CUF in SC.
    Using BadI Change for SC, we populated standard fields with our CUF values (after having made inversion between quantity / net price).
    Checks are done in BAdI to be sure our quantity CUF and price unit values are '1'.  
    As we use SC to create only PO as follow-on document, no other modifications are necessary.
    Regards.
    Laurent.

  • Transaction data Upload

    Hi,
    I have loads of transaction data to upload for lots of transactions and I find lots of table controls whr multiple entries are to be filled some check box selections and marking a row etc. Can someone tell me is table control upload is possible with LSMW. can anyone please tell the steps clearly if it is possible.
    FOr, eg, one is fb60 for vendor invoice. each invoice has multiple line items and also multiple withholding tax base amount line items....
    someone plz help me on this quick ...
    are there any standard BDC's available to tcodes like fb60,fb70, f-48,f-54,f-58,f-28 etc....

    hi ,
    use report <b>rfbibl00</b> (look documentation with tcode se38)
    A.

  • How to delete a master record with transaction data?

    Hi,
        Iam able to delete master record(GL/Vendor/Customer)through OBR2 when there is no transaction data in those respective master records. Despite of clearing all open items in a particular vendor Account, Iam unable to delete that master record. Please suggest me how we can delete vendor master data having transactional data.
                               Thanks in Advance
    Regards,
    Satish

    Hi...
    Not sure whether this helps....you can mark the vendorrecord for deletion and later try to delete it.
    Logistics >> Materials management >> Purchasing >>
    (new menu) Master data >> Vendor >> Central >> Flag for deletion
    try using XK06/FK06
    Assign points if useful
    Regards
    Aravind

  • Item master data: can't modify

    Hello Experts,
    In Item master data >> Purchasing Data Tab >> Items Per Purchase Unit: when I try to change the value of this said field, it gives an error:
    Cannot change the field becuase item is already involved in transactions Message [150-16]
    Though I closed all the PO, Goods Receipt-PO, and Invoice but still the error is same.
    Help Required
    Regards,
    Edited by: Shazad Nazir on Jan 6, 2009 11:40 AM

    Hi,
    You can check Note No. [1059753|https://websmp130.sap-ag.de/sap(bD1odSZjPTAwMQ==)/bc/bsp/spn/sapnotes/index2.htm?numm=1059753] regarding your case.
    Regards,
    Jitin
    SAP Business One Forum Team

  • Query on FIAP:transaction data

    Hi bw friends
    We created a customized cube FIAP:Line item (ZFIAP_C03) it is used to analyse  the information about the payables(How much the company has to pay its vendors). The best use of the cube can be done for ageing analysis of payables. The characteristics used can be vendor wise, material wise, company code wise etc.
    there is one more customized  cube FIAP:Transaction data(ZFIAP_C02).I need to know that what can we analyse from this cube and what is the use of this cube.
    The characteristics of this cube are
    vendor
    company code
    currency type
    keyfigures
    cumulative balance
    total credit postings
    total debit postings
    sales for the period.
    Thank You

    Thank you Simon for the information it is very useful.I wish to know tat what kind of information does the cube help to view .
    I would like to know that the cube FIAP :Transaction data (ZFIAP_C02) enables us to view on information about what?
    The characteristics in the cube FIAP :Transaction data
    Vendor
    Company Code
    Currency Type
    Key figures are:
    Sales for the Period         0SALES
    Total Debit Postings        0DEBIT
    Cumulative Balance         0BALANCE
    Total credit postings        0CREDIT
    For example 0SD_C03 enables us to view information about sales and billing documents from R/3
    such as:
    dealer wise/customer wise monthly sales and sales return
    sales representative wise monthly sales and sales return
    division wise sales and sales return
    I would like to know what does the FIAP :Transaction data enables us to view?

  • BEX Issue:Intgration of master data and Open Items cube data

    Hello Gurus,
    I need some help in BEX queries.
    I have master data Contract Objects which has master information like Max Number of payment and monthly installments.
    In the open items cube I had open items balance for multiple line items. So I need a report which show Portfolio under which we can have multiple contract object.  So Portfolio P1 ->  contract objects C1, C2, C3 The report is as follows
    Portfolios  Total Amount               Open Items
    P1           Sum of total                Sum of open
                 amount each                 items in cube
                 contract object
                 under P1 C1 + C2 + C3
    1) Total Amount = Max Number of payment * Monthly installmens(Sum for each contract object in Portfolio)
    2) Open Items = Sum of all balances under open items cube.
    Now problem is if I join the two using multiprovide the Total amount gets SUMMED multiple times for each line items in open item for contract. I just wanted it summed for once for each contract object .
    How do I ensure that TOTAL AMOUNT IS calculated just once for each contract object ? Is there means to solve the problem.
    Regards,
    Check.

    Hi Ryan,
    Please go through this post to see the consequences of transaction load before master data load:
    Master data not yet transferred to BW but transaction data has
    Hope this helps...

Maybe you are looking for

  • Why does my iPhoto export in both NEF and jpg

    My requirement is this. I want to export two versions of my photos to disk - one, as JPEG for sharing with family/friends; and two, as RAW to retain my changes for subsequent edits. When I export an iPhoto Event to disk, I use File -> Export -> 'Curr

  • How do i connect my MIDI to Logic Pro?

    How do i connect my MIDI to Logic Pro?

  • How do i delete a movie from imove lib in my ipad2?

    How do i delete a movie from imove lib in my ipad2?

  • My ipod is freaking out!

    My ipod is having a completely blank white screen. It started to be pixelated, like a staticy tv. Then it is white, and wont lock, wont exit out,and neither button helps. What do I do?

  • Songs VERY choppy in itunes ....

    I recall seeing this problem here along time ago, with itunes version 7.02.16, but I didn't have the version when I saw it so I ignored the topics, but now I'm having a problem with the songs on itunes being VERY choppy. Is there a way to fix this? P