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?

Similar Messages

  • Automatic PGI and Invoice creation

    Hi Friends,
                   I had a requirement in SD area where once we create sales order, the PGI and Invoice process should run in the background ( Automation Process).  The scenario here is --  when we create sales order, the delivery document also gets generated.
    My approach --  for PGI and Invoice process, I need to develop the BAPIs. ( for Post Goods Issue and Invoice creation).
    After the creation of BAPIs, I need to call these bapis in the standard sales order creation process.
    Searched the forum on this issue. But cant find the appropriate answers.
    Please suggest me the solution for this issue.
    Murali Krishna. T

    You don't call anything else from the standard sales order process.  Sales order creation stands alone; every other process is a subsequent process.  Automatic delivery creation can be implemented by sales document type config, which it sounds like you already have in place, or you're using the delivery due list.  You also don't need another program for billing doc creation; use the billing due list program scheduled at certain intervals.
    The limitation on billing is the PGI if your copy control specifies that you can't bill until PGI occurs.  I don't understand why you would do this automatically, without confirmation that the shipment has left your warehouse.  If your items aren't really relevant for PGI, then you can configure them that way so that it's not required.  However, auto-picking and auto-packing are done via delivery output determination code using the functions WS_DELIVERY_UPDATE_*.  You might also try to PGI the delivery there as well with WS_DELIVERY_UPDATE.  Otherwise, just use table drop and trigger the WS_DELIVERY_UPDATE function for the PGI from a custom program; you can then run billing due as a second step in the job.

  • 1 invoice for multiple deliveries

    Hi Sap Gurus,
    Can anybody please help me how to make one invoice from multiple deliveries in ECC 6
    eg .One sales order from which I have created 2 deliveries and now I want to make 1 invoice from it.
    When I am trying to create 1 invoice from TC VF04 collective Billing Document ,it is making 2 invoices for 2 deliveries.
    Thanks N Regards,
    Siddhartha Chatterjee

    Hi
    KIndly check the  copy control configuration in VTFL
    Header level
    Copying requirements----001
    Det export data -
    Blank
    Allocation Number -
    E
    Reference number----
    Blank
    Copy item number -
    Tick
    Item Level (TAN):
    Copying requirements---- 004
    Data VBRK/VBRP -
    000
    Billing quantity
    B
    Pos./neg. quantity
    +
    Pricing type
    C
    PricingExchRate type------Blank
    Price source -
    Blank
    check the below link
    Re: Single invoice for different PO
    REgards
    Damu

  • Create Invoice for multiple deliveries

    Hi ,
    I want to create Invoice for multiple deliveries thru my prog.
    I tried using RV_INVOICE_CREATE but it creates multiple invoices if I enter multiple deliveries.
    I tried searching the forum but cud not get any solution for this.

    Hi,
    U can create single invoice for multiple deliveries if the following conditions are met
    1)payment terms are same
    2)billing dates are all same
    3)and Payer
    Go to VF01 and enter all the delivery document numbers and it will create a single invoice.
    Or else goto VF04 and search all delivery documents,select it and click on collective billing document button. One single invoice will be created
    regards.

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

  • Single invoice for multiple deliveries in Export scenario

    Hi All
    I am trying to create a single invoice for multiple deliveries. In case of Local Sales i am able to do it.
    But when it comes to export sales the system is not allowing me to create Single invoice for 2 deliveries . This is a export scenario. Can you suggest... When  i am checking the split invoice log it says split due to header data "Number of foreign trade data i"
    Plz suggest.
    Thanks
    Rishi

    Thanks G. Lakshmipathi
    Resolved
    As per the split analysis, System was checking the number generated for Foreign Trade data at delivery level.
    As told  i have Tried maintaining the Indication at copy control level VTFL "Redetermination of Foreign Trade Data at Billing level".
    This has resolved my Issue.
    Thanks Again
    Rishi

  • One invoice for multiple deliveries

    Hi Gurus,
    Can any one tell how can i create one invoice for multiple deliveries.
    Regards,
    Vinod

    one invoice for multiple delivers we can do in vf04
    we can do in vf04
    reward points if it is help ful
    Thanks
    mubeen
    Edited by: mahammad mubeen on Mar 5, 2008 10:02 AM

  • Performa invoice for consolidated deliveries?

    Is there a way to incorporate a Performa invoice for international shipments that are being consolidated in order to show all items in the entire shipment.  Right now when shipping multiple deliveries, only one delivery will show on the fed ex generated invoice, which will cause problems with customs unless shipping overrides the value of each shipment.
    Thanks.
    Gail

    hi abid,
    go to VL01N do not do the PGI. save the delivery. now go to VF01, select the billing type as F8(proforma invoice for delivery). now enter and you will get the proforma invoice, save it. No accounting documents is generated.
    Now go to VL02N, select the previous delivery number, do the PGI and save the delivery. Go to VF01, and put the delivery number and simply enter. the normal commercial invoice will be generated. This time an accounting document will be generated.
    This is because in VOV8 you maintain the delivery document and the billing document for that particular sales document type.
    I hope this will solve your query.
    Regards,
    Allabaqsh G. Patil

  • Single invoice for multiple deliveries STO PO

    Hi All,
    Need to create single invoice from multiple deliveries. These deliveries are created from STO PO  and not from sales order...
    VF04 will not work..
    Please let me know if there is any standard t. code for creation of single invoice out of multiple STO PO deliveries...
    Thanks
    Vishwas

    Hi
    The considerations are equal. The question is check in copy rules (for instance, in VTFL you must check the pair IV-NLCC, instead F2-LF). See note 1561427 - Billing document split and related notes.
    I hope this helps you
    Regards
    Eduardo

  • How to calucalate to be delivered and invoiced for a PO?

    Dear experts,
    I want to develop a program to display "Still to be delivered" and "Still to be invoiced" for selected Purchase order.
    Just similar to ME2N... but I found it very difficult to re-calculate them by the complex standard programs (LMEREPI02).
    I was wonder if there may have some functions or BAPI could help?
    Thanks,
    Neil

    if another person needs!!
    Is necessary use the BAPI (BAPI_PO_GETDATAIL1).
    Fill:
    Pushaseorder = With the PO(Purchase Order Number) EBAN-EBELN
    After this, get POITEM the fiel Quantity, have a quantity the PO, but to calculate "Still of delivered" is necessary, cathc the values POHISTORY_TOTAL-DELIV_QTY and subtract the POITEM-QUANTITY.
    Still of delivered = POITEM-QUANTITY - POHISTORY_TOTAL-DELIV_QTY.

  • Mark as billing completed and Invoiced for mass SO.

    Hi,
    I want to mark as completed for large volume of SO's status as Delivered and Fully Invoiced.
    Is there any way to mark this status as completed for Fully Delivered or Delivery Completed and Invoiced.
    Also if there is any error on those SO's how to correct it in mass for the same error which is coming for multiple SO's.
    Thanks in Advance,
    Regards,
    Mohd Ali.

    Hello Mohd Ali
    You may try program SDVBUK00. This is meant to correct any errors in status. But I guess you want to correct the status and not set the status as Invoiced even though the order has not been invoiced.
    Check out these  OSS notes and those mentioned within:
    1472007 - Document status has to be corrected
    207875 - Using report SDVBUK00
    Hope this helps.

  • Can we take standard report for all sales orders based on the condition typ

    Hi all,
    Based on the condition type, we need to take a report for sales orders on the particular date.
    Thanks and Regards.....VM

    Hello again.
    Searching for a solution, I found a Logical Database for sales orders, that have all the information that you need.
    Using like reference the post of Bhagavatula, in the same transaction SQVI you can use, instead of the suggested join, you can select a logical database called VAV in Data source.
    This logical database links the tables, VBAK, VBAP, VBUK and KONV that is the central point of the question.
    You can list the information of logical database using the transaction SLDB.
    In 'Logical Database' inform VAV.
    Press F8 to list all the fields.
    More information about logical database in:
    Link: [SAP Logical Database|http://help.sap.com/saphelp_46C/helpdata/EN/9f/db9b5e35c111d1829f0000e829fbfe/content.htm]

  • Single invoice for multiple deliveries

    hi friends,
    its a case of multiple deliveries in single inoice. split analysis shows split due to defferent header data , number of foreign trade data . As far as I know every delivery is bound to have a unique foreign trade data. How can I combine deliveries into one single invoice.My customer, material , order type , delivery type are all the same.
    Pl. help.
    regards,
    rahul

    Hi,
    In your case ,kindly check the copy control configuration  in VTFL for the field  " Determ.export data     B--Redetermine export data
    once it is maintained and system will combine multiple deliveries into one invoice in your case.
    copy control configuration                                                                               
    Target Bill. Type  FE                   From Delivery Type LF                  
                              Invoice                                    Delive                                                                               
    Copying requirements   003  Header/dlv.-related                                  
    Determ.export data        B     Redetermine the export data                                                      
    Allocation number      E                                                         
    Reference number       A                                                         
    Copy item number      Tick
    If you have any further clarifications let me know
    REgards
    Damu                                                                               
    REgards
    Damu

  • Order and invoice for miscellaneous sales with down payment

    I have followed follwing steps--
    1) MiSc type order (500 EUR)
    2) VF01 with billing doc type VFZ (down payment) (200 EUR)
    actually m doing some testing work---
    now next step is
    Cash the advance:
    According to the payment method of the customer, the incoming payment will be done automatically or manually. In order to unroll the flow fully, we will consider here, a manual incoming payment by check
    Clear the payment with the receivable in the customer account. For this, select the corresponding receivable in the treatment of the uncleared items.
    Through F-28
    how to do this pl guide.
    and next step is to bill remaining amount and book the remaining amount

    Hi nikhil,
    After creation of Order , if you are receiveing down payment from customer , goto F-29 - Down Payment  and enter your sale order also if required.
    After billing invoice will ge generated. then goto F-39 (clear downpayment) and finally goto F-32 and clear open items

  • Invoice for two deliveries

    when i choose T-code VF04 to make billing documents with two deliveries ,i entered sold to party account number and i selected deliveries then execute button ,i got a message : the list is incomplete due to missing authorization i click  enter there is no deliveries shown it is empty despite the deliveries are recorded in the system
    many thanks in advance

    Dear Freind,
    message : the list is incomplete due to missing authorization
    It is advisable that always analyse the Error Message as it alone give more solution to 50% issues.
    It is clearly indicating that u dont have authorization for given tcode,pls consult your BASIS Consultant for the sae.
    Regards,
    Ajit K Singh

Maybe you are looking for