Automatic PGI after outbound delivery creation and shipment

Hi,
I am working on LES part.
Could you please explain me how to do Automatic post goods issue for shipments.
(in our scenario where after outbound delivery, picking, packing shipment takes place.)
Can we use VL23 for automatic goods issue for shipments? (or igoods issue is only for outbound deliveries?)
If so what is the selection criteria for background scheduling-Variants?
Please explain me in detail
Thanks a lot.

Hi,
You can use report RV56ABST for this. Create a variant and in this variant, you can set auto PGI. Then add this variant to an activity profile in SPRO:
Log.execution -> transport -> activity profile.
There you can add your variant to any transportation status.
Regards,
MdZ

Similar Messages

  • Automatic Goods Issue after Outbound delivery and shipment.

    Hi,
    I am working on LES part.
    Could you please explain me how to do Automatic post goods issue for shipments.
    (in our scenario where after outbound delivery, picking, packing shipment takes place.)
    Can we use VL23 for automatic goods issue for shipments? (or igoods issue is only for outbound deliveries?)
    If so what is the selection criteria for background scheduling-Variants?
    Please explain me in detail
    Thanks a lot.

    Anil,
    Not sure if I understand your question, Goods Issue is posted for the delivery and not the shipment.  In a shipment you can update the actual values for Planned, Check-In, Load Start, Load End etc values.  A shipment can have single/multiple deliveries, you can use VL23 for scheduling a background job to do the PGI automatically, use either the standard variants or define your own variant and use that variant to schedule the job.
    hith
    Sunil Achyut

  • Scheduling Agreement Schedule Lines firmed after outbound delivery

    Dear All,
    We use scheduling agreement for cross-company process in our client.  After MRP run schedule lines created automatically. For the next step outbound delivery is created via VL10F (or VL10B).
    After outbound delivery creation, on MD04 or ME39, i see the schedule line firmed (*). Because firmig MRP doesn't change those schedule lines. This is a problem for our client.
    Do you know a way for MRP can change the schedule lines even outbound delivery created ? How can i manage this situation ?
    Best regards,

    Hi Anil
    The '*' that you see means that the schedule line has been changed manually and the Firming indicator (EKET-FIXKZ) is set when there is any change to the Schedule line.
    So, when a Delivery is created, the schedule line should be 'Fixed'.
    Otheriwse, MRP can delete or change this schedule line and it would cause an inconsistency in the system. This is the logically intended behaviour.
    Please see the F1 help for the field EKET-FIXKZ:
    "Schedule Line is "Fixed"
    Fixes the schedule line and determines that it cannot now be automatically changed as a result of materials planning and control/MRP activities.
    Procedure
    The indicator is set automatically if:
    .- You make manual changes to a line of a scheduling agreement delivery schedule that was created via the materials planning process
    .- You create a schedule line manually
    Dependencies
    You can specify whether Materials Planning/MRP can change delivery schedule lines within the firm and trade-off zones in the additional data for the scheduling agreement item."
    I hope this helps.
    Anna

  • Automatic Goods Issue in Outbound delivery scenario with Shipment

    Hi,
    Could you please explain me how to Automatic Goods Issue happens in Outbound delivery scenario and in shipment process.
    Is there any transaction for this?
    Can we use VL23 for Automatic Goods Issue in Shipment process? or is it only for Outbound delivery scenario?
    How schedule a background job by using VL23- transaction, how we create variants on what selection criteria?
    Could you please explain me in detail?
    Thanks A lot.

    Hi Anil,
    VL23 is to schedule Out bound Goods issue.Check once T.code VL06O.
    Thanks,
    Sree.Manam

  • Help required regarding the outbound delivery creation by batch job

    Hi Gurus,
    We are facing one problem in the outbound delivery creation.
    The deliveries will be created automatically (using program RVV50R10C) from the existing open sales orders through the run of a batch program for every 5 minutes.
    The program RVV50R10C is scheduled to run for every 5 minutes, which picks up all the open sales orders and creates outbound deliveries. However, during one run we have found an error.
    The error had message class V50R, message no: 024 and message type : I. The error message reads as follows : u201CAt least one order was blocked and could not be deliveredu201D.
    When we have checked the VBFS table, it showed the sales document line items with the Message type : E, Message no: 24 and message id : V50R.
    Can anybody decipher what could be the reason why this error message is appearing?
    Thanks in advance,
    Krishna

    Hi Friend,
    to clearly identify the issue,
    Goto SE38 and give the program which you are using as Back ground job to create the deliveries and  give the sales order number as mltiple entries and execute the program in back ground.
    In most of the cases we can identify the issue behind the job while doing this.
    please revert me if you need more clarification
    regards,
    santosh

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

  • Issue in Outbound Delivery Creation w/o order reference & w/o sale order

    Hi ,
    I have an issue in outbound delivery creation without order reference and without sale order through
    BAPI_OUTB_DELIVERY_CREATENOREF . I am getting an error like
    1. Copying is not poss.because an entry is missing in Table TVCPL:  ZLR (Checked entries are there in the Table TVCPL)
    2. No instance of object type OutboundDelivery has been created. External reference.
    But I can able to create an outbound delivery through VL01NO txn.
    Pls help me where I am gng wrong.
    Regards
    Rupachandran

    hi,
    this is to inform you that,
    1. Copying is not poss.because an entry is missing in Table TVCPL: ZLR (Checked entries are there in the Table TVCPL)
    1.a. sorry for sending the link
    Re: can't create DN for sales return order
    balajia
    Edited by: balaji timmampalli achari on Dec 9, 2010 3:15 PM

  • BAPI for Outbound Delivery Creation with reference to Sales Order

    Dear all,
    I'm on R/3 4.6B platform and to develop an RFC for outbound Delivery creation instead of using the standard VL01N transaction.
    I've review BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N thread which suggest BAPI_DELIVERYPROCESSING_EXEC .
    However, in 4.6B, that function module doesn't exist. Appreciate any suggestion and or workaround.
    Thanks.
    Steven
    Edited by: Steven Khoo on Mar 25, 2010 7:13 AM
    Edited by: Steven Khoo on Mar 25, 2010 7:14 AM

    Not required anymore

  • 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

  • Prevent Outbound Delivery creation against Purchase Order

    Hi All,
    we have a Intecompany (IC) process composed as following:
    1) IC purchase order
    2) Outbound delivery
    3) Good Issue
    4) Good Receipt
    5) Invoice and billing
    I'd like to prevent the outbound delivery creation in the purchase order as the delivery block does in the Sales order.
    I thought that using the confirmation control with control key  for order acknwledge was made for this purpose but my  tests was unsuccessful.
    Is there any standard way to achieve this goal?
    Thanks

    Applying a release strategy is not a bad idea but it would mean a more complex process as:
    1) the delivery block would based on a complex logic implemented on a user exit that would be not easily implemented with characteristics on which the release strat would be based
    2)  also the release process itsel would be more complex and different from the sales order unblock
    Even though I appreciate I'd prefer somthing easier like confirmation control or something similar that could be unset with just modifing the purchase order.
    Thanks again for the answer

  • BAPI for Outbound Delivery Creation with reference to Sales Order - VL01N

    Hi Everybody,
           We are in ECC 5.0 version.
           I want to create a enhancement for Outbound Delivery Creation with reference to a Sales Order.
           Is any BAPI available for this ?
           Any input on this will be very much helpfull.
           Please suggest any BAPI available for this, or should I go for BDC using VL01N or VL04 ?
           Thanks in advance.
    regards,
    Nagarajan.J

    Hi Nagarajan,
    The BAPI BAPI_DELIVERYPROCESSING_EXEC meets your requirement. You can create delivery with reference to sales order.
    The below is the sample code...
      data:lt_request      like bapideliciousrequest
                                    occurs 0 with header line,
           lt_createditems like bapideliciouscreateditems
                                    occurs 0 with header line,
           lt_return       like bapiret2
                                    occurs 0 with header line.
        lt_request-document_type      = 'A'.
        lt_request-document_numb      = vbeln.
        lt_request-document_item      = posnr.
      lt_request-material           = matnr.
      lt_request-plant              = werks.
      lt_request-stge_loc           = lgort.
      lt_request-quantity_base__uom = base_uom_qty.
      lt_request-delivery_date      = sy-datum.
      append lt_request.
      call function 'BAPI_DELIVERYPROCESSING_EXEC'
      EXPORTING
        DELIVERY_EXTEND       =
        TECHN_CONTROL         =
        tables
          request               = lt_request
          createditems          = lt_createditems
          return                = lt_return.
      loop at lt_return where type = 'A'
                          or  type = 'E'.
        exit.
      endloop.
      if sy-subrc <> 0.
    Use the BAPI for Commit
        call function 'BAPI_TRANSACTION_COMMIT'
             exporting
                  wait = 'H'.
      endif.
    Thanks
    Ramakrishna

  • User Exit after PGI in Outbound Delivery

    All,
    We would like to post an additional goods movement following the standard PGI in the outbound delivery. According to the business requirement, we need to do a 561 W movement (to receive the same PGI'ed stock as non-valuated customer consignment. This is for the stock that is being sold but not shipped immediately). Can someone suggest if there is any userexit or BADI that is executed after PGI so we can trigger 561 W based on the success of PGI.
    Thanks & Regards
    KC

    Hi
    You have the BADI MB_DOCUMENT_BADI, but in my opinion, it isn't advisable to call a BAPI (BAPI_GOODSMVT_CREATE) from this BADI (read Note 1284654 - Caution with implementations of the BAdI: MB_DOCUMENT_BADI to know it).
    Other possibility is to see SAP Note 415716 - User exits in delivery processing to find other ways to solve it. Be careful with the suggestions related with what you can do during goods issue posting in this note.
    I hope this helps you
    Regards
    Eduardo

  • How to compare delivery date in schedule lines and PGI in outbound delivery

    Hi,
    I want to create a report to monitor and compare different dates in sales and delivery process.
    One of my key figure is the comparison between date confirmed to the customer, that I can find in the schedule line of the sales order, and the actual goods issue date from the outbound delivery.
    But I can't succeed in making the link between delivery and schedule lines, means between LIKP and VBEP.
    Would you have any idea?
    Thank you.

    It seems there's no exact (table) connection / link between delivery item and schedule line item.
    Those who were searching for this thing (link / connection between delivery item and schedule line) were recommended to use FM "RV_SCHEDULE_CHECK_DELIVERIES".
    This FM calculates the delivered quantity for each schedule line, so it makes link between the delivery item and schedule lines - however if you check the code it's quite sophisticated...
    (if you put a breakpoint in the FM and display a SO in VA03, you can check how the parameters have to be populated with data).
    Schedule Line and Delivery Link
    Edited by: Csaba Szommer on Aug 5, 2011 12:03 AM

  • Outbound delivery creation with inbound IDOC transfer from Java system

    Dear Experts,
           The scenario we are having is really very interesting. Hopefully its a good learning for me and also for others also.
    The scenario is,
                   After sales order creation the details will be sent to one Non SAP system (Java) for performing some tasks related to forwarding agent decision, shipping date and etc. Once the details are finalized in that Java system then, the details needs to be transferred to SAP as "Inbound IDOC" process. For this proposed to use the SAP Jco middle ware.
                 Once the details transfered from Java system to SAP then, the outbound IDOC needs to get generated automatically. Assuming the stock for that sales order line item is available. Also one more complexity is, our client is using custom transaction (ZVl10C) for delivery creation.
    Now Query is,
                   1. Which IDOC, message type and Functional module needs to be used for creating the delivery automatically..??
                   2. As per assumption, stock of that sales order line item should be available. Due to some business reason the stock was removed during inbound IDOC transfer then, what will happen to the IDOC..?. How to avoid this situation..??
                   3. As we told we are re going to use SAP Jco b/w SAP & Java system. In this case, how the data will get transfered from Java system to SAP..?
    Thanks in advance for the replies I am going to get
    Regards,
    VEL

    Didn't get any feedback from experts for long time. So we are closing the question

  • Create Billing document automatically from the outbound delivery

    Hi experts,
    I'm not sure my client's requirement can be implemented but i'm posting this thread just in case someone have a suitable solution.
    My client wloud like that billing documents (VF01) are created automatically when the outbound document (VL01N) is saved. He doesn't wont to perform an additional action, so the the custom transaction solution doesn't satisfy his requirement
    Is there any solution to do this? (User Exit or Customizing)
    Thanks

    Hi,
    One idea. You can do it with the userexit USEREXIT_SAVE_DOCUMENT in report MV50AFZ1. Here, you have the number of delivery. I suggest you to call a BAPI with a job created with the sequence of functions JOB_OPEN', 'GET_PRINT_PARAMETERS'
    , 'RS_CREATE_VARIANT', 'JOB_SUBMIT'. 'JOB_CLOSE' with a gap of time (eg: 2 or 3 minutes). You can call a function IN UPDATE TASK in this function. (read Note 415716 - User exits in delivery processing), and in the coding of this function you can create the job and call a report with the BAPI (for instance, BAPI_BILLINGDOC_CREATEMULTIPLE). After, you can control the creation of invoices with tcode SM37.
    I hope this helps you
    Regards
    Eduardo
    PD: I forgot it. Control in which event you call the BAPI via job. I suggest you when you create the movement 601. You can do it with this coding:
        IF xvbuk-wbstk NE yvbuk-wbstk
        AND xvbuk-wbstk = 'C'.
           "code
        ENDIF.
    Edited by: E_Hinojosa on Jan 21, 2011 9:15 AM

Maybe you are looking for

  • Trading in an ipod

    I have a question about trading in a 3G ipod. I first had a mini, but when my sister's 3G broke, she bought a photo Ipod, and I got the replacement 3G. However, ever since I got it I had the impression that it wasn't new, but just one that they had p

  • No shortcut for fullscreen coverflow?

    Since Lion iTunes is missing the keyboard shortcut for the fullscreen coverflow mode (instead it just supports the new Lion fullscreen mode). Fullscreen coverflow mode can only be started via mouseclick on the icon in coverflow view. Is there a diffe

  • Qosmio G10 problem with Video RAM

    G10 with replacement board with nvidia go6600. After the overheat of videosubsystem appear artefacts on screen. GPU chip was changed, but artefacts on screen not disappeared. Than changed VRAM chips, but we did not find K4D553235F-VC2A SAMSUNG memory

  • App, Could not complete purchase

    Greetings, Got this message after downloading. (Purchase payment done). How to fix this and be able to download again? Thank you!

  • Hard disc icon is not on my desktop

    My hard disk icon does appear on my screen - how do I find it?