When no material movements.

Hi Friends,
I am loading data from one ODS1 to ODS2. In ODS1 I have materilal, plant, calmonth,yr, and total stock is there. While updating  total stock into ODS2 , when there no material movements in a particuler month
eg.07.2008 has no movements then for the month 08.2008(for the first day of that period) should get last day of period 06.2008.i.e, that is closing balnce of 06.2008 becomes opening balnce of 08.2008.
I have only material and plant , from this info how can I know no movements for particuler month.
I would like to routine but no idea how to bring that into picture.
As I didnt work in stock scenarios before could you please share your knowledge and any code if you suggest.
Many Thanks for help,
Points will be awarded for the useful suggestions,
Anant.

Hi
Changing the status key every time is very cumbersome.. I prefer to do it like this
1. To Stop Production w/o released cost estimate : I use BADI WORKORDER_UPDATE... It has methods AT SAVE and AT RELEASE.. Write your ABAP code in a way that it reads the Header material of the production order and checks that MBEW-LPLPR is not INITIAL....If it is so, then issue an Error message
Writing this code in AT SAVE wont allow to save the prod order, and writing it AT REL will allow to save, but wont allow to release
2. Once you ensure that prod is not done w/o std cost, all other things fall in place themselves.. however, some prod would have happened by now w/o std cost as you said.. In that case, PGI will happen at zero value...
Also, when you do STO from plant to plant - If the receiver plant has Std Cost = 0, then the entire inventory value goes to NIL
Both these situations can be checked using BADI LE_SHP_DELIVERY_PROC... Write your ABAP code here to check the same... If your Mat Types are specific to Price Control S, better write this logic at Mat Type Level
3. In case you also purchase from outside the Materials which have Price control S, in that case the GR from Purch order may be valued at zero price if Std cost is not released.. In that case use BADI MB_MIGO_BADI
Once you code these BADIs properly, your life becomes easy... there remains no scope for any error and system checks all by itself w/o any manual intervention
Regards
Ajay M

