BAPI_MATPHYSINV_CREATE_MULT

hi gurus,
can any one provide me code/program for  upload data using BAPI_MATPHYSINV_CREATE_MULT  for transaction MI01.
Regards,
Anuj

thanx

Similar Messages

  • Usage of BAPI BAPI_MATPHYSINV_CREATE_MULT

    Hi,
    I am trying to create Physical inventory documents using BAPI BAPI_MATPHYSINV_CREATE_MULT but its giving me error "Required function MB_PHYSICAL_INVENTORY not processed". Please let me know how should I use this FM.
    Thanks,
    Abhishek

    thanx

  • Error while using Bapi_Matphysinv_Create_Mult

    Hi Experts,
    I am using Bapi_Matphysinv_Create_Mult to create a Physical Inventory documents for Multiple Materials. But when I process BAPI, it leaves me on second screen for Transcation MI01 without any error/success message.
    But when I choose BACK from that scren , it then comes back to BAPI and give error messages for some Materials. For some Materials it creates Physical Inventory document successfully and for some Materials it is giving me the error ''No Batches than can be included in Physical Inventory exists for Material Number XXXXXXXX  '' .
    Please suggest me why it is taking me to screen of Transaction MI01 and also why it is giving me the above error ?
    <removed_by_moderator>
    Thanks
    Naveen Rana
    Edited by: Julius Bussche on Jan 16, 2009 1:19 PM

    Hi Sachin,
    Pass the Item Number of Reservation to GOODSMVT_ITEM-RES_ITEM .
    Regards
    DKS

  • Issue while creating PI document BAPI_MATPHYSINV_CREATE_MULT

    Hi All,
    I am using BAPI_MATPHYSINV_CREATE_MULT to create physical inventory documents, i have an issue like.
    If iam trying to create a document for 4 materials, in which two of the materials are not satisfying the conditions(are in error), even though BAPI returns the error in the return table, the Physical Inventory Doc.number gets incremented  even if the document is not saved.
    Please let me know if there is any thing which can be done to avoid this.
    Thanks in advance.
    Murthy .M

    Hello,
    Try this way
        CALL FUNCTION 'BAPI_MATPHYSINV_CREATE_MULT'
          EXPORTING
            HEAD     = HEAD
            MAXITEMS = MAXITEMS
          TABLES
            ITEMS    = ITEMS
            RETURN   = RETURN
          EXCEPTIONS
            OTHERS   = 1.

  • Issue with BAPI_MATPHYSINV_CREATE_MULT

    Hello All,
    I am having some issues with the above BAPI. I am passing the appropriate header information and passing the material in the items table. However the return message states the material is not maintained in the plant I had specified.
    In a previous piece of logic I had done my own validation check.  I checked the MARC table and looked for the material and plant combination.  The material passed this validation.  After I received the error message I checked MARD and still found the material there.  In both the MARC and MARD table the material appears with the plant, even at the specified storage location.
    So now I am a bit confused on what the issue would be.  It may be unrelated but I checked the EORD to see if any source lists existed for the plant/material combination, and there was none.  Does anyone have an idea of what the issue could be?  Are source lists related to creating physical inventory documents?
    Thank you for any help you can provide,
    Regards,
    C

    Hey Everyone,
    I made a mistake while passing information.  I needed to include a conversion exit when passing the Material number.  I was not aware the BAPI did not do a conversion.
    Regards,
    C

  • BAPI/FM for Physcial Inventory

    Please provide me the list for FM/BAPI avalilabe for Physcila Inventory Process.
    Regards.
    Ricky

    Hi,
    MB_BUS2028       -              Function group for BAPIs for phys. inv.
    BAPI_MATPHYSINV_CHANGECOUNT    Change count for particular items of a phys. inv. doc.
    BAPI_MATPHYSINV_COUNT          Enter count for particular items of a phys. inv. doc.
    BAPI_MATPHYSINV_CREATE         Create Physical Inventory Document
    BAPI_MATPHYSINV_CREATE_MULT    Create Physical Inventory Document
    BAPI_MATPHYSINV_GETDETAIL      Read items for a physical inventory document
    BAPI_MATPHYSINV_GETITEMS       Read list of physical inventory documents with items
    BAPI_MATPHYSINV_GETLIST        Read list of phys. inv. documents
    BAPI_MATPHYSINV_POSTDIFF       Post differences for certain items in a phys. inv. document

  • BIG full inventory cycle count

    Hi Experts,
    We have a BIG inventory coming up in a month and it seems that no one knows how to create a CC for all the parts in our inventory... we need to count everything in stock and record it in SAP.
    as of now MI31 will not work... because the ABC classifications. there will be no inventory doc. numbers created for parts that have already been counted within the set time.
    and manually creating a CC for over 4000 slocs with MI01 is just crazy!!
    is there a way to "override" the classifications in SAP to use MI31?
    or is there a better T Code that can be used?
    let me know,
    thanks

    Hi,
    I think in that case you will have to make ABAP program by using following BAPI.
    BAPI_MATPHYSINV_CREATE
    BAPI_MATPHYSINV_CREATE_MULT
    REgards
    Sangeeta

  • Need to call transaction from report

    Hi,
    I have to create BAPIs to call from webDynpro to realize the functionality of the transactions MI01/MI04 and MI07. I´m working in the SAP cable Solution environment.
    Do You know any BAPIs to use instead of calling the transactions? Maybe there are standard ones, which contain cable solution modifications...
    Otherwise I thought about building frame BAPIs and calling the transactions inside of it. Do You think it´s possible to realize that by batch-input?
    I need some other opinions and ideas to this problem.
    Thank You for Your help!
    Reward points guaranteed

    Hey Ravi,
    ok, I'll try that!
    I'm not that deep into the module of material management. Do You have a tipp, how I can find out, if these functions are also working with the cable materials?
    When I'm running the function bapi_matphysinv_create_mult, a document has been created. But I'm not sure, if it's using the cable specials...
    Thank You

  • Is it possible to enter more than 333 items in a physical inventory Doc.?

    Hi Gurus
    I want to enter more than 10000 line items in a physical inventory document. how can I achieve this please help. We are using SAP IS Retail.
    Regards
    Muneer . V.K

    Hi
    We are using PDA device to enter counted qty before that we will arrange all articles based on MC and we will distribute the work to different counting teams. We have a Z program developed for PDA with following logic.
    Pseudo Logic     
    1)     Application is used to create Physical Inventory Count.
    2)     There are 2 options provided for physical Inventory Count
          i)  With Reference of Physical Inventory document
          ii) Without Reference.
    3)     If with reference is chosen , Inventory document no. is available for input
    4)     If stock type is entered in without reference then vendor is mandatory for input.
    5)     User can enter the site, storage location and the following validations will be done on these screen inputs
    u2022     Validate the site against SAP entry and check whether the ser has authorization in the site
    u2022     Validate the storage location
    u2022     Validate Vendor if entered
    u2022     Validate Physical Inventory doc no. if entered
    6)     In second screen, user will scan EAN/UPC number of the article and the following validations will be done.
    u2022     Validate the EAN/UPC number. Check whether the number is available in SAP
    u2022     Check whether the article is extended for the site
    u2022     Get the base unit of measurement for the article
    u2022     Get the article description from the table
    u2022     Get the conversion factors for the barcode unit of measurement
    u2022     Get Stock on hand for the article
    7)     Perform the following validations on the unit of measurement input
    u2022     Check whether the unit of measurement is available in the system
    u2022     Check whether the unit of measurement is defined for the article
    8)     Perform the following validations on the quantity entered by the user
    u2022     Check the format of the quantity input
    9)     Move all the details along with quantity to a buffer table. Clear all the input fields for the next set of scan and move the current details to the last scanned variable for display
    10)     In case duplicate scanning of article, cumulate quantities instead of adding new entry to the buffer table
    11)     If the user click on option DISP, call the third screen
    12)     In third screen, all the EAN/UPC numbers will be displayed with an option for scrolling and removal
    13)     When the user choose option SAVE from the third screen, create physical Inventory document and update the count by following the below steps
    u2022     Prepare the header parameters for the BAPI
    u2022     Prepare the line Item parameters for the BAPI
    u2022     Create PI document using the BAPI_MATPHYSINV_CREATE_MULT and BAPI_MATPHYSINV_COUNT
    u2022     Trigger error message in case of any failure
    14)     Clear and refresh all the variables and internal tables to proceed
    15)     Create HTML templates for the screen in SE80 under the internet service ZNESTO
    16)     Publish the IAC templates for the screens in SE80 under the internet service ZNESTO
    Regards
    Muneer V.K

  • BAPI to delete physical inventory

    Hi all,
    Can i know the bapi to delete the physical inventory before doing the count for it.
    At present  iam using 'BAPI_MATPHYSINV_CREATE_MULT' to create Physical inventory.
    Is there any BAPI to change physical inventory.
    Please send your suggestions,
    Thanks,
    Rajesh.

    Hi Rajesh,
       This link might be of some use.
    http://help.sap.com/saphelp_45b/helpdata/en/35/b0e8a587a62488e10000009b38f9b7/frameset.htm
    Regards,
    kinshuk

  • Create Physical Inv document

    Hi, I have tried creating a phy. inv doc using both  -
    BAPI_MATPHYSINV_CREATE_MULT
    and using -
    BAPI_MATPHYSINV_CREATE
    Both the times I got a success message with the document number. I did a commit.
    When I go to mi03/ or ikpf, I dont find the document with the number from the message.
    Am I missing something

    Dear,
         Please refer this link,
          [Material inventory function module;
    Regards,
    Sandip

  • BAPI_MATPHYSINV_COUNT

    With BAPI BAPI_MATPHYSINV_CREATE_MULT and after COMMIT, I created the inventory document 100000090 on fiscal year 2006.
    In transaction MI02 I can see it.
    Now I try to use BAPI_MATPHYSINV_COUNT, with parameters
    physinventory = '100000090'
    fiscalyear = '2006'
    it return me this error E and show the msg
    the 'plant' and 'storage location' for invetory document 100000090 are not maintained.
    but as i seen in mi02 plant n storage location r maintained n beside it i also can enter the quantity transaction through transaction MI04.
    pls guide me wht can i do.
    Thanx

    thanx

  • ALL   BAPIs  used in  MM  Module

    Hi  Gurus,
    could Anyone  tel  me  what are the  BAPIs used  in MM  Module
    Thanks in Advance.

    Hi,
    BAPI_SERVICE_GET_LIST     List display for service master records
    BAPI_SERVICE_GET_DETAIL     Read detailed data for a service master record
    BAPI_ENTRYSHEET_RESET_RELEASE     Cancel release of entry sheets
    BAPI_ENTRYSHEET_RELEASE     Release entry sheet
    BAPI_ENTRYSHEET_GETRELINFO     Release information relating to entry sheet
    BAPI_ENTRYSHEET_GETLIST     List of entry sheets
    BAPI_ENTRYSHEET_GETDETAIL     Entry sheet: detailed display
    BAPI_ENTRYSHEET_DELETE     Delete entry sheet
    BAPI_ENTRYSHEET_CREATE     Create entry sheet
    BAPI_SOURCEDETERMIN_GETSOS     Determine sources for material/material group
    BAPI_PROCOPERATION_GETINFO     Analysis of objects to be generated in Purchasing
    BAPI_PROCOPERATION_GETCATALOGS     Determine valid catalogs as F4 help
    BAPI_REQUISITION_RESET_RELEASE     Cancel release of purchase requisitions
    BAPI_REQUISITION_RESET_REL_GEN     Cancel release of purchase requisitions
    BAPI_REQUISITION_RELEASE_GEN     Release purchase requisition
    BAPI_REQUISITION_RELEASE     Release purchase requisition
    BAPI_REQUISITION_RELEASE     Release purchase requisition
    BAPI_REQUISITION_GETRELINFO     Detailed release information on purchase requisition
    BAPI_REQUISITION_GETITEMSREL     List purchase requisitions awaiting release
    BAPI_REQUISITION_GETITEMS     Read purchase requisition item
    BAPI_REQUISITION_GETDETAIL     Display purchase requisition details
    BAPI_REQUISITION_DELETE     Delete/close purchase requisition
    BAPI_REQUISITION_CREATE     Create purchase requisition
    BAPI_REQUISITION_CHANGE     Change purchase requisition
    BAPI_REQUIREMENT_GET_LIST     Read requirement coverage request
    BAPI_REQUIREMENT_CREATE     Create requirement coverage request
    BAPI_PO_UPDATE_HISTORY     Update PO History from Delivery
    BAPI_PO_RESET_RELEASE     Cancel Release of Purchase Orders
    BAPI_PO_RELEASE     Release Purchase Orders
    BAPI_PO_GETRELINFO     Detailed Release Information on Purchase Order
    BAPI_PO_GETITEMSREL     List Purchase Orders for Release
    BAPI_PO_GETITEMS     List Purchase Order Items
    BAPI_PO_GETDETAIL     Display Purchase Order Details
    BAPI_PO_GET_LIST     List Purchase Orders - Only up to 4.0A
    BAPI_PO_DELETE_HISTORY     Delete PO History from Delivery
    BAPI_PO_CREATE1     Create Enjoy Purchase Orders
    BAPI_PO_CREATE     Create Purchase Order
    BAPI_PO_CHANGE     Change Enjoy Purchase Orders
    BAPI_INFORECORD_GETLIST     Display purchasing info records
    BAPI_INCOMINGINVOICE_SAVE     Invoice Verification: Flag Invoice for Background Processing
    BAPI_INCOMINGINVOICE_RELEASE     Invoice Verification: Release Invoice
    BAPI_INCOMINGINVOICE_PARK     Invoice Verification: Park Invoice
    BAPI_INCOMINGINVOICE_GETLIST     Invoice Verification: List Invoices
    BAPI_INCOMINGINVOICE_GETDETAIL     Invoice Verification: Display Invoice
    BAPI_INCOMINGINVOICE_CREATE     Invoice Verification: Post Invoice
    BAPI_INCOMINGINVOICE_CANCEL     Invoice Verification: Reverse Invoice
    BAPI_SVCHANGE_GET_ITEMS     "Read retail revaluation document for store, key date, item status"
    BAPI_SVCHANGE_CHANGE_STATUS     Enter count quantity and change item status from A to B or C
    BAPI_RESERVATION_GETITEMS     List reservations
    BAPI_RESERVATION_GETDETAIL     Display reservation
    BAPI_RESERVATION_DELETE     BAPI to delete individual reservations
    BAPI_RESERVATION_CREATE1     BAPI to create individual reservations
    BAPI_RESERVATION_CREATE     Create reservation
    BAPI_MATPHYSINV_POSTDIFF     Post differences
    BAPI_MATPHYSINV_GETLIST     List of phys. inv. doc. header records
    BAPI_MATPHYSINV_GETITEMS     List of phys. inv. docs with headers and items
    BAPI_MATPHYSINV_GETDETAIL     Read header and items of a phys. inv. doc.
    BAPI_MATPHYSINV_CREATE_MULT     Create phys.inv.docmt(s)
    BAPI_MATPHYSINV_CREATE     Create physical inventory document
    BAPI_MATPHYSINV_COUNT     Enter count for particular items of a phys. inv. doc.
    BAPI_MATPHYSINV_CHANGECOUNT     Change count for particular items of a phys. inv. doc.
    BAPI_GOODSMVT_SAPCREATE     SAP Internal Cross-System Flow of Goods
    BAPI_GOODSMVT_GETITEMS     Display detailed list of material documents
    BAPI_GOODSMVT_GETDETAIL     Display details of goods movement
    BAPI_GOODSMVT_CREATE     Post goods movement
    BAPI_GOODSMVT_CANCEL     Reverse goods movement
    BAPI_PRICECATALOGUE_SAVREPLICA     Store instance of price catalog
    BAPI_PRICECATALOGUE_GETDETAIL     Detailed information for a price catalog
    BAPI_PRICECATALOGUE_EXISTCHECK     Check existance of a price catalog
    BBP_INVOICE_CREATE     EBP Create Invoice
    Regards,
    Chandra

  • Movement type 701 and BAPI_GOODSMVT_CREATE

    Hi all,
    I am workling on a interface with IDOC MBGMCR02 that uses BAPI_GOODSMVT_CREATE. The problem I have is that I can't find the right GM_CODE for movement types 701 and 702. I have tried all of them but I get an error "Goods movement not possible with mvmt type 701". I know it is possible to use this BAPI for this movement type, but I don't know how to do it, is there any special treatment? any ideas?
    Thanks for your help.

    These are physical inventory movement types. Are you sure you were able to use this BAPI directly? The following BAPIs work with physical inventory movements
    BAPI_MATPHYSINV_CHANGECOUNT
    BAPI_MATPHYSINV_COUNT
    BAPI_MATPHYSINV_CREATE
    BAPI_MATPHYSINV_CREATE_MULT
    BAPI_MATPHYSINV_GETDETAIL
    BAPI_MATPHYSINV_GETITEMS
    BAPI_MATPHYSINV_GETLIST
    BAPI_MATPHYSINV_POSTDIFF
    The following IDoc types are for the same.
    MATERIALPHYSINV_COUNT01     Enter Inventory Count (MaterialPhysInv)
    MATERIALPHYSINV_CREATEMULTIP01     Create physical inventory document
    MATERIALPHYSINV_POSTDIFFEREN01     Post Differences (MaterialPhysInv)
    And the message types are
    MATERIALPHYSINV_COUNT     Enter Inventory Count (MaterialPhysInv)
    MATERIALPHYSINV_CREATEMULTIPLE     Create Physical Inventory Document
    MATERIALPHYSINV_POSTDIFFERENCE     Post Differences (MaterialPhysInv)

  • BAPI for transaction MI10

    Hi Gurus,
    Can you please tell me if there is any BAPI for transaction MI10(post document,count and difference: initial screen).
    Is there any standard IDOC type for inventory management or any message type associated with inventory management IDoc.
    Thanks

    Hi,
       check with below BAPIs
    BAPI_MATPHYSINV_CHANGECOUNT Change count for particular items of a phys. inv. doc.
    BAPI_MATPHYSINV_COUNT Enter count for particular items of a phys. inv. doc.
    BAPI_MATPHYSINV_CREATE Create physical inventory document
    BAPI_MATPHYSINV_CREATE_MULT Create physical inventory document
    BAPI_MATPHYSINV_GETDETAIL Read items for a physical inventory document
    BAPI_MATPHYSINV_GETITEMS Read list of physical inventory documents with items
    BAPI_MATPHYSINV_GETLIST Read list of phys. inv. documents
    BAPI_MATPHYSINV_POSTDIFF Post differences for certain items in a phys. inv. document
    Thanks,
    Asit Purbey.

Maybe you are looking for

  • How can I fix this issue with Video iChat?

    These are the details to the issues. Please Help: Date/Time: 2009-11-25 23:30:45.484 -0500 OS Version: 10.5.8 (Build 9L31a) Report Version: 4 iChat Connection Log: 2009-11-25 23:30:14 -0500: AVChat started with ID 2476254623. 2009-11-25 23:30:14 -050

  • Buffering table not up to date error message when creating a Cart

    Hi Folks, We are getting a 'Buffering table not up to date' error message when attempting to create a Cart. The error message only happens to the one end user ID only with the others not getting this error, therefore suggesting that my SRM org plan s

  • IMac horizontal lines through screen?

    My Late 2009 21.5" iMac seems to be having some sort of graphics problem... when using iMovie/ iDVD for long periods of time, the whole system will freeze and have multi-colored horizontal and diagonal lines through the screen... any one else having

  • CS6 Dreamweaver "Not Supported on this type of mac"

    Hello All, I have a new Macbook Pro w/ retina display. I recently bought Dreamweaver CS6 to complement Photoshop and Illustrator CS6 versions. I am running OS X 10.8.1 and Dreamweaver seems to run fine as does Photoshop and Illustrator. After install

  • Bug when adding a af:image into a ADS enabled table

    This looks like a bug, but wanted to check with others to see if they had seen it. Enable MDS with a column in a table For example: <af:table value="#{ContactCollectionBean}" var="row" id="t2" horizontalGridVisible="false" verticalGridVisible="false"