Qty at Posting date

I need to prepare report ,which display comined stock for all the material for a particular material type at the end of each month for last three year.how can i get.
please tell the logic with tables
Regards,
vivek

Hi,
Logic behind define in overall stock on value based, suppose a material is received in Feb-month 2008, same material is received in Jan-2008 , DEC-2007 also.The total value of this inventory is say 90 lakhs, ( 30 lakhs of each month) so system will show inventory aging as below
stock aging less than 30 days, 90 lakhs
stock aging more than 30 days but below 60 days 60 lakhs
stock ageing more than 60 days but below 90 days 30 lakhs
Assuming that no issue taken place if issue is taken place, it will be deducted by default FIFO method. For the above you  have to develop a report with the help of ABAPer .
Regards,
Biju K

Similar Messages

  • Maintaine error message if posting date is greater than Sch del date in PO

    I have maintained a delivery schedule in a PO for a material
    Say PO qty 100
    Del Schedule
    10.04.09  - 60
    20.04.09 - 40
    While GRN, for 60 qty, if posting date is greater than 10.04.09, system needs to throw error.
    I want to do it for selected materials only.
    Is there a way to do this.
    Regards,
    Rakesh

    Thanx for reply
    If I use OMCQ message , it will be applicable for all GRNs and I want for a particular set of materials.
    Can one please suggest User exits / BADi for the same. I have checkd BADIs but those are based upon MSEG and EKBE table.. and i dont have any material doc no before posting the document.
    requiement is to check the delivery sch date and posting date befor posting the document is posted.
    Any suggestions welcomed.
    Reagrds,
    rakesh

  • Linking delivery schedule in a PO for a material into GRN posting date

    I have maintained a delivery schedule in a PO for a material
    Say PO qty 100
    Del Schedule
    10.04.09 - 60
    20.04.09 - 40
    While GRN, for 60 qty, if posting date is greater than 10.04.09, system needs to throw error.
    I want to do it for selected materials only.
    If  OMCQ to be updated, then which msg No. has to be set.
    Is there a way to do this.

    Dear Kumar,
    As per my understanding about your thread
    You created PO from XX country to YY country
    You will recieve the delivery fromm YY to XX so the delivery date and comitted date will be based on the YY calendar not based on the XX calendar so you make the changes accordingly (Saturdat and sunday are holiday) in YY calendar.
    Now try
    I hope this will help you,
    Regards,
    Murali.

  • Restriction of posting date in transaction CO11N for partial confirmations

    Hi all,
          I am trying to restrict(by checking thru an exit)  the posting date in co11n , for this i m using enhancement CONFPP04.
         Import parameter AFRUD_IMP IS USED.
         Now when i m putting  production order no , operation activity no.(for e.g 10 , 20 etc ) and posting date IN SEL SCREEN OF CO11N
        AFRUD_IMP-BUDAT( POSTING DATE )  CONTAINS VALUE  in debugging mode , hence i m getting the value of posting date
        and in that case check is written in code.  This is the case of full confirmation.
                                     But in case of partial confirmation  i have to give   production order no , operation activity no , *Partial confirmed qty * and posting date , in this case the posting date value changes to 0 in the debug mode ie.
      AFRUD_IMP-BUDAT is showing 0 and hence no calculation can be done base on the date.
          Our requirement is such that if there is a prd order no say X,
    then in CO11N if user enters prd no X  , operation activity no 10 , post date say D1
    then again for  prd no X  , operation activity no 20 , post date  of activity 20 should not be less than D1
    SIMAILARY for  X,  ACTIVITY 30 ,  post date should not less than that of  activity  20. and so on.
        But if partial quantity is mentioned value of  AFRUD_IMP-BUDAT is becoming null.
          If anyone knows about this scenario please share.
      Thanks and regards
    Pankaj Gupta

    Hi, In the T-code Mb31 
    The Posting Date which is used  is when entering the document in Financial Accounting or Controlling. The fiscal year and the period for which an update of the accounts specified in the document or cost elements is made, are derived from this posting date.
    When entering documents, the system checks whether the posting date entered is allowed by means of the posting period permitted.But this posting date can differ from both the entry date (day of entry into the system) and the document date (day of creation of the original document).This is for the practical purpose .
    So its for the Monthly permitted and not for a day or range .
    Secondly when you are saying :
    "We want this <b>default date to get freeze</b> the moment you enter
    the transaction (MB31). If you are opting for second option we want
    <u><i><b>some flexibility to change the date as required</b></i></u>."
    Both freezing and opting for changes is not possible , either one can occur .
    You can freeze/display mode only  the field for the T-code and the document type, but that will not solve your problem .
    What i understand from the description is you want to Do GR on A particular date or GR should be allowed after a particular date . <u><b>Please let me know</b></u> if this is the case then there's a way around to do this that is you can do GR and Post on the dates near to your desirable dates .
    cheers KP

  • Stock on posting date with storagelocation,batch and stock types informatio

    Hi,
    I'm needing a report (similar funtion of MB5B) which must reveal the stock postion (closing balance) of the materials on a particular date alongwith storage loactions, batches and stocktypes (Unres/Q/Blkd).As such MB5B either gives the output either by storage location or by batch, not the combination of both.
    Else provide any possibilty means( Database tables) from where i could arrive these mention outputs.
    I could be able to get the information by collecting the values from MKPF & MSEG tables. But this information only suffice the material movements carried on that particular date.. And i will be not having the closing balance as a whole.
    I even wonder to get any such a kind of information in which i could able to get the stock with stock types(Unres/Q/Blkd).
    Any light on this matter is highly appreciable.
    Regards
    Prasanna

    Hi Amit Bakshi,
    Thanks for the reply..
    I executed the suggested program but i found the same kind of information aslike in MB5B..
    The information all i'm looking is to get the closing balance of the given material with storagelocations, batches and stock types on a given posting date.
    For eg.
    On 15 / 03 / 2011
    Material A
    Batch       Slocation       Stock type               Closing balance Qty.
    A1              S001               Unres.                             50
    A1              S002               Unres                            120
    B1              S001               Quality                             15
    C1              S003               Blocked                            30
    In MB5B i could able to get the values of closing balance either Storage location level or by batch level but is it possible to get the combination of both along with stock types?
    Reg
    Prasanna

  • MB5B stock on posting date

    Hi experts,
                            For a material XX which was  zero stock on 15/11/2008.Goods receipt(MIGO 101) done on 15/11/2008 of qty 100kg. So stock was 100kg. I have issued material XX of qty 75 kg to cost center and entered posting date 3/11/2008. My system allowing me to issue that material on 3/11/2008 without any warning or error msg. But at that there was no stock. So that if i check the report MB5B stock on posting date my closing stock showing in negative for 3/11/2008. Our requirement is how to stop this back dated posting? System should not allow me if i am posting on back date?
    Thank you
    SAP

    hi Rehan,
    I have checked all settings also enhancement  but there is no as such control to restrict backposting within current period
    I think its self disipline action not to post backdated GI when GR is done on later date
    Vishal...

  • MB5B - Stock on posting date show in other Unit of measure

    Dearl All,
    Pls support me this case: I would like to see this report (MB5B - Stock on posting date) in other Unit of measure.
    This report shows stock in Basic Unit only.
    E.g
    Material A, base unit = M, other unit = ROL
    Report needs show stock in ROL.
    How can I do that?
    Thank you vry much!
    Cao Huy.

    Hi,
    In your case, order unit as ROL and material basic unit of measure is M.
    PO created only for the order unit ROL, and goods have received from the vendor based on the PO order unit.
    So,this MB5B stock on posting date is displayed only the total stock received based on the received GR order unit qty .
    stock also managed only ROL unit of measues. it is not possible to list based on the M stock unit.
    Regards,
    thiru

  • Good issue to Production order - Allows it in back posting date

    Dear all,
    Good issue to Production order ( 261 Movement ), allows us to post the component in back dated eventhough stock is not avaible on that date.
    Example - Component stock on date 10.02.2010 = Zero , I made it Good receipt on date 18.02.2010 and now stock is available on date 18.02.2010.
    Now GI to Production it allows the qty on current and back Posting date also , I want control on date with error message. It should not allowed the GI for back date from 18.02.2010.
    Because of this our MB5B report shows the negetive issue qty if i post in back date.
    Waiting for reply
    Thanks and Regards,
    Saurabh

    Hi SAurabh,
    PLease check whether Negative Stock is allowed for the valuation Area (plant).
    GOTO >> SPRO >> MM>> Invetnroy management and physical inventory >> Goods issue/ Transfer Posting >> Allow Negative stock.
    Untick the Negative stock allowed for your valuation area (PLant)
    Regards,
    Pravin

  • Control the Post Date  when use BAPI_OUTB_DELIVERY_CONFIRM_DEC to PGI !

    Dear all,
       How can I control the Post Date (WADAT_IST) when I use BAPI_OUTB_DELIVERY_CONFIRM_DEC to PGI?
    Thanks to help me.

    In ECC 6.0, I used this BAPI to perform the picking using this way:
    1. Implement enhancement point  BAPI_OUTB_DELIVERY_CONFIRM_D01 in enhancemnt spot ES_SAPLV50I to set the update picking flag on delivery control structure.
    GS_DLV_BAPI_CONTROL-UPDATE_PICKING = 'X'
    2. Implement enhancement of standard BADI SMOD_V50B0001. Use method EXIT_SAPLV50I_004 to loop at table CT_VBPOK and update the fields VBELN and POSNN with suitable values.
    There is one problem with this solution, though.  The delivery quantity cannot be updated.  Any increase in the delivery qty ITEM_DATA-DLV_QTY actually updates the picked quantity on the delivery.  Consequently, there is little practical use of this technique.
    John

  • Problem with the Posting Date of Goods Receipt or Invoice Receipt for PO

    Hi All,
    I am working on 2LIS_02_SCL - Purchasing Data (Schedule Line Level),
    For our report, we should get the scheduled PO quantity,actual PO qty, Scheduled date and actual date in the report.
    we are getting all these fields from the above extractor...
    For a PO which is opened (Delivery Completion indicator not set) - we where getting all field as in ECC(ME23N)
    But for a PO which is finished(Delivery completion indicator is set) - we where are getting actual GR qty,planned qty,planned or scheduled date at schedule line level.But we are not getting the Posting Date of Goods Receipt or Invoice Receipt for PO from history EKBE for all the schedule line.
    ex:
    for open PO
    PO num         item num   schedule line    Planned date   actual date  difference  actual qty  planned qty  difference
    450002432   10                        1              01/10/2011    02/10/2011       1 day          100             100             0
                                                     2              02/10/2011    04/10/2011       2 days        200             400            200
                                                     3              03/10/2011    07/10/2011       4 days         300            300              0
    For the same PO when it is Finished or completed(Delivery completion indicator is set)
    PO num         item num   schedule line    Planned date   actual date  difference  actual qty  planned qty  difference
    450002432   10                        1              01/10/2011    07/10/2011       6 day          100             100             0
                                                     2              02/10/2011    07/10/2011       5 days        200             400            200
                                                                    03/10/2011    07/10/2011       4 days         300            300              0
    for all the schedule line its displaying the last posting date(i think its taking from EKKO table)
    Is there any possibility to get that posting date history ....

    You can have multiple receipts against a PO schedule line, but this extractor is not meant to go to that level of granularity.  Please try to use 2lis_02_sgr instead which provides goods receipts per PO schedule line.

  • Issue with the Posting Date of the Purchase Order.

    Hi All,
    There are fields in BW like SSL1: Time OK, SSL2: Qty OK, SSL3: Time & Qty Ok, SSL4: Days Late (Routines are written to calculate). These fields will indicate whether the delivery against a GR is OK or not with respect to Time, Quantity and the No. of Days..
    But here the issue I am facing is
    If there is only1 delivery/ GR against a single item the calculation in BW are correct - i.e. for a particular PO if there is only one delivery the above fields like SSL1: Time Ok, SSL2: Qty OK will show like the delivery is done within the specified time and everything is OK (in case if it is delivered within the allotted time)
    But if there are multiple deliveries or multiple GR's  posted for one PO item, the calculations are going wrong i.e. even if the delivery is done well within the specified time it is showing the wrong calculations like it is delievered too late. Because in this case the earlier dates are overwritten.
    Can anyone throw me some light on how can I go about solving this issue.
    I am thinking of declaring the Posting Date as the KeyField of the DSO as of now it is a Data field  I also want to know the impact of assigning this as a Keyfield.
    Thanks in advance,
    Prasapbi

    Hi,
    As I understand, you have a DSO based on Purchase Order and your key field is PO and its line item. The problem as you stated will always be there if you have multiple deliveries/GRs created for a single line item because the system will overwrite the entries for same key.
    Problem with adding Posting date as keyfield will be that then your key will be PO-PO Lineitem-Date. When PO will be created, the Posting date will be blank(correct me here if I am wrong), therefore you will have one entry for same PO-line item combination. One without date and other with date, which again would be incorrect. If my assumption about Posting date was wrong, even then your data may not be correct because then you may have many entries with same posting date which again would overwrite each other.
    If there is any direct link between PO line item and number of deliveries that will get created for them, then you can bring that field in DSO as keyfield. But I don't think there is any such field.
    Looking at your report requirement, I would suggest that you make a DSO based on Goods Receipts and then calculate these keyfigures by comparing the dates between GR posting date and PO line item date.
    Else you can change the way your datasource works(if its generic one based on function module). Since your main requirement is to check whether the GR posting date has met your SLA or not, you should fetch all the details only when GR is created and make your key field as PO-PO Line item-GR

  • Mass change of posting date/fiscal year in LIV parked invoices

    Hi,
    We have OSS note 99775 (program ZFSAP2_B) for mass changing posting date and fiscal year for FI parked documents but I can not use this to change posting date for LIV parked invoices.
    Did anyone have any idea how to mass change the posting date of LIV invoices? any NOTE or PROGRAM?
    I tried to create a BDC using FBV4, which in turn calls MIR4, but system is over writing  initial line item amount and qty from PO. 
    I can read initial invoice line item values and over write again but I dont think this is how I should do.
    Please advice.
    Thank you all and best Regards
    Vijay Goli

    Hi
    Thank you very much for your input.I modified the program ZFSAP2_B given by sap and it worked fine for LIV invoices also.
    When I used this program  in 2007 for FV60 documents the document key was changed without raising the event FIPP.CHANGED. But this year when we changed the posting date the system triggered the CHANGED event and as a result of this event the workflow came to the starting point. We did not make any chages to workflow template during 2007. Any idea what could have casued this event to trigger?
    Thanks
    Vijay

  • Invoice verification Invoice date,Posting date and Baseline Date

    Hi Sap Gurus
    Pls Tell Me in detail what Dates should be entered at MIRO transaction,
    Invoice date,Posting date and Baseline Date
    i presumed that the date on the Invoice slip will be Invoice date,
    But in the Invoice the Date is very long back, say a month Older,
    the month of Posting as Posting date, but any posting Date made in MIRO will be Paid after 2 or 3 months so in this case what should be the Posting date.
    at Base line date in the present company Senario the Discount on Vendor payment is literally valid for all the time , say
    In Invoice if the condition is 10% discount if paid in 30 days is given.
    but in actual sense the Vendor is paid 10% less even if he is paid after 4 or 6 months also, so in this case what should be the Entry in Baseline date
    another senario is the vendor has sent only one Invoice for 2 POs how can this be accomadated in SAP
    Pls suggest its Urgent,
    Age may have a Bar, But Points No Bar
    Thanks and Regards
    Sathish

    Hi
    LIV is nothing but You are getting Invoice from the Vendor for your PO   and GR.....and you are checking the Invoice for Price, Qty,Amount etc. by refering the PO  and posting the Invoice...
    Invoice Date : 
               The date of Vendor' Invoice...ie) Date at which the vendor Raised the invoice for his supply against your PO...
    Posting Date :
       The Date at which you actually Verifying Vendor's Invoice and doing the Posting...
    base line date :
        Generally the Posting Date...
    The Imp. of Baseline date is for eg)
    If in the Payment Terms if some conditions are maintained like say
    10% Discount for Payment With in 30 days, if
    PO created on 01.11.2007.
    GR done at 10.11.2007.
    Invoice slip Received at 30.11.2007 but having the Date on it as 20.11.2007...
    So as per your terms you will get 10% Discount if you make the payment on or  20.12.07....
    Here if you keep  inv. Date: 20.11.2007  and Posting Date : 30.11.2007  and Baseline Date as  30.11.2007 ( you cannot maintain baseline date earlier than  Posting date)....even though as per terms the you are  eligible for discount if you make the payment on or before 20.11.2007.....as per the system you are still eligible to get the Discount if you make payment on or 30.12.2007( since you have maintained baseline date as 30.11.2007)...
    this way Baseline date is Importane...
    Generally we use to maintain always Posting Date as Baseline date....
    It is advantageous..
    Reward if useful
    regards
    S.Baskaran

  • Need to check PO Posting date at schedule line and material document level

    HI All,
    I am facing an issue to reconciliation data with ECC.
    Issue :
    we have a PO,item,schedule line with delivery date, scheduled qty and quantity received from EKET table
    we have PO,item,Material document,movement type,posting date with quantity received from EKBE table
    the standard extractor 2LIS_02_SGR is providing data at
    PO,item,schedule line,material document,movement,posting date
    as if now we are using this extractor to get the posting date at schedule line level.
    can some one let me know how exacty the EKET and EKBE table are joined ???

    Hi,
    The data for the datasource 2lis_02_sgr can be compared in ECC using ME80FN transaction.
    Please check the below Link for all the details reragrding 2LIS_02_SGR datasource.
    [http://help.sap.com/saphelp_dm40/helpdata/en/69/063f3f2615e07fe10000000a114084/content.htm]
    Hope this helps..
    Thanks,
    Nagarjuna

  • Link Between Gr posting Date & Schedule Date

    Dear All
    Kindly can know which tables will help in linking grn posting date with schedule delivery date.
    we are doing Po with multi schedule for each items,
    and so for every item we get more than one grns.
    I want to know the link how the system updates the Grn qty & open Qty .
    Let me give example
    Eg: For Po 4100000321 ,line item 10,
          schedules        qty
    01.01.2008             30
    10.05.2008             50
    01.06.2008             60
    Grn  date       grn Qty
    11.01.2008           28
    12.05.2008           52
    01.06.2008           60 now by the same i just want to know  difference between the schedule date and grn date. if can link these dates with reference to any other field kindly let me know

    Hi,
    You can find Schedule lines in EKET table and PO GR history in EKBE,
    but they can be joined only with PO & line item no. and not with schedule lien no. (becuase while doing GR in MIGO u don't refer to Schedule line  no. )
    Regards
    Dheeraj

Maybe you are looking for