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.

Similar Messages

  • Change Picking data, then call Delivery Note and Invoice in the background

    I have designed a GUI where the picking data (from table LIPS) is changed.  Now my SD consultant wants the program, when a SAVE or CONTINUE button is clicked, to do the Delivery Note and Invoice in the background.
    To quote:
    Your progrm must change the values in the delivery in txn VL02n, when the delivery is saved it updates LIKP and LIPS amongst othr tables. When the invoice / billing doc is created it is done with ref to the delivery. Billing doc created using txn VF01, the main tables of the billing doc are VBRK (header) and VBRP (item).  And for completion sake, tables VBAK and VBAP are the sales order tables!
    In my PAI module, how do I do the calling of these two functions?
    The consultant suggested I use a BDC. Why can't I use Call Transaction.... ?   What is the best way to do this?
    At the moment, my SAVE button updates an internal table of LIPS, and for test purposes it exits to List Processing to test if the amounts changed correctly.
    Hope someone can help.

    Hi
    Ok.
    Do you mean "Accual GI Date" in Item overview ?
    I have performed a test. When I check "Goods Issue delivery" indeed it has posting date in the past.
    Now for the invoice:
    I set
    "Billing date"
    "Serv. rendered" date
    and "Prining date" in the past.
    Would it be enough to post everything in the last month ?
    regards
    Rafal

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

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

  • 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

  • Inter Company Delivery Status being processed even after PGI and Invoice

    Dear All,
    I am currently experiencing problem with the status of my delivery. The status remains as 'being processed' when checked in the document flow even though the goods issue, inter company invoice and GR at recipient co code have been successfully posted.
    Please advise how to solve this problem.
    Thanks in advance!
    Regards
    Animesh Chakraborty

    Dear Mihir
    Thanks for u'r prompt reply.
    Please find below settings which I have maintained
    Billing quantity     B (Delivery quantity less invoiced quantity)
    Pos./neg. quantity   +  (Positive)
    Please guide me what to do next.
    Regards
    Animesh

  • Automatic Delivery, PGI and Billing

    Hi SD gurus,
    Will appreciate the feedback on this. In standard SAP, upon creating and saving of sales order, we need to create outbound delivery ( and do picking for picking-relevant item ), then do PGI. Upon that, create billing document and save.
    My question is, if upon creating and saving of sales order, I want to make the subsequent processes runs automatically, how can it be done ?
    The triggering part from saving the sales order - can that be done via userexit ? If so, which userexit can I look into ?
    For the automation of delivery, PGI issue and billing, are there any BAPI or userexit that can accomodate that ? If so, can anyone be kind enough to pinpoint to me how to locate it and if possible, what are the key things I need to look into ? I believe it can be done via BDC as well but I'm not too sure how to go around it.
    Really looking forward to some valuable feedbacks here. Many thanks way in advance.
    Warmest Regards,
    Janice

    Hi Janie,
       You can also create a BDC program where everything would be created on its own.You can take the help of ABAPer for this purpose.
    It will also do the availability check and in your program you can create the logic that PGI would be done only if the confirmation date in the schedule line is today's date.
    We ourselves have created the same scenario in our own project and it has worked really well.
                                               OR
    Configure the sales order such that the delivery is created on saving the document. This can be achieved in sales order type.
    Create a Batch job which does the subsequent steps.
    On creation of delivery, use the function module 'ws_delivery_update' or 'SD_DELIVERY_UPDATE_PICKING_1' or 'BAPI_OUTB_DELIVERY_CONFIRM_DEC' [take the Help of an ABAPer] to perform the PGI. In the end use the transaction for billing due list to create the billing documents.
    Reward points if it works.
    Regards
    Karan
    Message was edited by:
            Karan Bhatia

  • How can we get Delivery Slip and Invoice number for the SO in custom Report

    Hello,
    I am developing a new report for the Sales Order.For this , I have to diplay the Deliver slip and Invoice number.
    Could you please explain the logic for this.
    Thanks and Regards
    NTR

    Hi,
    Pass sales order number to table VBFA-VBELV. You will get the complete doc flow. VBTYP_N differentiate whether it is delivery,GI or invoice etc. (Check for domain values for more info on this)
    Thanks,
    Vinod.

  • Distinguishing between IDocs for Delivery, Shipment and Invoice

    Hi Experts,
    I have a requirement where I am triggering IDocs from SAP for Delivery Document, Shipment and Invoice and sending them to a third-party middleware everytime they are created in SAP, by configuring output types for these documents.
    I want to know if we have any field in these IDocs's Structures that can be used to distinguish between the different documents such that we can identify which document has been received based on this field (or combination of fields)?
    I tried to use Document Category for this purpose, but this field is not available in Invoice and moreover, the IDoc Segment names are different for every IDoc's message type.
    The key point here is that I am not allowed to do any sort of Customization in SAP to achieve this and I can only go about using the Standard Functions inherently available in SAP.
    Please suggest a possible solution for this predicament of mine.
    Thanks in advance.
    Regards,
    Keerthi

    Hello Keerthi
    I do not see where the problem lies.
    We exchange via FTP share  similar documents with one of our logistics partner:
    Inbound delivery (VL33N) => sent as DESADV.DELVRY03 => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTI
    Shipping Order (VL03N) => sent as SHPORD.DELVRY03   => converted on SAP-XI to TRADACOMS ORDHDR => file suffix .LTO
    I am not a fan of functional file names yet if the third-party tools is not capable to distinguish between the documents based on their contents at runtime then we need old-fashioned unique file suffixes.
    Of course the two ORDHDR messages can be distinguished based on their contents. The message contains a TYP segment with the following qualifiers:
    TYP/TYP2 = '0430' = (shipping) order (= outbound delivery)
    TYP/TYP2 = '0660' = inbound delivery
    From this logistics partner we receive two different kinds of DLCHDR (delivery confirmation) messages:
    TYP/TYP2 = '0670' = Proof of Delivery for (shipping) order => mapped to STPPOD.DELVRY03
    TYP/TYP2 = '0695' = Goods receipt for inbound delivery    => mapped to WHSCON.DELVRY03
    The files have different suffixes yet they are not evaluated. SAP-XI just picks both messages and evaluates at runtime whether it has to transform the DLCHDR into a STPPOD or WHSCON IDoc.
    Regards
      Uwe

  • Create   Sales order ,Delivery, Billing and  Invoice no. in back date.

    Hello Gurus,
    Goodevening ,
    we have a requirement , here  we need to create, Delivery on  back date. 
    Note- System should   do the  availability  check on  back date. ( 1.e on requested delivery date) and confirm quantity on that date.
    Note-What ever sales transaction happned  yesterday  day will be enterded  today on yesterday  date( this daily  happens to this industry).
    My problem is system is not doing availability check on requested  delivery date  its just doing on todays date and giving confirmation but in system stock was there on yesterday date.
    Note - Always there is one day back log  for actual sales and system entry.
    Looking for your inputs
    Thanks in advance.
    Regards
    Ravi.M

    Hi  Lakshmipathi,
      Thanks for you reply,
    This a typical kind of industry.-Poultry industry
      They do the transactions  in the night times at farms where they will not have any access for systems.so they  want to post those transactions on back date.
    Note- i  do have  idea, system  does do availability check on  current date,but is there any possiblity for back postings with  availablity check  that  I am  looking for all the possible  options  with all the possible  feed backs.
    Note- Customer is selling the semi -finished product that i have already mentioned, whether i maintain   OR not  maintain system is doing avaliblity check  in  SD , as the meaterial  is   semi -finished  maintained by PP in MRP3.
    Thanks  in advance
    Regards
    Ravi.M

  • Different delivery challan and invoice in trading plant

    Hi,
      We have depot plant,  in which we purchase material from vendors, importer  as well as with in india  , our requirement is there should be separate invoice for materials  if it is purchase from different vendore
    e,f   Material   ,A,B,C,D
    material A and B is purchse from vendor XYZ
    and material C and D is purchase from vendor  WXY
    now in such case there shoudl lawasy two different inovice ,  can you give any link  is there any setting to meet this requiremen  or what can be done for this also material vendor is not always  same  means  material  A can be import as well as can be with in india purchse.
    regards,
    zafar

    Hi,
        The basic requirement is for the trading of material which is imported  and for the material which are purchase locally there should be different invoice for such materials,  but while creating the sales order we have only one sales order including all types of materials so in such case we want to create different delivery challans  so that different invoice can be made easily  or only twi invoice for one delivery challan.
    regards,
    zafar

  • Difference between Pgi and Invoice verification

    good receipt=100
    invoice verfication=110
    how u can find out price differences

    hi,
    During Goods receipts values floes from Purchase order as there will no invoice of vendor.
    At gate security will just enter PO number and qty. system internally will generate
    Invent
      to GRIR
    based on po value
    later when final invoice is received from vendor in Finance. Finance wil carry out MIRO and enter Gr number or PO number and MIgo enter will appear. At that point difference in value between PO and final invoice will appear.
    Hope it is clear
    Regards,
    Atul

  • Extended Idoc - User exit for delivery VL01 and Invoice VF01

    Hi Experts,
    We are developing Extended Idoc for order - cash cycle.The extended Idoc contains 4 extra fields.
    I want to know the User exits where i can populate the extended segment field values for VL01 and VF01 transactions.

    HI
    exits available for  VL01.
    VMDE0004                                Shipping Interface: Message SDPACK (Packing, Inbound)
    VMDE0003                                Shipping Interface: Message SDPICK (Picking, Inbound)
    VMDE0002                                Shipping Interface: Message PICKSD (Picking, Outbound)
    VMDE0001                                Shipping Interface: Error Handling - Inbound IDoc
    V53W0001                                User exits for creating picking waves
    V53C0002                                W&S: RWE enhancement - shipping material type/time slot
    V53C0001                                Rough workload calculation in time per item
    V50S0001                                User Exits for Delivery Processing
    V50R0004                                Calculation of Stock for POs for Shipping Due Date List
    V50R0002                                Collective processing for delivery creation
    V50R0001                                Collective processing for delivery creation
    V50Q0001                                Delivery Monitor: User Exits for Filling Display Fields
    V50PSTAT                                Delivery: Item Status Calculation
    V02V0004                                User Exit for Staging Area Determination (Item)
    V02V0003                                User exit for gate + matl staging area determination (headr)
    V02V0002                                User exit for storage location determination
    V02V0001                                Sales area determination for stock transport order
    For VF01..
    Enhancement
    V61A0001                                Customer enhancement: Pricing
    V60P0001                                Data provision for additional fields for display in lists
    V60A0001                                Customer functions in the billing document
    V05N0001                                User Exits for Printing Billing Docs. using POR Procedure
    V05I0001                                User exits for billing index
    SDVFX011                                Userexit for the komkcv- and kompcv-structures
    SDVFX010                                User exit item table for the customer lines
    SDVFX009                                Billing doc. processing KIDONO (payment reference number)
    SDVFX008                                User exit: Processing of transfer structures SD-FI
    SDVFX007                                User exit: Billing plan during transfer to Accounting
    SDVFX006                                User exit tax line in transfer to accounting
    SDVFX005                                User exit reserves in transfer to accounting
    SDVFX004                                User exit G/L line in transfer to accounting
    SDVFX003                                User exit cash clearing in transfer to accounting
    SDVFX002                                User exit for A/R line in transfer to accounting
    SDVFX001                                User exit header line in delivery to accounting
    J_3RSINV

  • Delivery and Invoice Numbering range

    Hi Friends
    Delivery and Invoice Numbering range Plant Wise.
    1. I have one Company Code Many Plant. Whenever i am creating the Delivery and Invoice, i should want different Numbering range of Delivery Number and Invoice Numbers. So that i can understand that these invoice raised from particular plants
    Regards,
    Udhay

    HI
    To achieve this you have to for Development using Userexits in MV50AFZZ and RV60AFZZ respectively for Delivery and Billing.
    Create a ZTales and maintain the list of Plants and the corresponding Number ranges.
    Then the system takes the  Number corresponding to that plant in the document under creation, from the list in Ztable.
    Thanks,
    Ravi

  • Delivery and Invoice Number Plant wise

    Hi Friends
    I have one Company Code Many Plant. Whenever i am creating the Delivery and Invoice, i should want different Numbering range of Delivery Number and Invoice Numbers. So that i can understand that these invoice raised from particular plants
    Pelase send me sourse code
    Regards,
    Udhay

    hello,
    changing nuber range:
    1. for deliveries:
    program MV50AFZ1:
    FORM USEREXIT_NUMBER_RANGE USING US_RANGE_INTERN.
    Example: Numer range from TVLK like in standard
    US_RANGE_INTERN = TVLK-NUMKI.
    ENDFORM.
    2. invoices:
    program RV60AFZC:
    FORM USEREXIT_NUMBER_RANGE_INV_DATE USING US_RANGE_INTERN.
    Example: Number range from TVFK like in standard
    US_RANGE_INTERN = TVFK-NUMKI.
    ENDFORM.
    reward points if helpful
    best regards,darek

Maybe you are looking for

  • Two Deliveries did not go through Batch Job Runing

    Hi, In this company every evening the automatic batch Job for Billing due list is run but on Nov 23 one Deliver and on Nov 30 another delivery has not gone through i.e. the invoices were not created for these two deliveries. I checked in VF01, the in

  • I just upgraded to Mavericks and can't use my Epson Scanner

    Everytime I try to import with my Epson V600 scanner Photoshop just crashes.   Anyone have this happen and find a solve?

  • ShowModalDialogue displays status bar when not told to

    Hi I am using the below code to display message box to the user var sOptions="dialogHeight:150px; dialogLeft:200px; dialogWidth:500px; help:no; scroll:no; status:no;"; var intRet = theApplication().ShowModalDialog("MsgBox_orig.htm", arr, sOptions); E

  • How to get my imac to recognize my canon vixia hf40 in imovie?

    Hi Apple Support i just bought a new iMac and a Canon Vixia HFM40 and can not get iMovies to recognize the HD video/camera ....using the USB connection from the camera to the iMac , the photo came in lighting quick, the camcorder has an HDMI out on t

  • Sync session fails

    I bought a new computer, loaded itunes, and it won't sync. All I get is sync session failed to start.