PGI after Invoicing process

Dear All,
We have a scenario wherein due to lack of space in Factory, the goods is moved to an external warehouse and from there it is being dispatched to the Customer as soon as they get the clearance approval. The Excise Invoice and pre-shipment Invoice are raised when the goods move out of factory without the PGI . The PGI is done later when the goods move out of the external warehouse to the Ship-to- location. Subsequently the Commercial Invoice is created.
For this we had mapped external warehouse as Storage location and the scenario is working fine.
Now there is a case arised where the business wants to move the goods from the external warehouse to a C&F location in the region of the Ship-to-party so that there is no delay in the dispatch.
So the cycle will be  Plant--> External warehouse> C&F location--> Ship-to-Party.
I would like to know the best way to map this scenario considering the process and the documentation.
Regards,
Karthik.

Dear Lakshmipathi,
a) Material is being sold to some X1 customer for which, a sale order is raised and that end customer is treated as a sold to party.- Correct
b) Once stock is made ready in parent plant, it would be moved to external warehouse which is treated as another storage location and you create a delivery, do PGI & Billing on X1 with Y1 as ship to party who are in another state for which the necessary tax and ED are levied in the billing document.-  Correct
c) Though goods are invoiced, one more physical activity is being carried out that is it is being transhipped at C&F location and from there with the documents generated at second stage stated above, the goods are delivered to X1 customer.-  This is the new requirement which needs to be mapped.
I would also like to add that I am stil not clear on what clearance your client has got from statutory authorities to have a transhipment at c&f location. May be if you can explain this from legal point of view, to some extent, suitable proposal can be given.- Basically the sold to party i.e. the customer decides to which location  the dispatch of the goods to happen.So based on that the dispatch is being done from the External warehouse.  But the quantity which needs to be delivered to the Ship-to-party is known well in advance and hence the Outbound delivery is made but PGI is not done until the goods is actually shipped to the customer.  The Trans-shipment from External Warehouse to the C&F location is being planned to avoid the delay in transit after the Customer gives the Dispatch clearance. Unless the clearance is given we cannot do the PGI as till that time it is the liability of the company. 
Hope the scenario is clearer now.
Regards,
Karthik.

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.

  • Automatic Invoice and PGI after salesorder(userexit_document_save)

    Hi All,
    Here my requirement....
    I need to do automatic Invoice and PGI for cash sales in Sales order.
    For this, I coded inside the userexit_save_document, in this userexit i'm getting the sales order number to create Invoice and delivery number to create PGI but the issue before this userexit the sales order and delivery are created but not yet committed. So, when I am trying to create pgi and invoice in this exit.... it says the document doesn't exit.
    Could anyone suggest me an methos to do that.
    fyi: in my current approach for PGI im executing the standard report 'WS_MONITOR_OUTB_DEL_GDSI' using submit by passing the delivery number .............output says 'document don't exist'
    for Invoice : I recorded the transaction 'VF01' and updating using bdc in funtion module, this function module is called from userexit_document_save using 'call function zffucn IN UPDATE TASK'..........this creates runtime error and shortdumb. when I looked in sm13 error says '00 671: ABAP/4 processor: POSTING_ILLEGAL_STATEMENT' , short text says 'Statement "CALL TRANSACTION" is not allowed in this form.'.
    is there any better way to do this???
    any suggestion will be appreciated
    Regards.

    Hi,
    I tried using perform ...ON COMMIT....
    Now i can clearly see that the sales order and delivery is created (message is displayed in the status bar)..
    when i debug the code.....this is executed at last i.e  but still it shows that 'Document xxx does not exist'. SO, I believe it is not yet committed to database.
    If I exit from that screen and enter into vf01 or standard report then it works...so its getting committed only getting out of that transaction ....i think there is some small change is missing...could anyone give suggestion.
    regards.
    Edited by: Shankar Raju Devadoss on Mar 17, 2011 11:07 PM

  • Restricting for creating the Billing Document without PGI in STO Process

    We want to restrict creating the Billing Document  without PGI in STO Process
    Delivery Type:NL
    Item cataogory:NLN
    Billing Type: JEX Profroma Invoice
    I have check in VTFL
    At Header Level, Routine - 003.  for normal sales process LF-F2
    At Item Level , Routine  - 004
    in VTFL-- NL-JEX
    At Header Level, Routine - 009. 
    At Item Level , Routine  - 010. here when i changed to 003 and 004 for NL and JEX
    i am getting error after PGI when i am doing vf01 error is coming " document is not relevant for Billing"

    Hi
    Kindly do the belwo
    1. goto the t code VOV7 item category determination and select the item category and put  the billing relevance as "A"
    2. once the step 1 is completed then it will show the billing relevant status AS "A"in the delivery documnt at the item level
    The above configuration  will be applicable in the new documents only
    Regards
    Damu

  • Address data changed after invoice is created

    Hi,
    I've a problem to solve and it's related with data changed after invoice is created.
    The scenario is the follow:
    1º - create a complete and standard sales process - order => delivery => invoice, with the standard partner scheme and without edit the address data, for any kind of partner
    2ª after the invoice is created, I change the address data on Client Master Data, for the same client that I've used on previous process
    3º I'll go to the VF03 transaction and take a look at the partner data on header level. Here I can see that the changes on the Client Master Data ar updated to the invoice document wich is already created and printed when I maked the changes
    I think that could be a program error because, once the documento is created, you only can change texts and accounts if this document is not yet created.
    And, I can't edit this kind of data on invoice creation because it must be done at order level.
    So I don't understand why it happen, but it happen on more than one client.
    I'll hope that anyone can help me to solve this issue.
    Kind regards,
    Nuno Rodrigues

    Hi Nuno,
    the adresses of all Clients are stored in table adrc. If there are no changes in the order, the system takes the standard adress of the client. That is made for not having an extra adress for each order.
    If you change the adress - the system will create a new adressnumber ( 999........ - see in VBPA ).
    If you have different adressnumbers in your orders, you are not able th collect several orders into one delivery note - for the adressnumber ist normally a split-criteria.
    Ich you will have an extra Adress for each Order, change the adress - for example by an user exit.
    But if you have different adressnumbers - the delivery and the invoice will split the different orders - if you dont do something against in an user-exit.
    Hans

  • In FBl5n (after accounting process) exchange rate gets change

    Dear Experts ,
    I am  facing 
    issue regarding in FBl5n (after accounting process) exchange rate
    gets change.
    Due to this, there is a difference in billing
    amount.
    According to the KBA 1481328, If there is a manual entry in
    the sales order field VBKD-KURRF (Goto -> Header -> Accounting),
    then it is copied into VBRK-KURRF. Otherwise VBRK-KURRF is determined during
    invoice creation from the currency tables (Transactions: OB08, OB07 and
    OB22) according to the billing date.
    It is supposed that manual entry has higher priority.
    Why system is
    fetching the exchange rate from OB08 when manual entry has first priority?
    Kindly Advice.
    Regards,
    Shachi

    First of all, you got the KBA number wrong. It is a KBA 1481238 - How are different exchange rates (Price, FI postings and Conditions) determined in billing documents, not SAP Note 1481328.
    Now, if you manually change the exchange rate in sales order(SO - Goto - Header - Accounting), as per standard this will not be able impact your pricing. As the system always uses the local currency to convert currencies.
    For further detail refer SAP Note 123298 - Euro: Conversion of document currency in sales&distribution. That can be helpful in understanding the standard behaviour and solution to the same.
    In addition to that from Sales Order to Billing, we have copying control field for "Price Exchange Rate Type" which can impact the result for exchange rate determination. Where the option available are:
    A - Copy from sales order
    B - Price exchange rate = Accounting rate
    C - Exchange rate determination according to billing date
    D - Exchange rate determination according to pricing date
    E - Exchange rate determination according to current date
    F - Exch.rate determination accord.to date of services rendered
    Thanks, JP

  • How to update PAYMENT tables manually from backend after invoice creation.

    Hi,
    I am Financial beginner. how to update payment details from invoices using backend in P2P.
    Thanks and Regards,
    Srikanth

    I have created a invoice and updating payment details.
    I just need small information regarding payaments.
    After invoice we create payments using validate, pay in full.
    But What actually happens when we do validate and pay in full.
    and what are the fields and tables effected in this process.FAQ: Common Tracing Techniques in Oracle E-Business Applications 11i and R12 [ID 296559.1]
    R12 Docs
    http://docs.oracle.com/cd/E18727_01/index.htm
    eTRM
    http://etrm.oracle.com/
    Thanks,
    Hussein

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

  • How can I navigate to a new page when after-submit process running proc

    I have a long running procedure and would like to provide the users with an animated gif to indicate progress that updates a description line to indicate the current step in the process.
    Currently I have a couple pages in this application in which a stored procedure in a package is called which performs a long-running process which updates progress in a table. These processes have a single parameter argument. In these cases I call the procedure via the Job Scheduler as part of my After-Submit process and the page navigation jumps to another page which shows a graphical representation of % complete based on the progress updates in the table and refreshes itself every 5 seconds until the job is complete. This works fine.
    I am now running into an issue where I have a more complex set of processes, with a number of parameters. To resolve this I used the same process as above, however, I first check to see if the process exists in the Job Scheduler, if not I create it. I then set all of the parameters and tell the job scheduler to execute the procedure. This should work similar to the process I am running on the other pages, however, in this page where I have multiple parameters and send an execute command rather than an execute immediate on job creation, the system runs the entire job prior to running the page branch, as a result the end user is stuck on a hanging page with no user feedback for two minutes after pressing submit.
    I am looking for how to call the procedure and have the branch execute so a progress screen can be viewed. I am not committed to the use of the job scheduler if there is a better way.
    Any help is greatly appreciated.

    The process involves
    (1) a detail table filled with phone usage data, approximately 175,000 records per month.
    (2) a table that stores what various combinations of codes in the detail table translate to for types of calls or data transmissions
    (3) a summary table for the months calls and billing
    (4) the E-Business Suite.
    (5) A GTT for temporary crossreference storage
    (6) A GTT for reporting data
    I have a parameter page where the user selects what data they are looking for and then submits it to generate the report.
    The generation of data is a four step process.
    (A) Retrieve the Code Combination ID's for the phone usage specified in the parameters from the summary billing table(1) into a GTT(5)
    (B) Query the department and Account Code Block Details from E-Business Suite(3) (using dblink) for the CCID's in step one and add to the GTT(5)
    (C) Run a query which uses the detail table(1), a function against the crossref table(2), and the crossreference GTT(5) to create the output in the report GTT(6)
    (D) An ApEx page process that counts the output and returns to a page without Export to Excel for over 65000 records or with Export for under.
    The parameter page is an ApEx page with some text fields, a couple date fields, and some checkboxes. An after submit process calls a packaged procedure which calls separate procedures for (A), (B), and (C), the page then branches to a page that shows an animated gif and current step of the process {this is what is not working right now}. Once the task completes this page branches as per (D) to a page that shows all the contents of the GTT report(6).
    The process works successfully with the exception that instead of going to a page to show the process the system simply hangs on the parameter page after the submit is pressed until the processing is done and then goes to the processing page just long enough to branch to the report page.
    I am beginning to think that I should alter the design to not use the GTT, but include the username as a field in the output table with a binary index on it for speed so that I can use the job scheduler to run a separate session and hence enable the processing page. The processing page is important as the query can take anywhere from 2 minutes to 2 hours to generate the report depending upon the parameters.

  • How to Run Operating System Command Before/After Message Processing SAP PI

    Hi,
    We are trying to execute multiple commands via "Operating System Command Before/After Message Processing".
    When we use single command say for example cp or mv (copy or move) the commands get executed fine.
    eg: cp %F /var/opt/data/outbound/Test/Dummy.txt 
    /this works fine/
    when we club commands together or try to redirect the outputs of commands, none of the commands get executed.
    eg:
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    or
    wc -l %F > /var/opt/data/outbound/Test/Dummy.txt
    Is it possible to execute multiple commands or redirect the output  of commands without using a shell script? The PI server we are working on iis hosted on UNIX environment.

    Hi Harleen,
    try like this
    cp %F /var/opt/data/outbound/Test/Dummy.txt ; rm %F
    instead of semicolon try this
    (1) &
    command1 & command2
    Execute Command1 and then execute Command2
    (2) &&
    command1 && command2
    Runs the command2 only when command1 doesn't Complete successfully
    (3) ||
    command1 || command2
    Runs the second command if the first command had an error
    (4) ()
    (command1 || command2) || (command3 & command4)
    Defines the order in which commands are to be executed
    Regards
    Suraj

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

  • Mistakenly reversed goods receipt after invoice posted

    Hi experts,
    I already post this question in EAM forum, but moved to here as I think I will get more useful replies.
    I have a PO that was goods receipted and invoiced receipted. Later on, the GR was reversed, and now that entry needs to be reverse... We're having a negative value in our reports that should not be there.
    What would be the way to fix this? Is it OK that the goods receipted may be reversed after invoice receipted.. i.e. after an invoice has been posted? In Tx. OMBZ the Mvt. 102 has "RevGR desp. IR" unchecked.
    Kind Regards,
    Andres.
    Original thread: Reverse goods receipt after invoice posted.

    Just do a GR again for the PO and this should fix your problem. The original document and reversal documents will remain there with another GR document against PO.
    Unless the payment against the invoice hasnt been made, your preceding documents can be changed. Once the payment has been made, you should not be able to change any preceding document.
    Edited by: Afshad Irani on May 31, 2010 9:08 AM

  • Reverse goods receipt after invoice posted

    Hi experts,
    I have a PO that was goods receipted and invoiced receipted (work was done). Someone has then un-goods receipted the PO, and now that entry needs to be reverse (the work order has status closed).
    What would be the way to fix this? Re-open the work order? Is it OK that the goods receipted may be reversed after invoice receipted.. i.e. after an invoice has been posted?
    I am starting to get familiar with this, so bear with me.
    Regards,
    Andres.

    Andres,
    First check whether the PR/PO has been created within the workorder at Operation level or it is created outside the work order and just the account assignment in the PR/PO has been done to the workorder.
    Since PO is the superior purchasing document and preceeds the PR , standard application dont have any dependancy between PO and work order..Dependency stops at PR release and when Quotation/PO has been created and released..So i dont think u need to undo TECO...
    For any reversal of the material documents after posting, subsequent Fi document should be revresed only then reverse Goods movement becomes effective as it needs to update the stock levels and inventory value in the systemm.
    However u need to check the way system has been configured and Mapped...
    For better response please post this question in MM---Inventory management forum.....
    If u r satisfied with this answer please close and rate..
    Thanks,
    Shaikh Murad....

  • File Adaptor....... system command after file processing

    i am creating 2 files with file adaptors..
    lest say a1.txt and a2.txt..
    in the file adaptor i am specifying the path of a batch file which is located at the same location where these 2 files are created......this batch file should run after message processing
    i am using this .bat file to create a file by combining these 2 files and delete these 2 files after that...
    but nothing seems to be happening..after the 2 files are created.
    seems like the command is not getting triggered which it is suppose to after message processing.
    please help

    Hi Tarun,
    Check this blog, Might give u some idea as well...
    <a href="/people/michal.krawczyk2/blog/2007/02/08/xipi-command-line-sample-functions: Command line sample functions</a> By Michal Krawczyk
    <a href="/people/sameer.shadab/blog/2005/09/21/executing-unix-shell-script-using-operating-system-command-in-xi Command - Executing Unix SHELL scripting</a> By Sameer Shadab
    Regards
    San
    Where there is a <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/weblogs/topic/16">blog</a> there is a Way.

  • Required report for the invoice processed twice for the same PO & Vendor

    Hi SAP MM experts,
    I want a  report which is to identify the same invoice processed twice against the same vendor and same PO which system cannot detect only  because the invoice numbers are manually entered slightly different, and that is why I also want to include the document date of the invoice so that the possibility of identifying the duplicated invoices is increased.
    Any help will be highly appriciated.
    Thaks in advance
    Sachin Patil

    You might also refer reports ME80RN,ME2N,ME2L for purchase order or refer report MIR5 for vendor.
    Also refer report FBL1N - vendor open items,Check for document type - 'RE'
    Whether check for double invoice is ticked accounting view of  vendor master ? or else
    Check double invoice is configired for which combination in LIV SPRO ?

