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

Similar Messages

  • BI objects for Physicial Inventory

    Hi Bi Experts
    Any idea if Sap standard data sources exist for Physcial Inventory aplication. I need create queries with information about Physcial Inventory Documents in Inventory Mangement and in Warehouse Management.
    Those are ISEG and LINV tables in R3.
    Or do I need to create custom ones?
    Thanks for answers.
    Mariusz Gach

    Hi,
    I worked on Physical Inventory stock and values, I just enhanced the 2LIS_03_BF DataSource and then added Z-Keyfigures in 0IC_C03 and written transformations based on Movement topys and I'm getting exact data and it is matching with ECC table ISEG.
    Note: I don't think you need DS enhancement in your case, you direct write Transformation routines in BI.
    See the Logic.
    Physical Inventory GR Quantity
    IF     ( SOURCE_FIELDS-movetype EQ '701'  OR
             SOURCE_FIELDS-movetype EQ '703'  OR
             SOURCE_FIELDS-movetype EQ '707)
          AND
             SOURCE_FIELDS-bwapplnm EQ 'MM'.
    RESULT =  SOURCE_FIELDS-cpquabu .
    Physical Inventory GR Value
    IF     ( SOURCE_FIELDS-movetype EQ '701'  OR
             SOURCE_FIELDS-movetype EQ '703'  OR
             SOURCE_FIELDS-movetype EQ '707)
          AND
             SOURCE_FIELDS-bwapplnm EQ 'MM'.
    RESULT =  SOURCE_FIELDS-cppvlc .
    Physical Inventory GI Quantity
    IF     ( SOURCE_FIELDS-movetype EQ '702  OR
             SOURCE_FIELDS-movetype EQ '704  OR
             SOURCE_FIELDS-movetype EQ '708
          AND
             SOURCE_FIELDS-bwapplnm EQ 'MM'.
    RESULT =  SOURCE_FIELDS-cpquabu .
    Physical Inventory GI Value
    IF     ( SOURCE_FIELDS-movetype EQ '702  OR
             SOURCE_FIELDS-movetype EQ '704  OR
             SOURCE_FIELDS-movetype EQ '708
          AND
             SOURCE_FIELDS-bwapplnm EQ 'MM'.
    RESULT =  SOURCE_FIELDS-cppvlc .
    Thanks
    Reddy

  • Physcial inventory and varience report.

    DEAR Sir,
    Please advise me abt physcial inventory and varience report.

    Hi,
    Comparing the company's book keeping quntity of material with sap material quantity and if any differencesbetween book keeping  quantity and sap quantity used to post them in sap.
    Steps in Physical inventory;
    Create the Physical inventory document(MI01)
    Enter the count (MI04)
    Post the difference(MI07)
    The inventory procedures are...
    ANNUAL INVENTORY, CYCLE COUNTING, CONTINUOUS INVENTORY, ZERO STOCK CHECK, SAMPLE BASED PHYSICAL INVENTORE.
    THEVariance report:
    The variance needs to be analyzed for the difference in the qty at book and physical level. Once it is analyzed the changes can be done in the count sheet for Qty and UoM.
    The Finance department to check and reconcile the difference between the physical and book count runs this report.
    If required based on the variance, recount is initiated and the physical count checked before investigating and clearing the difference.
    To run the variance report in WM level : Logistics-Logistics execution-Information system--warehousePhysical InventoryWith Bin Inventory Management-Different list of open Inventory Documents
    Transaction Code LX17
    The Finance department to check and reconcile the difference between the physical and book count runs this report.
    If required based on the variance, recount is initiated and the physical count checked before investigating and clearing the difference.
    To execute LX17, Enter
    Warehouse number and Inventory record.
    I hope this will give more clarity to you. Thanking you.

  • 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

  • GR/IR Clearing for Non-Inventory Items in PO

    Hi all,
    Can anybody explain if GR/IR reconciliation can be done for non-inventory items in PO. For example, I've raised a PO for a service and received invoice before the service is delivered (little hypothetical, of course, but incase).
    If so, will it show in the same MR11?
    Thanks
    durga.

    Hi,
    First of all , in case of Service ,Only SR/IR reconcilation can be done.....second ,if your service is not delivered then you can give advance against service PO.
    Regards

  • Need BAPI Name for updation of Subcontracting scheduling line agreement

    Hi All,
            Can anybody please tell me BAPI Name for updation of Subcontracting scheduling line agreement from EKET table?
    Note: BAPI_PO_CHANGE is not useful for me.
    Thanks and Regards,
    Atul.

    Hi Muralidhara,
    Can you please give some more details for this BAPI..
    I tried using it , but getting an error "No instance of object type PurchSchedAgreement has been created. External reference:"
    and "Enter G/L Account" (Infact I did specify G/L account in account assignment table)
    with regards,
    Kirti

  • Credit memo for non inventory item

    Hi MM consulatnats,
    My client need to know the best practices to handle teh credit memo for non inventory item ??
    We have two options like FB65 in FI part where it wont update in PO history.
    In MIRO also we can make credit memo w.r.to PO.
    What they  want to know is if FB65  is the correct way to do this to fully reverse the effect that the receipt and invoicing of the item had on the financial accounts.
    What is the best pracise to adopt ??
    Need your views
    Thanks
    A.Gururajan

    Hi,
    You can use MIRO for credit Memo with ref to PO.
    This will update both PO history as well as your FI accounts/Vendor Balance.
    Thanks & Regards,

  • BAPI BAPI_ACC_GL_POSTING_POST for G/L posting through (for T-Code F-02)

    Hi,
    I want to use BAPI 'BAPI_ACC_GL_POSTING_POST' for G/L account posting (F-02). I need to populate the below fields at item level but i am not sure how to populate these fields at item level because not able to find last two fields in any structure of the BAPI.
    Posting Key:
    Account
    Amount
    Tax Code
    Determine tax base (Checkbox in F-02)
    Please let me know how to populate them and if i am using the wrong BAPI then please provide me the correct one.
    Thanks a lot in adv.
    Regards,
    Sheelesh

    Hi
    You can add fields that you don't have in the interface with EXTENSION. Please, see SAP Note 487722 - Using EXTENSION1 for accounting BAPIs.
    I hope this helps you
    Regards
    Eduardo
    Edited by: E_Hinojosa on Dec 15, 2011 6:21 PM

  • Error in BAPI RETURN for Service Contract

    Hi,
      I get an error in the BAPI Return for the Uploading the Service Contracts by LSMW. The Error Message is E BS No status object is available for &.Also want to know can we upload multiple line of header text for a Contract by this BAPI. If so then how would I do this , as the BAPI structure BAPISDTEXT has textline upto 132 characters. And I am take only one file in LSMW where the header & details come alongwith text. Or could also tell me the file structure of for the data upload. The legacy system sends multiple text in the header for a Contract.For Eg.
    Header1 Detail1 Text1
    HEader1 Detail2 Text2
    Header1 Detail3 Text3
    So I would need this text1TEXT2text3 in the Header Text of the Contracts. Or do I need the change the file structure. Many thanks for your time and help.

    Thanks Nablan, I could do that for multiple header coming in file. But I have a question for you on BAdI ALM_ME_006_GOODSMVT. I have implemented this BAdI , and this BAdI is called by a function Module ALM_MEREP_006_CREATE. When I test this FM giving the Material , Orderid and Movement type entries, this BAdI is triggered when giving a breakpoint. I've given this code for changing the movement type to 961. Cause the stanadrd scenario does not maintain Movement type 961 in Mobile Asset Management. The Movement type 961 for unplanned Materials comes to SAP and changes to 261 as maiantained by TCOKO table. To bypass this & retain the movement type 961 in SAP I'm using this BAdI. Currently this is what I'm doing and am stuck in the method interface how do I call the method.
    method IF_EX_ALM_ME_006_GOODSMVT~CREATE .
    break-point.
    *DATA : i_ce_goodsmovement TYPE REFERENCE
              ALM_ME_CUSTOMER_ENHANCEMENT.
    DATA : lr_badi_goods_movement TYPE REF TO if_ex_alm_me_006_goodsmvt.
    DATA : ls_user_data TYPE ALM_ME_USER_DATA-USERID.
    *DATA : goods_movement TYPE ALM_ME_MATERIAL_MOVEMENT.
    CALL METHOD lr_badi_goods_movement->create
      EXPORTING
           ce_goodsmovement = ce_goodsmovement
      IMPORTING
           user_data        = ls_user_data
           custom_user_data = ls_ce_user_data
           goods_movement   = goods_movement
      changing
           return           = return[].
    CALL FUNCTION 'ALM_ME_COMMIT_OR_ROLLBACK'
           TABLES
                return = return.
    endmethod.
    Please help me to get the data in this method. How do I call this.

  • BAPI error for mvmt types 201 and 202

    Hi all,
      I'm using a bapi BAPI_GOODSMVT_CREATE for the movement type 201 and 202 with the gm_code = '03' for the transaction mb11- Goods movement. But it returns an error u201D Account 400000 requires an assignment to a CO object u201D...I'm unable to resolve this one....I have attached the code below. Please help me in fixing this issue...
    if sy-subrc = 0.
      loop at it_mchb into wa_mchb.
        if wa_mchb-clabs gt 0.
          clear wa_header.
          wa_header-pstng_date = sy-datum.          " fill header data
          wa_header-doc_date   = sy-datum.
          wa_code-gm_code      = '03'.              "fill code data
          clear wa_item.
          wa_item-material     = wa_mchb-matnr.     " fillitem data
          wa_item-plant        = wa_mchb-werks.
          wa_item-stge_loc     = wa_mchb-lgort.
          wa_item-batch        = wa_mchb-charg.
          wa_item-entry_qnt    = wa_mchb-clabs.
          wa_item-move_type    = '201'.
                       wa_item-entry_uom    = wa_mchb-meins.
          append wa_item to it_item.
        elseif wa_mchb-clabs lt 0.
          clear wa_header.
          wa_header-pstng_date = sy-datum.          " fill header data
          wa_header-doc_date   = sy-datum.
          wa_code-gm_code      = '03'.              "fill code data
          clear wa_item.
          wa_item-material     = wa_mchb-matnr.     " fillitem data
          wa_item-plant        = wa_mchb-werks.
          wa_item-stge_loc     = wa_mchb-lgort.
          wa_item-batch        = wa_mchb-charg.
          wa_item-entry_qnt    = wa_mchb-clabs.
          wa_item-move_type    = '202'.
                       wa_item-entry_uom    = wa_mchb-meins.
          append wa_item to it_item.
        endif.
      endloop.
      clear lv_lin.
      describe table it_item lines lv_lin.
      if lv_lin = 0.
        write : / 'No records found'.
      endif.
      call function 'BAPI_GOODSMVT_CREATE'
        exporting
          goodsmvt_header  = wa_header
          goodsmvt_code    = wa_code
        importing
          materialdocument = lv_matdoc
        tables
          goodsmvt_item    = it_item
          return           = it_return.
      if it_return is initial.        " if record created successfully
        call function 'BAPI_TRANSACTION_COMMIT'. " commit work
        write : / lv_matdoc, 'IS CREATED SUCCESSFULLY' color 5.
        loop at it_item into wa_item.
          write : / 'Mat :', wa_item-material,'bat :', wa_item-batch.
        endloop.
      else.                           " if record is not created successfylly
        loop at it_return into wa_return.
          write : / wa_return-message color 6.
        endloop.
        uline.
      endif.
    else.
      write : / 'No Records found' color 7.
    endif. " gt_s035 is not initial
    Edited by: Arunmozhi_06 on May 30, 2011 12:48 PM

    Hi,
       Did you passing the leading 0's in the cost center field?
    and check the below coding..
    * Structures for BAPI
      data: gm_header  type bapi2017_gm_head_01.
      data: gm_code    type bapi2017_gm_code.
      data: gm_headret type bapi2017_gm_head_ret.
      data: gm_item    type table of
                       bapi2017_gm_item_create with header line.
      data: gm_return  type bapiret2 occurs 0.
      data: gm_retmtd  type bapi2017_gm_head_ret-mat_doc.
      clear: gm_return, gm_retmtd. refresh gm_return.
      perform show_status using 'Scrapping(551) Material'.
    * Setup BAPI header data.
      gm_header-pstng_date = sy-datum.
      gm_header-doc_date   = sy-datum.
      gm_code-gm_code      = '06'.                              " MB11
    * Write 551 movement to table
      clear gm_item.
      move '551'        to gm_item-move_type     .
      move xresb-matnr  to gm_item-material.
      move p_bdmng      to gm_item-entry_qnt.
      move xresb-meins  to gm_item-entry_uom.
      move xresb-werks  to gm_item-plant.
      move xresb-lgort  to gm_item-stge_loc.
      move p_grund      to gm_item-move_reas.
    * Determine cost center per plant
      case xresb-werks.
        when '0004'.
          move '0000041430' to gm_item-costcenter."pass leading zero's in the cost center field
        when '0006'.
          move '0000041630' to gm_item-costcenter.
        when '0007'.
          move '0000041731' to gm_item-costcenter.
        when '0008'.
          move '0000041830' to gm_item-costcenter.
      endcase.
      append gm_item.
    * Call goods movement BAPI
      call function 'BAPI_GOODSMVT_CREATE'
           EXPORTING
                goodsmvt_header  = gm_header
                goodsmvt_code    = gm_code
           IMPORTING
                goodsmvt_headret = gm_headret
                materialdocument = gm_retmtd
           TABLES
                goodsmvt_item    = gm_item
                return           = gm_return.
    Maybe there is some config missing for your cost center, or maybe something missing in your code. check above.
    Regards,
    Dhina,..
    Edited by: Dhina DMD on May 31, 2011 8:02 AM

  • BAPI/RFC for Service Complaints Creation in CRM 5.0

    Hi,
    We are working on the Complaints and Returns module in CRM 5.0. We have found the Transaction Code for the same. (CRMD_BUS2000120).
    Not able to find the BAPI/RFC for the same.Let us know if any. Appreciate your comments on the same.
    Thanks,
    Moorthy

    Hi,
    Thanks for the response
    I am not talking about Service Order. I have requirement to create a Service Complaint. For that the transaction is CRMD_BUS2000120. Now I need to find the function modules/RFC available for this requirement.
    Hope it clarifies .
    Even I have found function module called -CRM_COMPLAINT_API_CREATE but not sure right one
    Thanks,
    Moorthy

  • API for Physical Inventory Tag Count

    Hi , Please let me know if any Public API available for updating the physical Inventory tag count ? We have requirement like update of physical counts of Inventory tags, the idea is the counts  are stored  in flat file is in same column format of Physical Inventory Tag count form in Inventory , here just we need to update the counts. let me know any public API avaialble

    According to the oracle knowledgebase, there is no Public API.  But there is an enhancement request that you might want to add your company to.
    Bug 3611131 : INTERFACE/API FOR PHYSICAL INVENTORY ADJUSTMENTS / TAGS

  • Duplicate check for non inventory vendor invoices in Finance

    Hi,
    SAP provides duplicate check for non inventory vendor invoices posted through transactions F-43 and FB01 etc. The field values checked for duplicate invoice include Document date and Reference field.
    I want to know, is there any flexibility of removing Document date from checking criteria?
    This is to facilitate picking more invoices in duplicate check net.
    Regards,
    Vijay

    Dear Vijay
    Yes, you can control this via business transaction events. Please review the below explanation.
    In Rel 4.6, duplicate invoices are checked using function module
    FI_DUPLICATE_INVOICE_CHECK which is called when invoices are posted via trans FB60.  Duplicate invoice checking criteria can be customized using the open FI interface SAMPLE_PROCESS_00001110 (custom function module) starting from Rel 4.6.  Please verify if the open FI interface 00001110 is being used in your system and review duplicate invoice selection criteria via trans BERP. You may wish to omit the document date (BLDAT field from the duplicate invoice check criteria to trigger error msg F5117.  In addition, table BSIP (vendor duplicate documents) may need to be updated.  (see note 114563 for further info).
    Please also check note 537213, and note 31771 for your information.
    If this helps please reward with points.
    Best Regards
    Kesav

  • Bapi's for creating Maintenance order in IW31 with notification

    Hi All,
       Is there any bapi's for creating Maintenance order with Notification number in the transaction iw31.
      Also is there any bapi's for creating measurement document.
    Points will be awarded.
    Regards,
    vinoth

    RFC MeasDocument: Individual Processing, Create
    MEASUREM_DOCUM_RFC_SINGLE_001
    RFC MeasDocument: Individual Processing, Change/Display or Read
    MEASUREM_DOCUM_RFC_SINGLE_002

  • How to add new line item using BAPI BAPI_CONTRACT_CHANGE for contract-ME32K

    HI Experts,
    how to add new line item using BAPI: BAPI_CONTRACT_CHANGE for existing contract.
    Requirement:
    Already the contract having two line items using ME31K.
    Custom program has to add new line items in existing contract.
    Thanks,
    Sendil

    I got the solution:
    We can do like this:
    1. Get all details using details, BAPI_CONTRACT_GETDETAIL.
    2. After getting results, append new line item. Then use your BAPI.
    Check this posting program.. where this bapi is used, use the same coding technique.
    IDOC_INPUT_PURCONTRACT_CHANGE

Maybe you are looking for