Delivery-related billing for TAS : take VPRS value from GR or Invoice

Hello,
One my customers currently invoices stock items and Third-Party Items separately. He now wishes to invoice both items together.
In Third-Party standard flow no delivery is needed. In order to invoice both items together I have now activated the delivery for the Third-Party item flow (item category TAS).
I can now invoice both items together based on the common delivery.
I have now another problem regarding the TAS item invoiced...
-  In standard flow (third-party processing = order-related billing), the value for VPRS is taken from the MM flow (either from Goods Receipt or from vendor's invoice depending on the customizing) automatically. This is great since the vendor might enter a different cost than the one from the sales order and it is that cost that we need to find in the billing doc and in CO-PA.
-  When I do delivery-related billing for my TAS item the VPRS is not updated from MM but is taken from Sales order (thus from material cost) --> incorrect value for my customers's need
I need to do delivery-related billing for item TAS with VPRS in billing doc (SD invoice) = value of MIGO or MIRO
Can anyone indicate me how to do this (user-exit? routine? ....)
Thank you
Regards,
Cynthia

Hi Cynthia,
Anyone, please correct me if i am wrong.
can we do like this for the given situation:
instead of changing TAS functionality, let us have billing relevance G (Order-related billing of the delivery quantity) in the item category for the stock items. so that you can bill both stock item and third party item in one billing document with reference to Order instead of delivery document.
you can have separate Item category for changing in SO for stock item whenever you want to club Third party item and Stock item for billing in the same document.
thanks
Rajam

Similar Messages

  • Delivery related billing for repair order

    Hi sdn,
    Could you please explain how to do the delivery related billing for repair orders.
    Earlier we my client was using order related billing for repair orders. Instead of that he wants delivery related billling.
    We have done all configuratin settings
    While doing the delivery the system is going to termination.
    In earlier process IRPA IRRP IRRE IRAL item categories are determining in the repair order.
    IRPA is relavent for price and billing
    IRRE and IRRP relavant for returns delivery
    IRAL item category relavant for delivery and not relavan for pricing
    We changed the config settings for IRPA item category .we changed the IRPA item category relavan for delivery
    When enter the VL01n the syetem is terminating program.
    Due to this include L1PWF46 system going to terminate
    Please advice how i will change the process into delivery related billing instead of order related billing.
    Thanks
    KV

    I have done all configuration settings which were related to delivery related billing but still the program was terminated.This process related repair and service.
    please suggest needful answer.
    Thanks
    KV

  • Order related & delivery related billing

    Hi all,
    I have a scenario which is explained as under:
    In the sales order i have the following line items:
    1. ATM machine - 1 qty. This will be a stock item.
    2. ATM installation - 1 qty. This will be a service item so non-stock item.
    3. Cables - 500 Mts. This will be a stock item.
    4. Cables Installation - 1 qty. This will be a service item so non-stock item.
    Now I have a project sales scenario (no PS configuration) & suppose the total order value is 1000 USD. Now the client wants to create 3 different invoices. The payment scenario will be
    1. 50% after order confirmation. Once the sales order is confirmed, then an invoice should be generated from the system with a value of 500 USD. For this particular invoice the payment term will be "within net 7 days".
    2. 40% after the delivery has been done. An invoice to be generated from the system with a value of 400 USD. For this particular invoice the payment term will be "within net 15 days".
    3. 10% after installation, commissioning & testing. An invoice to be generated from the system with a value of 100 USD. For this particular invoice the payment term will be "within net 7 days".
    Proposed Solution:
    2 different document types will be used - one for normal sale & the other one for project sales scenario. For normal stock items the item category is TAN & the billing relevance for this is "A-delivery related billing". Also for service items it is TAX with billing relevance as "B - Relevant for order-related billing - status acc.to order qty".
    I will create a new item category as ZTAN & ZTAX for the stock items & service items. I will use billing relevance as "I - Order-relevant billing - billing plan" & use milestone billling.
    In the milestone billing, I will create 3 different milestones -
    1. Order Confirmation - amount 50%
    2. Delivery Completion - 40%
    3. Installation & testing - 10%
    So whenever i will use the project sales order type I will create direct invoices with reference to the sales order through the billing plan...........for my normal sales order it will be delivery related billing for the same items.
    Is my solution correct?
    My Doubts:
    1. If i create order related billing for stock items then will there be any effect on the delivery & PGI. Will the system again allow to create the invoice with reference to the delivery?
    With best regards,
    Niyaz.

    hello, friend.
    re:  your doubts...
    your materials will still require delivery and PGI.  copy controls will be such that your document flow will be updated once these are done.
    however, since your billing will be order related, delivery and PGI will not be pre-requisites for billing.
    regards.

  • Field FKSTA- Billing status of delivery-related billing documents not getting updated

    Hi Experts,
    I have a requirement wherein I need to fetch the FKSTA - Billing status of delivery-related billing documents into the datasource 2lis_11_VASTI. I have checked a lot of threads on this topic but have not found a concrete solution yet.
    I have checked the settings in vov7 and vov8 and everything seems to be in place. I have also checked in table VBUP, when I filter based on field FKSTA = 'C', it shows me the outbound delivery document nos. But when I use the related sales document, it shows me blank values. VBUK as well doesn't show any values for field FKSTK.
    I would like to know how and where I can identify the 'billing status of delivery- related' document.
    I can see in VBUP table that if I enter the sales document no. related to the delivery document, it does not show the correct status.  I believe that the statuses should ideally get updated to the underlying VBUK and VBUP tables. Is there any way to update and align them?
    Is there a workaround, a similar field that i can use for datasource enhancement that will give me the correct values?
    Appreciate any help I can get on this as it is urgent.
    Thanks,
    AM

    Hi,
    You are correct that stauts is updated in table VBUK and VBUP.
    However, a sales order does not determine a billing status for delivery related billing, field
    VBUP-FKSTA is only determined for delivey.
    So, it is correct behavior that VBUP-FKSTA = BLANK when searching VBUP with
    VBUP-VBELN = sales order number.
    Just because of above reason, you will not find billing status field in VA03 -> goto header/item;
    you could only find billing status field for delivery in VL03N -> status overview.
    It seems that you are trying to find out sales orders that have been fully deliveried and fully billed, am I right? As far as I know, there is no directly table/field/tcode that could meet your requirement.
    You could consider following workaround:
    firstly, get a list of deliveries that have been fully billied(search VBUP with VBUP-FKSTA = C or search VBUK with VBUK-FKSTK = C);
    Secondly, using these deliveries to search table VBFA to find out related sales orders.
    Hope this helps.
    Best regards,
    Crystal

  • Order related billing for third party. Third party order..

    Hi
    While we are running batch job for billing system is throwing below error.
    Order related billing for third party. Third party order..

    Dear Nortel,
    Can you Please check whether, during the item category configuration for TAS (T. Code: VOV7);  you have marked relevant for billing indicator as F?
    Also, maintained the copy control (T. Code: VTFA) between OR => IVA (for TAS) as follows:
    Copying requirement = '013',
    Invoiced quantity = 'F', (*)
    Quantity/value = '+',
    Pricing type = 'G'.
    Best Regards,
    Amit
    Note: I would recommend you to Please go-through following document in full, atleast fo once. This will definitely help you to review your settings for Third Party Order Process Customization.
    [Third Party Process|http://yasosap.wordpress.com/2008/10/22/third-party-scenario/]

  • Delivery Related Billing in CRM

    Hi,
    I have created a sales order into CRM & same document replicates into ECC. From ECC sales order I can create delivery.
    But I require Billing to be occured into CRM System.
    Kindly tell what settings are requiredin CRM.
    Thanks
    Natasha

    Hi Natasha,
    Make sure that you have made the following settings in Customizing for Customer Relationship Management:
    You have set the billing relevance Delivery-Related Billing or Delivery-Related Billing – No Zero Quantities for the relevant item category.
      You do this by choosing Billing Define Billing Relevance of Item Categories .  
    The billing-relevance Q is set for the corresponding item category in SAP ERP. This ensures the following:
    Billing takes place in SAP CRM and not SAP ERP.
    After billing, the status of the delivery item in SAP ERP is set to Billed and the billing document item is included in the document flow for the delivery item.
    You have specified that the billing item category assigned to the sales order is a dependent item. This ensures that the billing due list item created for the sales order cannot be billed independent of the delivery.
      You make this setting by choosing Billing Define Billing Item Categories and setting the Dependent Item indicator for the relevant billing item category.  
    Example
    In the standard system, the billing item category TAND is predefined for delivery-related billing. It can be assigned to transaction type TA (Sales Order) and the item category TAN (Sales Item) under Billing Item Category Determination Assign Item Categories .
    End of the example.
    You have assigned a separate billing item category to the transaction type and item category that are used for the delivery. This enables the system to assign the correct billing type and billing item category to the billing due list item for the delivery.
    Example
    The billing item category TAN is predefined in the standard system. It can be assigned to transaction type LF (Outbound Delivery) and the item category TAN (Sales Item) under Billing Item Category Determination Assign Item Categories .
    Process
    The flow of data in delivery-related billing is:
    A user creates a sales order in SAP CRM.
    The system replicates the sales order in SAP ERP.
    The system creates a dependent item in the billing due list, containing billing information from the sales order.
    A user creates a delivery in SAP ERP.
    The system updates the delivery status in the SAP CRM sales order, and updates the transaction history.
    A user posts a goods issue in SAP ERP.
    This works well . Give me some stars for the solution
    Regards
    Bhanu Singh

  • Delivery related billing with VF04 based on sales group.

    Hi Expert
    I want to do delivery related billing in vf04 but sales group filed is grayed in vf04 so sorting is not possible if i not sort then it will bill to all customer that we dont want ,  i want to bill manually for different Customer on the basis  Sales Group, how to handle this situation. we donu2019t have other  choice such as Shipping point is only one. Even sold to party is same for all site. how to handle this situation.
    thanks
    Mona.

    Hi Mona,
    The selection criteria fields for VF04 are hard-coded.
    This cannot be done, the fields in the billing due list index are the
    the fields in the billing due list (VKDFS) -> these are the only ones
    that can be read and available to be added to the billing due list.
    The nature of your request indicates that is is rather a consulting
    issue.
    Nevertheless :
    A solution for this requirement can look like this (example with
    sales office and sales group for RV60SBAT):
    Add with an append the new field(s) on table VKDFS
    (take care about the customer name space ZZ*)
    Fill the fields ZZVKBUR and ZZVKGRP with userexit LV05IF0V
    for Orders
           FORM USEREXIT_VKDFS_SORTKRI_SALES.
            VKDFS-ZZVKBUR = LVBAK-VKBUR.
            VKDFS-ZZVKGRP = LVBAK-VKGRP.
           ENDFORM.
    for Deliveries
           FORM USEREXIT_VKDFS_SORTKRI_DEL.
            VKDFS-ZZVKBUR = LLIKP-VKBUR.
            VKDFS-ZZVKGRP = LLIKP-VKGRP.
          ENDFORM.
    You will need to take a copy of RV60SBAT and add these fields to the
    selection criteria and the select of VKDFS. See note 25026 which is
    for selection via Payer but may provide additional information. Also
    see note 63523.
    You will also need to re-build the billing due index VKDFS with
    program RVV05IVB.
    I hope this information helps so far.
    Thanks,
    Alex

  • How to change Billing status of delivery-related billing documents?

    Hi Experts,
    Now I meet with the problem with the billing status.
    I want to create a billing reference delivery notes, but the billing staus of delivery-related billing docuemnts is  blank, I want to chage it to 'A' so as to create a billing refer to it.
    Can anyone give me some hint to make it true?
    Thanks a lot.
    Best regards,
    Chris Gu

    Hi,
    Billing status blank means, delivery is not relevent for billing. Check the deliver document, whether it has billing relevant items in it or not. To know the billing relevence, please check your item category definition.
    For delivery relevant billing, billing relevance in item category definition (VOV7 transaction) should be 'A'.
    A: Delivery-related billing document
    Billing is based on the outbound delivery. Billing status is only updated in the outbound delivery.
    Regards,
    Satya.

  • Down payments - Delivery related billing

    Hi Guys,
    I am an FI guy. I have a question in SD billing. Is it possible to collect and clear down payments in delivery related billing. If so, Can you please elaborate the steps in doing so.
    Thanks,
    Satya

    Use transaction F-29 for posting incoming downpayments.
    and transaction F-39 for clearing
    Regards,
    PATHIK

  • Delivery Related Billing rather than Order Related Billing in Return Sales

    Hi
    There is a requirement from the client that the Returns Invoice (RE) generated must be related to LR Delivery Type rather than Return Sales Order Type(RE).
    I have maintained the Copy Control from LR (Returns Delivery Type) to RE(Returns Invoice Type).
    Then Changed the billing relevance of REN (Item Category ) from - 'B' Relevant for order-related billing - status acc.to order qty
    to A     Delivery-related billing document.
    When i create the Returns Invoice, it is allowing me to create the Invoice even before the Post Goods Receipt of the LR Returns Delivery Document.
    It should allow me to create the invoice only after Post Goods Receipt.
    Can any one share their inputs.
    Regards
    Mohan

    Dear Kandy Sreekanth ,
    PLEASE READ THR RULES OF ENGAGEMENT BEFORE REPLYING TO POSTS / POSTING ISSUES
    Do not ask for points - This forum should be firstly about information exchange; points are an incentive and a way of saying thanks.
    Asking for points is like asking someone to say "thank you": The only time we do this in real life is when teaching a child good manners. Saying it to an adult is insulting, so why do it in the forums? If someone keeps asking questions without awarding points, simply stop answering them or use the abuse button to report it.
    Thanks & Regards,
    Hegal K Charles

  • Whast is order related billing and delivery related billing?

    Explain about order related billing and delivery related billing
    thanks

    hi,
    just to add,
    In Customizing for the item category at VOV7, you can determine the basis for billing using the indicator <b>Billing relevance</b>.
    This allows you to carry out the following controls:
    A: Relevant for delivery-related billing documents
    Outbound delivery is the basis for billing. The billing document status is only updated in the outbound delivery.
    B: Relevant for order-related billing documents
    The sales document is the basis for billing. The billing status is defined by the required quantity.
    In the standard system the item categories REN (returns) and BVN (cash sales) are set up in this way.
    So depending upon the billing documents configured to the sales document for order and delivery related billing, would be triggered based on the item category setting for billing relevance.
    Pl reward if it helps.
    Thanks
    Sadhu Kishore

  • Order related billing for Partial Qty item in sales order

    Hi SD Gurus,
    In case of delivery-related billing we can create a bill for partial qty or item by creating delivery(against order) for partial qty/item. Is it possible to create order-related bill for the partial qty or item ?
    Any suggestion on the subject is appreciated.
    Thanks in advance,
    Velmurugan

    HI Velmurugan,
    This can be solved through by doing an order related billing,
    First check weather copy control setting is there for order to billing.
    In item category check for billing relevance. Make it has order related billing.
    Now do order related billing for partial quantity.
    Regards,
    Nagesh

  • Order and delivery related billing from same Sales Order

    Hi
    I have a scenario where in the same sales order customer has put two line items.One with item category TAN i.e. Delivery related billing and other TAD i.e. Order related billing. Line item with TAN item category is invoiced. When trying to create invoice for second line item(TAD) system gives error like" Item Category OR TAN can not be invoiced with billing type F2".that means when I create billing for second line item ,it also drags first line item which is already billed.
    Please suggest.
    Thanks

    Hello,
    the system works in this way:
    - for every item present in the sales document to be billed, it searches an entry customizing copy control table TVCPF.
    - if TVCPF entry does not exist (because TAN is not maintained in transaction VTFA OR -> F2) then system issues message VF003
    - If TVCPF entry exists, then system performs the copy-requirement routine to check if the item is billeable.
    SOLUTION:
    You could maintain an entry in VTFA for combination OR -> F2 item TAN, and put a copy-requirement routine setting SY-SUBRC = 4, so that the billing is item is not created for the sales order TAN item.
    Best regards,
    Ivano.

  • Table which houses the status in delivery related billing

    hi guys,
          In which sales table can we see the status(i.e order status,billing status,delivery status) of a delivery related billing and order related billing
    Thanks,
    Shamik

    Hi,
    If you want to have an overall status of the Sales Order, you can use
    VBUK - Sales Document: Header Status and Administrative Data
    And if you want all the status line item wise you can use
    VBUP - Sales Document: Item Status
    Hope it helps.
    Thanks in advance.
    Best Regards,
    HP

  • Need to take a value from the csv file and query in a OAF page.

    Hello,
    I have a requirement to take the list of employee numbers in a csv file and display its corresponding job on the page.
    I have created a item 'MessageFileupload' where the user will upload the csv file containing the employee number and a Button 'Display Jobs' which will display the corresponding jobs on the page.
    Any idea how to take the values from the csv file and query it?
    Regards,
    den123.

    Hi ,
    Check
    http://oraclearea51.com/contribute/post-a-blog-article/csv-file-upload-for-oa-framework.html
    http://www.roseindia.net/jsp/upload-insert-csv.shtml
    Below code works from above blogs.
    package xx.oracle.apps.pa.Lab.webui;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStreamReader;
    // import java.io.*;
    import oracle.apps.fnd.common.VersionInfo;
    import oracle.apps.fnd.framework.OAApplicationModule;
    import oracle.apps.fnd.framework.OAException;
    import oracle.apps.fnd.framework.server.OAViewObjectImpl;
    import oracle.apps.fnd.framework.webui.OAControllerImpl;
    import oracle.apps.fnd.framework.webui.OAPageContext;
    import oracle.apps.fnd.framework.webui.beans.OAWebBean;
    import oracle.jbo.domain.BlobDomain;
    import oracle.cabo.ui.data.DataObject;
    import oracle.jbo.Row;
    * Controller for ...
    public class deptCsvUploadCO extends OAControllerImpl
      public static final String RCS_ID="$Header$";
      public static final boolean RCS_ID_RECORDED =
            VersionInfo.recordClassVersion(RCS_ID, "%packagename%");
       * Layout and page setup logic for a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processRequest(pageContext, webBean);
       * Procedure to handle form submissions for form elements in
       * a region.
       * @param pageContext the current OA page context
       * @param webBean the web bean corresponding to the region
      public void processFormRequest(OAPageContext pageContext, OAWebBean webBean)
        super.processFormRequest(pageContext, webBean);
        // Code Addition Started for CSV upload
        OAApplicationModule am = (OAApplicationModule) pageContext.getApplicationModule(webBean);
        OAViewObjectImpl vo = (OAViewObjectImpl) am.findViewObject("deptCsvVO1");
          //if ("GoBtn".equals(pageContext.getParameter(EVENT_PARAM)))
           if (pageContext.getParameter("GoBtn") != null)
          System.out.println("Button Pressed");
              DataObject fileUploadData =(DataObject)pageContext.getNamedDataObject("FileUploadItem");
              String fileName = null;
              String contentType = null;
              Long fileSize = null;
              Integer fileType = new Integer(6);
              BlobDomain uploadedByteStream = null;
              BufferedReader in = null;
                      try
                      fileName = (String)fileUploadData.selectValue(null, "UPLOAD_FILE_NAME");
                      contentType =(String)fileUploadData.selectValue(null, "UPLOAD_FILE_MIME_TYPE");
                      uploadedByteStream = (BlobDomain)fileUploadData.selectValue(null, fileName);
                      in = new BufferedReader(new InputStreamReader(uploadedByteStream.getBinaryStream()));
                      fileSize = new Long(uploadedByteStream.getLength());
                      System.out.println("fileSize"+fileSize);
                      catch(NullPointerException ex)
                      throw new OAException("Please Select a File to Upload", OAException.ERROR);
                      try{ 
                      //Open the CSV file for reading 
                      String lineReader=""; 
                      long t =0;
                      String[] linetext; 
                      while (((lineReader = in.readLine()) !=null) )
                      //Split the deliminated data and
                      if (lineReader.trim().length()>0)
                      System.out.println("lineReader"+lineReader.length());
                      linetext = lineReader.split(","); 
                      t++;
                      //Print the current line being
                      if (!vo.isPreparedForExecution())
                              vo.setMaxFetchSize(0);
                              vo.executeQuery();
                        System.out.println("Trimmed "+  linetext[1].replace("\"", ""));
                      Row row = vo.createRow();
                      row.setAttribute("Deptno", linetext[0].trim());
                      row.setAttribute("Dname",linetext[1].trim().replace("\"", ""));
                      row.setAttribute("Loc",linetext[2].trim().replace("\"", ""));
                      //row.setAttribute("Column4", linetext[3].trim());
                      vo.last();
                      vo.next();
                      vo.insertRow(row);
                      catch (IOException e)
                            throw new OAException(e.getMessage(),OAException.ERROR);
              //else if (pageContext.getParameter("Upload") != null)
              am.getTransaction().commit();
              throw new OAException("Uploaded SuccessFully",OAException.CONFIRMATION);     
    }Thanks,
    Jit

Maybe you are looking for

  • Warning message in RSA6

    Hello Experts, In rsa6 when I transport the Data source, iam facing the below message.... ignored the warning transported and replicated in BI system but its not reflected in BI system...help me out. The even-numbered length of the DEC field D_UNITS

  • Highlights text in Preview: it's not viewable in PC apps

    I use to hightlight and underline text using preview.app. If I send the pdf file to other users and if they try to open with a PC they can't see the "things" I made. Any help?

  • Answers Weekly Report

    Hi Guys, I have a requirement for a report in the following format: Let's assume the given date range is 11/03/2008 to 1/30/2008, the report should display between those dates in the below format: WeekEnding Ordered Sold InStock Nov-7 10 12 15 Nov-14

  • Crop, can you use for multiple images?

    If you are doing copy work, is there a way to save a crop and use it on multiple images as you might drag an adjusment layer to other images? thanks.

  • Error in KPI Monitoring Screen

    Hi All, I am new to KPI Monitoring. Is that any example I can get for configuring it. I follwed this docment "http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/1061e1c5-e25b-3010-aaae-bca7eb47837e?overridelayout=t…" I tried with poin