Material Movements with erdat

Hi ,
I am using 'BAPI_GOODSMVT_GETITEMS' to take all material movements.
call function 'BAPI_GOODSMVT_GETITEMS'
    tables
      material_ra     = material
      plant_ra        = plant
      pstng_date_ra   = budat
      goodsmvt_header = header
      goodsmvt_items  = items
      return          = return.
How can i use erdat instead of budat or is there any function to use erdat ?

Hi,
I dont think there is any BAPI which takes the ERDAT. You would have to filter the records after this BAPI reutrns the results.
Other way is to Get the data from the database tables directly. The tables are MKPF and MSEG
regards,
Advait

Similar Messages

  • 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 with serial no.- Report

    Experts,
    Is there a standard SAP report that lists all movements with serial numbers associated with the movements? Similar to MB51 but with serial no.
    I understand an ABAP report could be written but would like to avoid it. Any help will be rewarded with points.
    Thanks
    UV

    Go to SA38 and Execute Program "RIOBJK00"
    Also you can write an ABAP Query using Table SER03 and MSEG instead of going for ABAP Report.

  • Not to allow material movements with qty in decimals

    Hi All,
    A material X is having the Basic UoM as PC(piece) and alternate Uoms as kg & EA .
    conversion factor is : 1 PC=1EA  &  1PC=1 kg
    I want to restrict the system from allowing the Goods Receipt / Goods Issue in decimals. eg: 0.6 PC
    Also, in production order if possible.

    Hi
    In Tcode CUNI, ensure no decimal places are maintained for all the PC, KG and EA
    Regards,
    Raman

  • Subcontracting child material issue with SO ref

    Hi all,
    As per the client business scenario we are using MTO for all production/purchase process, In between the production process the material also going to subcontract for some process and coming back as new material. As i mentioned earlier all material movement with ref to sale order only.
    So, the child material in SO stock, created the subcontract PO through MRP by using Item cat - L and Account Assignment - M, with child material, system is recoganising the subcontract consumption with ref to SO in 543 mvt type. but while sending the material from plant through 541 system is not able to recoganise (since there is no special stock assigned in value string OMJJ).
    How to make the Sale order reference as manditory while GI (541/542) and GR (101/102/543/544/545/546) of subcontracting.
    Request your valuable suggestions
    Regards
    Sridharan

    Hi,
    Please refer below link...
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/a04ec1a0-c39b-2c10-6889-f6f69625f3f3?quicklink=index&overridelayout=true
    Kuber

  • Find Material Document with Movement type 103 for material document 105

    Hi experts,
    In PO History, I have three line items with movement type 103 (Blocked Stock) and one with movement type 105 (From blocked stock to unrestricted stock). I would like to know the material document with movement type 105 document that has the movement type 103.
    Regards,
    Abdullah

    Hi,
      you can get the material documents (mblnr) for the movement type(bwart) in table AUFK.
    But i think you need to pass some other data along with bwart like matnr or aufnr for getting the correct mblnr.
    Regards,
    Chaitanya

  • Not able to create a material document with movement type 103

    I am not able to create a material document with movement type 103,
    The system is populating the value as 101 .
    How do I create a matdoc with movement type 103?

    What is the error you receive? Please specify with message number.
    On MIGO, you need to change the default value mvmt type value to 103 before you enter the PO number to be able to do 103.
    Once this defualt value is set, you can enter the PO and item number in the document number fields and proceed with 103.
    But you cannot change the mvmt type for already entered items from 101-103 or vice versa.
    I think the 101-103 and 103-101 mvmt type conversion message is standard error message

  • Material to Material transfer with movement type 321

    Dear Experts,
    Material to material transfer with movement type 309, the system create a price difference account if price control "S"
    but we transfer material to material with movement 321 (quality ), no price didderence account is generated, system showing different document
    Exp--- Material "A" with STD price 150
    Material "B" with STD price 100
    document is created
    Material A A/c. Credit 100
    Material B A/c. Dr. 150
    My question is, the price difference where is adjusting, is finance and costing books of account will effect.
    Kindly help to solve the issue
    Thanks & Regards,

    Dear Wasim,
    321 movement is to transfer the stock of a material lying in quality to unrestricted stock.
    It's not used for material to material transfer.
    Check and revert back.
    Regards
    Mangalraj.S

  • Material Movement using BAPI with serial number.

    Hello,
    I am currently doing material movement using BAPI with serial number management, however in some case it works fine and in some cases it given and error message E213(IO). Unable to find the reason, when simulated the same it works fine for 200 serial numbers and gives error when going above 200 serial number.  The confusion is some times it works fine for 3000 serial number as well.
    Tried finding the reasion on every possible site. No results.
    Thanks in advance for some solution.

    Hello,
    I am currently doing material movement using BAPI with serial number management, however in some case it works fine and in some cases it given and error message E213(IO). Unable to find the reason, when simulated the same it works fine for 200 serial numbers and gives error when going above 200 serial number.  The confusion is some times it works fine for 3000 serial number as well.
    Tried finding the reasion on every possible site. No results.
    Thanks in advance for some solution.

  • Synching Movie with 30GB

    When trying to sync a movie i just downloaded the snyc began and a few seconds in a received the error message "Attempting to copy to the disk "Ipod" failed. THe disk could not be read from or written to"
    My first attempt was to try again, and the same error message appeared. I then went through the 5 r's and the problem still persisted.
    Next i went on to the troubleshooting topic and went through those fixes and used them. The only one i could not get to work was repairing the disk drive, and because i'm a windows user i had to use the chkdsk command and it did not work properly, or i did not format it properly.
    Anyway that still did not help and i went so far as to copy the movie file to a different folder, delete the original and then import it back in. Still the movie will not sync with the ipod. My best guess is the lack of USB 2.0 drives, in which case i would have to install a hub. But i would prefer another way out if possible. Any help would be appreciated
    Dell Dimension 4300   Windows XP   No 2.0 USB drives

    Hi
    May be You mean this ?
    Play all resp one chapter at a time
    Play All Button
    1. There are NO - Play All - button in any version of iDVD
    2. It can be faked in several ways
    • Easiest and most fault proof way is to make a doublet movie containing All and with
    Chapters set to match. It will take up x2 space but is easy to understand and produce.
    Cons: Tried this in iMovie’11 by Exporting out each part as a full Quality QT.mov then Importing back into new events and putting these into a new project (Play All project). Resulting DVD had Audio that was OK (as parts) - BUT the picture was very bad and standing photo were cut of in hight. So the Play All movie has to be created from same material and exactly in the same way as the individual parts + then Chapters has to be set to match.
    • It's said that one can put all movies into a Photo/SlideShow and this will also
    give the function of a Play All button - Tested - and ONE HAS TO un-cheque - Scale pictures to TV-Safe area else it will be a black frame all around and a small picture !
    Mike Evangelist1
    You might be able to get close to what you want by using a slideshow in iDVD. (It's not widely known, but you can put videos in a slideshow.) If you set the slide duration to manual, playback will pause after each movie/slide, and you can continue with the 'next' button.
    3. Using another program to do this e.g.. Roxio Toast™ where there is a Play All button option.
    Summary
    a. Making a Play All movie with same care as the individual Part movies - gives a very Good Result
    b. Using Roxio Toast™ - also an usable way to go
    Yours Bengt W

  • Creation of Material Documents With Mvt Type

    On Performing Post Goods Issue (PGI) in one Plant in case of Plant to Plant Dispatches, there should be Inbound delivery created for already created Purchase Order (PO). In addition after creation of inbound delivery, there should be material document created with 103 movement. This Material document is triggered when the inbound delivery is saved. Once Warehouse processes are finished, then Post Goods Receipt (PGR) happens, so 101 Movement Type happens for Purchase Order. PGR document should trigger one more material document with 104 movements; this document is reversal for material document with 103 movement type.
    can any one suggest to enhance SAP for this?
    Moderator message : Requirements dumping is not allowed, show the work you have already done. Thread locked.
    Edited by: Vinod Kumar on Oct 21, 2011 5:18 PM

    Hi Nitin,
    Before creating the Service type of product, you have to define the Base category for Service type product. Generally the category for service will be created under the R3 hierarchy R3PRODSTYPE. You can create this category using the TCode:
    COMM_HIERARCHY. Here you have to select the product type as Service and have to assign the set types to the category.
    You can create a service product using the transaction : COMMPR01 -> Click on Service ICON -> Select the Category for Service Type. Then fill in the details for Service Product description, Service ID(Based on number range settings for products), Language.
    Also fill other details like Base Unit of measure, Pricing condition for different sales areas for the service product.
    Since you are using CRM7.0, you can do all these activities using a POWER USER role.
    For more information about Set types and hierarchies please refer the following help link:
    http://help.sap.com/saphelp_crm70/helpdata/EN/46/57672501a208e7e10000000a114a6b/frameset.htm
    Hope this helps!
    Regards,
    Chethan

  • Movie with scenes

    How can I make a movie with scenes go back to menu after each scene?

    Hi
    May be You mean this ?
    Play all resp one chapter at a time
    Play All Button
    1. There are NO - Play All - button in any version of iDVD
    2. It can be faked in several ways
    • Easiest and most fault proof way is to make a doublet movie containing All and with
    Chapters set to match. It will take up x2 space but is easy to understand and produce.
    Cons: Tried this in iMovie’11 by Exporting out each part as a full Quality QT.mov then Importing back into new events and putting these into a new project (Play All project). Resulting DVD had Audio that was OK (as parts) - BUT the picture was very bad and standing photo were cut of in hight. So the Play All movie has to be created from same material and exactly in the same way as the individual parts + then Chapters has to be set to match.
    • It's said that one can put all movies into a Photo/SlideShow and this will also
    give the function of a Play All button - Tested - and ONE HAS TO un-cheque - Scale pictures to TV-Safe area else it will be a black frame all around and a small picture !
    Mike Evangelist1
    You might be able to get close to what you want by using a slideshow in iDVD. (It's not widely known, but you can put videos in a slideshow.) If you set the slide duration to manual, playback will pause after each movie/slide, and you can continue with the 'next' button.
    3. Using another program to do this e.g.. Roxio Toast™ where there is a Play All button option.
    Summary
    a. Making a Play All movie with same care as the individual Part movies - gives a very Good Result
    b. Using Roxio Toast™ - also an usable way to go
    Yours Bengt W

  • Error: LK047 Material movement could not be posted in the system via IDOC

    I am trying to create an article document (goods movement doc) for an already created purchase order.
    but this is via an IDOC (WMMBXY). after filling the data in WE19, i shoot the idoc in to the system. in we02 i get the following error message: LK047 Material movement could not be posted in the system . Can someone please help.
    the following fields are filled:
    Segment: E1MBXYH
    Document date        20091124
    Posting date         20091124
    Reference            9999999999
    Doc.Header Text      POS/1110
    Transaction code     MB01
    USNAM                user12
    Segment: E1MBXYI
    Processing ind.      1
    Material             832924
    Plant                1110
    Movement Type        101
    Debit/Credit     +
    Currency             EUR
    Qty in un.entry      250
    Unit of Entry        PAK
    Qty OPUn             90
    OrdPriceUnit         KG
    Purchasing Doc.      9100000141
    Item                 1
    Profit Center        11090
    G/L Account          22706
    Movement Type        101
    SLED/BBD             20091231

    Hello Shankar,
    Glad to hear from you!
    In your question, please make sure you use leading zeros for the MATNR field.  In header segment field E1MBXYH-BKTXT, we use header text. Hope you are using inbound posting function L_IDOC_INPUT_WMMBXY.
    Please try with this and it works for us.
    Thanks a lot,
    Venu

  • Materail recevice with referance to material document with mvt type 303

    Hi Guru:
    In MB1B we are creating mateiral document with movement type 303 from one plant to other plant.
    Now same material we need to receive in other plant with movement type 305 in same T code Mb1B.
    Now as per user requirement if there is number of item are coming in material document which is generate with movement type 303, why we need to give all material, qty, batch again in MB1B movement type 305,
    while we are receving same material in plant.
    In MB1B there is link to create material document with referance to material document but we can use this facility for creating new material document for movement type 303 of same mateiral, qty and batch.
    Please suggest is there any way to use this 303 movement type material document with movement type 305.
    Thanks.
    Virendra
    09887603301

    Hi
    In my opinion in MB1B you can not have Material Doc. as a ref. Doc. for M.Type: 305...
    But for MIGO transaction you can have Material doc. as a ref. doc. for M.Type: 305
    Goto ---> OLME ---> Settings for Enjoy Transaction ---> Settings for Goods Movements -
    > Settings for Transactions and Referance Documents ---> There...for MIGO_TR...Transfer Posting ---> Referance Documents ---> For your M.Type: 305 assign Material Document as a Referance Documnt...
    Reward if useful
    Regards
    S.Baskaran

  • SAP Standard Followup Action for Material Movement at the time of UD.

    Does anyone know if SAP offers a standard Followup Action that once completing the Automatic Usage Decision, it will perform a Material to Material movement at the same time. 
    Exampe: I have two Materials with different Inspection types and Inspection Plans that will get processed and made into CP14.
    1) CP14H - Incomimg Inspection Type Z01
    2) CP14.B1 - Inprocess Inspection Type Z04
    Both materials get assigned to the correct plan.  They are then tested for required characteristics.  If all are in Spec, an auto Batch Job complete the UD.  At the same time I want to do a Material to Material movement to CP14 Unrestricted Stock for both inspection lot types.  Right now to do the Material to Material movement I have to complet a MIGO transaction manually.

    Look at FM QM06_FM_TASK_GOODS_MOVEMENT.
    It is a standard function module that is used in the action boxes in a quality notification to perform a goods movement.  It is meant to be interactive with the user so it won't work as is, as a follow-up action to a UD.  But you might be able to have your programmers copy this FM and use it as a basis to create your own custom code for your follow-up action.  It might save you some time.
    FF

Maybe you are looking for

  • IPod touch 4th Generation not charging.

    I have had my iPod touch 4th Generation for 3 weeks, after having to buy a new one because i was refused by anyone to have my old iPod 4th Generation fixed as its screen wouldn't work Anyway, last night my iPod was charging fine when i went to sleep,

  • How can I tell what app makes up the "usage"?

    Under General Settings, you have the option to view usage. How can I tell what app is using that "usage"? It is not data, just time active.

  • Users having issue filling out form

    It appears that when you first access the below form on our website, there can be a delay in the fillable boxes appearing within the form but once you move the mouse they will appear.  So what is happening is that applicants are printing the applicat

  • Movie saved as AVI

    I must save a short movie for a client so it will play on a PC without QuickTime and it will not be load on the corporations computers. It must also be under 50mg, it's only going to be a 30second movie. It will be e-mailed to employees. I can save i

  • Cannot start EPMA Process Manager.

    I cannot start EPMA Process Manager on Windows. Here is the error from the Event Log: Service cannot be started. Hyperion.DimensionServer.ProcessManager.Interface.ProcessManagerException: Cannot initialize the Session Manager. ---> Hyperion.DataAcces