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.

Similar Messages

  • Creation of Automatic delivery and invoice..

    Hi Team,
    Can you guys please tell me the configuration steps of automatic delivery and invoice creation.
    Actually I want to create the delivery and invoice as soon as order get saved.
    I will be highly oblige if you kindly revert me back
    regards,
    jeetsap

    Dear Prasanna,
    In vl23, you will not be able to make changes in the STANDARD VARIANTS.
    You can create your own variant by (SHIFT + F7).
    Give a variant name ' TEST' and click create.
    Now you can give the selection parameters
    Click on attributes
    So you will reach a variant screen, where you have to give  a 'meaning name'...like variant for TEST
    You can see fields .
    Imagine that initially you had given 1100 in the sales organisation.
    Now if we do not want that value to be changed, then use protect field.
    If that field need not be displayed, the choose hide field.
    Usually, these two will be used, if we are going for background processing.
    SAVE and you can see a new variant in VL23 now.
    Thanks & Regards,
    Hegal K Charles
    Edited by: Hegal . K . Charles on Jul 18, 2011 11:48 AM

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

  • Purchase Order and Invoice creation

    Hi All,
    I am having some fields related to Purchase order and Invoice creation, i have to find out the tables to which tables these fields belongs to.
    Below are the Header fields:
    Wrbtr  Tcode - MIRO,
    Lfsnr   Tcode - MIGO,
    Evertn Tcode - Me32k,
    Kbetr  Tcode - Me32k,
    Kschl  Tcode - Mek1,
    Selkz  Tcode - Mek1,
    Werks Tcode - Mek1,
    Evart   Tcode - Me31k,
    Frgco  Tcode - Me35k,
    Sddat  Tcode - Me35k,
    Below are the Detail fields:
    Kbetr   Tcode - Mek1,
    Konwa Tcode - Mek1,
    Lgobe  Tcode - Me21n,
    Planloc Tcode - Me31k,
    Datab   Tcode - Mek1,
    Datbi    Tcode - Mek1,
    Fromdate  Tcode - Me31k,
    Todate      Tcode - Me31k,
    i have to retrive all these fields from tables, so plz anybody give me exact tables to use in the select quries to retrive these fields.
    Thanks in advance,
    Balu.

    Hi,
    U can get the req fields as follows:
    Below are the Header fields:
    1)Wrbtr Tcode - MIRO- table rseg ,field-wrbtr
    give belnr (invoice no ) & BUZEI(item)  if known, else, give ebeln,ebelp.
    2)Lfsnr Tcode - MIGO,-table mkpf,give mblnr (mat doc no ) & ZEILE(item) field-xblnr  or give ebeln,ebelp
    3)Kbetr Tcode - Me32k,
    table:konp or konv.
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH  in 1 of the tables- konp or konv,wil get kbetr.
    4)Kschl Tcode - Mek1,
    Pass ebeln,ebelp to table ekpo, get mwskx(taxcode), u will get condition type kschl from FM -FI_TAX_GET_CONDITION_TYPES.
    or
    table:konh or konp or konv.
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV   as KNUMH in 1 of the tables-konh or konp or konv, wil get kschl.
    5)Werks Tcode - Mek1,-table-ekpo, field-werks(give ebeln,ebelp)
    Below are the Detail fields:
    1)Kbetr Tcode - Mek1,
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in 1 of the tables- konp or konv,wil get kbetr.
    2)Konwa Tcode - Mek1,
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in 1 of the tables- konp or konv,wil get konwa.
    3)Lgobe Tcode - Me21n,give ebeln.ebelp in table ekpo, get lgort.pass lgort to table t001l, u wil get lgobe.
    4)Datab Tcode - Mek1,table-konh,field datab
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH  in - konh ,wil get datab.
    5)Datbi Tcode - Mek1,table-konh,field databi
    Pass ebeln to ekko, wil get KNUMV.Pass KNUMV as KNUMH in  table- konh,wil get databi.
    Hope its useful to u.

  • PO creation Date and Invoice creation Date

    Hi,
    Can any one help me regarding which table I can look for PO creation date and Invoice creation date. I require these fields for my reporting requirement.
    Thanks in advance,
    Arvind.

    Thanks for your response Bala.
    I got the Table which I require. I have one more question on this.
    Can you tell me Invoice Creation Date is RBKP-BLDAT(Document Date in Document) or RBKP-BUDAT(Posting Date in the Document) and PO creation Date is EKKO-AEDAT(Date on which the record was created) or EKKO-BEDAT(Document Date in Document).
    Points already rewarded.

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

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

  • Output type not automatically triggered on invoice creation

    Hi,
    I want to set  three output types ZCUM, ZCUR and ZPCC upon invoice creation.
    I have configured it correctly.  For Output types ZCUM and ZCUR i have maintained condition record in key combination "Billing Type" and for ZPCC condition record is maintained in " Sales Org /Cust. Grp. 5/Ord. reason / Bill. Type" that's the difference.
    In NACZ procedure is Z10000 with requirement is 902 for all three.                   
    Output types ZCUM and ZCUR defaulting upon initial creation. But ZPCC is not defaulting.
    Can you please suggest me the solution ...
    Thank You,
    Archana

    Hi,
    As suggested by Brad, check the Output Determination analysis in Billing document .
    Menu option -> Go to  -> Output
    Select the output type -> Select menu option Go to -> Determin. Analysis
    Expand the Output type determination details of ZPCC by expnading the node in analysis.
    Check whether Green button is displayed against the access sequence mentioned by you.
    Regards
    Vinod

  • Output Type not automatically determined at invoice creation

    Hi Friends,
    I am facing a problem that while i am generating the invoice for a particular billing document type, the output type is not automatically being determined. Instead, I have to go into the invoice in change mode (VF02) Header>Output and assign the output type to it and select the local printer and save in order to print the invoice.
    I am generating the invoice for this Invoice Type/Output type for the first time.
    Please suggest the possible causes.
    Regards,
    Pankaj

    Hello Pankaj,
    Suppose you are using output type RD00 for invoice print out. You have maintained the condition record for RD00 in transaction code VV31. The most important thing here is the assignment of the printer.
    Suppose for output type RD00 you are maintaining the condition record for key combination - Sales Organization + Distribution Channel + Division.
    At the header level you will see the Sales Organization & Distribution Channel & at the item level you will see the Division.
    Sales Organization = BP01
    Distribution Channel = 01
    Division.............Name..........Funct.........Partner............Medium......Disp. Time.....Langu
         01............... Std Division..........BP............--......................1......................3................---
    Select the line item & click on Communication. Here assign the output type which you will use for the print out. Now Save the condition record.
    After doing this try running one sales cycle  - sales order - delivery - invoice. Save the invoice & now check in the change mode (transaction code VF02) the system will determine the output type RD00 automatically.
    Note:
    1. In the create mode the system will not display the output type RD00, after you have saved the invoice the output type will be determined automatically.
    2. Also check if there is any requirement assigned for the key combination in the access sequence (IMG - Sales and Distribution - Basic Functions - Output Control - Output Determination - Output Determination Using the Condition Technique - Maintain Output Determination for Billing Documents - Maintain Access Sequences)
    With best regards,
    Allabaqsh.
    (Idhasoft Ltd.)

  • 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

  • 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

  • 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

  • Taxonomies : automatic folder and query creation

    Hi all,
    Is it possible to create KM Foders on a specific path in Taxonomies folder programatically ?
    I am able to create a folder in Documents but not sure how to create it in Taxonomies ? Will appreciate and reward relevant info.
    Thanks and cheers,
    Amit.

    Hi,
    As you need to get the barcode information firstly and then create folder hierarchy and upload document, workflow is not enough to achieve it your requirement.
    If your environment is Office 365, I suggest you can create folder hierarchy and upload document using Client Object Model.
    Here are some detailed code demos for your reference:
    Call O365 using CSOM with a Console Application
    Creating Nested Folders via Client Object Model
    Upload documents using Client Object Model
    About bar code recognition tool for Office 365, I suggest you can create a post in Office 365 forum, you will get more detailed
    information from there.
    http://community.office365.com/en-us/f/default.aspx
    Thanks
    Best Regards,
    Jerry Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

  • 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

Maybe you are looking for

  • Schema not showing default tables

    Anyone know why a requested and granted schema would not have the default tables? Can a granted schema be deleted? Should I be asking schema questions to the administrator? Thanks in advanced for your feed back.

  • FIOS and Wireless Connection Disconnecting

    I now have Verizon FIOS and only on my MacBook Pro the wireless keeps disconnecting after 5 minutes of inactivity. I tried testing connectivity on a Windows laptop and on an iPad and there are no issues.  I called VZ and they said this is an Apple Ma

  • How can i set my wallpaper in Lumina 920

    How can i set image as my wallpaper in Lumina 920. Please help me !

  • Sales Order booked Email to party

    Hi, We need to send a mail to the customer when their sales order is booked.Is this possible??If, possible then how can this be done? Regards, AA.-

  • Problem in updating software of nokia 6120c

    hi. . I want to update my device(nokia 6120c) software from v 7.10 to v 7.20. . . But there is problem with it that i'm getting a popup as No update is found. . . How could i update ?