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,

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.

  • 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

  • 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

  • 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

  • Change Ship to party number for outbound delivery

    Hi guys
    I have a problem 
    We need to change Ship to party number for outbound delivery
    Any suggestions
    Any Table level changes posibility???
    Thanks
    SAP MM

    Hi,
    You cannot change the ship to party in delivery, nor should you change it.
    If you really want to change the SH in delivery, please delete the delivery (after cancelling the picking) and then go to sales order in change mode and then change the ship to party there. After doing this, create the delivery once again with the new SH.
    It is not advisable even through programatically to change SH in delivery. This will have lot of implications in the further processes like PGI, Proof of Delivery and so on.

  • Manual (Dynamic) Interim Destination Storage Type instead of 916 for Outbound delivery T.O

    HI,
    we would like to create transfer order manually for outbound delivery.here both source and destination need to be given manual
    i know that the interim storage type 916 given in the interface movement type , while T.O creation for the outbound delivery
    we would like to have the destination interim storage type as a manual entry so i kept both destination and source storage type blank,and system permits to do picking (T.O Creation  )
    Created Transfer Order, with source and destination details and confirmed T.O.
    But when i do the goods issue getting error as
    Storage bin MT1   does not exist (check your entry)
    Message no. L9009
    when i checked table LIPS-  LGTYP and   LGPLA , both fields are empty.
    Please let me know how can i make this functionality.
    Thanks.

    The requirement is , my interim storage areas are real storage areas,for which goods are issued the stock goes to interim storage area and PGI will be made after verification ,but the interim storage area is dependent on the customer , not a fixed one which we will know only when we deliver the goods .
    I use that process too, with verification on the final storage area before shipping, but what I do is to use SD in conjunction with WM. I use the gates in the Outbound Delivery, to separate the stock, since WM creates a bin in 916 for each delivery document and I can use that to know in which gate each quant is.
    That way, everything goes to 916, but I have a report that tells me which stock is near each gate, so I can run the audit process before shipping.
    It's not completely standard, but WM standard is very hard to use without an additional UI layer on top anyway.

  • 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.

  • Condition table for outbound delivery

    Hi guys
    Is it possible to create a new condition table for outbound delivery output type with a field „sold-to”, although this field is available in the field catalogue , it does not show up during a table creation in the FieldCatlg,why?
    Your quick response appreciated .
    Regards
    Dominik

    Hi Dominik,
    You need to Append the new fields which you want to see in the Field Catelog to create a condition table.
    Please follow the following process
    Got to T. Code SE11 andGive the Table name
    Then click on the Button Append Structure and
    Key in the name of you append starting with letter 'Z'.
    Add fields whcih you want.
    Activate the table.
    Hope this is clear.
    Reward if helpful.
    Thanks,
    Praveen

  • Getting the error while doing PGI for depot delivery

    Hi
    I am getting the below error while doing PGI for Depot delivery. This error is happening only when I taking the materials from stock transfer order which has more than 10 line items. Same issue is not happening when I am taking one material in Stock transfer order in & same material in depot delivery. Please see the screen shots below attachment. I have already maintained no range for the object J_1IDEPINV for year 2014.
    Regards
    PK

    Moved from SAP ERP SD Sales to Internationalization and Unicode.  Please post all your CIN related queries here.  Also ensure that before posting, you made efforts in searching in SCN or Google.  The reason for this indication is the issue you posted has already been discussed many times here and you will get some clue had you searched.
    G. Lakshmipathi

  • 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_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

  • Problem with pgi for returns delivery

    Hi,
    I'm trying to do PGI for returns delivery through BAPI_GOODSMVT_CREATE.
    The when the delivery is opened through VL02N, the Post Goods Issue button has Post Goods Receipt text written on it. When the GI is done, the material document has movement type 651.
    However I'm not able to create the same through the BAPI. I have tried various combinations of GM_CODE and all other variables. Have anybody of you tried doing movement type 651 for a returns delivery using the same BAPI?
    Please reply if you've come across some similar situation. I know how to use the BAPI,  I've been using it successfully for other movement codes etc. It's only in this case that I'm stuck up.
    Regards,
    Vijay

    Hi Vijay,
    can u pls tell me how  did u do  it....i am also having the same requirement....
    Developed a custom program for creating and updating Goods Movement Document by using BAPI_GOODSMVT_CREATE & WS_DELIVERY_UPDATE_2.
    thanks, Ankita.

  • BAPI for GR for Outbound delivery

    Hi Gurus,
       I need to create a Goods Receipt against an Outbound Delivery ( movement type "101" ) using the BAPI BAPI_GOODSMVT_CREATE
    user is using MIGO transaction for the same. There he will choose the GOODS RECEIPT for OUTBOUND DELIVERY and enters the delivery number. The movement type "101" is used.
    I tried passing gm_code = 01 and mvt_type = 101 and mvt indicator as u2018Bu201D , but  Iu2019m getting an error message  'ENTER PURCHASE ORDER NUMBER'.
    I donu2019t have PO number . I just have shipment number from which I have found open outbound deliveries and now I need to do GR for each of the Outbound delivery.
    Please let me know if Iu2019m passing the right gm_code and mvt indicator to the BAPI or if Iu2019m missing any parameters. Iu2019m passing the following parameters to the BAPI ?
    Delivery. No. , delivery item, Doc. Date , Posting Date , ref document num , Quantity, Storage Location, External qty, External qty unit, matnr, werks .
    Your help is greatly appreciated.
    Thanks in advance.

    Thanks for replying. I went through the entire BAPI documentation but did not found anything related to GR for outbound deliveries.
    I searched some older posts in sdn related to this problem but almost all are unanswered question.
    I'm passing gm_code = 01 , mvt_type = 101 and have tried all movement indicator like 'B' , 'F' and blank.
    here is what I'm passing in my Bapi.Please let me know if I'm missing something or if I'm passing something incorrectly.
    gm_header-pstng_date = sy-datum.
          gm_header-doc_date   = sy-datum.
          gm_header-ref_doc_no =  wa_lips-vbeln. "The Outbound delivery Number
          gm_code-gm_code      = '01'.
         MOVE '101'              TO     gm_item-move_type.
          gm_item-material             = wa_lips-matnr . "Material Number from the Delivery.
          gm_item-plant                = wa_lips-werks . "Receiving Site.
          gm_item-stge_loc             = wa_lips-lgort. "Receiving Storage Location.
          gm_item-entry_qnt            = wa_lips-lfimg.
         gm_item-entry_uom           = wa_lips-vrkme.
          gm_item-ENTRY_UOM_ISO        = wa_lips-vrkme.
          gm_item-mvt_ind              = 'B ' .
          gm_item-deliv_numb           = wa_lips-vbeln.
          gm_item-deliv_item           = wa_lips-posnr.
          gm_item-DELIV_NUMB_TO_SEARCH = wa_lips-vbeln.  "delivery number
          gm_item-DELIV_ITEM_TO_SEARCH = wa_lips-posnr. "delivery item
    if I donot pass any value in mvt indicator the error I'm getting is 'Update control of movement type is incorrect (entry 101 X X)'
    if I pass 'B' in mvt indicator error is 'Material document data and PO data do not match (Plant)'
    if i pass 'F' , erro ris 'Order  not found or not permitted for goods movement'.
    Please help me. This is kind of critical issue. or please suggest if I can do GR for outbound delv in any other way.
    Thanks...!!!!

  • LSMW for Outbound Delivery

    Hi,
    I am not able to find an LSMW for creating GR for outbound delivery. I tried using recording in MIGO but it did not work. Also MB1C is not working for outbound delivery. Please help.
    Regards,
    Anubhav

    Hi
    I think it is better to write a Z program/ BDC to have a mass GR creation of an outbound delivery.
    or
    You have an Auto Goods receipt using confimations. If we activate Auto GR in customizing for Confirmation control key. Once confirmations(ASN) is created a GR will be created automatically.
    Hope this helps
    Regards,
    Sasi