Maybe you are looking for

  • I Restored my 4th gen iPod Touch, and everything went from it!

    Hello! I'v restored my iPod 4th gen (ios5) yesterday. Sadly, i'v lost all my data! I donno whats the problem, coz when it asked, i tapped to set up as my iPod, not new iPod. There is no way to get my data back lets say from an earlier backup??? I wou

  • Usb not detected in windows 8.1

    Hi, First of all thank you. I am happy with your customer support. I had a problem with the unresponsive screen in my HP OMNI 10 which has been solved now. Now i am facing a new problem with the USB. I have tried all the possible methods but i am not

  • Exporting to PDF cutting off right side of the page.

    I am exporting a Crystal Report to PDF. This works perfect on our development and staging server. However, on the production server the PDF is cut off on the right. Like, instead of being 8.5" wide, it looks to be about 7.5" wide? It just cut off the

  • URGENT: REGARDING TABLE FOR SALES ORDER STOCK

    Hi, I making a report in which i have to display the material's minimum ,maximum and reorder point levels and its stock level too. but 1 problem i am facing is that if the stock is present in the sales order theni have to use the MSKA table but it co

  • Communication Channel status successful but file Not Delivered.

    Hi All I have a receiver communication channel which is showing status as SUCCESSFUL but the log says The message status was set to NDLV.  Due to which am unable to retrigger it even form Message Monitoring Its set to FTP & is not received at that si