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

Similar Messages

  • 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

  • I want to do pgi and billing after saving the order automatically

    Hai Gurus,
         This is a cash sale scenario. Delivery will be created at the time of saving the order.
    Now the requirement is that like delivery document created PGI and billing document also should be created.
    case: VA01-CREATE
    delivery created,pgi completed and billing document created;
    How can we map it and what process should i follow to fulfill this requirement.
    Thanks in advance
    sameer

    firstly this is a cash sale scenario;customer will be at the site.so end user has to give the print out of the billing as soon as he orders.
    to make this happen and faster this requirement is given by client.
    customer cannt wait for 10 minutes.
    enduser cannt say to customer just 10 minutes.instead of that end user can manually do teh work.
    to avoid the manual work itself it should automate.
    thanks for valuable time and suggestion.

  • Automatic determination of Delivery type and Billing type in a sales order

    Hi,
    I want to know that in a sales order cycle, how does automatic assignment of delivery type and billing type takes place after we create a sales order?
    For example,when I create an outbound delivery for a sales order of type normal (OR) then in that case how does the system knows that it has to create an outbound delivery of type LF.How does the system propses it automatically and same is the case of billing document.

    Hi
    In customising the sales document type (Tcode VOV8) -
    specify the default Delivery type in the field DELIVERY TYPE in the 'Shipping' area of the sales document type customisation.
    Similarly you can specify the billing type in the BILLING area for both Delivery related billing and Order related billing.
    Thanks,
    Ravi

  • Scenario CASH SALE-AUTO PGI AND BILLING

    Hai Gurus,
    This is a cash sale scenario. Delivery will be created at the time of saving the order.
    Now the requirement is that like delivery document created PGI and billing document also should be created.
    case: VA01-CREATE
    delivery created,pgi completed and billing document created;
    How can we map it and what process should i follow to fulfill this requirement.
    Thanks in advance
    sameer

    Hello,
    We will not be able to achieve the same through config. As you know the immediate delivery will happen but PGI and billing will not happen. Before PGI, there are many other process can happen like picking, packing, serial number assignment ...etc. So I you want to have auto PGI and invoice while saving the cash sale, the process has to be enhanced. Contact your senior ABAP consultant with a clear requirement, he may be able to guide you properly.
    Prase

  • CASH SALE-AUTO PGI AND BILLING

    Hai Gurus,
    This is a cash sale scenario. Delivery will be created at the time of saving the order.
    Now the requirement is that like delivery document created PGI and billing document also should be created.
    case: VA01-CREATE
    delivery created,pgi completed and billing document created;
    How can we map it and what process should i follow to fulfill this requirement.
    Thanks in advance
    sameer

    it follows the same logic of cash sales.
    as we all know- system creates delviery number at the time of saving cash sales doc-
    here you might have same doubt- how the system finds the cash sales order number to generate delivery doc.
    its there in background prog.
    as i know- system find for the shipping condtion ( sales doc type ship condition has the priority), if the ship cond- X-create immediate delivery. then system call the transactin "Create delivery-"& the relevant data will be copied from sales order to delivery.
    in the same way- this can be possible to call the transaction to do PGI,if PGI status is "completed" then call the transaction "VF01-create billing" & save the document - if the "log" message is "empty"-
    i guess we can customize the program with above logic-
    if ship cond = X,
    create delivery
    if delivery no= "XXXXX" -
    this will take the ref from VBUK
    do PGI
    if del overall status - "Completed"
    then create billing
    if log="empty"
    save billing.
    i guess, its possible , plz check with ur abaper- give the logic.

  • Automatic delivery after the billing

    Can anyone tell me if there is a standard way to make an automatic delivery after the billing process.
    as my cycle will be Sales order->billing->automatic delivery->PGI.
    Thanks in advance.

    Hi
    Welcome to SCN Forum
    There is no standard way to make automatic delivery after the billing process.But you have to do some configurations firstly in VOV7  you have to change the billing relevance to Order related billing.In VOV8 also you have to check the box immediate delivery ,so that delivery document is created Then you run background job for billing as VF06. then you run a background job VL23..Please set the billing background job time before the delivery background job time
    NOTE : Kindly search in the forum before posting any thread
    Regards
    Srinath

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

  • Accounts in PGI and Billing

    Hi Gurus,
    As we know, there are accounting documents generated when PGI and Billing doc created.
    I just like to clarify the difference between these 2 types of accounts.
    Am I right to say:
    1. When PGI, its Inventory accounting and the postings involved is not the same as that when Billing doc is created and postings released to FI. Both posts to FI however. But the GL accounts are different.
    2. For both situations, the CO-PA docs are posted to the same account of COGS.
    3. Material Doc is posted only when PGI and not when Billing doc is released to FI.
    Question:
    1. Can I know if the GL accounts involved in the 2 processes are different, what are the gl accounts invovled for Inventory accounting?
    regards
    M Russo

    Hi,
    Post goods issue is the process where the material movement happens. Whenever a material movement happens, a material document is created. To update the inventory (stock value), a FI document also created when we do PGI.
    Creation of the billing document is like a debit note that is sent to the customer to pay for the material supplied. So, the customer account and the sales accounts are updated.
    PGI and Billing are different processes; the corresponding GL accounts are also different.
    You can trace the GL accounts involved in PGI. If you know the material document number and year of the transaction, enter the values in transaction MB03. Click the u2018Accounting Documentsu2019 button. Click on u2018Accounting documentsu2019; you will get the GL accounts for this particular transaction. These GL Account numbers are set by transaction OBYC.
    Example:
    While doing PGI, Trading Account (310000) is credited for $100 ie)  -$100
    Inventory change account (894025) is debited for $100 ie)  +$100
    While doing Billing, Sales revenue account (800000) is credited for $175 ie) -$175
    Customer account (1360) is debited for $175 ie)  +$175
    The difference in value ($75) between PGI and Billing shows the profit margin. The material valuated for $100 is sold to the customer at $175.
    Hope this information will be useful to understand PGI and Billing.
    Regards,
    K Bharathi

  • How to delete PR tied to SO which already have PGI and billing

    Hi
    Can anyone help me how to delete my PR which was tied to a sales order that have already PGI and billing?
    I tried to delete the PR directly but system don't allow as it said it is tied to SO.
    I tried to delete the Schedule Line item in the SO but system not allow.
    how?
    thanks

    Hi
    Reverse all.
    Billing > PGI > SO then delete PR
    Karthik

  • Auto Creation of Delivery with PGI and Billing after creation of Sale Order

    Dear Experts,
    I am having one Req. like...After creation of sales order ..automatic Delivery and Billing should be done.
    Right now i m able to create automatic Delivery but PGI is not happening for that delivery.
    Is there any configuration I have to do ... or by any user exit we can get the solution.
    Can u please provide me solution for this.
    Regards,
    Sanket.

    Hello,
    yes, you can create the PGI Atomatically by BATCH JOB using the program nder the VL23 transaction code.
    Goto the Transaction code SM36 to create a job for the program  SAPMSSY0 which is the program for the AUTO PGI
    create a variant for the Delivery document types and sales organisation combinatioans and add this variant to the bath job created in SM36.
    Set the time of the Job to run after every 5 minutes, so once the job exected it will pcik all the Deliveries which are pending for the PGI.
    After the PGI done you can run SDBILLDL program to create the Billing for all the document which were cleared and due for Billing.
    Hope it is clear for yo, please revert if you need frther clarification .
    santosh

  • Pricing date in delivery document and billing document

    Hi All,
    Pricing date in billing document can be controlled by copy control between order and billing document. This config is done in the field Pricing source. If i its set as "order", then my pricing date in billing doc will be same as that of order document pricing date. Tell me if i am right???
    Where can i maintain the setting for determining the pricing date in delivery document.???

    Hi Tushar
    Where do you find Pricing date in Delivery and Billing ?
    Pricing date is in Sales order, system takes rate of the pricing conditions valid on this date, from their condition record.
    Are you talking of Pricing in Billing document, whether it will be copied from sales order, or delivery document etc , Right?
    It is controlled from the "Pricing source" field (D- delivery, Blank- order,E - delivery/order etc.) in the copy control table at item level (VTFL).
    Suppose, the value is E, that means Pricing data will be copied from order aswell as delivery(if any).
    The copied will be copied as it is or Tax will be redermined or Freight will be redetermined etc will be decided from the "Pricing type "field.

  • Difference between accounting document of PGI and billing

    Hi,
    I want to know the basic differences between the accounting document created after PGI and accounting document generated after billing?

    Dear Christino,
    To generate Accounting Document after PGI, following settings need to be done:
    T. Code: OMS2
    For your Plant and Material-Type, "Value Update" must be checked.
    Also, a relevant accounting document is assigned the material document or not.
    In Sales Order, we have condition tpe VPRS, which captures the standard value from material master after costing run.
    When we do pgi we need to do inventory accounting & stock reduction should take place.As a result, the following posting takes place:
    1. T. Code: MMBE - Stock get reduced from the plant/storage loc.
    2. T. Code: MD04: Out bound del. note and the qty. set off in stock requirement list
    Also check, [A/C Doc. for PGI|Account Determination for PGI document]
    Whereas, After Invoice, the Accounting Document generates, as an effect:
    Customer A/C gets Debited and Sales A/C gets Credited.
    For more, refer: [A/c Doc.|Accounting entries and material moment types after PGI]
    Best Regards,
    Amit
    Note: In General,
    A/C Doc. Type after PGI: WL
    A/C Doc. Type after PGI: RV

  • Reg.condition types should come automatically during CR and Billing creatio

    Dear Friends
    I create new condition types for MRP price and other taxes which is working fine but I have to be entered each time when I create CR and Billing, I want those conditions which is mentioned in the procedure-.control data should come automatically during the the CR and Billing. Please advice me. Previously I got a reply that should create condition record for each condition in VK11,HOW it is possible ?
    I didnot assign any access sequence to my conditions which is newly created, so that the above problem could be arrived?
    Thanks in advance
    Rajakumar.K

    Hi,
    If there is access sequence then it is possible to bring condition in sales document automatically.
    for this Just create on dummy access sequence and assign to condition type
    Generate table with combination of only sales organization by V/03
    Create access sequence by V/07 and assign this table
    Assign this access sequence to condition type
    in V/06 under change can be made tab for Manual entries  put blank (No limitations)
    Maintain condition record for condition type (with price or without price) 
    Then condition will come automatically
    kapil

  • Automatic PGI and Billing

    Hi All,
    Currently am trying to look for any userexit or fm that can cater to the afore-mentioned automation.
    Any feedback will be much appreciated.
    Thanks.
    Regards,
    J

    Hi Janine,
    I think the programs needed to enable automatic PGI, invoice are already given by people.
    For automatic PGI you can use the program.
    For automatic billing you can also use the billing due list t.code VF04
    You ony need to create variants for these programs or tcodes and then schedule a background job as per your schedule in SM36
    If you want to know how to schedule a background job, please let me know.
    Reward if it helps.