Similar Messages

  • Movement types for material movements in refurbishment process

    Hi,
    I require some clarification about the movement types to be used when posting material movements in the standard refurbishment process.
    I am mentioning the standard refurbishment process below. Please correct me if I am wrong or if I missed anything.
    1) Dismantle a defective spare part from the machine.
    2) Take this defective spare to a storage location for unserviceable stock. (Materials movement-post GR)
    3) Withdraw a new or repaired spare for the above material. (Materials movement-post GI)
    4) Install the the above new or repaired spare to the machine.
    5) Repair the defective spare.
    Now I am confused and what I require to know is that for steps 2 and 3 what transaction to use for goods movement and what standard movement types are recommended for this GR and GI?
    Thanks and regards,
    Abhijit Dutta

    Abhijit Dutta
    The standard Refurbishment process does not involve the initial move into the warehouse/stock. That is part of the standard maintenance processes.
    The Refurbishment takes defective item from the warehouse (goods issue), repairs them, and returns the, back to stock (goods receipt). Usually these items are valuated stock.
    [SAP Help|http://help.sap.com/erp2005_ehp_04/helpdata/EN/5b/ae3bf14b8611d182ba0000e829fbfe/frameset.htm]
    PeteA

  • Update of material movements through MB1A/MB1C in Process/Production Orders

    Dear PP Guru,
    Can any one help me regarding below issue:
    When ever material movement is executed through inventory t-code like MB1A or MB1C, even if order number is used as referance, movement data is not updated neither in component withdrawal data of order not in COOISPI.
    Is there any notes need to be applied?
    Thanks and regards,

    Dear,
    Check the material type in OMS2 whether the valuation area(plant) is having the value updation or not.
    If you don't have the value updation for the valuation area it will ask for the details of account assignment.
    Check  Material doc display in MB03.
    Check in OMJJ for your mvt type whether the value and qty update is ticked or not...check it in Account grouping tab.
    check to MKPF and MSEG table is update the table also.
    Regards,
    R.Brahmankar

  • How to check the date and time when a material is blocked

    Hello,
       Please tell me how can i check the date and time when a material is blocked or unblocked.
    Regards,
    Priyanka

    Hi Pryianka,
    Are you speaking about blocked status of material master ('X-plant matl status' > MM03 > Basioc view 1; 'Plant-sp. matl status' > MM03 > MRP 1) or your problem is to find out the date when your material was booked into blocked state (stock category).
    If your problem is about mmr you can use the above mentioned MM04 (or MM03 > menu > Environment > Display changes).
    If your problem is to find out when your goods were posted to blocked stock you have to use MB51 + relevant movement types (e.g. 103, 344) + batch + etc. ()
    BR
    Csaba

  • Link of material movement with inspection type

    Hello Masters,
    I have scenario where component at shop floor will be segregated for inspection. The requirement is to do result/defect recording for those parts and if required then those parts need to be scrapped. So one way of doing that can be to move those parts to either blocked stock or QI stock (ideal option) or to specific storage location so that planning can be taken care of (if material are still in unrestricted then planning will consider those part as OK part and planning may fail). And to record result/defect we require inspection lot, which can be created by using above mentioned material movement.
    But problem is how to create inspection lot so that we can do result/defect recording for those materials and scrap those material.
    Please note that material master will have QM setup active (inspection type 01 - Goods Receipt Insp. for Purchase Order) and hence we can move material from unrestricted stock to QI stock only through QM.
    I am not sure if we should use inspection type 08 - Stock transfer inspection, as there can be many instances of material transfer within plant. And with inspection type 08 active, system will create inspection lot every time there is any material transfer.
    One way can be to create new goods movement only for this kind of transfer and new inspection type and link both together. So that when ever material is transferred using that particular goods movement, system creates inspection lot as well as material will be in QI stock. But I am not sure how this is possible or not and if yes then how this can be done.
    I know query was too long to read and I think I was clear enough to explain what the requirement is.
    It would be great if I can get some guidance from you masters at the earliest convenience as it is bit of importance.
    Thanks and regards,
    Devang

    Hi Devang,
    I guess this is Line rejection scenario. Correct me if understanding goes wrong. You have okayed the material against 01 inspection lot and UD has been given. Now you find this material defective on shop floor.
    I think the 2nd option suggested by marwadi sounds better. I suggest one more possibility, just check whether feasible.
    1.     Create quality notification Q2 type through QM01. While creating you can give references of original PO and material document, which fetch vendor name and material code automatically.
    2.     Record defects and all other required information in notification.
    3.     After this, you find an option in action box, transfer post unrestricted - >block . Click there. This will transfer the stock from unrestricted to block.
    4.     If you want planning persons should not consider this stock as OK, remove block stock from MRP stock availability check. As a result of which stock lying in block will not be considered as available stock.
    5.     From block stock you can send this material back to vendor through MIGO. Otherwise you can create return delivery from notification through action box also. Check what is feasible in your case.
    Here you need not create inspection lot, no need to use any user exit.
    Regards,
    Anand Rao

  • Material Movements

    Hi
    We have a custom data source: ZMARACD  created usingMARA,MARD,MARC and MBEW. Now we need Storage location and Storage Bin from MSEG. I wrote start routine and reading the Material movements ODS in to Material plant ODS as we need these fields in to material plant and material movements ODS has them...
    But when I run the full load of ZMARACD , it is taking more than 10 hours with no data to ODS, where as if I remove the start routine logic it is taking less than 10 mins to load...Any idea on why this is not working?

    MARD already has that info

  • Material movement types

    dear gurus,
    want to know the relation of material movement types with posting

    http://help.sap.com/saphelp_47x200/helpdata/en/4d/2ba31643ad11d189410000e829fbbd/frameset.htm
    The Movement Type Concept
    What Is a Movement Type?
    When you enter a goods movement in the system, you must enter a movement type to differentiate between the various goods movements. A movement type is a three-digit identification key for a goods movement. The following table contains examples of movement types.
    Goods Movements and Movement Types
    Goods movement                                                          Movement type
    Goods receipt for a purchase order                                101
    Goods issue for a cost center                                          201
    Release from quality inspection stock                              321
    Control Functions of the Movement Type
    The movement type has important control functions in Inventory Management.
    For example, the movement type plays an important role in
    updating of quantity fields
    updating of stock and consumption accounts
    determining which fields are displayed during entry of a document in the system

  • What are material movements

    hi,
         i am from BI.. and i am creating a reports on production volumes.. in that i am nt able to get waht is material movements.. we have material movementa like 131/132...261/262....701/702...643/644...351/352...101/102...etc.. can u explain the signi ficance of this ... and i want to know waht is stock type:O and line category : L(3)...
    i ll assign points.....
    regards,
    preety

    Hi,
    When you enter a goods movement, you must always enter the movement
    type. The movement type has important control functions in Inventor
    Management. It is essential for
    o   updating the quantity fields
    o   updating the stock and consumption accounts
    o   selection of the fields used for entering documents
    o   printing goods receipt/issue slips
    Below you will find a short description of the standard movement types.
    The reversal movement type is the movement type + 1 (reversal of 101 =
    102).
    101 Goods receipt for purchase order or order
         If the purchase order or order has not been assigned
         a stock type (unrestricted-use stock, stock in qualit
         blocked stock) can be entered during goods receipt.
    131 Goods receipt for run schedule header
         This movement type cannot be entered manually. It is generated
         automatically at notification of goods receipt for a run schedule
         header.
    261 Goods issue for an order
         This refers to all withdrawals for orders
         The goods issue can be posted manually in Inventory Management or
         automatically when an order is confirmed or via a delivery in
         Shipping.
    351 Goods issue for a stock transport order (without Shipping)
    643 Goods issue for a cross-company stock transport order (Shipping)
        Used only for cross-company stock transport orders with SD billing
        and invoice. The quantity is withdrawn from the unrestricted-use
    701 Inventory differences in unrestricted-use stock (MM-IM)
         This movement is generated automatically during inventory difference
         posting in Inventory Management.
    Thx
    Raju

  • Reloading Historical Material Movements

    I've recently reloaded Material Movements Infosource which populates the Cube 'Material Movements' as well as the ODS 'Material Documents'.  I did the update with only the latest data as the documentation said I could then go back afterwards and perform a full update for historical data (for example one month at a time).  The historical loads have worked great for the Cube however when looking at the ODS I can see that all of my historical loads have yet to be activated.  The problem is that when I go to activate them I get the error;
    "Full 57,714 has overlapping selections with init."
    "0000056305: No updates into ZMMO1"
    I was very careful not to have any overlapping selections and they are definitely not overlapping (and have loaded successfully into the cube) so I don't understand what the problem is.  I did notice in my documentation that, if loading to an ODS, I had to do a 'full repair' instead of a 'full update'.  But I don't see where the option is for 'full repair'.
    Any suggestions?
    Thanks!

    To load data into the cube, in RSA1 goto the InfoSource tab and search for an InfoSource called 8<i>YrODSName</i>. Here you can create an InfoPackage that will load the full/delta (as the case may be) to your cube. You can execute this just like any other load.
    FYI: The automatic laod to datamart setting can be found in ODS maintenance. Just double click your ODS and in the right hand pane open up the Settings > this will be the last one , below automatic activate.
    Hope this helps...

  • Material Movements activation procedure

    Hi,
    I'm not an MM specialist and I need to activate the business content for Material Movements and I need a good guide for what needs to be done on the ERP side. I've found this help (http://help.sap.com/saphelp_nw70/helpdata/en/5b/8dc73cee4fb55be10000000a114084/frameset.htm), but it's rather poor and doesn't say anything on what to do on the customizing size of ERP in order to get things running properly.
    I've also found this guide https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/f83be790-0201-0010-4fb0-98bd7c01e328, which seems to be in contradiction to the help.sap.com guide when it comes to which reports to run.
    Has any of you a good guide for dummies like me?
    Eddy

    Hello,
    In the document, SAP document may i had:
    "After executing the menu entry, a dialog box appears in which you must specify
    whether you want to carry out a setup for material movements (to be extracted using
    the DataSource 2LIS_03_BF, Report RMCBNEUA, transaction OLI1BW) or for
    revaluations (DataSource 2LIS_03_UM, Report RMCBNERP, transaction OLIZBW).
    In the previous scenario, we only looked at material movements. For this reason, the
    setup of revaluations is to be ignored here as well (setup runs analogously to that of
    material movements)."
    So in the previous cenario RMCBNEUB (material movements) should be run, now it may not be run. Use the cenario that is in the help, it should work too, but i think this document is more complete.
    Read the details about the two reports here:
    http://help.sap.com/saphelp_40b/helpdata/pt/de/6bec6eb435d1118b3f0060b03ca329/content.htm
    Regards,
    Jorge Diogo

  • Output Determination for Material movement

    Hi All,
    I am configuring output Determination for Material movement.
    In my case, am doing the config when the movement type is 311, we want to generate IDoc.
    i have configured everything, output type,output Determination schema..
    When i am trying to maintain the condition record for the same through MN21,
    here i am facing one problem on Partner Function.
    Here what partner functuion i'll give.
    waiting for all valuable response.
    Regards
    Indrashish

    Hello Indrashish,
    Maintain that output type as partner independent.
    This will help.
    Regards
    Arif Mansuri

  • HOW CAN I GET MATERIAL MOVEMENTS BY CUSTOMER

    Hi
    I need to check ship to customer to see if its had any material movements on it for a given peroid for customer obsolescence programme
    All reports I can find bomb out, which table will give me material movments with customer number?
    I just want to input the customer number and see if there have been any movements on those accounts for a set period of time
    Thanks to advise
    Jo

    Hi,
    Drill out the deliveries for the customer for particular period from standard delivery tables.
    Then input the deliveries in the VBFA table and fetch out the material documents with subsequent document category "R"
    When you get the material document and year.Then input the same in MSEG table and you can find the respective movements done for the customer.
    regards,
    Saju,S

  • HT204291 Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.

    Does anyone know why when streaming a movie from my iMac the screen on my tele goes grey but I still get audio. It only happens when using the DVD application on the mac. iPhoto streams fine.

    You are prevented from Airplay mirroring certain things like DVD content as the material is usually protected so you get a checkerboard type display.  I think there is a theoretical risk that the Airplay stream could be intercepted and the protected video copied, albeitin lower quality.
    Apple may be being cautious or are required to do so with the DVD player app by movie studios/licensing authorities.  It makes no sense to the average consumer who is just trying to send their purchased DVD to the TV via the computer and AppleTV.
    Playback in something like VLC should work - not tried it myself but others have commented it doesn't have the restriction.

  • Relations Between MLCD table and material movements type

    Dear all,
    I Have a question about relations between MLCD table and Material movements.  For Example We have a movement type Z71 when we did a movevent with tis movement type from MB1C Transaction. System creates a record in Mlcd Table. in this table Category field is VN and  PCat field is V. How system decides about VN and V
    is there any table which contains these conversions or is there any custimization in MM or CO modules ?
    Could you please help me if you have any information about subject.
    Best Regards

    Hi Anupam
    Thanks for your speedy reply.sorry i forget to mention i need FG materials details for given plant,production version,metrial type.In
    MKAL i am not able to give material type as input parameter
    Regards
    Bala

  • Material movement through notification

    Dear QM Experts,
    I am trying to create Q2 notification through QM01 transaction. As all of you by means of action box one can transfer the stock to block through 344 movement.
    We came across for the requirement that 311 movement should happen for defective qty internal and external through Q2 notification type. For this we developed new Z function module and assigned this FM in action box through SPRO. Then followed the sequence as below
    1.     QM01 and selection of Q2 notification type
    2.     Enter material, vendor, plant, complaint qty, ext and int qty, then defect recording
    3.     Click on customized action box option after which new Z screen gets called capturing defective qty int and ext with storage location from and to fields.
    4.     Entering of storage locations manually
    5.     Enter
    6.     Then two material movements happen (one for int qty and other for ext qty)
    7.     Material documents also gets generated.
    8.     But then error comes as
    *Object does not exist (status management)
    Message no. IM258
    Diagnosis
    This refers to an error in central status management.
    Task status
    The central status management connection at task level will only be supported from Release 3.0.
    For this reason, no task status is available for statuses created before changing to Release 3.0, and status change is therefore also not possible.
    Procedure
    In the case of task statuses of notifications in releases prior to 3.0:
    When you save a notification you can create a status for the tasks.
    In the case of notification or task statuses for notifications from Release 3.0:
    Please refer to your system administrator.*
    Whether note 365251 can solve this problem or there is something that i am missing in the procedure.?
    Thanks in advance
    Anand Rao

    Instead of going fo new invemtory cube with the help of standard 0IC_C03 you can achive it.
    Create ODS or DSO with all the fields of 2LIS_03_BF and build multiprovider on ODS and standard inventory.
    the key field syou can use are material doc number and MJAHR,document line item number.
    build query on Multi provider and restrict movement types as you desire.
    This will help you as well as you will have inventory staging data which can be further used .
    load 2lis_03_bf directly to ODS as well as 0ic_co3.
    hopwe this will give an Idea.
    sekhar

Maybe you are looking for

  • How do I take out my old Superdrive and install a new one??

    I've seen an extensive list of problems with the superdrives. Alas, my computer has fallen victim as well, and it won't read cd's or dvd's. SO I bought a new internal drive, but I don't know how to install it. Is there anywhere I can find this info?

  • Recognising ip address but can't display page

    please please please help me!!! everything seems fine. the network connection shows it's connected, signal - excellent. it's got an ip address assigned, everything looks perfect. but i just can't connect to a site on internet explorer!!! and i know i

  • Report for Actual GR posted

    Hi Gurus Is there any business content infoprovider / report available in BI, which will give the actual GR qty (mvmt types 101,102 etc)  similar to MB51 in ECC? Is there any BC provider which stores MSEG data? regds KS

  • Showing User ID in Error Message

    Fellow Developers, I am trying to Include the User ID in an error message. I want the message to say "Payment Advice in use by XXXXXXX".  In SE91 if I enter a "&" it spits out the company code and says "Payment Advice in use by Z200" (The company cod

  • Report Profile Use & fields in dynamic selection in RE-FX reports..

    I have two requirements: 1. Some of the SAP delivered fields in RE master data of BE,PR,BU and RO are not required by our client. Thus we have hidden them using field status transaction. However they are still available in RE info system in Dynamic s