PGI and Delivery based on FIFO

Dear All,
I have a requirement that while GR we enter the batch based on the manufacturing date. I want PGI and delivery on FIFO based on the GR date of the material. Moreover, we have two company codes using the same material codes. I want to have FIFO based delivery applied in only one company code.It should not affect the other company.Is it possible at plant level. I also dont want automatic batch creation at GR time. I want PGI and Delivery based on the GR date. Please suggest

create a batch search strategy in VCH1 with strategy  type as SD02- and select the key combination as customer, plant & material so that you can restrict the batch search strategy in plant level.
or
use MBC1 - select the strategy ME01, select the key combination as Movement type, plant & material

Similar Messages

  • PGI and Delivery

    Hi All,
         What is the main difference between Delivery and PGI. A/c'ng entries will generate for both the cases ? what are they...
    Regards,
    Rajini.

    hi,
    Post Goods Issue is Outbound Delivery and Post Goods
    Delivery means Inbound Delivery.
    PGI and PGR - This also can be between two plants
    or
    inbound -- material entered into plant(for stock purpose)
             1- planned order
             2- purcase order
             3- production order
    outbound -- delivered from plant
             like all types of delivery process(through PGI)
    rohit agrawal

  • Combined order based and delivery based billing

    Hey Gurus,
    We are using ZTAN items and ZTAD items on the sales orders.  We are trying to figure out how to combine these two together to create one invoice.  Can you guys help us with what the configuration should be in order do this?  I woudl like to knwo what settings I need to make in item category and also what settings need to be changed in the copy controls?  Do I need to change them for F2 and other settings in VTFA?
    Please let us know.
    Sincerely,
    Nina

    Hi,
    Delete the Assignment number and Reference number in the copy control at the header level details in VTFA.
    For this message and try it .
    We are using order based billing for the ZTAD items right now and using delivery based billing for the ZTAN items. So, to answer your question, we do want to combine these two together.
    I have tried setting the VTFA copy control settings to 001, and I still can't seem to get the two line items to combine.
    Note, I only created a new copy control for the ZTAD items.
    I looked to see if the header data was different and this was the log that was outputted but I can't seem to figure out what this means:
    Fld Name $000000001 $000000002
    Combination criteria in the bi 0013030 00330308000000064
    Assignment number $
    I am not sure how to analyze this. If you have any suggestions, I would be really appreciative. Thanks for all of your help Shivaji.
    Sincerely,
    Nina

  • 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

  • How to block sales order and Delivery order based on payment terms ?

    Hi  experts ,
    I have an sceneria to block the sales order and delivery based on payment terms ?
        For eg )  Customer payment terms  is Z001 which is 5 % discount within 30 days , No discount within 60 days.
                        My requirement here is a)   if open item exceeds 30 days , delivery to be blocked
                                                               b)  if open item exceeds 60 days , Sales order to be blocked..
    Pls give me a solution....

    HI Kakas,
    If possible in configuration , pls let me know .
    payment terms is     5 % within 30 days if customer pays
                                     No discount  within 30 to 60 days if customer pays.   
    Here , i need to control , sales order to be allowed and delivery not to be allowed  for a customer if any open invoice within 30 to 60 days and sales order to be blocked if  open invoice exceeds 60 days..
    Is this possible in Credit management ?.. 
    pls let me know...
    with Regards
    S.Siva

  • Exit to set the automatic PGI and picking while creating outbound delivery

    Hi experts,
    Could anybody suggest how to set the automatic PGI and Picking while creating outbound delivery.
    Currently we are settting VBUK-WBSTK field with value C. But PGI is not happening.
    kindly help me.
    Regards,
    Ravi

    Hello Parihar,
    thanks for reply.
    yes we know that "This process of picking and GI involves reducing the stock and allocating the goods to the delivery"
    if you go for Custom program and Use FM WS_DELIVERY_UPDATE, we can do Picking and PGI.
    our requirement is to do pickong and PGI while creating Delivery it self, based on this output types will be processed.

  • PO to delivery, PGI and Invoice(profarma) in Background

    Hello experts,
    when I am saving the PO(purchase prder), In background (Automtically) should create Delivery, PGI and Invoice(Profarma Invoice).
    In PO Base price should pick  from Legasy system, same price should reflect Invoice, But in Invoice Excise duties should pick from sap R3 system based on Condition Records. with reference to profarma invoice we can create the Excise invoice.
    Could any one please help me for this.
    Is any standard settings available for this, or shell we have any standard progrm/ exits?
    please explain how to reach this requirment.
    Thanks
    Ravindra

    Hi Ravindra,
    Why do you need to do all this automation?
    Have you thought that how much technically complicated will it become?
    How your Picking will be updated with Batch or Serial number data?
    If any changes needs to be done then how will it be happened?
    How you will manage other special scenarios related to your cycle?
    Client will just assume saying that when they had said automation you are already considering all the scenarios related to business and they all will be executed properly.
    It is easy for users to ask for end to end automation, but it is tough for Functional and Technical consultant to make it happen with all the scenarios of Client running properly with exact results.
    I will suggest convince them to do process in part basis. You can think to create Delivery automatically, but tell them to Do Picking / PGI manually. (All complex scenarios will come while Picking and PGI only)
    You can create BDC for Invoice creation.
    Regards,
    MJ.

  • VT02N - do PGI and Invoice for certain deliveries either based on certain conditions

    Hi Friends ,
    We are using VT04 for creating shipments . While shipment completion stage in VT02N   an activity profile has been maintained  which does both the Goods issue and Invoice.
    We have a business requirement , PGI and Invoice should be created only for specific set of deliveries based on certain conditions.
    Is there any standard way to do this or by using user exits.
    Please guide.
    Thanks,
    Nileshsa.

    what about adding a check in userexit RV60AFZZ, when the condition is not met during invoice creation, error out and disable the creation of the invoice document?

  • MIRO based on purchase order and delivery note

    Hi
    It seems I can do a supplier invoice based on PO or some POs.
    I can also do a supplier invoice based on delivery note or some delivery notes.
    But I can not do MIRO based on delivery note AND purchase order.
    Business scenario: I need this when I have supplier invoice with a lot of lines based on a lot of different PO and different PO lines. The delivery note consolidate together all this different lines. Together with these lines I want to add another item of non good receipt item, so there is no delivery note.
    I want to add this item with a reference to the PO line in addition to the lines that were created with a reference to a delivery note.
    Thanks
    Ofer

    Thanks,
    I want to use PO reference for specific PO and delivery note for other PO in the same invoice.
    The problem is I cant use delivery note for the other PO cause there is no MIGO there.
    Thanks
    Ofer

  • Automatic creation of delivery ,pgi and billing as soon as ordrer  is creat

    Hai gurus,
                Can we do automatic creation of delivery,pgi and billing as soon as order is saved.
    Plz explain ?
    Thanks in Advance
    sameer

    Hi sameer,
    unless the standard program is modified you cannot do auto pgi. However batch jobs can help creating a delivery afer sales order. But incase WM is implemented then we can for the required delivery movment types create an automatic transfer order and confirmation. This brings us closer to some extent in the task. Then schedule again a job that does PGI.
    can you please however explain the business need for auto pgi. It helps us to learn something as well.
    regards
    sadhu kishore

  • Compare Actual PGI date and Delivery date

    Hi SAP Guys,
    I want to compare delivery date and actual PGI date. In likp having so many dates which date should I compare with Actual Pgi date. My requirement is identify the back dated PGI and delay PGI. Here I have seen created on date what the use of this date. Please guide me above issue.
    Regards
    Venkey

    Hi there,
    Created date is the date on which the delivery is created.
    Delivery date is the confirmed delivery date that is porposed after the availability check. It is same as delivery date at item level in SO.
    Actual GI date is the date on which GI is done. It is updated after PGI is done. Planned GI date is updated when delivery is created.
    Regards,
    Sivanand

  • How to List Sales Orders based on Creation Date and Delivery Priority

    Dear all,
    How can we list Sales Orders based on creation date and delivery priority.
    I tried using vl10a transaction code, but there we can see sales order based on delivery date.
    we need to list all sales order based on delivery priority and sales order creation date.
    can any one of you tell me which standard report gives such kind of report. Your suggestions will be highly appreciated.
    Thank you
    Raghu Ram

    Hi Raghu,
    There is no st report available as per your req.
    Using SQVI, you develope one report that is list of sales orders based on your req.
    SQVI is used to convert a Quick View into a query.
    Quick Viewer:
    The Quick Viewer allows you to define reports without having to program yourself. The Quick
    Viewer is especially useful for new users and occasional use.
    Quick Viewer is a tool for generating reports. SAP Query offers the user a whole range of options for defining reports. SAP Query also supports different kinds of reports such as basic lists, statistics, and ranked lists. Quick Viewer, on the other hand, is a tool that allows even relatively inexperienced users to create basic lists.
    Quick View definitions are user-dependent. You can transfer a Quick View into SAP Query in order to make reports, for example, accessible to additional users, or to use the other functions available in SAP Query.
    The following is a comparison of Quick Views and queries:
    Quick Views possess the same functional attributes as queries. However, only basic lists may be defined with Quick Views.
    In contrast to queries, no user group assignment is necessary with Quick Views. Each user has his/her own personal list of Quick Views. Quick Views cannot be exchanged between users. Quick Views may, however, be converted to queries and then be made available to other users in a specific user group.
    Info Sets are not required for Quick View definition. Whenever you define a Quick View, you can specify its data source explicitly. Tables, database views, table joins, logical databases, and even Info Sets, can all serve as data sources for a Quick View. You can only use additional tables and additional fields if you use an Info Set as a data source.
    The Quick Viewer uses various controls. Certain hardware and software requirements must also be fulfilled before you can use the Quick Viewer.
    To define a Quick View, you select certain fields according to your data source that determine the structure of your report. The report can be executed in basis mode with standard layout or may be edited using drag and drop and the other toolbox functions available in WYSIWYG mode.
    Reports created using the Quick Viewer may also be passed to external programs (Excel, for example).
    Call the Quick Viewer using System -> Services -> Quick Viewer (or transaction SQVI).
    Enter the name of the Quick View. Quick View names can contain a maximum of 14 characters.
    Choose Create.
    Enter a title for the Quick View and remarks, if you think they are relevant.
    If you do not want to base your list on a table, use the possible entries pushbutton in the Data source field to select another data source. You can choose logical databases or Info Sets. In addition, you may also create table joins. For further information, see Selecting a Data Source.
    Choose Basis mode if you want to create the list directly with no list design. Choose Layout mode if you want to define the layout of your list yourself.
    SQVI Table Quick viewer – Used to created quick client dependent reports
    Probably the easiest and most flexible way to do this is thru one of the ABAP query transactions.
    Transaction SQVI can do this and it has a very good help function that explains how it works... the drawback is that it is only for one user.
    You can play around with it and see if it meets your needs...
    The query results will come back in an ALV Grid or Excel... you can select what fields are returned, and have a selection screen to enter the search criteria.
    You can get the report by joining the tables VBAK and VBAP.
    If you have any queries, i will forward screen shots to your id.
    Reward points pls.
    Regards,
    Govind.

  • Cannot PGI one delivery in a shipment( getting runtime error )

    Dear all,
    I am not able to PGI one delivery in a shipment out of three deliveries. While PGIg I am getting a run time error saying that "cannot calculate percent for the material for this line item". I checked the condition values for that material in the standard order. Values are defined as well.The material also has serial number defined in the packing list. Transfer order is also complete. Not able to identify the reason of getting the error.
    Please advise on this above issue.
    Regards,

    Based on your description, the business process differs to our company. Our company completes the delivery with the PGI and then it creates the shipment. It is required to PGI the delivery before it creates the shipment.
    Ok, now what I am understanding is that you have created a shipment with three deliveries and are now trying to PGI the delivery. Questions to ask are: Are there limits to the shipment in terms of quantity? Are the materials the same for all three deliveries? Is the material new and has all relevant information being set up in master? I'm not sure that the percent question is related to the pricing conditions, but it may be related to the percent in terms of the its ratio to the entire shipment. In other words, what percent of the shipment does that one delivery make up?

  • No stock when doing PGI in Delivery

    Dear All,
    The stock is confirmed for sales order but while doing PGI in delivery the stock is not available,
    This is because the product has split valuation like NORMAL , BONUS and SPECIAL.
    when the stock is booked based on valuation type the system has allowed to make transfer posting from normal to bonus,
    which has reduced the physical stock.
    Kindly advise how to stop this trasfer postings when the STOCK is reserved for sales orders.
    With Regards
    Mohammed Raees

    Hi,
    The configuration in OVAZ is done,
    Here for availablity check CH and checking Rule A i have ticked the box for "Include sales reqmts".
    Does this belong MM confifuration
    Ex  ITEM A HAS STOCK 100 PCS
    I CREATE A SALES ORDER # 2307 FOR 80 PCS HERE THE STOCK IS CONFIRMED and quantity is reserved for the sale order
    BUT FROM MATERIAL MANAGMENT THEY HAVE TRANSFERED FROM ONE VALUATION TO ANOTHER VALUATION TYPE,
    HENCE THE STOCK IS GONE AND NOT AVAILABLE WHEN I AM  trying to POST GOODS ISSUES.
    KINDLY ADVISE HOW TO STOP THE Stock Transfer postings in MM once stock is confirmed / reserved against sale order
    Regards

  • PGI for Delivery

    Hi Experts,
    I have coded the following successfully.
    1. Create a delivery from a production order
    2. Create TO from delivery created
    3. Pick/Pack and Confirm TO
    Now, I need to create a PGI based from the delivery i created. I used FM BAPI_GOODSMVT_CREATE, however it only creates another delivery. Code is below:
    LOOP AT i_itemhu INTO wa_itemhu.
        wa_goodsmvt_item-plant      = wa_itemhu-plant.
        wa_goodsmvt_item-stge_loc   = wa_itemhu-stge_loc.
        wa_goodsmvt_item-batch      = wa_itemhu-batch.
        wa_goodsmvt_item-move_type  = '261'.
        wa_goodsmvt_item-entry_qnt  = wa_itemhu-entry_qnt.
        wa_goodsmvt_item-entry_uom  = wa_itemhu-entry_uom.
        wa_goodsmvt_item-orderid    = wa_itemhu-orderid.
        wa_goodsmvt_item-deliv_numb = wa_itemhu-deliv_numb.
        wa_goodsmvt_item-deliv_item = wa_itemhu-deliv_item.
        APPEND wa_goodsmvt_item TO i_goodsmvt_item.
        CLEAR wa_goodsmvt_item.
    ENDLOOP.
    CALL FUNCTION 'BAPI_GOODSMVT_CREATE'
        EXPORTING
          goodsmvt_header  = wa_header
          goodsmvt_code    = '03'
        IMPORTING
          materialdocument = ws_doc_gihu
        TABLES
          goodsmvt_item    = i_goodsmvt_item.
    Is it really possible to do PGI using this FM? If yes, please help in coding.. Many many thanks!!!

    Hi,
    I am using WS_DELIVERY_UPDATE to perform PGI of delivery. I am testing first the FM by in SE37 and PGI is correctly done for a delivery, however, when I had coded it (same way as the testing) I am getting error Delivery XXXXXXXXXX created. On which the delivery XXXXXXXXXX is the delivery I want to perform PGI. I am also trying do some changes in my code like passing the items to vbpok_tab; enabling synchon FM parameter; enabling nicht_sperren; etc., but still same error is being produced. My code is as below:
    wa_vbkok-vbeln_vl     = ws_delivery_doc.
      wa_vbkok-vbtyp_vl     = 'J'.
      wa_vbkok-wabuc        = 'X'.
      CALL FUNCTION 'WS_DELIVERY_UPDATE'
        EXPORTING
          vbkok_wa                  = wa_vbkok
          commit                    = 'X'
          delivery                  = ws_delivery_doc
        IMPORTING
          ef_error_any_0            = ws_xfeld
        TABLES
          prot                 = wa_prot.
    Please help.

Maybe you are looking for