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

Similar Messages

  • 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

  • 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

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

  • Sales order, Delivery and Billing document creation

    Hello Experts,
    I am working on credit management and am in need of creating sales order, delivery and billing document.
    Can some one send me the screen shots or any doc which outlines order,delivery and billing document creation.
    Will award points definitely.
    Also what are the t.codes for these creation?
    Regards,
    Sriram

    Order Create:
    Transaction VA01
    Give the order type , If standard order use OR or ZOR, which ever is maintained
    Then give the sold to and press enter
    In the Items screen Give the material and quantity and press enter. This should be enough to create an order, if u need u can give order reasons...etc. Then save the Order. Note down the order number.
    Go to VL01N-
    and give the above order for which u are doing delivery, In the pick quantity enter the amount in the order and press enter. and make sure the delievry date should be the same in the Sales Order Schedule line- REquested delivery date. Save the document.Note down the document number
    Go to VL02N - Open the above delivery document and click on PGI - done
    Now go to VF01 and this should bring up the delivery document number., If it doesnt , give the delivery document number and hit enter. then save the document. Billing is done.
    Regards
    Sai

  • 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

  • STO with del and billing

    Hi Experts,
    I created STO with order type NB as per standard. now from SD I created delivery and since its One step and automatic GR/IR should be done I check one-step check box on omgn screen. Now I need your help to proceed further to billing. In STO , I have no idea how the standard billing takes place. can u plz provide some help on tcodes and further process.what are the necessary settings to be done to go for billing in STO scenario?
    Thanks,
    kanna Palle.

    Hi Kanna Palle,
    Firstly, you should go to your delivery type from 0VLK t-code in order to check and maintain your default order type in delivery type configuration. After checking default order type used for delivery, please go to sales order type configuration for your default order type from VOV8 t-code. And please maintain dlv-rel.Billing type you want to use according to your business requirement should be allocated there in the sales order type.
    According to maintaining billing type into the sales order type configuration, you need to maintain copy control for this requirement from VTFL t-code for copy control: delivery to billing document. You can maintain it as below example:
    - go to VTFL for copy control: delivery to billing document
    -for header details: Copying requirements-003-Header/Dlv-related, Assignment Number--C,  Reference number---E
    -for item details: Copying requirements-004-Deliv-related item, Data VBRK/VBRP---001-Inv. Split (sample)
    Billing quantity----
    B
    Pos./neg. quantity----+
    Pricing type----
    G
    Price source----
    E
    These configurations will allow you to create billing by using delivery doc. number as a reference from VF01.
    Please try these ways to meet your requirement. I hope it will works on this issue.
    Regards,

  • BAPi to create Outbound delivery with PGI

    Hi all,
    What BAPi , we can use to create Outbound delivery with PGI.
    Please help me in this regards.
    Deekshitha.

    Hi,
    Use the BAPI BAPI_GOODSMVT_CREATE
      check this link.... u will get all help from this code..
    http://sap4.com/wiki/index.php?title=BAPI_GOODSMVT_CREATE&printable=yes
    <b>rEWARD POINTS</b>
    rEGARDS

  • Update delivery with material and quantity.

    hai abap gurus,
          My requirement is to create a sales order and create a delivery with sales order reference.
          I done both.But now i want to  update my delivery with material and quantity.
          Is there is any bapi or function module.
          can any one help for my request.
                                                             with regards,
                                                                  mallik

    Hi,
    You're on good way while using FM SERNR_ADD_TO_LS and SERIAL_LISTE_POST_LS .
    In the second function module you don't need to pass anything.
    Don't forget to make a commit work to avoid database error during synchronisation.
    I had also one case of updating the serial to the document. It was the Sales order. I have worked with the function module SERNR_ADD_TO_AU which is internally using the function module SERNR_ADD_TO_DOCUMENT. The following is the sample code for it:
      CALL FUNCTION 'SERNR_ADD_TO_AU'
        EXPORTING
          sernr                 = w_sernr
          profile               = c_zd01
          material              = w_matnr
          quantity              = '1'
          document              = w_vbeln
          item                  = '00010'
          debitor               = fs_header-sap_ship_to
          vbtyp                 = 'C'
          sd_auart              = w_doc_type
          sd_postyp             = w_item_cat
        IMPORTING
          anzsn                 = w_anzsn
          zeilen_id             = w_zeile
          serial_commit         = w_serial_commit
        EXCEPTIONS
          konfigurations_error  = 1
          serialnumber_errors   = 2
          serialnumber_warnings = 3
          no_profile_operation  = 4
          OTHERS                = 5.
      IF sy-subrc eq 0.
        CALL FUNCTION 'SERIAL_LISTE_POST_AU'.
        COMMIT WORK.
      ENDIF.
    And one more thing, don't forget to have the call to the function module 'SERIAL_LISTE_POST_AU' amd commit work if the return code is 0. This is also mandatory.
    regards
    Satish

  • Delivery with reference to billing

    Dears,
    can i create delivery document with reference to billing document ?

    Dear,
    Simple SD flow
    Inquiry -> Sales Order -> Delivery -> Billing-> FI posting
    this flow is always in forward direction.
    You can create order with ref to existing order.
    Delivery with ref to existing delivery.
    but delivery with ref. to billing (invoice) not possible.

  • 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

  • How to enable Billing plan tab in sales order (lean) with NWBC

    Dear All,
    The Billing plan tab in sales order (lean) is not availabe with NWBC. How to enable this tab?
    Is there is any documentation to do the modifications of NWBC's webdynpro screens?
    for example, there is a standard webdynpro screen in NWBC from SAP best practices to create sales order (lean). The lean sale order screen having restricted elements and tabs when compare with standard SAP GUI (t code va01).
    So I want to include the few missing tabs for data entry.
    any documentation or solution?
    thanks in advance,
    Suresh Yerra.

    Dear All,
    Is there is any documentation to do the modifications of NWBC's webdynpro screens?
    for example, there is a standard webdynpro screen in NWBC from SAP best practices to create sales order (lean). The lean sale order screen having restricted elements and tabs when compare with standard SAP GUI (t code va01).
    So I want to include the few missing tabs for data entry.
    any documentation or solution?
    Thanks,
    Suresh Yerra.

  • Problem with Rescue and Recovery after installing Norton Internet Security 2010

    Hi all.
    It's my first time in this forum.
    I have a problem, with Rescue and Recovery, after installing Norton Internet Security 2010 on my T43.
    The message I get it:
    "Rescue and Recovery is unable to back up the file 'C:\Documents and settings\all Users\Application Data\ Norton\ 00000082\00000109\000003c1\cltMLS1.bat' Because the file is either corrupted or being used by another application. Please close any application that could be using the file.
    I tried to close the Norton but I couldn't find how.
    Tanks
    Doron71

    Hi and welcome to the forum,
    the reason for this situation is, that the antivir files are protected from being modified.
    This is the reason, why this file cannot be backed up. I assume, that you would get much more such messages, as there are surelly multiple files files, that are protected like this.
    So the solution is to block folders from being archived. Please start RnR application and in the configuration set this folder as the excluded one.
    This will skip the backup of this file and will fix your situation.
    Please let me know, if you have covered this.
    Cheers

Maybe you are looking for