BAPI_GOODSMVT_CREATE, will do the goods receipt ( MB01 )for the subcontracting PO with batch management.

Dear Professionals ,
I Just want to confirm that whether BAPI "BAPI_GOODSMVT_CREATE " will do the goods receipt ( MB01 ) for the subcontracting PO with batch management.
Since I will be passing only 101 mvy type in BAPi, will the system automatically call 543 mvt type with batch management and post the consumption.
can I change the batch of the component items ?

Hi ,
        Delivery note is like a ref document number
so you can use the
In the BAPI_GOODSMVT_CREATE There is header structure BAPI2017_GM_HEAD_01 which has a field REF_DOC_NO
you can pass the delivery note value to that field .
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Jul 10, 2008 3:41 PM

Similar Messages

  • No goods receipt possible for the PO - Interesting issue

    HI all,
    I need to do the GR for an open inbound delivery. At the item level of precessing document i.e PO 'No goods receipt' check is marked. Same thing is copied to my inbound delivery 'No goods Movement' is marked in Adminstrative tab of my inbound delivery item.
    When I use the BAPI BAPI_GOODSMVT_CREATE to do GR for this Inbound delivery, it throws an error saying that 'No goods receipt possible for the PO item'.
    But when I do the same thing manually it happened successfully by creating a "service confirmation document" and changed the goods movement status as C (fully completed) without creating an material document as these items are no relevant items for goods movement.
    As we are moving goods directly from Vendor to customer, just we want to do service confirmation to vendor without any goods movement. It happening manually but not through BAPI. Please suggest.
    Helpful anwers are certainly rewared
    Thanks,
    Raggs.

    Hi AP,
    I didn't find any relevant FM to do the same.
    Thanks.

  • What is the  FM/BAPI  to get the Goods Receipt  Based on the Purchase Order

    Hi ,
    I want FM/BPI  to get the Goods Receipt  Based on the Purchase Order in MM.
    Thnx in advance

    Hi
    BAPI_GOODSMVT_CREATE
    Thanks & Regards
    Kishore

  • How to stop the goods receipt before issueing the goods for production orde

    Frndz,
    I have created a production order, now before even making the issue of rawmaterials from the inventory the system is allowing the goods receipt for that production order , kindly tell me the step by step procedure to check it.
    Regards,
    Srini

    Hi Srini,
    there are couple of ways to handle this situation..
    1. If you set all the components as Backflush relevant in Material Master or setting all Compoents tick in OPK4 will ensure that at the time of confirmation you will have all the components will be done auto GI.
    Now in your control key or Prod. scheduling profile specify that Auto GR.
    Now your GR & GI are linked.
    In OPK4, in the 2nd Tab page, termination of Goods Movements and Goods movements Ticked, so that when ever there is a problem with the components system will terminate the Confirmation.
    So there will not be any GR without GI.
    But, one can make GR with MB31 or MIGO
    (So this is an option but no fool proof method).
    2. Activating the User Satus (Status Profile) so that once the GI is done only you allow the Confirmation.
    (The settings we can discuss if required).
    3. Having the Use Exit..
    Enhancement - MBCF0002
    Functional Module - EXIT_SAPMM07M_001
    Include - ZXMBCU02
    Refer below links for further details..
    do not confirm without goods issue
    default quantity of confirmation(co11) should allowed in goods movements mb
    Revert for further discussion..
    Regards,
    Siva

  • Wanted to block the Goods Receipt but not the Invoice Receipt

    Hi
    After the partial delivery of the Goods Receipt, i am manually setting the "Delivery completed" indicator in the PO. I dont want any future delivery against this PO. But it is allowing me to do a GR even though the Delivery Completed Indicator is set.
    How can i stop all the future deliveries agains the PO. But at the same time, is should not block the IR. I tried this by locking the PO item. It is not allowing me to do any GR after locking the same. But at the same it is not allowing me to do the IR also.
    Is there any way i can stop the GR, but do the IR for the purchase order ? Please clarify. Points assured.
    Thanks
    Venkat.

    Hello,
    If u maintain the latest GR date as a current date in the PO item level - delivery tab, then system will not allow to do further GR in future.
    Latest Possible Goods Receipt
    This is the latest acceptable date for goods receipt (GR).
    If goods are received after this date, you will receive either a warning message or an error message, depending on the system setting.
    If you receive an error message, you will not be able to post the GR.

  • Splitting the goods receipt qty at the time of COR6N

    Hello Friends,
    Actually we want to do auto goods receipt at  the time of confirmation (cor6n).I have given the PI03 control key to the operation and phase.So system shows the goods receipt item in goods  movement screen in COR6N.
    We manage all the materials in batches.So i want to split the goods receipt qty into no. of batches.
    In cor6n,in goods movement there is option for splitting, but at a time it allows me to split the qty once only.If i have to split the qty again than again i have to select the splitting option .
    i want to split at a time.How to do it/

    Hi Jitendra,
    It can be doing Batch Determination.I don't want to tell you to perform Batch Determination if you don't want.Just press icon for Batch Determination and no strategy found then do it Batch Determination without Class Selection.
    System will propose all available batches.Here split required qty as per your choice. and then press copy button.
    Regards,
    Dhaval

  • Is it possible to post a good issue movement before post the good receipt m

    Is it possible to post a good issue movement before post the good receipt  movement for the same material, into the same period?
    We try to explain better, today we've done a test:
    Step 1 :   We have created a material, wich material type is HAWA, with price control V, and 1 euro for 1 ST.
    Step 2 :   We have post a good receipt movement, 561 of this material  with 1000 ST of stock, and on posting date: 05.05.2011.
    Step 3 :   Then, we have post a good issue movement, 562 of the same material, with 500 ST of stock,  on posting date: 01.05.2011 ( so that, the posting date of the 562 is before from the posting date of 561).
    And it has worked, so that on trx "mb51" for this material we saw:
    PLANT1-----STO1---- 562-----  Mat. Doc.101.05.2011--
    500-   ST
    PLANT1-----STO1---561Mat. Doc.205.05.2011--
    1000  ST
    And with "fbl3n" for this G/L account , the same situation:
    G/LAccount1--DocumentNo101.05.2011--99--
    500-  EUR
    G/LAccount1--DocumentNo205.05.2011--89--
    1000  EUR
    We don't like this fact, someone knows how is it possible? The negative stocks aren't flagged!!!!
    Edited by: Ariana Serrano Aguila on May 5, 2011 5:50 PM

    Hi,
    Though sap allows like this ,, the document created will be with the date of the actual posting system date. If you look into the MSEG table you will get to know this.
    In theory .. this kind of practice should not be allowed .
    since this is a 562 which is a individual  entry may be system would have allowed.you try a 102 .
    Regards,

  • Is it possible to post a good issue movement before post the good receipt

    Is it possible to post a good issue movement before post the good receipt  movement for the same material, into the same period?
    We try to explain better, today we've done a test:
    Step 1 :   We have created a material, wich material type is HAWA, with price control V, and 1 euro for 1 ST.
    Step 2 :   We have post a good receipt movement, 561 of this material  with 1000 ST of stock, and on posting date: 05.05.2011.
    Step 3 :   Then, we have post a good issue movement, 562 of the same material, with 500 ST of stock,  on posting date: 01.05.2011 ( so that, the posting date of the 562 is before from the posting date of 561).
    And it has worked, so that on trx "mb51" for this material we saw:
    PLANT1           STO1         562           Mat. Doc.1           01.05.2011            500-  ST
    PLANT1           STO1         561           Mat. Doc.2           05.05.2011           1000  ST
    And with "fbl3n" for this G/L account , the same situation:
    G/LAccount1            DocumentNo1            01.05.2011        99            500-  EUR
    G/LAccount1            DocumentNo2            05.05.2011        89            1000  EUR
    We don't like this fact, someone knows how is it possible? The negative stocks aren't flagged!!!!
    Edited by: Ariana Serrano Aguila on May 5, 2011 5:50 PM

    SAP only checks if there is enough quantity in the period (month), it does not check if there is enough stock at date level.
    there is no stock stored in any table for a given date. SAP would need to run the logic of MB5B to calculate the stock at a certain date, this would cause tremendous performance issues.
    you either have to do this calculation yourself in a user exit, or you better train your users.

  • To Set Goods Receipt Indicator For Particular Line Items In SRM

    Hi All,
      i am working on BBP_DOC_CHANGE_BADI in SRM. i am trying to set the goods receipt indicator for particular line items based upon certain conditions. The values are being set in the badi. But when the Purchase Order is created in the backend R/3 i coudn't able to find the goods receipt indiactor being set..
    i used this field to set the GR indicator
      GR_IND = 'X'.  " Goods Receipt Indicator
    Can anyone help me in this?
    helpfull answers will be rewarded....
    Thanks,
    Murali

    To Murali and Christophe,
    I have set the GR and GR non val indicator in CREATE_PO BADI but I face the following situation :
    problem -
    In case of multiple account assignment in the shopping cart, the R/3 transaction ME21N sets these flags. 
    The flag status determined as per EBP conditions is lost.
    I need to retain the flag status as per EBP conditions even in this multiple account assignment scenario.
    proposed solution -
    - CREATE PO badi is already implemented in EBP and customised logic for GR and GR non valflag is in place.
    - I create user exit in R/3 backend system in ME21N transaction 
    - I make RFC call in this user exit to EBP and check the table BBP_PDPSET for the shopping cart.
    This is how I get the flag status as per EBP conditions and copy the same to R/3 thereby overriding the multiple account assignment check of the R/3 system.
    issue - 
    When I tried to verify that I can check the BBP_PDPSET table from R/3, I found that this table is not having entries for all the records in  CRMD_ORDERADM_I table.
    For which shopping carts will the BBP_PDPSET table not  be populated ?
    thank you in advance,
    Bhakti.

  • PO dont close with the GOODS RECEIPT

    hi
    We have this scenario.
    there are some goods receipt PO based in a Purchase order xxx, but  the  Goods receipt  doesnt a base document and the PO xxx  is a open status.  The goods receipt show in the remarks "based on xxx purchase order" and we can send to PO xxx  to a new  goods receipt again and this one closed.  How do I link documents and the documente show close status to no duplicate the goods receipt. We have 2007 sp00  pl 05?
    I´ve run the query in the sap note1152374  but we dont have any result.
    Regards
    NANCY HERNANDEZ

    1.-When this error is generated is lost the link but also the PO document changes its status to open?
    Is it possible? because de PO are open again
    The PO is never closed due to lost link.  It did not open again
    2.-check the logs and there´s no changes more than the creation of document
    When the document creating, no log will create for anything changing from PO.  That is because they are different documents.
    3 .- The scenario is replicable?, I can not generate the error again to explain to my costumer. How do I reply?
    Yes, if you changes anything like warehouse, it will. (Even if you changed back to match the original!)) Let them to check out what are the differences between PO and GRPO.

  • Need RFC which can post the Goods Receipt

    Hi,
    My scenario is to post the Goods receipt, by using file and after posting the Goods Receipt i want the acknowledgement whether it is successful or unsuccessful. There is an idoc MBGMCR02 which can post the Goods Receipt but application acknowledgement is not possible in file to idoc scenario, so now i am searching for a RFC so that i can handle this situation using BPM synchronous process. Kindly suggest any RFC or BAPI which can post the Goods Receipt.
    Thanks & Regards,
    Venkat

    Hi Venkat,
    As per my understanding this is a "File To (Inbound) Proxy" scenario, in which you can use the BAPI "SD_SHIPMENT_POST_GOODS_ISSUE" to do the PGI into R/3 system.
    To perform this, you can go-ahead with the steps as mentioned below:
    Source (XI) System:
    1. Create the source & target data type in XI.
    2. Do required mapping in XI.
    3. In configuration directory, use the adapter type "XI" on the receiver communication channel.
    Target (R/3) System:
    1. Call transaction "SPROXY".
    2. Create the interface class (double click on Inbound message Interface, inside your namespace in R/3).
    3. Inside the class (proxy), create an internal table to keep all the records which will be coming from XI after your mapping.
    4. Pass all the data to above create internal table.
    5. Now, call function module "SD_SHIPMENT_POST_GOODS_ISSUE" and pass all required data from ur internal table to this FM (BAPI).
    Note: Kindly read about this FM (BAPI) first in SE37 under "Function Module Documentation".
    6. Do commit work after calling the FM (BAPI).
    I hope this will help you to resolve all your queries.
    Regards,
    Sarvesh Singh

  • Error when posting the goods receipt

    Hi we have recently successfuly updated 4.6 B to ECC 6.0.But when i am doing captive consumption by 949 Mvt. through process message system gives an error that
    Error when posting the goods receipt
    Message no. CB345
    Diagnosis
    With the selected process message, a goods receipt for the order was reported to the warehouse (destination ZPI1).  However, an error occurred when the goods receipt was posted.
    Please do needful.
    Regards,
    PP

    Hi Daniel,
    This is the first time i am coming across an issue like this.
    neverthless from a logical front,
    1. Remove Cost center as a valid receiver in Settlement Profile.
    2. Your OKB9 setting are pretty much good. No need to worry about it.  Becasue, OKB9 only will work if the system doesn't identify any other cost object. In this case Production Order is an automatic cost object which system should have taken.
    3. Check the Settlement rule when you have created Production Order. It should have been MAT.
    4. I hope you are creating Production Order with Material (using CO01 and not CO07)
    5. Make sure in OPL8, the default rule in controlling tab is PP1.
    Once all these are fine, i do not see any reason why you will get your probelm.
    Please check and revert back to me if the problem still persists.
    Best Regards
    Surya

  • Setting the Goods Receipt indicator in SRM

    Hi,
    I have been assigned to clear the goods receipt indicator for certain vendors during the purchase order creation process. I modified the BADI BBP_B46B_PO_OUTBOUND to clear the gr_indicator and it does that. On R/3 EKPO-WEPOS(gr_indicator)  is clear. The problem is When I display the purchase order in SRM by clicking Header Data\Follow on Documents\ the Confirm Performance of Service Goods Receipt
    checkbox is still populated. I have been told that is because there is a SRM table where that gr_indicator is located but we can not determine which tables. I wanted to trace the transaction bbp_pd but we can not trace in our QA environment.
    Does anyone know the SRM table that contains the Goods Receipts indicator?

    Hi,
    For quicked Replies..........Post to the dedicated SRM Forums
    Forum->SAP Solutions->SRM - General
    Forum->SAP Solutions->SRM - Shopping Cart & Catalog
    Forum->SAP Solutions->SRM - Workflow & User/Vendor/Org. Management

  • How to change goods receipt time for a plant?

    Hi All,
    How do I change the goods receipt time for a plant?
    Thanks for your help!!!
    Rana

    hi,
    GR time is defined for the specific material ..it is defined as GR processing time..in the Material master in the MRP view...
    Pls check ...
    Hope it helps..
    Regards
    Priyanka.P

  • Looking for a good starting point for the HR module

    Hello,
    Can someone please send links to help/blogs which will be a good starting point for the HR module?
    Thanks,
    Roy

    Regarding Payroll configuration
    https://forums.sdn.sap.com/click.jspa?searchID=8283334&messageID=4763364
    follow wht our gurus has said

Maybe you are looking for