BAPI for Goods Receipt

HI All,
          Am new to this MM module. I created purchase order and goods receipt for that purchase order now i want 3 BAPIs.
            1. Get list of Goods Receipt (Am using BAPI_GOODSMVT_GETITEMS is it correct or not)
            2. Confirm Goods Receipt
            3. Maintain Stock at a particular Storage Location
        Anybody can tel me pls Confirm Goods Receipt means what?
Thanks,
Arun

Dear Arun,
Please find detail information from this URL explaining good receipts.
http://help.sap.com/saphelp_47x200/helpdata/en/4d/2ba31643ad11d189410000e829fbbd/frameset.htm
=> Good Receipts
Best Regards,
ian, Wong Loke Foong

Similar Messages

  • BAPI for goods receipt for subcontracting PO

    Dears,
    I Just want to confirm that whether BAPI "BAPI_GOODSMVT_CREATE " will do the goods receipt for the subcontracting PO. SInce  I will be passing only 101 mvy type in BAPi, will the system automatically call 543 mvt type and post the consumption.
    Require suggestions
    Regards
    Kamesh

    Hi,
    Yes, BAPI_GOODSMVT_CREATE will work for subcontracting GR as well.
    It all depends on the parameters you pass to the BAPI.
    Example give below:
    *Item Parameters to be passed:     
    Ordered (Subcontracting) Material:
    Parameter     Field     Description     Value
    GOODSMVT_ITEM     MATERIAL     Material Number     100-200
         PLANT     Plant     1000
         ENTRY_QNT     Quantity in Unit of Entry     0.000
         MOVE_TYPE     Movement Type     121
         PO_NUMBER     Purchase Order Number     4500000007
         PO_ITEM     Item Number of Purchasing Document     00010
         MVT_IND     Movement Indicator     O
         LINE_ID     Unique identification of document line     000001
         PARENT_ID     Identifier of immediately superior line     000000
    Note: Quantity of ordered material must be zero.
    Component Material 1:
    Parameter     Field     Description     Value
    GOODSMVT_ITEM     MATERIAL     Material Number     100-100
         PLANT     Plant     1000
         ENTRY_QNT     Quantity in Unit of Entry     2.000
         LINE_ID     Unique identification of document line     000002
         PARENT_ID     Identifier of immediately superior line     000001
    Note: LINE_ID should be incremented for each component and the PARENT_ID remains same for all the components of an ordered material. Component negative quantity can be given in case of Under Consumption.
    Component Material 2:
    Parameter     Field     Description     Value
    GOODSMVT_ITEM     MATERIAL     Material Number     100-100
         PLANT     Plant     1000
         ENTRY_QNT     Quantity in Unit of Entry     3.000
         LINE_ID     Unique identification of document line     000003
         PARENT_ID     Identifier of immediately superior line     000001

  • BAPI for Goods receipt Movement type 921

    Hi Gurus,
    can you please tell which BAPi will support Goods receipt Movement type 921(MIGO) and Goods Issue movement type 201.
    Thanks
    Rajeev

    Hi,
    This BAPI can be used for both good receipt and good issue purposes.
    Please give it try ...
    Regards,
    Ferry Lianto

  • Bapi for Goods Receipt - Outbound Delivery

    Hello all,
    I am looking for a Bapi for <b>Goods Receipt for Outbound Delivery</b>.
    I have searched the forum but found BAPIs only for GR for Inbound Delivery, GR for purchase order etc. But not for GR for Outbound Delivery.
    Can someone guide?
    Thanks and Regards,
    Reena

    Hi Reena,
    use this code....
    *& Report  ZSAN_BAPI_GOODSMVT_CREATE                                   *
    REPORT  ZSAN_BAPI_GOODSMVT_CREATE .
    DATA: GOODSMVT_HEADER LIKE BAPI2017_GM_HEAD_01,
          " Material Document Header Data
          GOODSMVT_CODE LIKE BAPI2017_GM_CODE,
          " Assign code to transaction for BAPI goods movement
          MATERIALDOCUMENT LIKE BAPI2017_GM_HEAD_RET-MAT_DOC,
          " Number of Material Document
          GOODSMVT_ITEM LIKE BAPI2017_GM_ITEM_CREATE OCCURS 0 WITH HEADER LINE,
          " Create Material Document Item
          RETURN LIKE BAPIRET2 OCCURS 0 WITH HEADER LINE
          " Return table for messages
    *Fill values in header
    GOODSMVT_HEADER-PSTNG_DATE = '20030825'.
    GOODSMVT_HEADER-DOC_DATE = '20030802'.
    *Fill GOODSMVT_CODE
    GOODSMVT_CODE-GM_CODE = '05' .
    *Fill Item Table
    GOODSMVT_ITEM-MATERIAL = '100-100'.
    GOODSMVT_ITEM-PLANT = '1000'.
    GOODSMVT_ITEM-STGE_LOC = '0001'.
    GOODSMVT_ITEM-MOVE_TYPE = '501'.
    GOODSMVT_ITEM-ENTRY_QNT = '50'.
    GOODSMVT_ITEM-ITEM_TEXT = 'Test Sanket'.
    *GOODSMVT_ITEM-COSTCENTER = '1000'.
    APPEND GOODSMVT_ITEM.
    *Create Good's movement
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
      EXPORTING
        GOODSMVT_HEADER  = GOODSMVT_HEADER
        GOODSMVT_CODE    = GOODSMVT_CODE
      IMPORTING
        MATERIALDOCUMENT = MATERIALDOCUMENT
      TABLES
        GOODSMVT_ITEM    = GOODSMVT_ITEM
        RETURN           = RETURN.
    *Commit BAPI
    CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'
      EXPORTING
        WAIT = 'X'.
    *Display Goods movement number
    FORMAT COLOR 6 INVERSE ON.
    READ TABLE RETURN WITH KEY TYPE = 'E'.
    IF SY-SUBRC = 0.
      WRITE: /,'ERROR! Goods movement not created'.
    ELSE.
      WRITE: /,'Goods movent number',MATERIALDOCUMENT COLOR 5,
               'posted for material',GOODSMVT_ITEM-MATERIAL.
    ENDIF.
    FORMAT COLOR OFF INVERSE OFF.
    If useful reward me with points.
    Thanks
    Sanket.

  • Is there any BAPI for Goods receipt that uses LIKP and LIPS tables?

    Hi experts
             I want to pull info for a given delivery note(DN) by joining LIKP and LIPS tables. Is there any existing BAPI that can give my info by using the two tables?
    Please help
    Thanks
    Gopal

    Check the above link and reward points if helpful
    http://help.sap.com/saphelp_nw04/helpdata/en/b0/dad2b40b3611d2a55a0060087832f8/content.htm

  • BAPI needed  for  Goods Receipt Purchase Order(Transaction : MIGO)

    Hi all,
    We have a requirement where in we need to post the documents throuh BAPI for Goods receipt Purchase order(Transaction: MIGO).
    Any inputs on this..is highly appreciable...
    thanks in advance...
    regards..
    prathima.

    Hi,
    use 'BAPI_GOODSMVT_CREATE'
    Check this sample.
    code
    REPORT ZRICH_0001 .
    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 WITH HEADER LINE.
    DATA: GM_RETMTD TYPE BAPI2017_GM_HEAD_RET-MAT_DOC.
    CLEAR: GM_RETURN, GM_RETMTD. REFRESH GM_RETURN.
    Setup BAPI header data.
    GM_HEADER-PSTNG_DATE = SY-DATUM.
    GM_HEADER-DOC_DATE = SY-DATUM.
    GM_CODE-GM_CODE = '04'. " MB1A
    Write 971 movement to table
    CLEAR GM_ITEM.
    MOVE '412' TO GM_ITEM-MOVE_TYPE .
    MOVE 'Q' TO GM_ITEM-SPEC_STOCK.
    MOVE '3800533484' TO GM_ITEM-MATERIAL.
    MOVE '1' TO GM_ITEM-ENTRY_QNT.
    *MOVE 'PC' TO GM_ITEM-ENTRY_UOM.
    MOVE '1060' TO GM_ITEM-PLANT.
    MOVE '0007' TO GM_ITEM-STGE_LOC.
    *MOVE '0901' TO GM_ITEM-MOVE_REAS.
    MOVE 'P203601001' TO GM_ITEM-WBS_ELEM.
    MOVE 'P203601001' TO GM_ITEM-VAL_WBS_ELEM.
    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.
    IF NOT GM_RETMTD IS INITIAL.
    COMMIT WORK AND WAIT.
    CALL FUNCTION 'DEQUEUE_ALL'.
    ELSE.
    COMMIT WORK AND WAIT.
    CALL FUNCTION 'DEQUEUE_ALL'.
    ENDIF.
    WRITE:/ GM_RETMTD.
    LOOP AT GM_RETURN.
    WRITE:/ GM_RETURN.
    ENDLOOP.
    [/code]
    Also check the Bapis
    BAPI_PO_CREATE --> To create Purchase Order
    BAPI_PO_CHANGE --> To change Purchase Order
    BAPI_PO_GETDETAIL --> Todisplay Purchase Order
    Regards,
    Raj.

  • What is the field for good receipts?

    hi friends
    i got the requirement to create the goods receipts
    what is the field for good receipts
    plz tell me how to create it
    thanks in advance
    Edited by: Alvaro Tejada Galindo on Feb 25, 2008 5:33 PM

    adapt this to your own requirements.  
    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.
    Setup BAPI header data.
    gm_header-pstng_date = sy-datum.
    gm_header-doc_date = sy-datum.
    gm_code-gm_code = '01'. " MB01
    Write 551 movement to table
    clear gm_item.
    move '101' to gm_item-move_type .
    move '000000000040001234' to gm_item-material.
    move '1' to gm_item-entry_qnt.
    move 'EA' to gm_item-entry_uom.
    move '0004' to gm_item-plant.
    move '4000' to gm_item-stge_loc.
    move '201' to gm_item-move_reas.
    Determine cost center per plant
    case xresb-werks.
    when '0004'.
    move '0000041430' to gm_item-costcenter.
    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.
    call function 'BAPI_TRANSACTION_COMMIT'
    exporting
    wait = 'X'.

  • Report for vendor no., vendor name for good receipt documents on KSB1

    Hello,
    My client needs vendors on KSB1 report. I told them about offseting  account, but it doesn't show vendor for good receipt documents.
    Is there any place else they can view vendor, vendor name for those good receipt documents .
    Any MM report or AP report .
    Thanks,
    T.G

    Hi,
    Please go to FBL1N, In Dynamic Selection give document as "WE", this will give and enable Purchase Order Number
    This will give you Vendor Name, Purchase Order and  FI Document number or u can try MB51, there you will not get Vendor Name, but you will get Vendor Code, Material Document Number and Purchase Order Number
    Br,Vivek
    Edited by: View_taurian on Oct 22, 2011 12:01 AM

  • Create Automatic Reservation for Goods receipt of FG

    When an order is created, the components from the store are reserved automatically. It implies automatic reservation for good issue.
    What about AUTOMATIC reservation for goods receipt of finished product? Is it possible to make automatic reservation in PP for goods receipt of finished product, when finished product is ready?
    I know that manual reservation for goods receipt of finished product can be done by using MB21 (521).
    Thanks in advance.

    Your requirement is a little bit confusing...
    If you have production order, why do you need GR-reservation for the to-be produced material? The production order itself is a GR-MRP element nad you can post the GR agains it.
    If you don't have production order, I understand you need something to plan the GR.
    But it seems you want to have both the PrdOrd and the GR-reservation --> you will have the same thing twice in your system.

  • Cant able to do UD for Goods Receipt Inspection against Purchase Order

    Hi Experts,
    I am facing problem while doing UD for Goods Receipt Inspection against Purchase Order.
    The Problem is,
    "Selected set code does not exist, or data entered is incomplete
    Message no. QV121
    Diagnosis
    Code  in code group * (selected set 1000 in plant ) does not exist.
    Procedure
    Enter a valid combination or complete combination, or make sure that the combination is available in the selected set."
    And the Result Recording for Inspection lot is completed.
    kindly suggest..
    Thanks in Advance,
    Naveen

    Hi Naveen,
    1.     Go to QCC0 > Quality inspection  >  Inspection lot creation  > Maintain Inspection Types > Select 01 (or the type which you are using) and double click on it.
    2.     Check what code is maintained in UD Selected Set
    3.     Create the same code in QS51 for your plant.
    Regards,
    Anand Rao

  • Menu path - for goods receipt for purchase order (MB01)

    Hi
    What is the menu path for Goods receipt for purchase order (MB01) - ECC6.0

    hi
    the path is too deep
    plz just log in ur system and find MB01
    Materials Management >  Purchasing  >  Master Data   > Subsequent Settlement >  Vendor Rebate Arrangements  >  Environment   > Condition/Arrangement  > Environment   >Pricing  > Environment    Value assignment  >  Inventory management  > Goods receipt  >For purchase order   >  MB01 - PO number known
    regards
    KI

  • Transfer Requirement for Goods Receipt Item

    Hi All,
    We are trying to create Transfer Order for Goods Receipt items using an ITS mobile application.We are using the function module L_TO_CREATE_TR to create Transfer Order by passing the Transfer Requirement from the Goods Receipt as an input to the function module. Our requirement is to create one Transfer Orde per Goods Receipt item. We need to create Transfer Order for the items simulatneously from different terminals.Since we have only one Transfer Requirement for the entire Goods Receipt document, we are not able to create Transfer Orders simultaneously because of the system lock (Transfer Requirement is locked).
    Is it possible to create separate Transfer Rquirement for the individual items in the Goods Receipt via customizing/User exit.
    Your guidance in this regard will be great help for us.
    Regards,
    Shaju

    Hi Dirk,
    Thank you for your reply.
    Our enduser will be using handheld device for Transfer Order creation. The user will pick the GR item material from one storage type (902) and the Transfer Requirement will be locked at this moment.Later while placing the SU in destination bin the user will scan the destination bin and the Transfer Order will be created at the time of scanning. Till the completion of the entire process the Transfer Requirement will be locked and no one else can pick the materials of the same GR from 902 storage type.
    We are trying to create Transfer Requirements for each Goods Receipt Item and we are not able to find any user exit in Goods Receipt Creation or any customizing option.
    Can you please check and help us to resolve the same.
    Regards,
    Shaju
    Edited by: shaju tv on Apr 5, 2010 11:40 AM

  • Define Number Assignment for Goods Receipt/Issue Slips

    Hi Experts,
    please can you help in the creation of manual creation of transport request for the customizing activity "Define Number Assignment for Goods Receipt/Issue Slips": settings for assigning goods receipt/issue slip numbers upon goods movements (MM) or deliveries (LE-SHP)?
    Customizing for this functionality is composed by the following points:
    1. functionality activation at plant level
    2. number range group/interval code assignment
    3. Groups and intervals creation
    4. Plant / Storage Location / Movement type combination assignment to number range group.
    Customizing request is automatically created for points 1, 2, 4, but NOT for point 3 where you have to create Groups, Intervas and assing each others.
    You receive a message from SAP that you have to insert the relevant object manually into transport request.
    Please can you tell me exactly what I have to put into transport request as object:
    - Program ID     (I think R3TR)
    - Object Type
    - Object name
    and any other relevant information with all the details.
    Thank you very much
    Kind Regards
    Andrea.

    Hi
    You need to create the transport request by selecting the required number & clicking on the trnsaport icon, then a prompt for transport request will be displayed, there you can create the request & move it to production.
    Reward points if usefu;
    Thanks & Rgards
    Kishore

  • Print programs for Goods Receipt, GI, ST, Subcont. TP, Consignment TP ...

    Hello Gurus,
    There is a Business requirement to have a separate print forms for every Inventory transactions like Goods Receipt, Goods Issue, Stock Transfer, Sub-Contracting Transfer Posting, Consignment Transfer Posting, etc.
    We need to use the Transaction MB90 to print all the Inventory documents.
    While checking the Output types, we find that basically WE03 is for Goods Receipt (Collective Slips) & WA03 is for Goods Issue / Transfer postings (Collective Slip)
    I would like to know that inorder to assign a different Smart Form & Program (One for each of the transactions listed above) to the output types, is there a way around to work with these 2 Output types & have the 5 different Smart Forms - Programs assigned to these 2 Output types or do I need to create a copy of these output types & use them instead, one output type for each Smart form - Print program combination
    Regards,
    Zafar.

    First, you can maintain <B>PRINT ID</B> in the IMG for each movement type<BR>
    Second, you can create multiple <B>OUTPUT TYPE</B> - one for each.
    Third, in MN21, create ouotput records using a combination of <B>OUTPUT TYPE</B> and <B>PRINT ID</B>
    <br>
    Example:
    GR movement types 101, 105, etc, you can have <B>PRINT ID</B> 1 and <B>OUTPUT TYPE</B> Z001
    GI movmeent types 201,261, etc. you can have <B>PRINT ID</B> 2 and <B>OUTPUT TYPE</B> Z002
    <BR>
    Configure <B>PRINT ID</B>: IMG path: <I>Materials Management > Inventory Management and Physical Inventory > Print Control</I><BR><BR>
    Configure <B>OUTPUT TYPE</B>: IMG path: <I>Materials Management > Inventory Management and Physical Inventory > Output Determination</I>

  • Report for Goods Receipt

    Hi Gurus, I want to hav create report for Goods receipt which has to show mat description, quantity Received, Date of GR, Rate, vendor name etc. Is there any standard report available? If not which tables I hav 2 use to create querry?
    Thanks

    Hi,
    Reports are.
    1. MB59 / MB51- Material Document List.
    2. ME80FN-General Analysis.
    You can try above reports.
    Rgds,
    Rajesh

Maybe you are looking for

  • I would like to create a new iCloud email address.

    I have the one that was default created when I opened original iCloud account. I have never used that 1st addy and would like a different one.

  • Message mapping approach

    Hi Experts,  I need to get your suggestions on mapping approaches in PI. We're doing EDI with PI7.1 with Seeburger Adapter. We are in design phase. We're making design decisions now and the question came up whether we should build one map per IDoc-Pa

  • I can send 1 or 2 messages, then it crashes and I have to close and start again.

    I have had to take Windows 8 and have recently downloaded Thunderbird. When I start, it functions fine. However, after responding to two or more emails the systems crashes and tells me that Mozilla doesn't react. When I then close the application and

  • Airport express and Printer

    During one years I used an epson cx 3650 without problem with my airport express born . I was 2 weeks travelling and when I was back home the airport express was stop with no light . I did a hard reset , and the update firmware (6.3) ; now it's ok fo

  • Implementing simultaneous execution of same activity instances

    We need to run instances of a particular activity/child process, in parallel. The number of instances has to be dynamic (based on a query from database or the like)