Stock consumption or sale order issued data.

Hai,
We are preparing ABAP report, Could any tell me from which table can i get the  stock consumption data or  stock sold data.
Apart from MSEG is there any other table. From MSLB, MSKA, MCHB i can get only the stock data but not the consumption
Request to guide me accoridngly.
Thanks.

Harish,
Standard consumption data is stored in table S031. In this table, consumption is represented as usage data in field MGVBR (Total Usage Quantity), and WGVBR (Total Usage Value). Unplanned consumption is captured in field MUVBR (Quantity) and WUVBR (Value).
Revi

Similar Messages

  • Stock confiramtion at sales order level for future date- Availability Check

    Hi all
    Here is the scenario
    This setting is available in the system:
    Stock is available
    Sales order created with Requested delivery date in future-> not confirmed
    Sales order created with Requested del date today -> confirmed
    The requirement :
    how and where to change this setting in IMG so that also orders with Requested Delivery Date in future are confirmed if stock is available.
    As this is urgent request to respond quickly.
    Regards
    Devender

    Hello Devender,
    You can achieve the mentioned scenario by configuring ATP. You can do ATP with RLT or ATP without RLT.
    In ATP with RLT, system will check and confirm the quantities from existing stock only and if quantities are insufficient then the system will consider inline POs or manufacturing time to confirm remaining quantitites.
    Else you will be getting schedule lines for only items in stock and remaining will be unconfirmed as ATP without RLT will be activated i.e., system will check and confirm the quantities from existing stock only.
    Types of Availability Check in Sales and Distribution
    Processing
    There are three types of availability check:
    _ Check on the basis of the ATP quantities
    _ Check against product allocation
    _ Check against planning
    The following SD-specific control features need to be maintained in Customizing:
    _ Checking group
    The checking group controls whether the system is to create individual or collective
    requirements in sales and shipping processing. In addition, a material block for the
    availability check with transfer of requirements can be set here. The checking group can
    also be used to deactivate the availability check. This option was created especially for
    the assembly order so that when the bill of material is exploded in the assembly order,
    the individual components, if necessary, can be classified as non-critical parts as far as
    procurement is concerned.
    The checking group specifies in combination with the checking rule the scope of the
    availability check. It is proposed in the material master record on the basis of the material
    type and the plant, and copied into the sales and distribution documents.
    _ Checking Rule
    You use the checking rule to control the scope of the availability check for each
    transaction in sales and distribution. You also specify whether the check should be
    carried out including or excluding replenishment lead time. The individual checking rules
    define by transaction, which stock and inward and outward movement of goods should
    be taken into account for the availability check.
    _ Schedule line category
    You can control with the schedule line category whether an availability check and
    transfer of requirements should be carried out in the sales documents. The possible
    settings for this at schedule line level are dependent on the settings in the requirements
    class which is determined from the requirements type of the material.
    _ Delivery item category
    The delivery item category can be used to control whether an availability check takes
    place in deliveries.
    Requirements type
    The various requirements are identified by their requirements type. The requirements
    type refers to the requirements class and its control features.
    _ Requirements Class
    The requirements class contains all control features for planning such as relevance for
    planning, requirements planning strategy and requirements consumption strategy. In
    addition, it is specified at a global level whether an availability check is to take place for
    the material in the sales and distribution documents on the basis of the ATP quantity
    (ATP = available to promise) and whether requirements are to be passed on. A finer
    degree of control can be obtained for sales documents using the schedule line category.
    Replenishment lead time is only included in the check performed on the basis of the
    ATP quantity.
    Prerequisites
    An availability check can only be carried out if the following prerequisites have been fulfilled:
    _ The control elements described above for the availability check must be maintained in
    Customizing for Sales and the relevant assignments made to the sales transactions
    _ The availability check must be switched on at requirements class level and - for the
    availability check in the sales documents - at schedule line category level
    A requirements type must exist by which the requirements class can be found
    _ A plant must be defined. It can either be proposed from the customer or material master
    record or can be entered manually in the document.
    _ A checking group must be defined in the material master record on the Sales/plant data
    screen in the Availability check field
    Configuring entries of the Availability Check
    IMGSDBasic fncsAvailability check and TORAvailability checkAvailability check with ATP logic or against planningDefine checking groups
    You can use SAP std checking groups of 01 for summarized reqts or 02 for daily reqts or u can create ur own.
    The columns total sales and total deliveries are selection options whereby u can configure a checking rule to sum up reqts to post to MRP either individually or by day or week.
    Column 5, Block qty; set this block if u want several users to be able to process the material simultaneously in different transactions without blocking each other. The No Check indicator is used when u want a material to not be relevant for an ATP check.
    Defining a material block for other users. The Block checkbox is an indicator that enables u to block the particular material from being checked for availability if it is already being checked at the same time by another user.
    Defining the default value for checking groups. However should no entry exist for the checking group in the material master record, one can set a default value per material type and plant.
    Controlling the availability check. In this section, u tell the system what stock on hand and what inward and outward movements of stock it must take into account when performing the availability check. These settings are based on the checking group that is assigned to the material master record and the checking rule that is predefined and assigned to the sd transaction. The carry out control for the availability check must be maintained for both the sales order and delivery.
    Reward points if helpful.
    Regards,
    Priyanka

  • Consumption of sales orders based on Sales order Doc Date

    Hi Guys
    I am using 40 Strategy currently. The consumption of sales orders now happens based on requirement delivery date. But my customer want to serve his customers based on first come first serve as the production is always getting delayed. Now irrespective of req. del date, the stock should be consumed based on the sales order document creation date to fulfill first come first serve concept.
    I am not finding suitable requirement class in SAP. Please help
    Regards
    KP

    Hi Krishna,
    The scenario is quite not clear...Could you please brief it out further.
    Because, in strategy 40, if a sales order comes in then sytem checks for any avaliable stock is there or not. If not then it looks for any open proposals available for PIR's, if so then it consumes the PIR based on consumption mode and period defined in material master or MRP group. If no open proposals, then system creates the new one.
    So always the first come sales order will be consuming the stock or PIR, until the next MRP run.
    Today a sales order has been coming in for 100 qty on 07.09.2014 delivery date and consumes the available stock of 100.
    Tomorrow, another sales order has een coming in for same qty but delivery on 05.09.2014, then in next MRP run system will consume the 100 qty for 05.09.2014 and a proposal will be generated for
    07.09.2014
    If the business scenario is something like above, then to avoid this, a PGI job can be scheduled always as next step to MRP run so, that PGI will be done for all the sales order which has stock and rest will be in error log. By this way one production plant can ensure that always the first incoming sales order is delivered.
    Also an another option would be is to run the transaction V_V2 to reschedule the sales order before delivery, this will work out if the sales order line items are not account assigned. In this reschedule transaction, priorities can be given for item date of creation as 1 and followed by delivery priority and rest....
    Please check out and let us know even if you have diffrent solution as well.
    Regards,
    Chinna

  • How to fetch post goods issue date and sales order creation date

    Hi All,
    How to find out the difference between SD Sales Order Item Creation Date and final Post goods issue Date. I would like to know how to fetch those dates and what is the relationship between the tables from which i will get the dates.
    Please let me know the solution .
    Thanks in advance.

    Hi,
    Sales order creation date is when u raise a sales order in favor of the customer using VA01.......using ATP logic system purposes the material availability date....
    after saving ur sales order...when u raise the Delivery using VL01n  w.r.t to OR...than u have to perform picking ....In the picking Tab...specify the amount to be picked than press Post Good Issue....means the goods left the company premises ..
    You can the fetch the values using tables-  Use T code   SE12  or SE16
    Vbak-----order header
    Vbap-----order item
    Vbek-----order schedule line
    Likp-----Delivery header
    Lips----Delivery item

  • Sales order schedule date is a (working) day before Scheduled ship date

    In MRP/MPS planning, the forecast consumption is occuring for all sales orders at a date (sales order schedule date) which is always a working day before the Scheduled Ship Date (SSD). What is the logic?
    Time fences are not used.
    E.g. Sales order is scheduled to ship (SSD) on 30th Nov, in forecast set > Forecast items > Consumptiion > Detail, the sales order schedule date is a day before SSD.

    Hi,
    This is a complex issue; best solution is by using APO/GATP.
    If not, then in ERP only, the second best is:
    1) Work with assembly processing in SO, meaning that a production/planned order is automatically created in the customer order during order creation.
    2) Then, after the order is created it is scheduled, and the delivery date proposal is based on that.
    3) Now you can check in the order that there are no capacity overloads, and all capacity required to produce on the proposed date is available. If yes, you're done. If not, it gets a bit complex, since you actualy need to switch to capacity planning, do capacity leveling and dispatch (PP), and the you get a new feasible schedule proposal based on that.
    APO/GATP could do all that automatically!
    Regards,
    Mario

  • Control Sales order Pricing Date with Delivery GI Date

    Is it possible to have a control that ensures the Actual GI date in a delivery is not more than a number of days from the sales order pricing date?

    Hi,
    To have restriction in actual GI date in transaction VL01N . Please find the user exit for VL01N , you can use one which are marked as bold . Kindly take the help of abaper to put the validation or logic as required.
    V02V0001   - Sales area determination for stock transport order 
    V02V0002   - User exit for storage location determination 
    V02V0003   - User exit for gate + matl staging area determination 
    V02V0004   - User Exit for Staging Area Determination (Item) 
    V50PSTAT  - Delivery: Item Status Calculation 
    V50Q0001   - Delivery Monitor: User Exits for Filling Display Fields
    V50R0001    -  Collective processing for delivery creation 
    V50R0002    - Collective processing for delivery creation 
    V50R0004    - Calculation of Stock for POs for Shipping Due Date List
    V50S0001    - User Exits for Delivery Processing 
    V53C0001    - Rough workload calculation in time per item 
    V53C0002    - W&S: RWE enhancement - shipping material type/time slot
    V53W0001   - User exits for creating picking waves 
    VMDE0001  - Shipping Interface: Error Handling - Inbound IDoc 
    VMDE0002  - Shipping Interface: Message PICKSD (Picking, Outbound) 
    VMDE0003  - Shipping Interface: Message SDPICK (Picking, Inbound) 
    VMDE0004  - Shipping Interface: Message SDPACK (Packing, Inbound) 
    Hope this will help you to resolve your issue!!!!
    Regards,
    Krishna O

  • Reg.Stock keeping against sale order

    Dear Gurus
    how to purchase and keep stock against one sale order.pls explain,more over in our concern the material goes to consumption account with account assignment category E, but should not keep blank the AAC field in PO,I tried in my level best but no gain.

    Dear
    If you wnat to block a stock for the particular sales order then you can convert the unrestricted stock to the sales order stock.
    but you need to also customize for the requirement type that is determied so that it can take the sales order stock
    i think the movement type 412 E can be used for moving from normal stock to sales order stock
    thanks
    Virandr

  • Sales orders flow - dates difference

    Dear All,
    I need to build a model for a report which needs to have the days difference between the sales order creation date, delivery date, goods issue date  and billing date. The lowest level of detail should be the Sales Order/Item and one Sales Order/Item can origin different Delivery Items.
    Base on this, i'm wondering how can i model this scenario...
    Do you have any suggestion?
    Thanks in advance and best regards,
    Nuno

    Hi,
    I need to build a model for a report which needs to have the days difference between the
    Sales order creation date,
    Delivery date,
    Goods issue date ,
    Billing date.
    In your question you didn't mension what differences you need
    Eg:
    Sales order creation date - Delivery date
    Goods issue date - Billing date
    Sales order creation date - Billing date
    Delivery date - Goods issue date
    Like what combination you need?.
    Steps:
    Bring all InfoObejcts into Cube and once youn have all required InfoObecjts in your cube then in reporting level you can play like any thing. So first bring all Dates data into Cube. Use 0SD_C03 InfoCube with relavent datasources.
    Then Use Formula Variables with Replacement pathes and then do simple Substractions at reporting level. Your problem is resolved.
    See the below Article how I'm calculating Age of teh Material. Here I'm using Custome Exit Variable to get teh System Data, but in your case you don't need it, you just use Formula Variable with Replcemet Path and replace with Date and then do Substartion.
    Calculating the Ageing of the Materials
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/a-c/calculating%20the%20ageing%20of%20the%20materials.pdf
    https://wiki.sdn.sap.com/wiki/display/profile/Surendra+Reddy
    Thanks
    Reddy

  • Sales order creation - data stored in which tables for customer

    Hi experts,
    During sales order creation, data entered during sales process is stored in various related tables. Can anyone list the tables where data is stored for customers?
    Thank you

    Dear Manisha
    Once you saved the sale order,
    - all header datas are stored in VBAK
    - all item level datas are stored in VBAP
    - schedule line confirmation in VBEP
    - all condition types and values are stored in KONV / KONP
    - Partner functions in VBPA
    - Delivery related fields like Shipping Point, Delivery Date, Goods Issue etc., are all in VEPVG
    thanks
    G. Lakshmipathi

  • Sales order availaibility date one day in past

    Hi Experts,
    I am facing an issue in SNP planning book / Product view wherein Sales order availability date is one day in past (say, date in ECC 01.04.2015 00:00 hrs --> date in APO 31.03.2015 23:00 hrs). This only happens for plants where DST is maintained. DST ends in March, and this issue is popping up for the sales orders in the subsequent month, i.e. April. The same error is also present in the next month of the DST starting month. The issue is not present in any other months.
    I guess this is due to some inconsistencies that has arisen in APO. I saw a previous thread, http://scn.sap.com/thread/1816822, but it has ended without any solution.
    Note, we are not using GATP.
    Thanks in Anticipation.
    Regards,
    Biplab

    Hi All,
    The issue is found to be because of application of note 198411 in ECC. Amongst others, variable DST has been introduced for time zone AUSWA (table TTZDV). But, Western Australia does not follow DST after 2008-09.
    Have any of you faced similar issue post the latest version of note 198411 (released on 9-Jul-2014)?
    Regards,
    Biplab

  • Stock confirmation in sales order

    Hi,
    we have a sales  order for 48 units  for a material. The schedule line is confirmed for  48 units. but when i see the availibility overview, it  does not show our sales order. Actually the availibility  overvieiw is shown in APO. since we have APO. When I do availibilty overview from sales order, the availibility overview is  shown in APO with no sales order of ours..
    the actual stock for material  is zero in MMBE.
    how is the stock confirmed in sales order when availability overview shows no sales order of ours and why the sales order is not shown in availibility overview ?
    regds

    Aser schedule line date APO would you have confirmed the qty.If you are not able to see qty in MMBE and and availability over view.The reason could confirmed by APO system should considered future receipts.If future receipts not available then if you go to change mode in sales order then confirmed qty will disapper.Check with APO team is there any future receipts for material to confirm schedule line qty.

  • Idoc segment for updating Sales order item dates

    Hi All,
    I would ike to update the sales order item dates (loading date, Goods Issuance date etc) from an IDOC.
    please let me know the Idoc segment and fields that need to be filled in?
    Thanks in advance.
    Regards,
    Zeeshan.

    Hi,
    Here are some details of the segments in the idocs -
    SEGNAM Segment Name E1EDL20
    VBELN Sales and Distribution Documen 180001539
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PIC : Picking with flow records (inbound)
    SEGNAM Segment Name E1EDL18
    QUALF IDOC Qualifier: Control (Deliv PGI : Post delivery goods issue (inbound)
    SEGNAM Segment Name E1EDT13
    QUALF IDOC Qualifier: Date (Delivery 010 : Picking
    NTANF Constraint for activity start 20090808
    ISDD Actual start: Execution (date) 20090808
    SEGNAM Segment Name E1EDL24
    POSNR Item number of the SD document 10
    MATNR Material Number 1112
    WERKS Plant SG01
    KDMAT Material belonging to the cust 1112
    LFIMG Actual quantity delivered (in 55
    VRKME Sales unit EA
    POSEX External item number 10
    ORMNG Original Quantity of Delivery 55
    SEGNAM Segment Name E1EDL41
    QUALI Qualifier for Reference Data o 001 : Purchase order data of customer
    BSTNR Customer purchase order number 4500004668
    BSTDT Customer purchase order date 10
    POSEX Item Number of the Underlying 10
    SEGNAM Segment Name E1EDL37
    Regards,
    Shamma

  • SALE ORDER COMPLETION DATE

    Hi all,
               We are create one sale order in va01N after completion of all process we make a delivery entry in VL01N.We are creat morethan five deliveries.
          Any standard report to see the sale orders completed date
    ie order closed date wise report.
    Regards,
    T.Murugu

    Hi
    You can use Acceptance field at Sales Order item to enter date on which final delivery is made.
    Based on that field, we can create a Z report lisitng Customer, Order Number, and Delivery Date (Maybe more fields based on the business scenario)
    Hope you find it useful.
    Reward points if you do.
    Regards
    Ravi

  • Sale Order additional data B.

    Hi,
    I have created 2 z fields in sale order additional data b at item level.
    but when user is entering any data in that field,same data is getting displayed for all line items.
    how to control that for particular item for which user has entered.
    Data Entered in z fields are used only for display purpose which are used for some calculations.

    hi,
    in PAI  usercommand  module  
    use loop endloop for internal table which store item level data 
    loop at item level data
    user command module 
    endloop.
    in module  driving program .
    module
    read table it_issue index tab_ctl-current_line transporting no fields.
      if sy-subrc = 0.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        modify it_issue from it_issue index tab_ctl-current_line.
        clear it_issue.
      else.
        it_issue-kostl = p_kostl.
        it_issue-ktext = p_ktext.
        it_issue-for_sys = p_for_sys.
        append it_issue .
        clear it_issue.
      endif.
    endmodule  .
    regards
    deepak.

  • Sale order complection date

    Dear All
    which table stored in sale order complection date
    Thanks and Regards
    Suresh

    You can see the SO complete status in table VBUK-RFSTK filed.
    But i dont think you will get directly teh completion date. What you can do the check for the billing documents of the SO and take final billing doc creation date as SO completion date.
    Anyway plese check with your functional consultant.
    Thanks,

Maybe you are looking for

  • DB- get() behavior change as of 4.5.20

    I wanted to post information we have recently learned about new behavior in DB->get(), which is undocumented from what I can tell. This change caused a threading bug in our code when we upgraded from 4.2.52. It also affects DBCursor->get(DB_SET) to a

  • Is there any way to print document pages according to their master?

    I have a large document with multiple master pages in use. At different instances I often need to print only document pages that are "A" Master, "B" master, etc. Is there any way to do this, rather than entering the page numbers manually?

  • IOS 5 - Photo Frame

    Just wondering if anyone else is having the same issue... Since updating to iOS 5, I can no longer use the lock screen photo frame while streaming music/slideshow to the Apple TV2. Is it because I need to change a setting I'm unaware of?

  • How to use escape characters in expdp

    Hi All, Am exporting the dump by using expdp as follows expdp XXXXX/YYYYYY schemas=XXXXX INCLUDE=TABLE:\"LIKE('EXT_%')\" directory=DUMPDIR1 dumpfile=XXXXX_18-Dec-2012.dmp logfile=exp_XXXXX_18-2012.log rocessing object type SCHEMA_EXPORT/TABLE/TABLE P

  • HT2506 Font size filling out a PDF form in Preview?

    Hello. Anyone know if I can change Font size when filling out a PDF form in Preview? If so, how? Thanks a lot.