PGI & Delivery

I am having the following business requirement:
1.      Automatic picking in the delivery document through batch job
2.      Automatic PGI of the delivery document through batch job
Can I fulfill this requirement by using standard SAP functionality? If yes, please send me the details.

yes its Possible through Batch Jobs
1. Automatic Packing
   Use this User Exit for Automatic Packing : PACKMODI
2.For Automatic PGI
   Use CSO_P_DLVRT_GOODS_ISSUE_CREATE - auto PGI
and i think you should be able to do the rest thorugh Batch in SM37/38
cHEERS

Similar Messages

  • Reg : PGI delivery using ws_delivery_update

    Hi All,
    I want to PGI delivery using function module ws_delivery_update .
    What are the mandatory fields to be supplied and in what way to PGI delivery successfully using the above FM
    Or is there any other function module specifically suited to PGI delivery
    urgent help needed.
    if any sample code is there , most welcome.
    Thanks in advance.
    Regards
    Jawahar

    Jawahar,
    it is very easy to go with this code i think rather than going with fm.
    DATA:    I_VBELN LIKE LIKP-VBELN,            
             I_VBKOK LIKE VBKOK,            
             I_PROTT LIKE PROTT OCCURS 0 WITH HEADER LINE.   
    L_VBKOK-VBELN_VL = L_VBELN.   <- Delivery number  
    L_VBKOK-WABUC    = 'X'.       <- Automatic PGI           * Perform Pick and PGICALL FUNCTION 'WS_DELIVERY_UPDATE'
               EXPORTING
                VBKOK_WA           = I_VBKOK                 
               SYNCHRON                 = 'X'                
               NO_MESSAGES_UPDATE       = ' '                
               UPDATE_PICKING           = 'X'                
               COMMIT             = ' '                    
             DELIVERY      = I_VBELN                         
             NICHT_SPERREN    = 'X'    
       IF_ERROR_MESSAGES_SEND_0 = 'X'         TABLES            
      PROT     = I_PROTT     
    EXCEPTIONS    
            ERROR_MESSAGE      = 1               
            OTHERS    = 2. 
    IF SY-SUBRC <> 0.
    Or I_PROTT has type E errors in it 
      ROLLBACK WORK.
    ELSE. 
      COMMIT WORK AND WAIT.
    ENDIF.
    othere wise
    For PGI you can use SD_DELIVERY_UPDATE_PICKING_1
    Regards,
    Naveen

  • Cancel Billing ,Material Document(PGI),Delivery,Sales order

    hi experts,
    pls help me Cancel Billing ,Material Document(PGI),Delivery,Sales order.
    so when ever given to billing number cancel to all the document
    plz send to me code and suggestions.
    plz it is urgent.
    advanced thanking you.

    you can do that from VF02 - application menu - billing document - cancel.
    if you want to do that from program use standard bapi's to cancel BAPI_BILLINGDOC_CANCEL1... also please reffer to transaction code BAPI for more bapis to reverse pgi - or you can write a BDC to reverse pgi - tcode is vl09.
    i dont think you cancel  order but you can delete depending on your config. check out in application menu on va02. use bapi BAPI_SALESORDER_CHANGE to reject the items in sales order.

  • Create STO,Delivery and PGI delivery from an interface

    Hi,
    We are using a third party WMS system to manifest and ship orders froma  distribution center to a store. The only data that is going to come into SAP is the Bill of Lading as to how much has shipped for a material to the store from the DC. This has to drive a Stock transport order cycle of creating an STO, create and PGI delivery. As we are building the interface,  I am a bit confused as to how we can make all this happen from one data feed.  Since there is only one feed and it has to trigger mutliple processes should we trigger multiple idocs (different types) to trigger the STO creation, create the delivery and PGI it (Delivery 03 idoc)?
    Will it be too cumbersome to build all this logic in the interface?
    Another option would be to create the STO using the feed, then run VL10B in a given time interval (Background) to create the delivery.
    However, I am not 100% sure how you can spawn off a PGI job? Even if I were to run the VL02n program in the background how can I populate the pick quantity?
    Any insight would be very useful.
    Thanks..

    My assumption is just you need to adopt delivery qty as pick qty.You are not doing any TR ,TO as your ware house is third party managed.
    you need to define the picking form EKOO to your shipping point type and then the quontity will copy
    You can do it in the difintion of the shipping point, you have to difine send time = 4
    I will explain how need to  set up this automatic picking, and then you can
    work backwards from there. The automatic picking you are experiencing
    is actually related to the output type EK00 assigned to your shipping
    point.
    Consider the following two setup steps which will result is automatic
    picking:
    Set the output type to EKOO, in the print picking list of the shipping
    point in customizing.
    Make sure the parameters below are set:
    Message Language
    Number of Messages
    Send Time <<<<<<<<<<< this must be set to 4 (send immed)!!
    Transmission Medium
    1) you have to set the parameters for EK00 in the shipping-point-
    maintenance in customizing:
    -> Enterprise Structure
    -> Definition
    -> Logistics Execution
    -> Define, copy, delete, check shipping point
    2) as second step you define the shipping-print-parameters in
    customizing:
    -> Logistics Execution
    -> Shipping
    -> Basic Shipping Functions
    -> Output Control
    -> Define print parameters shipping
    -> Shipping (Spec.case)
    Therein there should be an entry for every shipping-point, where
    you like to use the picking-list EK00!
    If you have 1 & 2 setup for a particular shipping point you will
    experience the "automatic" picking of deliveries.
    and finally picking storage  location determined as per storage conditions maintained in material master.

  • Error while PGI Delivery order

    HI All,
    I am getting the following message when PGI delivery order "Material's product unit must be entered in whole numbers
    ". Could any one can help me to solve the issue please ?
    Thanks & Best regards,
    Saiful arif

    Some inputs
    possibilties:
    1. check the conversation factors between your order Unit of measure and storage unit of measure
    2. T-code : CUNI and check the number of decimal places for the unit of measure you are entering

  • Error when PGI Delivery Order

    HI all,
    I am getting the following error message when PGI delivery order for return proses
    "Material's product unit must be entered in whole numbers".
    Could someone help me please to fix that problem ?
    Thanks and best regards,
    Saiful arif

    Hi,
           Have u mantained the base unit of measure and sales unit to be different . If yes, then have you mantained the conversion factor. Kindly check manually there could be a decimal point coming as a result of the conversion factor mantained for the two different UOM in the material master.
    Thanks
    Manoj Sharma

  • Error in PGI delivery for sales order

    Hi Experts,
    Can any tell me why do I get an error message
    "You are not authorized for given plant and mvt tpe"
    when I try to do a PGI for a delivery of sales order.
    thanks in advance.

    Hi Ashwin
    In realtime there will limit to user to access to some Plant Data.
    For SD guys access to sales order only it will not allow to create delivery for that product..for thts y u r not allowed to access  for delivery.
    In real time they will create user profiles for each document type.
    Regards
    Srinivas.

  • Error PGI delivery for sales order

    Hi Experts,
    Can any tell me why do I get an error message
    "You are not authorized for given plant and mvt tpe"
    when I try to do a PGI for a delivery of sales order.
    thanks in advance.

    Dear,
    Check with basis peson for authorization.for perticular movement type. Check OMJJ also.
    System ask the user with the authorization problem to run SU53 transaction after getting the error message and pass that screen to your BASIS/ Authorization guy to add the required authorizations to your users.
    Regards,
    R.Brahmankar

  • How to reverse PGI @ VL09 for delivery with subsequent invoice

    Greetings
    Our business process sometimes requires billing to happen prior to PGI.
    Hence, we have modified copy control settings to allow billing based off delivery creation (rather than PGI delivery).
    No modifications to the item categories and we are using standard movement types 601/602
    My issue is at VL09.
    VL09 will not allow me to reverse without cancelling the billing document.
    I get a message No data available for these selection criteria
    I have checked OMJJ movement type settings and I dont see anything here.
    Can anyone point me in the right direction to customize such a setting if it exists?
    We are using ECC 6.0
    thank you
    Ken

    hi
    your issue as standard behavior , when delivery document  billing status completed ,  you can not do the PGI , when you cancel the billing document then only system will accept PGI ,
    when you cancel the billing document , delivery document billing status will change , so accept PGI
    this status comes based on billing document types , like final billing (f2) delivery billing status comes complete, proforma invoice completed then delivery billing status comes not yet proceed
    this is the why system not accept the PGI for final billing document done
    check proforma billing document delivery PGI
    Regards
    sankar

  • Status/Delivery Documents not being updated in C4C from ECC on PGI

    Hi,
    We are integrating SAP C4C with ERP via HCI. We have created a followup ‘Sales Order’ from an opportunity in C4C.
    On creating the followup sales order this gets created in SAP ERP & we get back the sales order/inquiry number in C4C,but we do not get any status.
    Also for the sales order when we try to deliver or do a ‘Post Goods Issue’ in ERP and we deliver goods the document flow in ERP shows’ ‘delivery number’ etc but these statuses are not being updated in C4C.
    We have already configured the 'Communication Arrangements ' in C4C, with this scenario as below,
    Opportunity with followup business Transaction in ERP ------ > Update opportunity from followup business transaction document.
    In HCI we have configured the following template in eclipse :
    ERP to Cod Opportunity Replicate
    So,C4C still has just two entries one for inquiry & one for sales order with just the number and no other followup documents details/status ,say PGI --delivery document number etc.Can you kindly help.
    Thanks
    Indrasish

    Hello Indrasish,
    If I am not wrong you might be using the URL for Outbound Channel that is mentioned in Catalog (standard scenarios for HCI on HCI tenant). Mind that the Outbound URL for Pricing, Query Sales Quote and Query Sales Order Scenario should be picked up from Services for same which we can get from SICF on ECC. These URL structures are also maintained in 1402 standard document for ERP integration using HCI. Yet mentioning them below:
    u
    These URL paths are to be maintained in the Outbound Channel on artifacts related to Request Pricing, Query Sales Quote and Query Sales Order.
    Let me know if this is what you were expecting and if this solves your issue.
    Regards,
    Chandan

  • Automatic PGI and delivery for Inter company STO

    Hi,
    We have a requirement as below,
    Client have 3rd party software at weighbridge,which would track vehicle no,material qty,ship to party.
    Here at Inter company STO,
    PO will be raised,latter on we do VL10D,there by a delivery number is generated based on PO number.Then based on that PGI & delivery will be done.
    Can we do auto PGI & delivery in this case.Client requirement is both VL10D,VL02n should happen automatically.
    Assuming the number range for delivery in SAP and third party software are set same.Kindly advise me
    Pradeep

    Check this where the same topic was discussed
    STO Process Automation
    G. Lakshmipathi

  • Display "without PGI" & "PGI done not invoiced" in the selection screen

    Hi All,
    I am preparing a query to track the status of outbound deliveries and would greatly appreciate it if you could guide me on the following requirement.
    Is there a way to display the following two fields in the "Selection Screen" of a query (TCode: SQ00).
    1. Without PGI (Delivery document saved but the delivery is yet to do a PGI).
    2. PGI done but not invoiced (PGI is done but the invoice is not raised).
    I have already added, joined LIKP and LIPS and retrieving a host of information from these two tables but stuck on the two points above.
    Thanks in advance.

    SAP SD_Newbie wrote:
    > The user wants these fields in the "Selection Screen" of the query (SQ00).
    >
    > 1. Without PGI (Delivery document saved but the delivery is yet to do a PGI).
    > 2. PGI done but not invoiced (PGI is done but the invoice is not raised).
    >
    > Importantly, I am a bit reluctant to use any other table apart from LIKP and LIPS  (I tried joining other tables but the performance was drastically slow because of too many inner / left outer joins).
    I do agree that standard transactions should be considered instead. The users always want the darndest things...
    Query is not a custom report and has some limitations, which needs to be understood by the users. We can't add such buttons/checkboxes on the screen in a query, but we can add the status fields as selection criteria.
    Since query is at the line item level (LIPS), the statuses also are needed at the line item level, which is VBUP table. WBSTA is GM status, FKSTA is billing status. I'd guess that if WBSTA is 'A' then it's not PGIed and if FKSTA is 'A' then it's not invoiced. But I'd check in your system to make sure the statuses are updated as expected.
    VBUP can be joined by primary key, so it shouldn't have a huge negative effect on performance. In any case, this is the only way to deliver such information in a query, I believe.

  • Delivery qty - order status

    Hi experts,
    Case 1:
    sales order -  qty 100pc
    delivery - qty 100pc (PGI)
    Q1: By using the same order type & item category, why some sales orders show delivery qty zero in schedule line, while order status shows open?
    Q2: As long as cancelling delivery & re-doing it, delivery qty shows correctly in sales order, while order status shows completed?
    Case 2:
    sales order no. 10 -  qty 100pc
    delivery no. 20 - qty 100pc (not PGI)
    delivery no. 20 - qty 100pc (not PGI)
    Q3: Why delivery no. 20 can be created duplicate against the same line item in sales order ?
    ps. Those problems occur in  the same sales order. To clarify the problems, I divide into 2 cases.

    Hi,
    1. The confirmation of order quantityis based on various inputs likestock availabilityin plant, confirmation to other orders,etc.,
    2. If the del;ivery has been created successfully with reference to an order means the sales order status will turn as completed.
    Case-2.
    1. If there is no check in item category for item completion system will allow multiple deliveries w.r.t an order.
    Hope, it helps you if any further clarification is required do post.
    Regards,
    S.Balaji.

  • PGI is not allowed in past date

    Dear Experts,
    I have a situation where we want to post the PGI/Delivery on past date. I recieved the stock on 20-May so system should allow the PGI/Delivery on 20-May. But when trying to do PGI, system is throwing the error message "Deficit of BA unrestricted use. But it's allowing to post the PGI on today's date.
    Is it not possible to post the PGI on past date or am I doing something wrong?
    Please Help.
    R.S

    Hi!
    You seem to have stock in the current period (June) but not in the previous period (May). For example, your situation might be as follows:
    1st of May - Stock 0.
    5th of May - GR of 5 PC.
    -> 31st of May -> Close period.
    You are now in june and your initial stock is 5 PC.
    Therefore you have:
    Current period (06 2011) = 5 PC
    Previous period (05 2011) = 5 PC.
    Now you post a GR on the 10th of June of 5 PC into the current period. The situation changes to:
    Current period (06 2011) = 10 PC
    Previous period (05 2011) = 5 PC.
    On the 11th of June you try to post a goods issue of 10 PC into the previous period using as posting date 31st of may: you cannot because in may you have only 5 PC and not 10. The system will inform you about the stock deficit in the previous period.
    MMBE shows only the current stock of the current period (for batches, from table MCHB).
    To see the previous period stock check the History Table MCHBH.
    I hope this helps you!
    Esther.

  • Unit of measure issue when PGI done through IDOC

    Dear Experts
    In my system PGI against outbound delivery is being done through inbound idocs in SAP. In my outbound delivery the sales unit is maintained as CS (Case) and BT (Bottle). The quantity in my delivery is 10 CS and 10 CS for both the line items. When IDOC is getting posted in SAP it has quantity as 10 in field LFIMG of segment E1EDL24 of IDOC type DELVRY07 for both the line items. We are not passing any unit in the field VRKME of segment E1EDL24 of the IDOC. The IDOC gets successfully posted but when I check the PGI document the it shows quantity as 0,417 CS and 0,0833 CS.
    1 CS = 24 BT for material 10002616
    1 CS = 12 BT for material 10002617
    Base UoM for both the materials in the delivery is BT. What SAP is doing is converting the CS quantity in terms of base UoM. I have attached the PGI document and outbound delivery screenshot for reference.
    After PGI the outbound delivery line item quantity changes as shown in the attachment.
    Please let me know how to resolve this conversion issue so that I pass the same quantity as in my outbound delivery in IDOC and PGI should get posted with any change in quantity in my outbound delivery in terms of base UoM.
    Thanks and Regards
    Satish Kumar

    Hello Sathish,
    I have some information for you instead of solution.
    First, Let me repeat my Understanding first,
    Material Base UOM is BT.
    But, Delivery Unit is CS. that I could see in Delivery Screen shot.
    This Conversion will be carried to Delivery. We can see in Delivery item level that information.
    Here the point that we need to remember is, Once the Delivery is created, the UOM will be carries down to Delivery tables ( LIKP, LIPS ). That means, For further Transactions, System uses the UOM which is carried down to the delivery.
    So, During PGI, Delivery already with UOM CS, So, System posted the PGI in same UOM. But, When it comes to display, in your above screen shot, you can see both UOMs. i.e., UOM and Base UOM.
    We have two lines here.
    0.417 Qty and UOM as CS - First line - Because, your delivery is already in CS UOM.
    10 Qty of Base UOM as BT - Second line - This is the conversion happened for PGI.
    As of now, I do not see any issues with your delivery. It created UOM as CS. And, Posted UOM as CS.
    I really do not understand the conversion issue that you have mentioned above. Now, Can you tell about your issue again.
    For resolution, you need to run the fresh scenario again.
    Regards,
    Sathish

Maybe you are looking for