Material document posted during PGI for Outbound Delivery

Dear Experts,
We have an Outbound Delivery having multiple line items.
I have a couple of questions.
1). How may material doc numbers will be generated if I do PGI multiple times?
2). Can I have 5 different material docs if I post GI 5 times (Per line). Is this scenario possible?
Your inputs are valuable. Kindly revert
Thanks,
Shetty

Hi Harry
In my scenario, Outbound delivery having 5 lines.
I created TO a and confirmed TO for only 2 lines.
Now when I do PGI for outbound delivery, GI is done for only those 2 lines with confirmed TO
I will do the rest of GI again
In this scenario, what will happen? how many material docs are posted?
Thanks
Shetty

Similar Messages

  • Error while doing PGI for Outbound delivery using BAPI BAPI_GOODSMVT_CREATE

    Hi All,
    I am getting an below error while doing PGI for outbound delivery using the BAPI BAPI BAPI_GOODSMVT_CREATE:
    Goods movement not possible with mvmt type 601
    Can anyone suggest me what will be the solution for it?
    Regards,
    Raghuraman.k

    I tried with the above BAPI but it is not working.
    In my case a delivery has one line item with batch split and other line item without batch split.
    Below is my code :
    DATA : gwa_header_data TYPE bapiobdlvhdrcon,
           gwa_header_ctrl TYPE bapiobdlvhdrctrlcon,
           lv_delivery     TYPE bapiobdlvhdrcon-deliv_numb,
           git_item_data TYPE STANDARD TABLE OF bapiobdlvitemcon,
           gwa_item_data TYPE bapiobdlvitemcon,
           git_item_ctrl TYPE STANDARD TABLE OF bapiobdlvitemctrlcon,
           gwa_item_ctrl TYPE bapiobdlvitemctrlcon,
           git_return    TYPE STANDARD TABLE OF bapiret2,
           gwa_return    TYPE bapiret2.
    *Header data
    gwa_header_data-deliv_numb = '0808000002'.
    *Header Control data
    gwa_header_ctrl-deliv_numb = '0808000002'.
    gwa_header_ctrl-post_gi_flg = 'X'.
    *Delivery Number
    lv_delivery = '0808000002'.
    *Item data and its corresponding control data
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '900002'.
    gwa_item_data-dlv_qty         = 4.
    gwa_item_data-dlv_qty_imunit  = 4.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '900002'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '900003'.
    gwa_item_data-dlv_qty         = 6.
    gwa_item_data-dlv_qty_imunit  = 6.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '900003'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    gwa_item_data-deliv_numb      = '0808000002'.
    gwa_item_data-deliv_item      = '000020'.
    gwa_item_data-dlv_qty         = 10.
    gwa_item_data-dlv_qty_imunit  = 10.
    gwa_item_data-fact_unit_nom   = 1.
    gwa_item_data-fact_unit_denom = 1.
    APPEND gwa_item_data TO git_item_data.
    gwa_item_ctrl-deliv_numb      = '0808000002'.
    gwa_item_ctrl-deliv_item      = '000020'.
    gwa_item_ctrl-chg_delqty      = 'X'.
    APPEND gwa_item_ctrl TO git_item_ctrl.
    BREAK-POINT.
    CALL FUNCTION 'BAPI_OUTB_DELIVERY_CONFIRM_DEC'
      EXPORTING
        header_data    = gwa_header_data
        header_control = gwa_header_ctrl
        delivery       = lv_delivery
      TABLES
        item_data      = git_item_data
        item_control   = git_item_ctrl
        return         = git_return.
    BREAK-POINT.
    IF git_return IS INITIAL.
      CALL FUNCTION 'BAPI_TRANSACTION_COMMIT'.
    ENDIF.

  • During PGI for inbound delivery it is giving an error message in ECC6.0

    I am getting an error message  during processing a serialized production order through one custom transaction. In that program FM BAPI_GOODSMVT_CREATE is used to create inbound delivery . After the inbound delivery is created it is giving  error messages
    'System status ESTO is Active (EQUXXXXXX)'
    'Check the status of the Serial Number XXXXXXX'
    'Serial Number cannot be used here'
    'Termination of goods issue posting of delivery item XXXXX'
    and it does not create the PGI for the delivery.
    I have done the same steps in 4.7 system but did not get any error and posting of goods issue has also done successfully but in ECC6.0 system I am getting this error from BAPI_GOODSMVT_CREATE.
    If anyone have faced this issue in ECC6.0 then please help.....

    ESTO means "in the warehouse".  Looks like you may be trying to receive a serial no. you already have received?

  • Error while doing PGI for outbound delivery in SD

    Dear All
    while posting the PGI for out bound derlivery document in SD we are encountered  the error as follows:
    Fld selection for mvmt type 601/ acct 700000 differs for customer goods movement (015)
    Please give the solution for this, its very very urgent...
    Your quick response in this regards highly appriciated.
    Thanks in advance.

    Hi,
    the field status of movement type and field status group of GL account should be in sink.
    the field that are mandatory for movement type should be also mandatory in field status group of GL account. same rule apllies for optional field.
    in your case, may be GL may have some field like for example text as mandatory but may be set as optional in movement type.
    consult your FI team. otherwise, check what field status group ( say G001) is given to that GL accoount in FS00, double click on that, and check the fields. same compare the fields of movement type.
    easy way is in SE38 give RM07CUFA, execute, give the movement type and GL account, you can see the comparsion.
    your problem will be resolved. bring movement and GL in sink for field selection.
    Regards
    Rajesh

  • Post Goods Issue for Outbound delivery return

    Hi, I'm trying to Post a Goods Issue for a returned outbound delivery but  I cannot find a function module to do this, I tried using SD_DELIVERY_UPDATE_PICKING but its creating the material against the outbound delivery with status archived, which means it wasn't created.
    I also tried using the MB_CREATE_GOODS_MOVEMENT, but this one is creating the material document but not updating the status and the document flow of the delivery.
    Thanks,
    Pablo

    Hi Lopez,
    Post Goods Issue with MB_CREATE_GOODS_MOVEMENT FM in VL02N
    Regards,
    Sravanthi

  • How to find Who did the PGI for Outbound delivery??

    Dear Experts,
    I want to find out who has done the Post Goods Issue for an outbound Delivery
    Please let me know what field and which table?
    Can I get this information from VL06O report?
    Thanks,
    Shetty

    Additionally to Sanjay's post:
    VL02N > Environment > Changes - here you can check who set the total goods movement status to "C".
    Change related data is stored in CDHDR and CDPOS data tables (in case of GI CDPOS-FNAME = "WADAT_IST").
    If you decide to use material document then the userID is stored in MKPF-USNAM. Delivery number is usually stored in MKPF-XBLNR (or you can find the material document from delivery via VBFA, but MKPF should be easier...)
    In VL06O you don't have this information. Maybe you should create ZVL06O or another report (development; if MB51 is not acceptable).
    Edited by: Csaba Szommer on Aug 10, 2010 9:33 AM

  • Material Document (Post goods receipt) for each Tranfer order in Inbound De

    Hello All,
    We have following the below process for goods receipt.
    1. Create Purchase order.
    2. Create Inbound Delivery.
    3.Create Transfer order for each line item in  Inbound Delivery
    4. Confirm tranfers orders.
    5. Post goods receipt will automatically takes place after last Transfer order confirmation for that delivery.
    So, in the above scenario the Inventory is not available in the IM till last transfer order is confirmed.
    So, is it  possible to create a Material Document at each transfer order confirmation and post IM inventory , instead of waiting till last transfer order is confirmed.
    please advice.
    Thank you
    T Reddy .

    Hello Aktar,
    Yes With standard SAP we can post  goods receipt either before using MIGO and after using VL32N.
    In our scenario we are using Inbound Delivery.
    So , with using Inbound delivery we are posting goods receipt after  last TO confirmation.
    But In our client they may take 2 days to puyawat all the items of an Inbound Delivery.So they do not want to wait till 2 days for the IM posting.
    ie in SAP WM as soon as Inbound delivery is created it creates negative stock in 902 and once all the transfer order are confirmed and then post goods receipt takes place and 902 is cleared.
    So, we are slitting the TO at delivery line item level and creating separate TO for each line item in a delivery.
    So, I am wondering whether is there a way so as soon as first TO is confirmed WM stock updates and IM stock also should also update with same amount with a material docuement.
    ie TO by TO IM posting should take place and at Last TO post goods receipt should happen at delivery level.
    Please advice.
    Thank you
    T Reddy.

  • Post goods issue for outbound delivery in previous month

    Hi experts,
    Pls help. Many thx.
    Due to roll out, some stock need to be issued in previous month. It works fine except some deliveries. Those deliveries have been cancelled goods issue due to wrong posting date.
    For e.g. the posting date in delivery should be April 1. Due to oversight, the date is entered as May 27. In VL09, the reverse date should be in May. Otherwise, the system disallows further.
    Now, the problem comes up. When doing those deliveries again (even create new deliveries), the error message pops up "Deficit of SL Unrestr. prev. 350 KG : XX material XX plant XX storage location
    Message no. M7021
    Diagnosis
    Shortfall below the specified stock level or quantity amounting to 350 KG.
    System Response
    If the message is an error message (E), the above is not allowed.
    If the message is a warning message (W), the system will allow your input, but the warning is intended to prevent you entering a wrong quantity.
    Procedure
    In the case of a warning message, check the quantity entered.
    In the case of an error message, change the quantity or terminate processing."

    Hi Lakshmipathy,
    I tried the same as you said but its throwing the error below:
    GI for delivery 80014996 cannot be canceled for the following reasons:
    Cancellation date 30.04.2009 is before the goods issue date 28.05.2009.
    I don't have the any issues but i tried whether its working or not.
    Kindly suggest...
    Regards,
    SK

  • Cancel PGI for outbound delivery

    Hi experts,
    Any indicator or something else can be found in the document against PGI when cancelling PGI? E.g. Document named A is generated once PGI. Document named B is generated when cancelling PGI. How can I know Document A has been cancelled when digging into this document only, i.e. not check the document flow?  
    Pls help advise. Thx.

    Hi,
    Actually, you can see the cancelled PGI in the document flow.
    Otherwise, you also can check this 3 fields (SJAHR, SMBLN, SMBLP) in MSEG table.
    If the PGI document (ie. Document A) can be found in field SMBLN (including document year - field SJAHR and item - field SMBLP) of MSEG table, that's means it has been cancelled.
    Hope this help.
    Cheers,

  • BAPI for posting equivalent of MIGO GR (101) for OUTBOUND DELIVERY (R05)

    Hi everyone
    I am looking for a BAPI or function module to do the above; it is the second leg of an STO posting between plants, the first leg being where the goods issue is posted against the outbound delivery into in-transit stock (IM movement 641), with the second being to GR this stock with a 101, which will take it out of in-transit and into unrestricted stock at the destination plant.
    I have tried BAPI_GOODSMVT_CREATE from every angle but have come to the conclusion it does not cater for this. I also tried to do the GR against the STO (P/O) from which the delivery was created, but this does not work as the follow-on documents for the delivery will not be updated.
    Any suggestions?
    Thanks
    Andrew

    hi,
    i try to doing posting goods issue for outbound delivery out fo the regular progression.
    the posting is automaticly as part of outside program.
    thanks alot,

  • BAPI_GOODSMVT_CREATE update VBFA or not for Outbound Delivery?

    Dear Gurus,
    When I try to use BAPI_GOODSMVT_CREATE to do the goods receipt for the outbound delivery as the replacement for MIGO transaction, I use 01 as movement code and the bapi create material document and updating MSEG. But it doesn't update VBFA so the items is still showed in MIGO and cannot post there (because it is already moved in BAPI in program.)
    Anybody have any suggestion for this situation? Thanks a lot and points will be rewarded.

    Hello,
    When you use BAPI_GOODSMVT_CREATE  to post Goods Receipt for outbound delivery, reference documents at header and line items should be delivery number and line numbers (BAPI2017_GM_HEAD_01-REF_DOC_NO, BAPI2017_GM_ITEM_CREATE-DELIV_NUMB_TO_SEARCH & BAPI2017_GM_ITEM_CREATE-DELIV_ITEM_TO_SEARCH). Then only document flow will be updated.
    Thanks,
    Venu

  • Automatic goods issue for outbound delivery, during the transfer order confirmation

    Hello,
    Could you please advise how to realize automatic goods issue for outbound delivery, during the transfer order confirmation in the WMS.
    Now after creation of outbound delivery, i can't post the goods issue. Before i have to make the transfer order and confrim it and only after this i can post the goods issue in the VL02 t-code.
    Could you please advise - what i have to customize that to make automatic GI for outb. delivery (i mean with creation material document) during the TO confrimation.
    Thanks in advance.

    Hi Iiya
    Check the below setting, might be helpful

  • BAPI/FM for change Material Document Posting date

    Hi Experts,
    Is there any BAPI/FM for change a material document posting date.
    Its urgnt.

    Hi You can check the source code of MB02.
    i doubt whether you can change the date , hope so you have to reverse the document asd post it again.
    check & use MB_CHANGE_DOCUMENT at your own risk.

  • BY which transaction GR reverse 652E can be posted for outbound delivery?

    Hello all
    I post GR 653E for return delivery in VL02N, now I want to reverse this GR, where this can be done?
    B.R.
    Nicole

    Hello all
    VL09 can be used to reverse GR for return delivery. Thanks.
    Now I use BAPI_GOODSMVT_CREATEto post GR of return delivery, I set movement indicator = 'L' GM Code = '05' and all other mandatory fields in bapi paramters, but got a error to say move type 653 can't be used. I checked the BAPI, it check table T158 by trancation code to see if move type is allowed for transaction. I think the transaction code should be VL02N, but in BAPI, it uses transaction MB1C to check table table t158 with movement type 653, then got error.
    is it possible to set 653E allowed in MB1C by some configuration?
    B.R.
    Nicole

  • Goods Receive for Outbound Delivery Without Reference using MIGO

    Dear Colleague ...
    We might need your insight on the case below related to Goods Receive of Outbound Delivery without Reference using MIGO:
    (1) In the current SAP Enjoy screen of MIGO, we are allowed to select the reference document (e.g. = PO, Material Document, Inbound Document, Outbound Document, etc.)
    (2) We did 3 (three) kind of test set: GR for Inbound Delivery, GR for Outbound Delivery with STO and GR for Outbound Delivery without reference.
    (3) The first 2 (two) cases work just find with MIGO.  We believe it is because the receiving plant is pretty much determined in the reference document, which is PO (case 1) or STO (case 3)
    (4) However, the last case came up with the error message "Goods receipt not possible for delivery 8000610236: error code 5".  We believe that this is the standard design of SAP, that the receiving plant is required and it is not defined explicitly in the delivery document.
    (5) Moreover, we also believe that that's the reason why SAP (via the Logistic Execution module) provide the Handling Unit and Shipment, which can be used to perform such receive function, which will imply the MM posting (goods issue and goods receive) IF there is stock transfer involved.
    Appreciate for any thoughts or input on the above.  Many thanks,
    Alvon Sibarani

    use transaction mb0a it will work for the scenario.

Maybe you are looking for