Maybe you are looking for

  • Smart object will not open in CS4

    I have Lightrooom 4.2 and Photoso CS4. When I try to open a RAW file as a smart object in CS4, Photoshop opens but the image does not appear. There is no error message. Any ideas on how to get the image to open?

  • Email will not send to email address with a full stop within the name as it drops the last name ie jim.smith@.... changes to jim@....

    I am trying to reply or send a email to a email address that has a full stop in the username ie [email protected] When the email sends it drops the surname ie [email protected] I have checked the address from the reply and it is correct even if I typ

  • Textfield color is wrong after using cacheAsBitmap

    hi, I'm having issues with colorTransform and cacheAsBitmap. I'm changing a textfiield color at runtime from black to white and after that I'm caching the movieclip as a bitmap. The problem is that the welcome.text color is displayed in black instead

  • J2sdkee1.2.1 to j2sdkee1.3

    Regedit shows several references to 1.2.1 although I used Add/Remove Progams to remove 1.2.1 . I realize this is not unusual, but what I would like to know is how to fix it. Now when I try to run deploytool from c:\j2sdkee1.3\bin, I get the following

  • How Many Watts Do We Need? ASA 5505

    My ASA 5505 getting pretty hot after a while and so I used a wattmeter to find out what´s happening. 260 watts is quite a lot if the device is running in idle mode and has no active device attached nor any config has been installed. What's your exper