Maybe you are looking for

  • HT3275 Time Machine says my external hard drive does not have enough

    Time Machine says my external hard drive does not have enough space for the current backup.  It needs 34 G out of a 250G hard drive.  All that is on the drive is earlier backups.  I recently added memory, which may confuse Time Machine into thinking

  • Copying any text in symbol copies ALL text in symbol

    Running Illustrator CS4, Mac 10.5.4, Quad Intel Selecting any text within a symbol--even one word of a paragraph for instance--copies *all* of the text in the symbol (including text in any nested symbols). (This has been convenient when stripping tex

  • USB Question

    Back in the crazy days of the late '90s when a young man named Bill Clinton met an even younger woman named Monica Lewinsky, I found myself with a Blue and White G3 and one of the first ever Biondi Blue iMac DVDs... (We used to take it on trips in ou

  • Oracle RAC and FAN

    Hi, I use OCCI to connect RAC DB, I implemented TAF in our application, do I need to implement FAN in my applicaiton? it seems that I will write much code in OCCI. And who can interpret the diffirence of FAN and TAF, in othe words, when do I need to

  • Missing Script Icon & Crashes

    1. Among some other problems I'm having with Address Book, my script icon is not appearing in my menu bar. I have several scripts loaded into what I think is the correct folder (~/Library/Scripts/Address Book Scripts), but alas, no icon, hence, no us