Creation of material Documents for RMPM adjustments using BAPI

Hi
can any one help me Creation of material Documents for RMPM adjustments using BAPI...
i should be grateful to you...
advance thank you
with regards
venkat

You can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.

Similar Messages

  • Material creation for All VIEW using BAPI Function modules

    Dear All,
                 I want to create materials for all views using BAPI F.Ms. By using BAPI_MATERIAL_SAVEDATA i have extended materials for for only specified views. now my requirement is to create Material with All views including Classfication view also. For this i found BAPI_OBJCL_CREATEFM.
             Tell me that shall i use both Fm's at time to create material.Will it work? According to my knowledge we need to create Characters first ,then we should  assign this character to this class, then while creation of material we should select this class .
            so pls guide me the procedure to follow for both FM's .
    Note : Pls don't suggest me LSMW OR BDC procedure.
    regards,
    Prashanth Maturu.

    Hi prashanth,
    U can use both the FM. using BAPI_MATERIAL_SAVEDATA u can create all the views and for classification view use BAPI_OBJCL_CREATE. before assigning class to material u hve to make sure that the characteristics are uploaded and is attched to the class using transaction CL03.
    Regards,
    Anil N.

  • Material Document for Scrap consumption not Found

    Dear Friends
    During order confirmation, molten material / raw material is consumed by 261 MT and dross SH100002 is generated by MT 531 along with the finished product with MT 102. I reversed finished product through 102 MT and Raw material through MT 262. Thus do I need to reverse dross through MT 532, against order?
    When I went to MB51, I found the material document for finished Material production with MT 101 and raw material consumption with MT 261. But in MB51when I tried to find out dross generation with MT 531, I did not get any material document for that particular order no.
    In the production order though total quantity: 88000 and delivered quantity is only 26000. When user is trying to confirm the production order only for 200 units, system is giving the following error message:
    Overdelivery is not permitted (Check entry)
    Message no. RU139
    Diagnosis
    The total yield and scrap confirmed exceeds the overdelivery tolerance defined in the order header.
    Procedure
    You can either
    u2022 reduce the confirmed quantity
    u2022 deactivate the tolerance check during confirmations (customizing),
    u2022 increase the overdelivery tolerance in the order header and then enter the confirmation again
    Please tell me why Material movement of dross/ scrap is not visible and why production order is not getting confirmed
    Thanks
    Chandra

    Chandra,
    When you say te movement is with order confirmation then I assume that it is backflush of the components & byroduct.
    If you do not find the material document in MB51 then it is not posted yet.
    In that case excute T code COGI & process the same.
    Regarding the order confirmation error, kindly check the 'Goods receipt' tab page in the order header.
    The delivery completed indicator must be marked. Unmark the same & save.
    Now try to process the confirmation.
    Anyhthing else please let me know.
    Hope this helps you.
    SmanS

  • How to see the material document for Blocked stock

    Hello Experts
    I having some blocked stock in plant X , How to see the material document for this stock.
    Thanks in Advance
    Prashanth.v
    Edited by: prashanth.venkategowda on Aug 11, 2010 7:38 PM

    which material documents do you want to see?
    Material documents can be found and displayed in MB51 transaction.
    in MMBE you can put the cursor onto your stock line and then choose from menu Environment > material documents and SAP will list all relevant material documents.
    block stock status is not a selection criteria, material number, plant storage location, batch number are selection criterias.
    if you want only documents to block stock, then you need to select by movement type, e.g. 343 and 344 are movements that change status from unrestricted to blocked or vica versa.

  • Material Documents for Unplanned Services?

    Dear All
    I have created a service entry sheet for services against a PO. In the PO, provision was maintained for unplanned service (maintaining some amount in limits.)
    Now, while creating service entry sheet, it has been observed that material document created against planned service only. Although the cost of unplanned service is appearing in services entry sheet but no material document created against unplanned service. The payment section is therefore not allowing payment against unplanned services as no material document appearing in PO history against unplanned service.
    Can any one help me out what is the solution.
    Regards,
    Abdullah

    Hi all,
    For dispaly of Material Document we have Transaction Code : MB03,
    this with the Document No & Year,
    like wise for dispaly of Material Document for a date range i want to know the Tranasction Code.
    Thanks

  • MATERIAL DOCUMENTS FOR POSTING DATE TCODE ?

    HI ALL,
    CAN SOMEBODY GIVE ME THE MATERIAL
    DOCUMENTS FOR POSTING DATE TRANSACTION CODE.
    THANKS,
    KSR

    Hi all,
    For dispaly of Material Document we have Transaction Code : MB03,
    this with the Document No & Year,
    like wise for dispaly of Material Document for a date range i want to know the Tranasction Code.
    Thanks

  • Document for HOW TO use RSRT1 or RSRT2  ?

    please advise where can I get document for  HOW TO use RSRT1 or RSRT2  ?

    hi,
    RSRT1 &RSRT2  will take you to report monitor.
    check the link from sap.help:
    http://help.sap.com/saphelp_nw70/helpdata/en/a0/2a183d30805c59e10000000a114084/frameset.htm
    cheers
    Sunil

  • Upload the data for sales order using BAPI

    hi experts,
    how to upload the data for sales order using BAPI.
    what is the FM?
    it would be much helpful if i have the sample code as i am very new to BAPI.
    thanks and Regards
    Shyam

    Hi  Shyam
    Its very useful for u
    BAPISDORDER_GETDETAILEDLIST
    BAPI_ACC_SALES_ORDER_CHECK
    BAPI_ACC_SALES_ORDER_POST
    BAPI_ACC_SALES_QUOTA_CHECK
    BAPI_ACC_SALES_QUOTA_POST
    Reward all the helpful answers..
    With Regards
    Navin Khedikar

  • BAPI for creation of material documents/movements

    Hi Everebody:
    I need some help regarding to bapis for the creation of mateial documents and/or movements. I have been trying to implement bapi BAPI_GOODSMVT_CREATE, but this bapi does not have (import) the posting time in document, which is very important for my porpuse.
    So, I would appretiate a lot any information anybody could give about any bapi I could use to create material documents or material movements but incluidng the posting time in document (field MKPF-OIB_BLTIME).
    Regards

    You can check MB_CREATE_GOODS_MOVEMENT which has mkpf as inporting parameter.

  • FM/BAPI for creation of Material Document (similar to Transaction MB1C)

    Hi Gurus,
    Good day.
    Are you guys aware of FMs / BAPIs that can produce Material Documents (similar to the Function of Transaction MB1C)?
    Thank you very much!
    Best regards.
    Brando

    hi
    in addition to BAPI_GOODSMVT_CREATE ,you can try user exits as well like
    MBCF0005 Material document item for goods receipt/issue slip
    MBCF0002 Customer function exit: Segment text in material document item
    MB_CF001 Customer Function Exit in the Case of Updating a Mat. Doc
    hope this helps
    regards
    Aakash Banga

  • 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

  • Need info on badi or exit before creation of Material document number?

    hi experts,
    we have two systems one is general R/3(4.6 C) and another system is GTS (NW 2004)system.
    while creation of GR a check from R/3 is made to GTS through GTS plug in installed in R/3
    and after which the document number is created...
    now i need a BADI between the check is made in GTS and material document no. creation
    where i can throw a message by checking in R/3 LFA1 table whether the vendor is SPL check or not.
    for this i am using MB_DOCUMENT_BADI and the method is MB_DOCUMENT_BEFORE_UPDATE
    where i am querying the zfields from LFA1(R?3) for SPL check happened in GTS (this is updated in some other interface)
    if in this badi if any error message is populated it is directly going for dump..
    please suggest me what can i do..
    Thanks in advance
    S.Janagar

    problem solved by myselves.
    by using popup to inform function module i am able to throw error message
    Edited by: Janagar Sundaramoorthy Nadar on Nov 19, 2009 7:01 PM

  • 'BAPI_GOODSMVT_CREATE' takes more time for creating material document for the 1st time

    Hi Experts,
    I am doing goods movement using BAPI_GOODSMVT_CREATE in my custom code.
    Then there is some functional configuration such that, material documents and TR and TO are getting created.
    Now I need to get TO and TR numbers from LTAK table passing material documnt number and year, which I got from above used BAPI.
    The problem I am facing is very strange.
    Only for the 1st time, I am not finding TR and TO values in LTAK table. And subsequent runs I get entries in LTAK in there is a wait time of 5 seconds after bapi call.
    I have found 'BAPI_GOODSMVT_CREATE' takes more time for creating material document with similar issue, but no solution or explanation.
    Note 838036 says something similar, but it seems obsolete.
    Kindly share your expertise and opinions.
    Thanks,
    Anil

    Hi,
    please check if some of following OSS notes are not valid for your problem:
    [Note 838036 - AFS: Performance issues during GR with ref. to PO|https://service.sap.com/sap/support/notes/838036]
    [Note 391142 - Performance: Goods receipt for inbound delivery|https://service.sap.com/sap/support/notes/391142]
    [Note 1414418 - Goods receipt for customer returns: Various corrections|https://service.sap.com/sap/support/notes/1414418]
    The other idea is not to commit each call, but executing commit of packages e.g. after 1000 BAPI calls.
    But otherwise, I am afraid you can not do a lot about performance of standard BAPI. Maybe there is some customer enhancement which is taking too long inside the BAPI, but this has to be analysed by you. To analyse performance, just execute your program via tr. SE30.
    Regards
    Adrian

  • BAPI_GOODSMVT_CREATE to create a material document for consumable goods

    Hi All,
    I am using a BAPi  (BAPI_GOODSMVT_CREATE) to create a material document using a PO. Please note that the PO contain no material number. It contains short text. The account assignment is being copied in to the MIGO from PO (when i am doing the process manually without BAPI). But when i am using the BAPI at that time i am getting an error as:
    E M7                   036 No goods receipt possible for purchase order 45XXXXXXXXXX 00010 .
    Logically this should not happen as  when i do it manually i am able to post MIGO.
    Under goods movement header i am giving :
    posting date
    doc date
    text
    goods movement code :
    01
    GOODSMVT_ITEM
    plant
    mov type
    po number
    vendor
    line item
    short text
    cost cenrtre
    order no(int ord no)
    mov indicator: B
    GL account
    base unit of measure
    Where i am going wrong?

    Hi Jurgen
    In response to my post where i wrote my observations :
    As you have suggested i have removed the account assignment objects and now i am not getting the error as mentioned in my post but at the same time i notice in export parameters  in the bapi the following things which was not present earlier.
    GOODSMVT_HEADRET                   50000xxxxx2014
    MATERIALDOCUMENT                    50000xxxxx
    MATDOCUMENTYEAR                     2014
    Now another thing is i am not getting any entry in return table.... which i should get. Please note that my test run contains no values(X).
    i think i am near to the solution. Could you suggest any more crucial points i might be missing?"
    for this i found out that there is a way to solve this issue. My concern was why the material document was not updating .  Well this is how SAP behaves.
    To update it we have to run simultaneously another fm " BAPI_TRANSACTION_COMMIT".  This will update it in the mseg table which in turn will reflect it PO history. So my requirement is answered and fulfilled.
    Thank you so much for the replies and cooperation.
    Thank you all.

  • Creation of Material Master for a material with Material Type NLAG

    Hello Sirs,
         I have to create a material which will be consumed directly. I would use the
    material type NLAG (Non stock material). If I create a material with this material type, will it contain an Accounting view where in I can maintain the price of the
    material? If it contains an Accounting view, which type of Price control should be
    used (Moving average or Standard)? Further, can we maintain an info record for
    a material with material type NLAG?How the price updation happens?
    Regards
    Yoga

    Hi Madhu,
        Thanks for your reply. But, I have one more doubt. For non stock materials, we
    will specify the cost centre and G/L account at the time of creation of Purchase order. Then, do we have to specify the valuation class at the time of creation of
    Material Master since there is no automatic account determination?
    Regards
    Yoga

Maybe you are looking for

  • Transfer the data from old to sap db

    hi, i  having ten thoused records in legacy system , but i want to transfer only 2000 records at a time , how can we do that

  • Complex XML parsing in java

    Hi all , I have a xml in the below format <?xml version="1.0" encoding="UTF-8"?> <EXTRN SVCID="xyz" ID="1"> <INPUT ID="1"> <CLASS ID="login"> <LOGIN_ID>hallk</LOGIN_ID> <ENTITY_CODE>GBAZA</ENTITY_CODE> </CLASS> </INPUT> <INPUT ID="2"> <CLASS ID="plac

  • Trying to fix - Acrobat won't close after user clicks attach and then emails.

    I'm totally stumped, so any input may help. Here' s the scenario... User creates/opens PDF. They then go to either attach dialog which then opens Outlook email dialog. They finish emailing the attachment and switch back to the Adobe window to close i

  • Where can i find free activeX controls for download?

    Best regards ! Solved! Go to Solution.

  • Data guard error 12541

    Hi All Am gettiing following error when using dgmgrl DGMGRL> add database 'child' as connect identifier is 'child.gbwonw9bp21' maintained as physical; RACLE Instance PARENT - Archival Error. Archiver continuing. /export/data/db1/PARENT/bdump (PARENT)